From a70a17e38da58631152d0e4eaf7df04a7b13f4b6 Mon Sep 17 00:00:00 2001
From: Diego
Date: Wed, 15 Apr 2026 13:35:15 -0400
Subject: [PATCH 1/9] fix(generator): fall back to java.lang.Object for unknown
types.
---
generator/src/googleapis/codegen/java_generator.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/generator/src/googleapis/codegen/java_generator.py b/generator/src/googleapis/codegen/java_generator.py
index 609f1782a20..f017edb7ada 100755
--- a/generator/src/googleapis/codegen/java_generator.py
+++ b/generator/src/googleapis/codegen/java_generator.py
@@ -261,12 +261,10 @@ def _GetTypeInfo(self, def_dict):
if result:
return result
- # TODO(user): Uncomment this and update golden files.
- # result = self.type_map.get((json_type, None))
- # if result:
- # return result
- #
- # raise ValueError('Unknown type: %s format: %s' % (json_type, json_format))
+ # Fallback to the unformatted base type if exact format mapping is not found.
+ result = self.type_map.get((json_type, None))
+ if result:
+ return result
return (utilities.CamelCase(json_type), None, None)
From 4d84a72e5084adb2dabf31ba0d124fa637237f5c Mon Sep 17 00:00:00 2001
From: Diego
Date: Wed, 15 Apr 2026 14:08:16 -0400
Subject: [PATCH 2/9] chore: generate 20% of v1/2.0.0 clients for demo
---
.../v1/2.0.0/README.md | 4 +-
.../alloydb/v1/CloudAlloyDBAdmin.java | 49 +-
.../v1/model/AutomatedBackupPolicy.java | 6 +-
.../api/services/alloydb/v1/model/Backup.java | 30 +-
.../v1/model/BackupDrEnabledWindow.java | 24 +-
.../alloydb/v1/model/BackupDrPitrSource.java | 6 +-
.../services/alloydb/v1/model/Cluster.java | 18 +-
.../v1/model/ContinuousBackupInfo.java | 12 +-
.../v1/model/ContinuousBackupSource.java | 6 +-
.../services/alloydb/v1/model/Instance.java | 18 +-
.../alloydb/v1/model/MaintenanceSchedule.java | 6 +-
.../api/services/alloydb/v1/model/Node.java | 24 -
.../alloydb/v1/model/OperationMetadata.java | 12 +-
...enterPartnerapiV1mainBackupDRMetadata.java | 6 +-
...tabasecenterPartnerapiV1mainBackupRun.java | 12 +-
...PartnerapiV1mainConfigBasedSignalData.java | 6 +-
...rPartnerapiV1mainDatabaseResourceFeed.java | 6 +-
...1mainDatabaseResourceHealthSignalData.java | 6 +-
...tnerapiV1mainDatabaseResourceMetadata.java | 38 +-
...abaseResourceRecommendationSignalData.java | 6 +-
...erapiV1mainDatabaseResourceSignalData.java | 32 +-
...rtnerapiV1mainObservabilityMetricData.java | 6 +-
...nterPartnerapiV1mainRetentionSettings.java | 18 +-
...erPartnerapiV1mainUpcomingMaintenance.java | 12 +-
.../alloydb/v1/model/TimeBasedRetention.java | 6 +-
.../alloydb/v1/model/TrialMetadata.java | 24 +-
.../v1/2.0.0/pom.xml | 4 +-
.../model/EnrollmentToken.java | 6 +-
.../v1/2.0.0/README.md | 4 +-
.../google/api/services/apigee/v1/Apigee.java | 138 +-
...iservingMcpMcpToolDataHandlingProfile.java | 92 +
.../ApiservingMcpMcpToolLifecycleProfile.java | 68 +
.../GoogleCloudApigeeV1AnalyticsConfig.java | 6 +-
.../GoogleCloudApigeeV1ApiDebugSession.java | 6 +-
...CloudApigeeV1ApiSecurityRuntimeConfig.java | 6 +-
...ogleCloudApigeeV1ApimServiceExtension.java | 12 +-
...puteSecurityAssessmentResultsResponse.java | 6 +-
.../GoogleCloudApigeeV1CanaryEvaluation.java | 18 +-
.../GoogleCloudApigeeV1DebugSession.java | 6 +-
.../v1/model/GoogleCloudApigeeV1DnsZone.java | 12 +-
...PResolutionConfigHeaderIndexAlgorithm.java | 9 +-
.../GoogleCloudApigeeV1EnvironmentConfig.java | 6 +-
.../GoogleCloudApigeeV1IngressConfig.java | 6 +-
...udApigeeV1ReportInstanceStatusRequest.java | 6 +-
.../model/GoogleCloudApigeeV1RoutingRule.java | 6 +-
...GoogleCloudApigeeV1RuntimeTraceConfig.java | 66 +-
...oudApigeeV1RuntimeTraceConfigOverride.java | 65 +-
...ogleCloudApigeeV1ScheduledMaintenance.java | 6 +-
.../GoogleCloudApigeeV1ScoreComponent.java | 12 +-
.../GoogleCloudApigeeV1SecurityAction.java | 24 +-
...gleCloudApigeeV1SecurityActionsConfig.java | 6 +-
...CloudApigeeV1SecurityAssessmentResult.java | 6 +-
...SecurityAssessmentResultScoringResult.java | 6 +-
.../GoogleCloudApigeeV1SecurityFeedback.java | 12 +-
.../GoogleCloudApigeeV1SecurityIncident.java | 18 +-
...udApigeeV1SecurityMonitoringCondition.java | 12 +-
.../GoogleCloudApigeeV1SecurityProfile.java | 18 +-
...oudApigeeV1SecurityProfileEnvironment.java | 6 +-
...SecurityProfileEnvironmentAssociation.java | 6 +-
.../GoogleCloudApigeeV1SecurityProfileV2.java | 12 +-
...leCloudApigeeV1SecurityReportMetadata.java | 12 +-
.../v1/model/GoogleCloudApigeeV1Space.java | 12 +-
.../model/GoogleCloudApigeeV1TraceConfig.java | 18 +-
...ApigeeV1UpdateSecurityIncidentRequest.java | 6 +-
.../model/GoogleIamV1SetIamPolicyRequest.java | 6 +-
.../apigee/v1/model/GoogleTypeInterval.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../ces/v1/CustomerEngagementSuite.java | 215 +-
.../api/services/ces/v1/model/Agent.java | 12 +-
.../google/api/services/ces/v1/model/App.java | 12 +-
.../api/services/ces/v1/model/AppVersion.java | 6 +-
.../ces/v1/model/AudioProcessingConfig.java | 6 +-
.../ces/v1/model/BigQueryExportSettings.java | 27 +-
.../api/services/ces/v1/model/Changelog.java | 6 +-
.../services/ces/v1/model/Conversation.java | 12 +-
.../api/services/ces/v1/model/DataStore.java | 6 +-
.../api/services/ces/v1/model/Deployment.java | 12 +-
.../api/services/ces/v1/model/Example.java | 12 +-
.../v1/model/GenerateChatTokenResponse.java | 6 +-
.../api/services/ces/v1/model/Guardrail.java | 12 +-
.../ces/v1/model/LanguageSettings.java | 33 +-
.../api/services/ces/v1/model/Message.java | 6 +-
.../services/ces/v1/model/Omnichannel.java | 12 +-
.../model/OmnichannelOperationMetadata.java | 12 +-
.../ces/v1/model/OperationMetadata.java | 12 +-
.../ces/v1/model/SecuritySettings.java | 12 +-
.../services/ces/v1/model/SessionConfig.java | 30 -
.../api/services/ces/v1/model/Span.java | 18 +-
.../api/services/ces/v1/model/Tool.java | 12 +-
.../api/services/ces/v1/model/Toolset.java | 12 +-
.../ces/v1/model/WidgetToolDataMapping.java | 36 +-
.../google-api-services-ces/v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../services/cloudbuild/v1/CloudBuild.java | 42 +-
.../cloudbuild/v1/model/ApprovalResult.java | 6 +-
.../cloudbuild/v1/model/Artifacts.java | 27 -
...ConnectedRepositoriesResponseMetadata.java | 12 +-
...ConnectedRepositoriesResponseMetadata.java | 12 +-
.../v1/model/BitbucketServerConfig.java | 6 +-
.../services/cloudbuild/v1/model/Build.java | 30 +-
.../cloudbuild/v1/model/BuildStep.java | 6 +-
.../cloudbuild/v1/model/BuildTrigger.java | 6 +-
...itbucketServerConfigOperationMetadata.java | 12 +-
...tHubEnterpriseConfigOperationMetadata.java | 12 +-
.../CreateGitLabConfigOperationMetadata.java | 12 +-
.../CreateWorkerPoolOperationMetadata.java | 12 +-
...itbucketServerConfigOperationMetadata.java | 12 +-
...tHubEnterpriseConfigOperationMetadata.java | 12 +-
.../DeleteGitLabConfigOperationMetadata.java | 12 +-
.../DeleteWorkerPoolOperationMetadata.java | 12 +-
.../cloudbuild/v1/model/Dependency.java | 24 -
.../v1/model/GitHubEnterpriseConfig.java | 6 +-
.../cloudbuild/v1/model/GitLabConfig.java | 6 +-
.../v1/model/OperationMetadata.java | 12 +-
...sAppManifestCallbackOperationMetadata.java | 12 +-
.../services/cloudbuild/v1/model/Results.java | 24 -
.../cloudbuild/v1/model/TimeSpan.java | 12 +-
...itbucketServerConfigOperationMetadata.java | 12 +-
...tHubEnterpriseConfigOperationMetadata.java | 12 +-
.../UpdateGitLabConfigOperationMetadata.java | 12 +-
.../UpdateWorkerPoolOperationMetadata.java | 12 +-
.../cloudbuild/v1/model/WorkerPool.java | 18 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../services/clouddeploy/v1/CloudDeploy.java | 55 +-
.../v1/model/AdvanceRolloutOperation.java | 6 +-
.../v1/model/AdvanceRolloutRule.java | 6 +-
.../clouddeploy/v1/model/Automation.java | 12 +-
.../clouddeploy/v1/model/AutomationRun.java | 24 +-
.../v1/model/CanaryDeployment.java | 51 -
.../v1/model/CloudRunMetadata.java | 36 -
.../v1/model/CloudRunRenderMetadata.java | 54 -
.../v1/model/CustomTargetType.java | 36 +-
.../v1/model/DeliveryPipeline.java | 12 +-
.../clouddeploy/v1/model/DeployPolicy.java | 12 +-
.../clouddeploy/v1/model/DeploymentJobs.java | 27 -
.../clouddeploy/v1/model/ExecutionConfig.java | 6 +-
.../v1/model/GatewayServiceMesh.java | 12 +-
.../services/clouddeploy/v1/model/Job.java | 24 -
.../services/clouddeploy/v1/model/JobRun.java | 42 +-
.../v1/model/OperationMetadata.java | 12 +-
.../clouddeploy/v1/model/PhaseConfig.java | 51 -
.../v1/model/PipelineReadyCondition.java | 6 +-
.../clouddeploy/v1/model/Postdeploy.java | 27 -
.../clouddeploy/v1/model/PostdeployJob.java | 24 -
.../v1/model/PostdeployJobRun.java | 24 -
.../clouddeploy/v1/model/Predeploy.java | 27 -
.../clouddeploy/v1/model/PredeployJob.java | 24 -
.../clouddeploy/v1/model/PredeployJobRun.java | 24 -
.../v1/model/PromoteReleaseOperation.java | 6 +-
.../v1/model/PromoteReleaseRule.java | 6 +-
.../clouddeploy/v1/model/Release.java | 18 +-
.../clouddeploy/v1/model/RenderMetadata.java | 27 -
.../services/clouddeploy/v1/model/Retry.java | 6 +-
.../clouddeploy/v1/model/RetryAttempt.java | 6 +-
.../clouddeploy/v1/model/Rollout.java | 30 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../v1/model/SkaffoldSupportedCondition.java | 12 +-
.../clouddeploy/v1/model/SkaffoldVersion.java | 12 +-
.../clouddeploy/v1/model/Standard.java | 51 -
.../services/clouddeploy/v1/model/Target.java | 12 +-
.../v1/model/TargetsPresentCondition.java | 6 +-
.../model/TimedPromoteReleaseCondition.java | 6 +-
.../model/ToolVersionSupportedCondition.java | 12 +-
.../clouddeploy/v1/model/VerifyJob.java | 30 -
.../clouddeploy/v1/model/VerifyJobRun.java | 24 -
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../cloudfunctions/v1/CloudFunctions.java | 31 +-
.../v1/model/CloudFunction.java | 12 +-
.../v1/model/OperationMetadataV1.java | 6 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../api/services/cloudkms/v1/CloudKMS.java | 213 +-
.../cloudkms/v1/model/Certificate.java | 12 +-
.../services/cloudkms/v1/model/CryptoKey.java | 36 +-
.../cloudkms/v1/model/CryptoKeyVersion.java | 30 +-
.../cloudkms/v1/model/EkmConnection.java | 6 +-
.../services/cloudkms/v1/model/ImportJob.java | 24 +-
...yAccessJustificationsEnrollmentConfig.java | 15 +-
.../model/KeyAccessJustificationsPolicy.java | 21 +-
.../KeyAccessJustificationsPolicyConfig.java | 71 +-
.../services/cloudkms/v1/model/KeyRing.java | 6 +-
.../cloudkms/v1/model/RetiredResource.java | 6 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
...ustificationsEnrollmentConfigResponse.java | 20 +-
...essJustificationsPolicyConfigResponse.java | 8 +-
.../v1/model/SingleTenantHsmInstance.java | 24 +-
.../SingleTenantHsmInstanceProposal.java | 30 +-
.../v1/2.0.0/pom.xml | 4 +-
.../model/CreateProjectMetadata.java | 6 +-
.../cloudresourcemanager/model/Lien.java | 6 +-
.../cloudresourcemanager/model/OrgPolicy.java | 6 +-
.../model/Organization.java | 6 +-
.../cloudresourcemanager/model/Project.java | 6 +-
.../model/ProjectCreationStatus.java | 6 +-
.../model/SetIamPolicyRequest.java | 6 +-
.../services/cloudtrace/v1/CloudTrace.java | 12 +-
.../cloudtrace/v1/model/TraceSpan.java | 12 +-
.../v1/2.0.0/README.md | 4 +-
.../api/services/dataform/v1/Dataform.java | 13569 +++++++---------
.../dataform/v1/model/CommitLogEntry.java | 6 +-
.../dataform/v1/model/CompilationResult.java | 6 +-
.../dataform/v1/model/DirectoryEntry.java | 24 -
.../services/dataform/v1/model/Interval.java | 12 +-
.../dataform/v1/model/OperationMetadata.java | 12 +-
.../dataform/v1/model/Repository.java | 66 +-
.../v1/model/ScheduledExecutionRecord.java | 6 +-
.../v1/model/ScheduledReleaseRecord.java | 6 +-
.../dataform/v1/model/WorkflowConfig.java | 12 +-
.../services/dataform/v1/model/Workspace.java | 33 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../services/datamanager/v1/DataManager.java | 42 +-
.../services/datamanager/v1/model/Event.java | 12 +-
.../datamanager/v1/model/UserList.java | 6 +-
.../v1/model/UserListLicensePricing.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../v1/model/AggregationResultBatch.java | 6 +-
.../datastore/v1/model/CommitResponse.java | 6 +-
.../datastore/v1/model/EntityResult.java | 12 +-
.../datastore/v1/model/ExecutionStats.java | 6 +-
.../GoogleDatastoreAdminV1CommonMetadata.java | 12 +-
...leDatastoreAdminV1beta1CommonMetadata.java | 12 +-
.../datastore/v1/model/LookupResponse.java | 6 +-
.../services/datastore/v1/model/Mutation.java | 6 +-
.../datastore/v1/model/MutationResult.java | 12 +-
.../datastore/v1/model/QueryResultBatch.java | 6 +-
.../services/datastore/v1/model/ReadOnly.java | 6 +-
.../datastore/v1/model/ReadOptions.java | 6 +-
.../services/datastore/v1/model/Value.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../services/datastream/v1/Datastream.java | 37 +-
.../datastream/v1/model/BackfillJob.java | 12 +-
.../v1/model/BigQueryDestinationConfig.java | 6 +-
.../v1/model/ConnectionProfile.java | 12 +-
.../services/datastream/v1/model/Error.java | 6 +-
.../datastream/v1/model/FieldViolation.java | 24 +-
.../v1/model/GcsDestinationConfig.java | 6 +-
.../v1/model/MongodbChangeStreamPosition.java | 6 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/PrivateConnection.java | 12 +-
.../datastream/v1/model/RetryInfo.java | 6 +-
.../services/datastream/v1/model/Route.java | 12 +-
.../v1/model/SalesforceSourceConfig.java | 6 +-
.../services/datastream/v1/model/Stream.java | 18 +-
.../datastream/v1/model/StreamObject.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../firebaseappcheck/v1/Firebaseappcheck.java | 88 +-
...ogleFirebaseAppcheckV1AppAttestConfig.java | 6 +-
...GoogleFirebaseAppcheckV1AppCheckToken.java | 6 +-
...kV1BatchUpdateResourcePoliciesRequest.java | 6 +-
...eAppcheckV1BatchUpdateServicesRequest.java | 6 +-
.../GoogleFirebaseAppcheckV1DebugToken.java | 36 +-
...leFirebaseAppcheckV1DeviceCheckConfig.java | 6 +-
...kV1GenerateAppAttestChallengeResponse.java | 6 +-
...eneratePlayIntegrityChallengeResponse.java | 6 +-
...FirebaseAppcheckV1PlayIntegrityConfig.java | 6 +-
...seAppcheckV1RecaptchaEnterpriseConfig.java | 6 +-
...leFirebaseAppcheckV1RecaptchaV3Config.java | 6 +-
...oogleFirebaseAppcheckV1ResourcePolicy.java | 6 +-
...ogleFirebaseAppcheckV1SafetyNetConfig.java | 6 +-
.../GoogleFirebaseAppcheckV1Service.java | 99 -
...AppcheckV1UpdateResourcePolicyRequest.java | 6 +-
...irebaseAppcheckV1UpdateServiceRequest.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../v1/FirebaseAppHosting.java | 43 +-
.../firebaseapphosting/v1/model/Backend.java | 18 +-
.../firebaseapphosting/v1/model/Build.java | 18 +-
.../v1/model/CodebaseSource.java | 6 +-
.../v1/model/DnsUpdates.java | 6 +-
.../firebaseapphosting/v1/model/Domain.java | 18 +-
.../v1/model/DomainOperationMetadata.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../firebaseapphosting/v1/model/Rollout.java | 18 +-
.../v1/model/RolloutPolicy.java | 6 +-
.../firebaseapphosting/v1/model/Traffic.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../v1/FirebaseDataConnect.java | 43 +-
.../v1/model/Connector.java | 12 +-
.../v1/model/DataConnectProperties.java | 6 +-
.../v1/model/HttpGraphql.java | 6 +-
.../v1/model/OperationMetadata.java | 12 +-
.../firebasedataconnect/v1/model/Schema.java | 12 +-
.../firebasedataconnect/v1/model/Service.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/model/ManagedShortLink.java | 6 +-
.../firebasehosting/v1/model/DnsUpdates.java | 6 +-
.../firebasehosting/v1/model/HttpUpdate.java | 6 +-
.../services/forms/v1/model/FormResponse.java | 12 +-
.../v1/model/SetPublishSettingsRequest.java | 6 +-
.../forms/v1/model/UpdateFormInfoRequest.java | 6 +-
.../forms/v1/model/UpdateItemRequest.java | 6 +-
.../forms/v1/model/UpdateSettingsRequest.java | 6 +-
.../api/services/forms/v1/model/Watch.java | 12 +-
.../v1/2.0.0/README.md | 4 +-
.../healthcare/v1/CloudHealthcare.java | 79 +-
.../v1/model/ActivateConsentRequest.java | 12 +-
.../healthcare/v1/model/BlobStorageInfo.java | 6 +-
.../services/healthcare/v1/model/Consent.java | 18 +-
.../healthcare/v1/model/ConsentStore.java | 6 +-
.../model/ExplainDataAccessConsentInfo.java | 6 +-
.../v1/model/ExportMessagesRequest.java | 12 +-
.../services/healthcare/v1/model/Message.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../model/RollbackFhirResourcesRequest.java | 6 +-
.../model/RollbackHl7V2MessagesRequest.java | 6 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../healthcare/v1/model/Signature.java | 6 +-
.../healthcare/v1/model/UserDataMapping.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
...omeservicesLocalservicesV1BookingLead.java | 6 +-
...icesLocalservicesV1DetailedLeadReport.java | 6 +-
...sHomeservicesLocalservicesV1PhoneLead.java | 12 +-
.../v1/2.0.0/README.md | 4 +-
.../managedkafka/v1/ManagedKafka.java | 61 +-
.../managedkafka/v1/model/Cluster.java | 12 +-
.../managedkafka/v1/model/ConnectCluster.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/TaskRetryPolicy.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../manufacturers/v1/ManufacturerCenter.java | 6 +-
.../manufacturers/v1/model/Issue.java | 6 +-
.../v1/2.0.0/README.md | 4 +-
.../monitoring/v1/model/Aggregation.java | 6 +-
.../services/monitoring/v1/model/DataSet.java | 27 +-
.../monitoring/v1/model/Dimension.java | 6 +-
.../monitoring/v1/model/Interval.java | 12 +-
.../monitoring/v1/model/MetricsScope.java | 12 +-
.../monitoring/v1/model/MonitoredProject.java | 6 +-
.../v1/model/OperationMetadata.java | 12 +-
.../monitoring/v1/model/PieChartDataSet.java | 6 +-
.../monitoring/v1/model/SparkChartView.java | 21 +-
.../monitoring/v1/model/TableDataSet.java | 6 +-
.../services/monitoring/v1/model/XyChart.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/model/Verification.java | 6 +-
.../v1/2.0.0/README.md | 4 +-
.../v1/Networkconnectivity.java | 6047 +++----
.../v1/model/AutomatedDnsCreationSpec.java | 6 +-
.../v1/model/AutomatedDnsRecord.java | 12 +-
.../networkconnectivity/v1/model/Config.java | 6 +-
.../v1/model/Destination.java | 12 +-
.../v1/model/DestinationEndpoint.java | 6 +-
.../networkconnectivity/v1/model/Group.java | 12 +-
.../networkconnectivity/v1/model/Hub.java | 12 +-
.../v1/model/InternalRange.java | 12 +-
.../model/MulticloudDataTransferConfig.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/PolicyBasedRoute.java | 12 +-
.../v1/model/RegionalEndpoint.java | 12 +-
.../networkconnectivity/v1/model/Route.java | 12 +-
.../v1/model/RouteTable.java | 12 +-
.../v1/model/ServiceClass.java | 12 +-
.../v1/model/ServiceConfig.java | 6 +-
.../v1/model/ServiceConnectionMap.java | 12 +-
.../v1/model/ServiceConnectionPolicy.java | 12 +-
.../v1/model/ServiceConnectionToken.java | 18 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../networkconnectivity/v1/model/Spoke.java | 12 +-
.../v1/model/StateMetadata.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../networksecurity/v1/NetworkSecurity.java | 169 +-
.../v1/model/AddressGroup.java | 12 +-
.../v1/model/AuthorizationPolicy.java | 12 +-
.../networksecurity/v1/model/AuthzPolicy.java | 39 +-
...uthzPolicyAuthzRuleToRequestOperation.java | 30 -
.../v1/model/AuthzPolicyTarget.java | 33 +-
.../v1/model/BackendAuthenticationConfig.java | 12 +-
.../v1/model/ClientTlsPolicy.java | 12 +-
.../v1/model/DnsThreatDetector.java | 12 +-
.../v1/model/FirewallEndpoint.java | 21 +-
.../v1/model/FirewallEndpointAssociation.java | 12 +-
.../v1/model/GatewaySecurityPolicy.java | 12 +-
.../v1/model/GatewaySecurityPolicyRule.java | 12 +-
.../model/GoogleIamV1SetIamPolicyRequest.java | 6 +-
.../v1/model/InterceptDeployment.java | 12 +-
.../v1/model/InterceptDeploymentGroup.java | 12 +-
.../v1/model/InterceptEndpointGroup.java | 12 +-
.../InterceptEndpointGroupAssociation.java | 39 +-
.../v1/model/MirroringDeployment.java | 12 +-
.../v1/model/MirroringDeploymentGroup.java | 12 +-
.../v1/model/MirroringEndpointGroup.java | 12 +-
.../MirroringEndpointGroupAssociation.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/SecurityProfile.java | 12 +-
.../v1/model/SecurityProfileGroup.java | 12 +-
.../v1/model/ServerTlsPolicy.java | 12 +-
.../v1/model/TlsInspectionPolicy.java | 12 +-
.../networksecurity/v1/model/UrlList.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../networkservices/v1/NetworkServices.java | 109 +-
.../v1/model/AuthzExtension.java | 27 +-
.../v1/model/EndpointPolicy.java | 12 +-
.../v1/model/ExtensionChainExtension.java | 39 +-
.../networkservices/v1/model/Gateway.java | 66 +-
.../networkservices/v1/model/GrpcRoute.java | 12 +-
.../GrpcRouteFaultInjectionPolicyDelay.java | 6 +-
.../v1/model/GrpcRouteRouteAction.java | 12 +-
...rpcRouteStatefulSessionAffinityPolicy.java | 6 +-
.../networkservices/v1/model/HttpRoute.java | 12 +-
.../HttpRouteFaultInjectionPolicyDelay.java | 6 +-
.../v1/model/HttpRouteRetryPolicy.java | 6 +-
.../v1/model/HttpRouteRouteAction.java | 12 +-
...ttpRouteStatefulSessionAffinityPolicy.java | 6 +-
.../v1/model/LbEdgeExtension.java | 12 +-
.../v1/model/LbRouteExtension.java | 12 +-
.../v1/model/LbTrafficExtension.java | 12 +-
.../networkservices/v1/model/Mesh.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/ServiceBinding.java | 12 +-
.../v1/model/ServiceLbPolicy.java | 12 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../networkservices/v1/model/TcpRoute.java | 12 +-
.../v1/model/TcpRouteRouteAction.java | 6 +-
.../networkservices/v1/model/TlsRoute.java | 12 +-
.../v1/model/TlsRouteRouteAction.java | 6 +-
.../networkservices/v1/model/WasmPlugin.java | 12 +-
.../v1/model/WasmPluginVersion.java | 12 +-
.../v1/model/WasmPluginVersionDetails.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../ondemandscanning/v1/OnDemandScanning.java | 6 +-
.../v1/model/AnalyzePackagesMetadata.java | 6 +-
.../v1/model/AnalyzePackagesMetadataV1.java | 6 +-
.../v1/model/BuildMetadata.java | 12 +-
.../v1/model/BuildProvenance.java | 18 +-
.../v1/model/DeploymentOccurrence.java | 12 +-
.../v1/model/DiscoveryOccurrence.java | 18 +-
.../v1/model/GrafeasV1FileLocation.java | 27 -
...asV1SlsaProvenanceZeroTwoSlsaMetadata.java | 12 +-
.../ondemandscanning/v1/model/Metadata.java | 12 +-
.../ondemandscanning/v1/model/Occurrence.java | 60 +-
.../v1/model/SecretStatus.java | 6 +-
.../v1/model/SlsaMetadata.java | 12 +-
.../v1/model/WindowsUpdate.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../parallelstore/v1/Parallelstore.java | 6 +-
.../parallelstore/v1/model/Instance.java | 12 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/PaymentsResellerSubscription.java | 6 +-
.../v1/model/ExtendSubscriptionResponse.java | 18 +-
.../v1/model/Promotion.java | 12 +-
.../v1/model/ServicePeriod.java | 12 +-
.../v1/model/Subscription.java | 36 +-
.../v1/model/SubscriptionLineItem.java | 6 +-
...ItemBundleDetailsBundleElementDetails.java | 6 +-
.../v1/model/UserSession.java | 6 +-
.../v1/model/YoutubePayload.java | 6 +-
.../v1/2.0.0/README.md | 4 +-
.../api/services/redis/v1/CloudRedis.java | 5989 ++-----
.../services/redis/v1/CloudRedisScopes.java | 8 -
.../redis/v1/model/AutomatedBackupConfig.java | 6 +-
.../api/services/redis/v1/model/Backup.java | 12 +-
.../redis/v1/model/BackupClusterRequest.java | 8 +-
.../redis/v1/model/BackupCollection.java | 12 +-
.../redis/v1/model/BackupDRMetadata.java | 6 +-
.../services/redis/v1/model/BackupFile.java | 6 +-
.../services/redis/v1/model/BackupRun.java | 12 +-
.../api/services/redis/v1/model/Cluster.java | 36 +-
.../v1/model/ClusterMaintenancePolicy.java | 12 +-
.../v1/model/ClusterMaintenanceSchedule.java | 12 +-
.../redis/v1/model/ConfigBasedSignalData.java | 6 +-
.../model/CrossClusterReplicationConfig.java | 6 +-
.../redis/v1/model/DatabaseResourceFeed.java | 6 +-
.../DatabaseResourceHealthSignalData.java | 6 +-
.../v1/model/DatabaseResourceMetadata.java | 38 +-
...abaseResourceRecommendationSignalData.java | 6 +-
.../v1/model/DatabaseResourceSignalData.java | 6 +-
.../redis/v1/model/EncryptionInfo.java | 6 +-
.../redis/v1/model/ExportBackupRequest.java | 2 +-
.../GoogleCloudRedisV1OperationMetadata.java | 12 +-
.../api/services/redis/v1/model/Instance.java | 6 +-
.../model/ListBackupCollectionsResponse.java | 2 +-
.../redis/v1/model/ListBackupsResponse.java | 2 +-
.../redis/v1/model/ListClustersResponse.java | 2 +-
.../redis/v1/model/MaintenancePolicy.java | 12 +-
.../redis/v1/model/MaintenanceSchedule.java | 18 +-
.../v1/model/ObservabilityMetricData.java | 6 +-
.../redis/v1/model/OperationMetadata.java | 12 +-
.../redis/v1/model/PersistenceConfig.java | 12 +-
.../services/redis/v1/model/RDBConfig.java | 6 +-
.../RescheduleClusterMaintenanceRequest.java | 6 +-
.../model/RescheduleMaintenanceRequest.java | 6 +-
.../redis/v1/model/RetentionSettings.java | 18 +-
.../redis/v1/model/TlsCertificate.java | 12 +-
.../redis/v1/model/UpcomingMaintenance.java | 12 +-
.../v1/model/WeeklyMaintenanceWindow.java | 6 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../google/api/services/run/v1/CloudRun.java | 167 +-
.../run/v1/model/ExecutionReference.java | 18 +-
.../run/v1/model/ExecutionStatus.java | 12 +-
.../v1/model/GoogleCloudRunV1Condition.java | 6 +-
...gleDevtoolsCloudbuildV1ApprovalResult.java | 6 +-
.../GoogleDevtoolsCloudbuildV1Artifacts.java | 60 -
.../GoogleDevtoolsCloudbuildV1Build.java | 30 +-
.../GoogleDevtoolsCloudbuildV1BuildStep.java | 6 +-
.../GoogleDevtoolsCloudbuildV1BuiltImage.java | 27 -
.../GoogleDevtoolsCloudbuildV1Dependency.java | 24 -
.../GoogleDevtoolsCloudbuildV1Results.java | 24 -
.../GoogleDevtoolsCloudbuildV1TimeSpan.java | 12 +-
...GoogleLongrunningWaitOperationRequest.java | 6 +-
.../services/run/v1/model/InstanceSpec.java | 6 +-
.../api/services/run/v1/model/ObjectMeta.java | 12 +-
.../run/v1/model/SetIamPolicyRequest.java | 6 +-
.../api/services/run/v1/model/TaskStatus.java | 12 +-
.../services/run/v1/model/VolumeMount.java | 6 +-
.../google-api-services-run/v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../v1/ServiceNetworking.java | 6 +-
.../v1/model/AddSubnetworkRequest.java | 6 +-
.../v1/model/BackendRule.java | 9 +-
.../v1/model/BatchingSettingsProto.java | 6 +-
.../v1/model/CommonLanguageSettings.java | 9 +-
.../v1/model/DnsRecordSet.java | 6 +-
.../v1/model/LongRunning.java | 18 +-
.../v1/model/MetricDescriptorMetadata.java | 12 +-
.../v1/model/SelectiveGapicGeneration.java | 2 +-
.../servicenetworking/v1/model/Service.java | 21 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
...ogleIdentityStsV1ExchangeTokenRequest.java | 54 +-
.../v1/model/GoogleIdentityStsV1Options.java | 12 +-
.../google-api-services-sts/v1/2.0.0/pom.xml | 4 +-
.../api/services/tpu/v1/model/Node.java | 6 +-
.../tpu/v1/model/OperationMetadata.java | 12 +-
.../api/services/tpu/v1/model/Symptom.java | 6 +-
.../services/transcoder/v1/model/AdBreak.java | 6 +-
.../transcoder/v1/model/AnimationEnd.java | 6 +-
.../transcoder/v1/model/AnimationFade.java | 12 +-
.../transcoder/v1/model/AnimationStatic.java | 6 +-
.../transcoder/v1/model/EditAtom.java | 12 +-
.../v1/model/H264CodecSettings.java | 6 +-
.../v1/model/H265CodecSettings.java | 6 +-
.../api/services/transcoder/v1/model/Job.java | 18 +-
.../transcoder/v1/model/SegmentSettings.java | 6 +-
.../transcoder/v1/model/SpriteSheet.java | 18 +-
.../transcoder/v1/model/Vp9CodecSettings.java | 6 +-
.../v1/2.0.0/README.md | 4 +-
.../vpcaccess/v1/ServerlessVPCAccess.java | 31 +-
.../vpcaccess/v1/model/OperationMetadata.java | 12 +-
.../v1/model/OperationMetadataV1Alpha1.java | 12 +-
.../v1/model/OperationMetadataV1Beta1.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../api/services/workflows/v1/Workflows.java | 31 +-
.../workflows/v1/model/OperationMetadata.java | 12 +-
.../services/workflows/v1/model/Workflow.java | 18 +-
.../v1/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../workstations/v1/CloudWorkstations.java | 121 +-
.../GceHyperdiskBalancedHighAvailability.java | 6 +-
.../v1/model/GenerateAccessTokenRequest.java | 12 +-
.../v1/model/GenerateAccessTokenResponse.java | 6 +-
.../v1/model/OperationMetadata.java | 12 +-
.../v1/model/SetIamPolicyRequest.java | 6 +-
.../v1/model/StartWorkstationRequest.java | 6 +-
.../v1/model/StopWorkstationRequest.java | 6 +-
.../workstations/v1/model/Workstation.java | 24 +-
.../v1/model/WorkstationCluster.java | 93 +-
.../v1/model/WorkstationConfig.java | 96 +-
.../v1/2.0.0/pom.xml | 4 +-
572 files changed, 13779 insertions(+), 20611 deletions(-)
create mode 100644 clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolDataHandlingProfile.java
create mode 100644 clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolLifecycleProfile.java
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/README.md b/clients/google-api-services-alloydb/v1/2.0.0/README.md
index 0b16221eec3..503cf19a5c1 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/README.md
+++ b/clients/google-api-services-alloydb/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-alloydb
- v1-rev20260326-2.0.0
+ v1-rev20260226-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260326-2.0.0'
+ implementation 'com.google.apis:google-api-services-alloydb:v1-rev20260226-2.0.0'
}
```
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/CloudAlloyDBAdmin.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/CloudAlloyDBAdmin.java
index 070a36b4321..84ceb87d4bd 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/CloudAlloyDBAdmin.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/CloudAlloyDBAdmin.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends CloudAlloyDBAdminRequest databas
* Output only. Delete time stamp
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -482,7 +482,7 @@ public String getDeleteTime() {
* Output only. Delete time stamp
* @param deleteTime deleteTime or {@code null} for none
*/
- public Instance setDeleteTime(String deleteTime) {
+ public Instance setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -882,7 +882,7 @@ public Instance setUid(java.lang.String uid) {
* Output only. Update time stamp
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -890,7 +890,7 @@ public String getUpdateTime() {
* Output only. Update time stamp
* @param updateTime updateTime or {@code null} for none
*/
- public Instance setUpdateTime(String updateTime) {
+ public Instance setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/MaintenanceSchedule.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/MaintenanceSchedule.java
index 17ca65c9936..6cd798d55cc 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/MaintenanceSchedule.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/MaintenanceSchedule.java
@@ -37,13 +37,13 @@ public final class MaintenanceSchedule extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The scheduled start time for the maintenance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -51,7 +51,7 @@ public String getStartTime() {
* Output only. The scheduled start time for the maintenance.
* @param startTime startTime or {@code null} for none
*/
- public MaintenanceSchedule setStartTime(String startTime) {
+ public MaintenanceSchedule setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Node.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Node.java
index 81b97ba7748..0158fc0584a 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Node.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/Node.java
@@ -44,13 +44,6 @@ public final class Node extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String ip;
- /**
- * Output only. Indicates whether the node set up to be configured as a hot standby.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean isHotStandby;
-
/**
* Output only. Determined by state of the compute VM and postgres-service health. Compute VM
* state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-
@@ -101,23 +94,6 @@ public Node setIp(java.lang.String ip) {
return this;
}
- /**
- * Output only. Indicates whether the node set up to be configured as a hot standby.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getIsHotStandby() {
- return isHotStandby;
- }
-
- /**
- * Output only. Indicates whether the node set up to be configured as a hot standby.
- * @param isHotStandby isHotStandby or {@code null} for none
- */
- public Node setIsHotStandby(java.lang.Boolean isHotStandby) {
- this.isHotStandby = isHotStandby;
- return this;
- }
-
/**
* Output only. Determined by state of the compute VM and postgres-service health. Compute VM
* state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/OperationMetadata.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/OperationMetadata.java
index c611cdef1fa..825f64b0efd 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/OperationMetadata.java
@@ -41,14 +41,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -108,7 +108,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -116,7 +116,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -125,7 +125,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -133,7 +133,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.java
index 2bf345a3aa4..142f1c72ae5 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupDRMetadata.java
@@ -63,7 +63,7 @@ public final class StorageDatabasecenterPartnerapiV1mainBackupDRMetadata extends
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Required. Database resource id.
@@ -144,7 +144,7 @@ public StorageDatabasecenterPartnerapiV1mainBackupDRMetadata setFullResourceName
* Required. Last time backup configuration was refreshed.
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -152,7 +152,7 @@ public String getLastRefreshTime() {
* Required. Last time backup configuration was refreshed.
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainBackupDRMetadata setLastRefreshTime(String lastRefreshTime) {
+ public StorageDatabasecenterPartnerapiV1mainBackupDRMetadata setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupRun.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupRun.java
index 84624ed8c3f..56dd02d03d0 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupRun.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainBackupRun.java
@@ -34,7 +34,7 @@ public final class StorageDatabasecenterPartnerapiV1mainBackupRun extends com.go
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Information about why the backup operation failed. This is only present if the run has the
@@ -49,7 +49,7 @@ public final class StorageDatabasecenterPartnerapiV1mainBackupRun extends com.go
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* The status of this run. REQUIRED
@@ -62,7 +62,7 @@ public final class StorageDatabasecenterPartnerapiV1mainBackupRun extends com.go
* The time the backup operation completed. REQUIRED
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -70,7 +70,7 @@ public String getEndTime() {
* The time the backup operation completed. REQUIRED
* @param endTime endTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainBackupRun setEndTime(String endTime) {
+ public StorageDatabasecenterPartnerapiV1mainBackupRun setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -98,7 +98,7 @@ public StorageDatabasecenterPartnerapiV1mainBackupRun setError(StorageDatabasece
* The time the backup operation started. REQUIRED
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -106,7 +106,7 @@ public String getStartTime() {
* The time the backup operation started. REQUIRED
* @param startTime startTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainBackupRun setStartTime(String startTime) {
+ public StorageDatabasecenterPartnerapiV1mainBackupRun setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.java
index b083f767c68..4d82754090a 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.java
@@ -42,7 +42,7 @@ public final class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData ex
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Database resource id.
@@ -86,7 +86,7 @@ public StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData setFullResourc
* Required. Last time signal was refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -94,7 +94,7 @@ public String getLastRefreshTime() {
* Required. Last time signal was refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData setLastRefreshTime(String lastRefreshTime) {
+ public StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.java
index 45c2331e4cb..7c0f64c31ab 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.java
@@ -57,7 +57,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed ext
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String feedTimestamp;
+ private java.lang.String feedTimestamp;
/**
* Required. Type feed to be ingested into condor
@@ -165,7 +165,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed setDatabaseReso
* Required. Timestamp when feed is generated.
* @return value or {@code null} for none
*/
- public String getFeedTimestamp() {
+ public java.lang.String getFeedTimestamp() {
return feedTimestamp;
}
@@ -173,7 +173,7 @@ public String getFeedTimestamp() {
* Required. Timestamp when feed is generated.
* @param feedTimestamp feedTimestamp or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed setFeedTimestamp(String feedTimestamp) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed setFeedTimestamp(java.lang.String feedTimestamp) {
this.feedTimestamp = feedTimestamp;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.java
index de438bbc52a..a617a985359 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.java
@@ -65,7 +65,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String eventTime;
+ private java.lang.String eventTime;
/**
* The external-uri of the signal, using which more information about this signal can be obtained.
@@ -213,7 +213,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData set
* Required. The last time at which the event described by this signal took place
* @return value or {@code null} for none
*/
- public String getEventTime() {
+ public java.lang.String getEventTime() {
return eventTime;
}
@@ -221,7 +221,7 @@ public String getEventTime() {
* Required. The last time at which the event described by this signal took place
* @param eventTime eventTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData setEventTime(String eventTime) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData setEventTime(java.lang.String eventTime) {
this.eventTime = eventTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.java
index 318739e96be..fcc79fca5e5 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.java
@@ -17,7 +17,7 @@
package com.google.api.services.alloydb.v1.model;
/**
- * Common model for database resource instance metadata. Next ID: 32
+ * Common model for database resource instance metadata. Next ID: 31
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
@@ -63,7 +63,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String creationTime;
+ private java.lang.String creationTime;
/**
* Current state of the instance.
@@ -151,13 +151,6 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
@com.google.api.client.util.Key
private StorageDatabasecenterPartnerapiV1mainResourceMaintenanceInfo maintenanceInfo;
- /**
- * Optional. The modes of the database resource.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List modes;
-
/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -227,7 +220,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updationTime;
+ private java.lang.String updationTime;
/**
* User-provided labels associated with the resource
@@ -317,7 +310,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setBackupdr
* partner service.
* @return value or {@code null} for none
*/
- public String getCreationTime() {
+ public java.lang.String getCreationTime() {
return creationTime;
}
@@ -326,7 +319,7 @@ public String getCreationTime() {
* partner service.
* @param creationTime creationTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setCreationTime(String creationTime) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
return this;
}
@@ -539,23 +532,6 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setMaintena
return this;
}
- /**
- * Optional. The modes of the database resource.
- * @return value or {@code null} for none
- */
- public java.util.List getModes() {
- return modes;
- }
-
- /**
- * Optional. The modes of the database resource.
- * @param modes modes or {@code null} for none
- */
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setModes(java.util.List modes) {
- this.modes = modes;
- return this;
- }
-
/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -712,7 +688,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setTagsSet(
* The time at which the resource was updated and recorded at partner service.
* @return value or {@code null} for none
*/
- public String getUpdationTime() {
+ public java.lang.String getUpdationTime() {
return updationTime;
}
@@ -720,7 +696,7 @@ public String getUpdationTime() {
* The time at which the resource was updated and recorded at partner service.
* @param updationTime updationTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setUpdationTime(String updationTime) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata setUpdationTime(java.lang.String updationTime) {
this.updationTime = updationTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.java
index 18e8445fece..4d5fac12373 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData.java
@@ -41,7 +41,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Required. Recommendation state
@@ -115,7 +115,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignal
* Required. last time recommendationw as refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -123,7 +123,7 @@ public String getLastRefreshTime() {
* Required. last time recommendationw as refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData setLastRefreshTime(String lastRefreshTime) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.java
index fe9e1c9f135..44f73f55247 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData.java
@@ -19,7 +19,7 @@
/**
* Database resource signal data. This is used to send signals to Condor which are based on the
* DB/Instance/Fleet level configurations. These will be used to send signals for all inventory
- * types. Next ID: 10
+ * types. Next ID: 9
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the AlloyDB API. For a detailed explanation see:
@@ -50,14 +50,7 @@ public final class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalDa
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
-
- /**
- * Resource location.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String location;
+ private java.lang.String lastRefreshTime;
/**
* Database resource id.
@@ -132,7 +125,7 @@ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData setFullRe
* Required. Last time signal was refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -140,28 +133,11 @@ public String getLastRefreshTime() {
* Required. Last time signal was refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData setLastRefreshTime(String lastRefreshTime) {
+ public StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
- /**
- * Resource location.
- * @return value or {@code null} for none
- */
- public java.lang.String getLocation() {
- return location;
- }
-
- /**
- * Resource location.
- * @param location location or {@code null} for none
- */
- public StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData setLocation(java.lang.String location) {
- this.location = location;
- return this;
- }
-
/**
* Database resource id.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.java
index dff8f105203..445578c7718 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.java
@@ -48,7 +48,7 @@ public final class StorageDatabasecenterPartnerapiV1mainObservabilityMetricData
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String observationTime;
+ private java.lang.String observationTime;
/**
* Required. Database resource name associated with the signal. Resource name to follow CAIS
@@ -103,7 +103,7 @@ public StorageDatabasecenterPartnerapiV1mainObservabilityMetricData setMetricTyp
* Required. The time the metric value was observed.
* @return value or {@code null} for none
*/
- public String getObservationTime() {
+ public java.lang.String getObservationTime() {
return observationTime;
}
@@ -111,7 +111,7 @@ public String getObservationTime() {
* Required. The time the metric value was observed.
* @param observationTime observationTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainObservabilityMetricData setObservationTime(String observationTime) {
+ public StorageDatabasecenterPartnerapiV1mainObservabilityMetricData setObservationTime(java.lang.String observationTime) {
this.observationTime = observationTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainRetentionSettings.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainRetentionSettings.java
index 1748e32540e..eb976b626a8 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainRetentionSettings.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainRetentionSettings.java
@@ -34,7 +34,7 @@ public final class StorageDatabasecenterPartnerapiV1mainRetentionSettings extend
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String durationBasedRetention;
+ private java.lang.String durationBasedRetention;
/**
* The value may be {@code null}.
@@ -53,20 +53,20 @@ public final class StorageDatabasecenterPartnerapiV1mainRetentionSettings extend
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeBasedRetention;
+ private java.lang.String timeBasedRetention;
/**
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timestampBasedRetentionTime;
+ private java.lang.String timestampBasedRetentionTime;
/**
* Duration based retention period i.e. 172800 seconds (2 days)
* @return value or {@code null} for none
*/
- public String getDurationBasedRetention() {
+ public java.lang.String getDurationBasedRetention() {
return durationBasedRetention;
}
@@ -74,7 +74,7 @@ public String getDurationBasedRetention() {
* Duration based retention period i.e. 172800 seconds (2 days)
* @param durationBasedRetention durationBasedRetention or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainRetentionSettings setDurationBasedRetention(String durationBasedRetention) {
+ public StorageDatabasecenterPartnerapiV1mainRetentionSettings setDurationBasedRetention(java.lang.String durationBasedRetention) {
this.durationBasedRetention = durationBasedRetention;
return this;
}
@@ -114,14 +114,14 @@ public StorageDatabasecenterPartnerapiV1mainRetentionSettings setRetentionUnit(j
/**
* @return value or {@code null} for none
*/
- public String getTimeBasedRetention() {
+ public java.lang.String getTimeBasedRetention() {
return timeBasedRetention;
}
/**
* @param timeBasedRetention timeBasedRetention or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainRetentionSettings setTimeBasedRetention(String timeBasedRetention) {
+ public StorageDatabasecenterPartnerapiV1mainRetentionSettings setTimeBasedRetention(java.lang.String timeBasedRetention) {
this.timeBasedRetention = timeBasedRetention;
return this;
}
@@ -130,7 +130,7 @@ public StorageDatabasecenterPartnerapiV1mainRetentionSettings setTimeBasedRetent
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* @return value or {@code null} for none
*/
- public String getTimestampBasedRetentionTime() {
+ public java.lang.String getTimestampBasedRetentionTime() {
return timestampBasedRetentionTime;
}
@@ -138,7 +138,7 @@ public String getTimestampBasedRetentionTime() {
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* @param timestampBasedRetentionTime timestampBasedRetentionTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainRetentionSettings setTimestampBasedRetentionTime(String timestampBasedRetentionTime) {
+ public StorageDatabasecenterPartnerapiV1mainRetentionSettings setTimestampBasedRetentionTime(java.lang.String timestampBasedRetentionTime) {
this.timestampBasedRetentionTime = timestampBasedRetentionTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java
index 4d312bfa9fb..84a74fad540 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance.java
@@ -35,20 +35,20 @@ public final class StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance exte
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. The start time of the upcoming maintenance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. The end time of the upcoming maintenance.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -56,7 +56,7 @@ public String getEndTime() {
* Optional. The end time of the upcoming maintenance.
* @param endTime endTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(String endTime) {
+ public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -65,7 +65,7 @@ public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setEndTime(Strin
* Optional. The start time of the upcoming maintenance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -73,7 +73,7 @@ public String getStartTime() {
* Optional. The start time of the upcoming maintenance.
* @param startTime startTime or {@code null} for none
*/
- public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(String startTime) {
+ public StorageDatabasecenterPartnerapiV1mainUpcomingMaintenance setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TimeBasedRetention.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TimeBasedRetention.java
index 10fc5e3a66e..aa84935bb03 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TimeBasedRetention.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TimeBasedRetention.java
@@ -35,13 +35,13 @@ public final class TimeBasedRetention extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String retentionPeriod;
+ private java.lang.String retentionPeriod;
/**
* The retention period.
* @return value or {@code null} for none
*/
- public String getRetentionPeriod() {
+ public java.lang.String getRetentionPeriod() {
return retentionPeriod;
}
@@ -49,7 +49,7 @@ public String getRetentionPeriod() {
* The retention period.
* @param retentionPeriod retentionPeriod or {@code null} for none
*/
- public TimeBasedRetention setRetentionPeriod(String retentionPeriod) {
+ public TimeBasedRetention setRetentionPeriod(java.lang.String retentionPeriod) {
this.retentionPeriod = retentionPeriod;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TrialMetadata.java b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TrialMetadata.java
index 2670b5ed1a5..acb1465635f 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TrialMetadata.java
+++ b/clients/google-api-services-alloydb/v1/2.0.0/com/google/api/services/alloydb/v1/model/TrialMetadata.java
@@ -34,34 +34,34 @@ public final class TrialMetadata extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* grace end time of the cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String graceEndTime;
+ private java.lang.String graceEndTime;
/**
* start time of the trial cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Upgrade time of trial cluster to Standard cluster.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String upgradeTime;
+ private java.lang.String upgradeTime;
/**
* End time of the trial cluster.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -69,7 +69,7 @@ public String getEndTime() {
* End time of the trial cluster.
* @param endTime endTime or {@code null} for none
*/
- public TrialMetadata setEndTime(String endTime) {
+ public TrialMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -78,7 +78,7 @@ public TrialMetadata setEndTime(String endTime) {
* grace end time of the cluster.
* @return value or {@code null} for none
*/
- public String getGraceEndTime() {
+ public java.lang.String getGraceEndTime() {
return graceEndTime;
}
@@ -86,7 +86,7 @@ public String getGraceEndTime() {
* grace end time of the cluster.
* @param graceEndTime graceEndTime or {@code null} for none
*/
- public TrialMetadata setGraceEndTime(String graceEndTime) {
+ public TrialMetadata setGraceEndTime(java.lang.String graceEndTime) {
this.graceEndTime = graceEndTime;
return this;
}
@@ -95,7 +95,7 @@ public TrialMetadata setGraceEndTime(String graceEndTime) {
* start time of the trial cluster.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -103,7 +103,7 @@ public String getStartTime() {
* start time of the trial cluster.
* @param startTime startTime or {@code null} for none
*/
- public TrialMetadata setStartTime(String startTime) {
+ public TrialMetadata setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
@@ -112,7 +112,7 @@ public TrialMetadata setStartTime(String startTime) {
* Upgrade time of trial cluster to Standard cluster.
* @return value or {@code null} for none
*/
- public String getUpgradeTime() {
+ public java.lang.String getUpgradeTime() {
return upgradeTime;
}
@@ -120,7 +120,7 @@ public String getUpgradeTime() {
* Upgrade time of trial cluster to Standard cluster.
* @param upgradeTime upgradeTime or {@code null} for none
*/
- public TrialMetadata setUpgradeTime(String upgradeTime) {
+ public TrialMetadata setUpgradeTime(java.lang.String upgradeTime) {
this.upgradeTime = upgradeTime;
return this;
}
diff --git a/clients/google-api-services-alloydb/v1/2.0.0/pom.xml b/clients/google-api-services-alloydb/v1/2.0.0/pom.xml
index 95384c9a829..13b56b4679c 100644
--- a/clients/google-api-services-alloydb/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-alloydb/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-alloydb
- v1-rev20260326-2.0.0
- AlloyDB API v1-rev20260326-2.0.0
+ v1-rev20260226-2.0.0
+ AlloyDB API v1-rev20260226-2.0.0
jar
2011
diff --git a/clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/model/EnrollmentToken.java b/clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/model/EnrollmentToken.java
index 7bbdee42a3c..f1681075039 100644
--- a/clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/model/EnrollmentToken.java
+++ b/clients/google-api-services-androidenterprise/v1/2.0.0/com/google/api/services/androidenterprise/model/EnrollmentToken.java
@@ -37,7 +37,7 @@ public final class EnrollmentToken extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String duration;
+ private java.lang.String duration;
/**
* [Required] The type of the enrollment token.
@@ -68,7 +68,7 @@ public final class EnrollmentToken extends com.google.api.client.json.GenericJso
* 10,000 years. If not specified, the default duration is 1 hour.
* @return value or {@code null} for none
*/
- public String getDuration() {
+ public java.lang.String getDuration() {
return duration;
}
@@ -79,7 +79,7 @@ public String getDuration() {
* 10,000 years. If not specified, the default duration is 1 hour.
* @param duration duration or {@code null} for none
*/
- public EnrollmentToken setDuration(String duration) {
+ public EnrollmentToken setDuration(java.lang.String duration) {
this.duration = duration;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/README.md b/clients/google-api-services-apigee/v1/2.0.0/README.md
index 6c66bef99d3..149ebf15ac9 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/README.md
+++ b/clients/google-api-services-apigee/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-apigee
- v1-rev20260327-2.0.0
+ v1-rev20260218-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-apigee:v1-rev20260327-2.0.0'
+ implementation 'com.google.apis:google-api-services-apigee:v1-rev20260218-2.0.0'
}
```
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/Apigee.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/Apigee.java
index 156d30b93d8..172fd7671e8 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/Apigee.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/Apigee.java
@@ -2421,12 +2421,12 @@ public UpdateControlPlaneAccess setName(java.lang.String name) {
* publisher_identities.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated. Fields that can be updated: synchronizer_identities,
publisher_identities.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2434,7 +2434,7 @@ public String getUpdateMask() {
* List of fields to be updated. Fields that can be updated: synchronizer_identities,
* publisher_identities.
*/
- public UpdateControlPlaneAccess setUpdateMask(String updateMask) {
+ public UpdateControlPlaneAccess setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -2576,11 +2576,11 @@ public UpdateSecuritySettings setName(java.lang.String name) {
* ml_retraining_feedback_enabled
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update. Allowed fields are: - ml_retraining_feedback_enabled
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2588,7 +2588,7 @@ public String getUpdateMask() {
* Optional. The list of fields to update. Allowed fields are: -
* ml_retraining_feedback_enabled
*/
- public UpdateSecuritySettings setUpdateMask(String updateMask) {
+ public UpdateSecuritySettings setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -4313,16 +4313,16 @@ public Patch setAllowMissing(java.lang.Boolean allowMissing) {
/** Optional. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Optional. The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -8381,16 +8381,16 @@ public Patch setName(java.lang.String name) {
/** Required. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -16537,16 +16537,16 @@ public Patch setName(java.lang.String name) {
/** List of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** List of fields to be updated. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -19444,15 +19444,13 @@ public List setCount(java.lang.Long count) {
/**
* Optional. Specifies whether to expand the results. Set to `true` to expand the results.
* This query parameter is not valid if you use the `count` or `startKey` query
- * parameters. **Note**: If set to `true`, the `apigee.developerapps.get` permission is
- * required.
+ * parameters.
*/
@com.google.api.client.util.Key
private java.lang.Boolean expand;
/** Optional. Specifies whether to expand the results. Set to `true` to expand the results. This query
- parameter is not valid if you use the `count` or `startKey` query parameters. **Note**: If set to
- `true`, the `apigee.developerapps.get` permission is required.
+ parameter is not valid if you use the `count` or `startKey` query parameters.
*/
public java.lang.Boolean getExpand() {
return expand;
@@ -19461,8 +19459,7 @@ public java.lang.Boolean getExpand() {
/**
* Optional. Specifies whether to expand the results. Set to `true` to expand the results.
* This query parameter is not valid if you use the `count` or `startKey` query
- * parameters. **Note**: If set to `true`, the `apigee.developerapps.get` permission is
- * required.
+ * parameters.
*/
public List setExpand(java.lang.Boolean expand) {
this.expand = expand;
@@ -19471,15 +19468,13 @@ public List setExpand(java.lang.Boolean expand) {
/**
* Optional. Specifies whether to expand the results in shallow mode. Set to `true` to
- * expand the results in shallow mode. **Note**: If set to `true`, the
- * `apigee.developerapps.get` permission is required.
+ * expand the results in shallow mode.
*/
@com.google.api.client.util.Key
private java.lang.Boolean shallowExpand;
/** Optional. Specifies whether to expand the results in shallow mode. Set to `true` to expand the
- results in shallow mode. **Note**: If set to `true`, the `apigee.developerapps.get` permission is
- required.
+ results in shallow mode.
*/
public java.lang.Boolean getShallowExpand() {
return shallowExpand;
@@ -19487,8 +19482,7 @@ public java.lang.Boolean getShallowExpand() {
/**
* Optional. Specifies whether to expand the results in shallow mode. Set to `true` to
- * expand the results in shallow mode. **Note**: If set to `true`, the
- * `apigee.developerapps.get` permission is required.
+ * expand the results in shallow mode.
*/
public List setShallowExpand(java.lang.Boolean shallowExpand) {
this.shallowExpand = shallowExpand;
@@ -25445,16 +25439,16 @@ public Patch setName(java.lang.String name) {
/** Optional. List of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. List of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Optional. List of fields to be updated. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -27804,16 +27798,16 @@ public ModifyEnvironment setName(java.lang.String name) {
/** List of fields to be updated. Fields that can be updated: node_config. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated. Fields that can be updated: node_config.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** List of fields to be updated. Fields that can be updated: node_config. */
- public ModifyEnvironment setUpdateMask(String updateMask) {
+ public ModifyEnvironment setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -28704,16 +28698,16 @@ public UpdateDebugmask setReplaceRepeatedFields(java.lang.Boolean replaceRepeate
/** Field debug mask to support partial updates. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Field debug mask to support partial updates.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Field debug mask to support partial updates. */
- public UpdateDebugmask setUpdateMask(String updateMask) {
+ public UpdateDebugmask setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -29016,16 +29010,16 @@ public UpdateSecurityActionsConfig setName(java.lang.String name) {
/** The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** The list of fields to update. */
- public UpdateSecurityActionsConfig setUpdateMask(String updateMask) {
+ public UpdateSecurityActionsConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -29176,16 +29170,16 @@ public UpdateTraceConfig setName(java.lang.String name) {
/** List of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** List of fields to be updated. */
- public UpdateTraceConfig setUpdateMask(String updateMask) {
+ public UpdateTraceConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -33308,16 +33302,16 @@ public Patch setName(java.lang.String name) {
/** Required. The list of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. The list of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. The list of fields to be updated. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -42118,12 +42112,12 @@ public Patch setName(java.lang.String name) {
* `condition_config`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update. Valid fields to update are `description`, `state`, `allow`,
`deny`, and `flag`, `expire_time`, and `ttl`, `api_proxies`, and `condition_config`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -42132,7 +42126,7 @@ public String getUpdateMask() {
* `state`, `allow`, `deny`, and `flag`, `expire_time`, and `ttl`, `api_proxies`, and
* `condition_config`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -42825,12 +42819,12 @@ public Patch setName(java.lang.String name) {
* LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. The list of fields to update. Allowed fields are:
LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -42838,7 +42832,7 @@ public String getUpdateMask() {
* Required. The list of fields to update. Allowed fields are:
* LINT.IfChange(allowed_update_fields_comment) - observability LINT.ThenChange()
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -46705,16 +46699,16 @@ public Patch setName(java.lang.String name) {
/** List of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** List of fields to be updated. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -49711,16 +49705,16 @@ public Patch setName(java.lang.String name) {
/** List of fields to be updated. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** List of fields to be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** List of fields to be updated. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -55768,16 +55762,16 @@ public Patch setName(java.lang.String name) {
/** Optional. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Optional. The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -56674,12 +56668,12 @@ public Patch setName(java.lang.String name) {
* `include_all_resources` and `include`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update. Valid fields to update are `include_all_resources` and
`include`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -56687,7 +56681,7 @@ public String getUpdateMask() {
* Optional. The list of fields to update. Valid fields to update are
* `include_all_resources` and `include`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -57687,16 +57681,16 @@ public Patch setName(java.lang.String name) {
/** Required. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -58994,12 +58988,12 @@ public Patch setName(java.lang.String name) {
* `profileAssessmentConfigs`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update. Valid fields to update are `description` and
`profileAssessmentConfigs`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -59007,7 +59001,7 @@ public String getUpdateMask() {
* Optional. The list of fields to update. Valid fields to update are `description` and
* `profileAssessmentConfigs`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -63690,16 +63684,16 @@ public Patch setName(java.lang.String name) {
/** Required. List of fields to be updated. Fields that can be updated: display_name. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. List of fields to be updated. Fields that can be updated: display_name.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. List of fields to be updated. Fields that can be updated: display_name. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolDataHandlingProfile.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolDataHandlingProfile.java
new file mode 100644
index 00000000000..194bc997870
--- /dev/null
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolDataHandlingProfile.java
@@ -0,0 +1,92 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.apigee.v1.model;
+
+/**
+ * Profile describing the data handling characteristics of an MCP tool. When used within the
+ * McpTool.meta field, this message should be packed into a google.protobuf.Any and associated with
+ * the key: "google.com/tool.profiles/data_handling"
+ *
+ *
This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Apigee API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ApiservingMcpMcpToolDataHandlingProfile extends com.google.api.client.json.GenericJson {
+
+ /**
+ * // The data access level of the tool's inputs.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String inputDataAccessLevel;
+
+ /**
+ * The data access level of the tool's outputs.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String outputDataAccessLevel;
+
+ /**
+ * // The data access level of the tool's inputs.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getInputDataAccessLevel() {
+ return inputDataAccessLevel;
+ }
+
+ /**
+ * // The data access level of the tool's inputs.
+ * @param inputDataAccessLevel inputDataAccessLevel or {@code null} for none
+ */
+ public ApiservingMcpMcpToolDataHandlingProfile setInputDataAccessLevel(java.lang.String inputDataAccessLevel) {
+ this.inputDataAccessLevel = inputDataAccessLevel;
+ return this;
+ }
+
+ /**
+ * The data access level of the tool's outputs.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getOutputDataAccessLevel() {
+ return outputDataAccessLevel;
+ }
+
+ /**
+ * The data access level of the tool's outputs.
+ * @param outputDataAccessLevel outputDataAccessLevel or {@code null} for none
+ */
+ public ApiservingMcpMcpToolDataHandlingProfile setOutputDataAccessLevel(java.lang.String outputDataAccessLevel) {
+ this.outputDataAccessLevel = outputDataAccessLevel;
+ return this;
+ }
+
+ @Override
+ public ApiservingMcpMcpToolDataHandlingProfile set(String fieldName, Object value) {
+ return (ApiservingMcpMcpToolDataHandlingProfile) super.set(fieldName, value);
+ }
+
+ @Override
+ public ApiservingMcpMcpToolDataHandlingProfile clone() {
+ return (ApiservingMcpMcpToolDataHandlingProfile) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolLifecycleProfile.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolLifecycleProfile.java
new file mode 100644
index 00000000000..959c36253d4
--- /dev/null
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/ApiservingMcpMcpToolLifecycleProfile.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.apigee.v1.model;
+
+/**
+ * Profile describing the lifecycle stage of an MCP tool. When used within the McpTool.meta field,
+ * this message should be packed into a google.protobuf.Any and associated with the key:
+ * "google.com/tool.profiles/lifecycle"
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Apigee API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class ApiservingMcpMcpToolLifecycleProfile extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. The current launch state of the MCP tool.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String launchState;
+
+ /**
+ * Output only. The current launch state of the MCP tool.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getLaunchState() {
+ return launchState;
+ }
+
+ /**
+ * Output only. The current launch state of the MCP tool.
+ * @param launchState launchState or {@code null} for none
+ */
+ public ApiservingMcpMcpToolLifecycleProfile setLaunchState(java.lang.String launchState) {
+ this.launchState = launchState;
+ return this;
+ }
+
+ @Override
+ public ApiservingMcpMcpToolLifecycleProfile set(String fieldName, Object value) {
+ return (ApiservingMcpMcpToolLifecycleProfile) super.set(fieldName, value);
+ }
+
+ @Override
+ public ApiservingMcpMcpToolLifecycleProfile clone() {
+ return (ApiservingMcpMcpToolLifecycleProfile) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1AnalyticsConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1AnalyticsConfig.java
index 25fd37020c8..1c1143b1b49 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1AnalyticsConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1AnalyticsConfig.java
@@ -56,7 +56,7 @@ public final class GoogleCloudApigeeV1AnalyticsConfig extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Whether the Analytics add-on is enabled.
@@ -115,7 +115,7 @@ public GoogleCloudApigeeV1AnalyticsConfig setState(java.lang.String state) {
* Output only. The latest update time.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -123,7 +123,7 @@ public String getUpdateTime() {
* Output only. The latest update time.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1AnalyticsConfig setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1AnalyticsConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiDebugSession.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiDebugSession.java
index dac9c183322..e1a822eaed6 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiDebugSession.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiDebugSession.java
@@ -41,7 +41,7 @@ public final class GoogleCloudApigeeV1ApiDebugSession extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The environment ID of the deployed API proxy.
@@ -78,7 +78,7 @@ public GoogleCloudApigeeV1ApiDebugSession setApiProxyRevisionId(java.lang.String
* The first transaction creation timestamp in millisecond, recorded by UAP.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -86,7 +86,7 @@ public String getCreateTime() {
* The first transaction creation timestamp in millisecond, recorded by UAP.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ApiDebugSession setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1ApiDebugSession setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiSecurityRuntimeConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiSecurityRuntimeConfig.java
index 4c40641af6b..ad93c1b8b78 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiSecurityRuntimeConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApiSecurityRuntimeConfig.java
@@ -65,7 +65,7 @@ public final class GoogleCloudApigeeV1ApiSecurityRuntimeConfig extends com.googl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* A list of up to 5 Cloud Storage Blobs that contain SecurityActions.
@@ -145,7 +145,7 @@ public GoogleCloudApigeeV1ApiSecurityRuntimeConfig setUid(java.lang.String uid)
* Time that the API Security Runtime configuration was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -153,7 +153,7 @@ public String getUpdateTime() {
* Time that the API Security Runtime configuration was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ApiSecurityRuntimeConfig setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1ApiSecurityRuntimeConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApimServiceExtension.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApimServiceExtension.java
index 8ea757642f7..6af66c3dcbd 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApimServiceExtension.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ApimServiceExtension.java
@@ -35,7 +35,7 @@ public final class GoogleCloudApigeeV1ApimServiceExtension extends com.google.ap
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Name of the proxy deployed in the Apigee X instance.
@@ -99,13 +99,13 @@ public final class GoogleCloudApigeeV1ApimServiceExtension extends com.google.ap
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time that this resource was created on the server.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -113,7 +113,7 @@ public String getCreateTime() {
* Output only. The time that this resource was created on the server.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ApimServiceExtension setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1ApimServiceExtension setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -257,7 +257,7 @@ public GoogleCloudApigeeV1ApimServiceExtension setState(java.lang.String state)
* Output only. The time that this resource was updated on the server.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -265,7 +265,7 @@ public String getUpdateTime() {
* Output only. The time that this resource was updated on the server.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ApimServiceExtension setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1ApimServiceExtension setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.java
index b2f8a2e0e96..e50067a1cc5 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.java
@@ -34,7 +34,7 @@ public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRespo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String assessmentTime;
+ private java.lang.String assessmentTime;
/**
* A token that can be sent as `page_token` to retrieve the next page. If this field is blank,
@@ -55,7 +55,7 @@ public final class GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsRespo
* The time of the assessment api call.
* @return value or {@code null} for none
*/
- public String getAssessmentTime() {
+ public java.lang.String getAssessmentTime() {
return assessmentTime;
}
@@ -63,7 +63,7 @@ public String getAssessmentTime() {
* The time of the assessment api call.
* @param assessmentTime assessmentTime or {@code null} for none
*/
- public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse setAssessmentTime(String assessmentTime) {
+ public GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse setAssessmentTime(java.lang.String assessmentTime) {
this.assessmentTime = assessmentTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1CanaryEvaluation.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1CanaryEvaluation.java
index fdcd706caf4..ff2b6d0928a 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1CanaryEvaluation.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1CanaryEvaluation.java
@@ -42,14 +42,14 @@ public final class GoogleCloudApigeeV1CanaryEvaluation extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. End time for the evaluation's analysis.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Required. Labels used to filter the metrics used for a canary evaluation.
@@ -70,7 +70,7 @@ public final class GoogleCloudApigeeV1CanaryEvaluation extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The current state of the canary evaluation.
@@ -114,7 +114,7 @@ public GoogleCloudApigeeV1CanaryEvaluation setControl(java.lang.String control)
* Output only. Create time of the canary evaluation.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -122,7 +122,7 @@ public String getCreateTime() {
* Output only. Create time of the canary evaluation.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1CanaryEvaluation setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1CanaryEvaluation setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -131,7 +131,7 @@ public GoogleCloudApigeeV1CanaryEvaluation setCreateTime(String createTime) {
* Required. End time for the evaluation's analysis.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -139,7 +139,7 @@ public String getEndTime() {
* Required. End time for the evaluation's analysis.
* @param endTime endTime or {@code null} for none
*/
- public GoogleCloudApigeeV1CanaryEvaluation setEndTime(String endTime) {
+ public GoogleCloudApigeeV1CanaryEvaluation setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -182,7 +182,7 @@ public GoogleCloudApigeeV1CanaryEvaluation setName(java.lang.String name) {
* Required. Start time for the canary evaluation's analysis.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -190,7 +190,7 @@ public String getStartTime() {
* Required. Start time for the canary evaluation's analysis.
* @param startTime startTime or {@code null} for none
*/
- public GoogleCloudApigeeV1CanaryEvaluation setStartTime(String startTime) {
+ public GoogleCloudApigeeV1CanaryEvaluation setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DebugSession.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DebugSession.java
index 390417cc8d3..85b60caedf9 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DebugSession.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DebugSession.java
@@ -41,7 +41,7 @@ public final class GoogleCloudApigeeV1DebugSession extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A conditional statement which is evaluated against the request message to determine
@@ -103,7 +103,7 @@ public GoogleCloudApigeeV1DebugSession setCount(java.lang.Integer count) {
* Output only. The first transaction creation timestamp, recorded by UAP.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -111,7 +111,7 @@ public String getCreateTime() {
* Output only. The first transaction creation timestamp, recorded by UAP.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1DebugSession setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1DebugSession setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DnsZone.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DnsZone.java
index 61546f9f92a..b3aa89a5e78 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DnsZone.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1DnsZone.java
@@ -36,7 +36,7 @@ public final class GoogleCloudApigeeV1DnsZone extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Description of the resource. String of at most 1024 characters associated with this
@@ -81,13 +81,13 @@ public final class GoogleCloudApigeeV1DnsZone extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time that this resource was created on the server.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -95,7 +95,7 @@ public String getCreateTime() {
* Output only. The time that this resource was created on the server.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1DnsZone setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1DnsZone setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -195,7 +195,7 @@ public GoogleCloudApigeeV1DnsZone setState(java.lang.String state) {
* Output only. The time that this resource was updated on the server.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -203,7 +203,7 @@ public String getUpdateTime() {
* Output only. The time that this resource was updated on the server.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1DnsZone setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1DnsZone setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm.java
index 6c9dbb55d0b..8550bff6aad 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm.java
@@ -38,7 +38,8 @@ public final class GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderI
private java.lang.Integer ipHeaderIndex;
/**
- * Required. The name of the header to extract the client ip from.
+ * Required. The name of the header to extract the client ip from. We are currently only
+ * supporting the X-Forwarded-For header.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -64,7 +65,8 @@ public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorith
}
/**
- * Required. The name of the header to extract the client ip from.
+ * Required. The name of the header to extract the client ip from. We are currently only
+ * supporting the X-Forwarded-For header.
* @return value or {@code null} for none
*/
public java.lang.String getIpHeaderName() {
@@ -72,7 +74,8 @@ public java.lang.String getIpHeaderName() {
}
/**
- * Required. The name of the header to extract the client ip from.
+ * Required. The name of the header to extract the client ip from. We are currently only
+ * supporting the X-Forwarded-For header.
* @param ipHeaderName ipHeaderName or {@code null} for none
*/
public GoogleCloudApigeeV1EnvironmentClientIPResolutionConfigHeaderIndexAlgorithm setIpHeaderName(java.lang.String ipHeaderName) {
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentConfig.java
index 0f83359715f..0a70d0af151 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1EnvironmentConfig.java
@@ -56,7 +56,7 @@ public final class GoogleCloudApigeeV1EnvironmentConfig extends com.google.api.c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* List of data collectors used by the deployments in the environment.
@@ -281,7 +281,7 @@ public GoogleCloudApigeeV1EnvironmentConfig setClientIpResolutionConfig(GoogleCl
* Time that the environment configuration was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -289,7 +289,7 @@ public String getCreateTime() {
* Time that the environment configuration was created.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1EnvironmentConfig setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1EnvironmentConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1IngressConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1IngressConfig.java
index 2e89206497a..f991231c894 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1IngressConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1IngressConfig.java
@@ -54,7 +54,7 @@ public final class GoogleCloudApigeeV1IngressConfig extends com.google.api.clien
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionCreateTime;
+ private java.lang.String revisionCreateTime;
/**
* Revision id that defines the ordering on IngressConfig resources. The higher the revision, the
@@ -110,7 +110,7 @@ public GoogleCloudApigeeV1IngressConfig setName(java.lang.String name) {
* Time at which the IngressConfig revision was created.
* @return value or {@code null} for none
*/
- public String getRevisionCreateTime() {
+ public java.lang.String getRevisionCreateTime() {
return revisionCreateTime;
}
@@ -118,7 +118,7 @@ public String getRevisionCreateTime() {
* Time at which the IngressConfig revision was created.
* @param revisionCreateTime revisionCreateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1IngressConfig setRevisionCreateTime(String revisionCreateTime) {
+ public GoogleCloudApigeeV1IngressConfig setRevisionCreateTime(java.lang.String revisionCreateTime) {
this.revisionCreateTime = revisionCreateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ReportInstanceStatusRequest.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ReportInstanceStatusRequest.java
index f315a79c741..71a82ad7246 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ReportInstanceStatusRequest.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ReportInstanceStatusRequest.java
@@ -44,7 +44,7 @@ public final class GoogleCloudApigeeV1ReportInstanceStatusRequest extends com.go
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String reportTime;
+ private java.lang.String reportTime;
/**
* Status for config resources
@@ -78,7 +78,7 @@ public GoogleCloudApigeeV1ReportInstanceStatusRequest setInstanceUid(java.lang.S
* does not play a factor.
* @return value or {@code null} for none
*/
- public String getReportTime() {
+ public java.lang.String getReportTime() {
return reportTime;
}
@@ -88,7 +88,7 @@ public String getReportTime() {
* does not play a factor.
* @param reportTime reportTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ReportInstanceStatusRequest setReportTime(String reportTime) {
+ public GoogleCloudApigeeV1ReportInstanceStatusRequest setReportTime(java.lang.String reportTime) {
this.reportTime = reportTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RoutingRule.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RoutingRule.java
index 0d7e7a84736..e8cbbffffb8 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RoutingRule.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RoutingRule.java
@@ -89,7 +89,7 @@ public final class GoogleCloudApigeeV1RoutingRule extends com.google.api.client.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* URI path prefix used to route to the specified environment. May contain one or more wildcards.
@@ -221,7 +221,7 @@ public GoogleCloudApigeeV1RoutingRule setReceiver(java.lang.String receiver) {
* is called with view=FULL.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -231,7 +231,7 @@ public String getUpdateTime() {
* is called with view=FULL.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1RoutingRule setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1RoutingRule setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RuntimeTraceConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RuntimeTraceConfig.java
index 687215e7c86..bcaae25528f 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RuntimeTraceConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1RuntimeTraceConfig.java
@@ -17,8 +17,7 @@
package com.google.api.services.apigee.v1.model;
/**
- * NEXT ID: 10 RuntimeTraceConfig defines the configurations for distributed trace in an
- * environment.
+ * NEXT ID: 9 RuntimeTraceConfig defines the configurations for distributed trace in an environment.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Apigee API. For a detailed explanation see:
@@ -55,12 +54,11 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfig extends com.google.api.
private java.lang.String name;
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -78,7 +76,7 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfig extends com.google.api.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionCreateTime;
+ private java.lang.String revisionCreateTime;
/**
* Revision number which can be used by the runtime to detect if the trace config has changed
@@ -95,13 +93,6 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfig extends com.google.api.
@com.google.api.client.util.Key
private GoogleCloudApigeeV1RuntimeTraceSamplingConfig samplingConfig;
- /**
- * Optional. The trace protocol to use.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String traceProtocol;
-
/**
* Endpoint of the exporter.
* @return value or {@code null} for none
@@ -160,12 +151,11 @@ public GoogleCloudApigeeV1RuntimeTraceConfig setName(java.lang.String name) {
}
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* @return value or {@code null} for none
*/
public java.lang.Boolean getOpenTelemetryProtocolEnabled() {
@@ -173,12 +163,11 @@ public java.lang.Boolean getOpenTelemetryProtocolEnabled() {
}
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* @param openTelemetryProtocolEnabled openTelemetryProtocolEnabled or {@code null} for none
*/
public GoogleCloudApigeeV1RuntimeTraceConfig setOpenTelemetryProtocolEnabled(java.lang.Boolean openTelemetryProtocolEnabled) {
@@ -207,7 +196,7 @@ public GoogleCloudApigeeV1RuntimeTraceConfig setOverrides(java.util.List This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Apigee API. For a detailed explanation see:
@@ -46,12 +46,11 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfigOverride extends com.goo
private java.lang.String name;
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -62,7 +61,7 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfigOverride extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionCreateTime;
+ private java.lang.String revisionCreateTime;
/**
* Revision number which can be used by the runtime to detect if the trace config override has
@@ -79,13 +78,6 @@ public final class GoogleCloudApigeeV1RuntimeTraceConfigOverride extends com.goo
@com.google.api.client.util.Key
private GoogleCloudApigeeV1RuntimeTraceSamplingConfig samplingConfig;
- /**
- * Optional. The trace protocol to use.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String traceProtocol;
-
/**
* Unique ID for the configuration override. The ID will only change if the override is deleted
* and recreated. Corresponds to name's "override" field.
@@ -133,12 +125,11 @@ public GoogleCloudApigeeV1RuntimeTraceConfigOverride setName(java.lang.String na
}
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* @return value or {@code null} for none
*/
public java.lang.Boolean getOpenTelemetryProtocolEnabled() {
@@ -146,12 +137,11 @@ public java.lang.Boolean getOpenTelemetryProtocolEnabled() {
}
/**
- * Optional. If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data.
- * Configuration Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed
- * `Exporter`s: `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is
- * `OPEN_TELEMETRY_COLLECTOR`: - `endpoint` refers to a valid OTLP collector URL. - If `Exporter`
- * is `CLOUD_TRACE`: - `endpoint` refers to a valid project ID Deprecated: Use trace_protocol
- * instead.
+ * If `true`, the runtime uses OpenTelemetry Protocol (OTLP) to send trace data. Configuration
+ * Requirements (if `open_telemetry_protocol_enabled` is `true`): - Allowed `Exporter`s:
+ * `CLOUD_TRACE` or `OPEN_TELEMETRY_COLLECTOR`. - If `Exporter` is `OPEN_TELEMETRY_COLLECTOR`: -
+ * `endpoint` refers to a valid OTLP collector URL. - If `Exporter` is `CLOUD_TRACE`: - `endpoint`
+ * refers to a valid project ID
* @param openTelemetryProtocolEnabled openTelemetryProtocolEnabled or {@code null} for none
*/
public GoogleCloudApigeeV1RuntimeTraceConfigOverride setOpenTelemetryProtocolEnabled(java.lang.Boolean openTelemetryProtocolEnabled) {
@@ -163,7 +153,7 @@ public GoogleCloudApigeeV1RuntimeTraceConfigOverride setOpenTelemetryProtocolEna
* The timestamp that the revision was created or updated.
* @return value or {@code null} for none
*/
- public String getRevisionCreateTime() {
+ public java.lang.String getRevisionCreateTime() {
return revisionCreateTime;
}
@@ -171,7 +161,7 @@ public String getRevisionCreateTime() {
* The timestamp that the revision was created or updated.
* @param revisionCreateTime revisionCreateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1RuntimeTraceConfigOverride setRevisionCreateTime(String revisionCreateTime) {
+ public GoogleCloudApigeeV1RuntimeTraceConfigOverride setRevisionCreateTime(java.lang.String revisionCreateTime) {
this.revisionCreateTime = revisionCreateTime;
return this;
}
@@ -212,23 +202,6 @@ public GoogleCloudApigeeV1RuntimeTraceConfigOverride setSamplingConfig(GoogleClo
return this;
}
- /**
- * Optional. The trace protocol to use.
- * @return value or {@code null} for none
- */
- public java.lang.String getTraceProtocol() {
- return traceProtocol;
- }
-
- /**
- * Optional. The trace protocol to use.
- * @param traceProtocol traceProtocol or {@code null} for none
- */
- public GoogleCloudApigeeV1RuntimeTraceConfigOverride setTraceProtocol(java.lang.String traceProtocol) {
- this.traceProtocol = traceProtocol;
- return this;
- }
-
/**
* Unique ID for the configuration override. The ID will only change if the override is deleted
* and recreated. Corresponds to name's "override" field.
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScheduledMaintenance.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScheduledMaintenance.java
index d09bbab4511..0b6303796b1 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScheduledMaintenance.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScheduledMaintenance.java
@@ -34,13 +34,13 @@ public final class GoogleCloudApigeeV1ScheduledMaintenance extends com.google.ap
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The start time (UTC) of the scheduled maintenance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -48,7 +48,7 @@ public String getStartTime() {
* Output only. The start time (UTC) of the scheduled maintenance.
* @param startTime startTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ScheduledMaintenance setStartTime(String startTime) {
+ public GoogleCloudApigeeV1ScheduledMaintenance setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScoreComponent.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScoreComponent.java
index d71fb934d74..2a2835ed96b 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScoreComponent.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1ScoreComponent.java
@@ -34,14 +34,14 @@ public final class GoogleCloudApigeeV1ScoreComponent extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String calculateTime;
+ private java.lang.String calculateTime;
/**
* Time in the requested time period when data was last captured to compute the score.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String dataCaptureTime;
+ private java.lang.String dataCaptureTime;
/**
* List of paths for next components.
@@ -75,7 +75,7 @@ public final class GoogleCloudApigeeV1ScoreComponent extends com.google.api.clie
* Time when score was calculated.
* @return value or {@code null} for none
*/
- public String getCalculateTime() {
+ public java.lang.String getCalculateTime() {
return calculateTime;
}
@@ -83,7 +83,7 @@ public String getCalculateTime() {
* Time when score was calculated.
* @param calculateTime calculateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ScoreComponent setCalculateTime(String calculateTime) {
+ public GoogleCloudApigeeV1ScoreComponent setCalculateTime(java.lang.String calculateTime) {
this.calculateTime = calculateTime;
return this;
}
@@ -92,7 +92,7 @@ public GoogleCloudApigeeV1ScoreComponent setCalculateTime(String calculateTime)
* Time in the requested time period when data was last captured to compute the score.
* @return value or {@code null} for none
*/
- public String getDataCaptureTime() {
+ public java.lang.String getDataCaptureTime() {
return dataCaptureTime;
}
@@ -100,7 +100,7 @@ public String getDataCaptureTime() {
* Time in the requested time period when data was last captured to compute the score.
* @param dataCaptureTime dataCaptureTime or {@code null} for none
*/
- public GoogleCloudApigeeV1ScoreComponent setDataCaptureTime(String dataCaptureTime) {
+ public GoogleCloudApigeeV1ScoreComponent setDataCaptureTime(java.lang.String dataCaptureTime) {
this.dataCaptureTime = dataCaptureTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAction.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAction.java
index 2b43e70dec3..7f44f3028ea 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAction.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAction.java
@@ -61,7 +61,7 @@ public final class GoogleCloudApigeeV1SecurityAction extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Deny a request through if it matches this SecurityAction.
@@ -82,7 +82,7 @@ public final class GoogleCloudApigeeV1SecurityAction extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Flag a request through if it matches this SecurityAction.
@@ -114,7 +114,7 @@ public final class GoogleCloudApigeeV1SecurityAction extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* Output only. The update time for this SecurityAction. This reflects when this SecurityAction
@@ -122,7 +122,7 @@ public final class GoogleCloudApigeeV1SecurityAction extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Allow a request through if it matches this SecurityAction.
@@ -187,7 +187,7 @@ public GoogleCloudApigeeV1SecurityAction setConditionConfig(GoogleCloudApigeeV1S
* Output only. The create time for this SecurityAction.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -195,7 +195,7 @@ public String getCreateTime() {
* Output only. The create time for this SecurityAction.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAction setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1SecurityAction setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -238,7 +238,7 @@ public GoogleCloudApigeeV1SecurityAction setDescription(java.lang.String descrip
* The expiration for this SecurityAction.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -246,7 +246,7 @@ public String getExpireTime() {
* The expiration for this SecurityAction.
* @param expireTime expireTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAction setExpireTime(String expireTime) {
+ public GoogleCloudApigeeV1SecurityAction setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
@@ -314,7 +314,7 @@ public GoogleCloudApigeeV1SecurityAction setState(java.lang.String state) {
* Input only. The TTL for this SecurityAction.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -322,7 +322,7 @@ public String getTtl() {
* Input only. The TTL for this SecurityAction.
* @param ttl ttl or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAction setTtl(String ttl) {
+ public GoogleCloudApigeeV1SecurityAction setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
@@ -332,7 +332,7 @@ public GoogleCloudApigeeV1SecurityAction setTtl(String ttl) {
* changed states.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -341,7 +341,7 @@ public String getUpdateTime() {
* changed states.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAction setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1SecurityAction setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityActionsConfig.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityActionsConfig.java
index 7415361e9da..dbcb447d1dd 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityActionsConfig.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityActionsConfig.java
@@ -52,7 +52,7 @@ public final class GoogleCloudApigeeV1SecurityActionsConfig extends com.google.a
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The flag that controls whether this feature is enabled. This is `unset` by default. When this
@@ -98,7 +98,7 @@ public GoogleCloudApigeeV1SecurityActionsConfig setName(java.lang.String name) {
* Output only. The update time for configuration.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -106,7 +106,7 @@ public String getUpdateTime() {
* Output only. The update time for configuration.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityActionsConfig setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1SecurityActionsConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResult.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResult.java
index 9dd438ac250..6e1e800774c 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResult.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResult.java
@@ -35,7 +35,7 @@ public final class GoogleCloudApigeeV1SecurityAssessmentResult extends com.googl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The error status if scoring fails.
@@ -63,7 +63,7 @@ public final class GoogleCloudApigeeV1SecurityAssessmentResult extends com.googl
* caching within the backend.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -72,7 +72,7 @@ public String getCreateTime() {
* caching within the backend.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAssessmentResult setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1SecurityAssessmentResult setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.java
index 7fd08f35459..3d968af30d6 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.java
@@ -43,7 +43,7 @@ public final class GoogleCloudApigeeV1SecurityAssessmentResultScoringResult exte
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String dataUpdateTime;
+ private java.lang.String dataUpdateTime;
/**
* The number of failed assessments grouped by its weight. Keys are one of the following: "MAJOR",
@@ -90,7 +90,7 @@ public GoogleCloudApigeeV1SecurityAssessmentResultScoringResult setAssessmentRec
* when the resource was actually updated due to lag in data collection.
* @return value or {@code null} for none
*/
- public String getDataUpdateTime() {
+ public java.lang.String getDataUpdateTime() {
return dataUpdateTime;
}
@@ -99,7 +99,7 @@ public String getDataUpdateTime() {
* when the resource was actually updated due to lag in data collection.
* @param dataUpdateTime dataUpdateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityAssessmentResultScoringResult setDataUpdateTime(String dataUpdateTime) {
+ public GoogleCloudApigeeV1SecurityAssessmentResultScoringResult setDataUpdateTime(java.lang.String dataUpdateTime) {
this.dataUpdateTime = dataUpdateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityFeedback.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityFeedback.java
index 67494db879e..7704e8f9a80 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityFeedback.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityFeedback.java
@@ -41,7 +41,7 @@ public final class GoogleCloudApigeeV1SecurityFeedback extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The display name of the feedback.
@@ -83,7 +83,7 @@ public final class GoogleCloudApigeeV1SecurityFeedback extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Optional text the user can provide for additional, unstructured context.
@@ -106,7 +106,7 @@ public GoogleCloudApigeeV1SecurityFeedback setComment(java.lang.String comment)
* Output only. The time when this specific feedback id was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -114,7 +114,7 @@ public String getCreateTime() {
* Output only. The time when this specific feedback id was created.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityFeedback setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1SecurityFeedback setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -208,7 +208,7 @@ public GoogleCloudApigeeV1SecurityFeedback setReason(java.lang.String reason) {
* Output only. The time when this specific feedback id was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -216,7 +216,7 @@ public String getUpdateTime() {
* Output only. The time when this specific feedback id was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityFeedback setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1SecurityFeedback setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityIncident.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityIncident.java
index 7f2bbf9a5f4..09c8e027de4 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityIncident.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityIncident.java
@@ -49,21 +49,21 @@ public final class GoogleCloudApigeeV1SecurityIncident extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String firstDetectedTime;
+ private java.lang.String firstDetectedTime;
/**
* Output only. The time when events associated with the incident were last detected.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastDetectedTime;
+ private java.lang.String lastDetectedTime;
/**
* Output only. The time when the incident observability was last changed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastObservabilityChangeTime;
+ private java.lang.String lastObservabilityChangeTime;
/**
* Immutable. Name of the security incident resource. Format:
@@ -135,7 +135,7 @@ public GoogleCloudApigeeV1SecurityIncident setDisplayName(java.lang.String displ
* Output only. The time when events associated with the incident were first detected.
* @return value or {@code null} for none
*/
- public String getFirstDetectedTime() {
+ public java.lang.String getFirstDetectedTime() {
return firstDetectedTime;
}
@@ -143,7 +143,7 @@ public String getFirstDetectedTime() {
* Output only. The time when events associated with the incident were first detected.
* @param firstDetectedTime firstDetectedTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityIncident setFirstDetectedTime(String firstDetectedTime) {
+ public GoogleCloudApigeeV1SecurityIncident setFirstDetectedTime(java.lang.String firstDetectedTime) {
this.firstDetectedTime = firstDetectedTime;
return this;
}
@@ -152,7 +152,7 @@ public GoogleCloudApigeeV1SecurityIncident setFirstDetectedTime(String firstDete
* Output only. The time when events associated with the incident were last detected.
* @return value or {@code null} for none
*/
- public String getLastDetectedTime() {
+ public java.lang.String getLastDetectedTime() {
return lastDetectedTime;
}
@@ -160,7 +160,7 @@ public String getLastDetectedTime() {
* Output only. The time when events associated with the incident were last detected.
* @param lastDetectedTime lastDetectedTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityIncident setLastDetectedTime(String lastDetectedTime) {
+ public GoogleCloudApigeeV1SecurityIncident setLastDetectedTime(java.lang.String lastDetectedTime) {
this.lastDetectedTime = lastDetectedTime;
return this;
}
@@ -169,7 +169,7 @@ public GoogleCloudApigeeV1SecurityIncident setLastDetectedTime(String lastDetect
* Output only. The time when the incident observability was last changed.
* @return value or {@code null} for none
*/
- public String getLastObservabilityChangeTime() {
+ public java.lang.String getLastObservabilityChangeTime() {
return lastObservabilityChangeTime;
}
@@ -177,7 +177,7 @@ public String getLastObservabilityChangeTime() {
* Output only. The time when the incident observability was last changed.
* @param lastObservabilityChangeTime lastObservabilityChangeTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityIncident setLastObservabilityChangeTime(String lastObservabilityChangeTime) {
+ public GoogleCloudApigeeV1SecurityIncident setLastObservabilityChangeTime(java.lang.String lastObservabilityChangeTime) {
this.lastObservabilityChangeTime = lastObservabilityChangeTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityMonitoringCondition.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityMonitoringCondition.java
index cfc5682e153..fc58d2ca604 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityMonitoringCondition.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityMonitoringCondition.java
@@ -43,7 +43,7 @@ public final class GoogleCloudApigeeV1SecurityMonitoringCondition extends com.go
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Include only these resources.
@@ -110,7 +110,7 @@ public final class GoogleCloudApigeeV1SecurityMonitoringCondition extends com.go
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The API Hub gateway monitored by the security monitoring condition. This should only
@@ -137,7 +137,7 @@ public GoogleCloudApigeeV1SecurityMonitoringCondition setApiHubGateway(java.lang
* Output only. The time of the security monitoring condition creation.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -145,7 +145,7 @@ public String getCreateTime() {
* Output only. The time of the security monitoring condition creation.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityMonitoringCondition setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1SecurityMonitoringCondition setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -298,7 +298,7 @@ public GoogleCloudApigeeV1SecurityMonitoringCondition setTotalMonitoredResources
* Output only. The time of the security monitoring condition update.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -306,7 +306,7 @@ public String getUpdateTime() {
* Output only. The time of the security monitoring condition update.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityMonitoringCondition setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1SecurityMonitoringCondition setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfile.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfile.java
index e651346ab87..05de4d74269 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfile.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfile.java
@@ -84,7 +84,7 @@ public final class GoogleCloudApigeeV1SecurityProfile extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionCreateTime;
+ private java.lang.String revisionCreateTime;
/**
* Output only. Revision ID of the security profile.
@@ -99,14 +99,14 @@ public final class GoogleCloudApigeeV1SecurityProfile extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionPublishTime;
+ private java.lang.String revisionPublishTime;
/**
* Output only. The time when revision was updated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String revisionUpdateTime;
+ private java.lang.String revisionUpdateTime;
/**
* List of profile scoring configs in this revision.
@@ -240,7 +240,7 @@ public GoogleCloudApigeeV1SecurityProfile setProfileConfig(GoogleCloudApigeeV1Pr
* Output only. The time when revision was created.
* @return value or {@code null} for none
*/
- public String getRevisionCreateTime() {
+ public java.lang.String getRevisionCreateTime() {
return revisionCreateTime;
}
@@ -248,7 +248,7 @@ public String getRevisionCreateTime() {
* Output only. The time when revision was created.
* @param revisionCreateTime revisionCreateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfile setRevisionCreateTime(String revisionCreateTime) {
+ public GoogleCloudApigeeV1SecurityProfile setRevisionCreateTime(java.lang.String revisionCreateTime) {
this.revisionCreateTime = revisionCreateTime;
return this;
}
@@ -275,7 +275,7 @@ public GoogleCloudApigeeV1SecurityProfile setRevisionId(java.lang.Long revisionI
* security profile revision cannot be updated further and can be attached to environments.
* @return value or {@code null} for none
*/
- public String getRevisionPublishTime() {
+ public java.lang.String getRevisionPublishTime() {
return revisionPublishTime;
}
@@ -284,7 +284,7 @@ public String getRevisionPublishTime() {
* security profile revision cannot be updated further and can be attached to environments.
* @param revisionPublishTime revisionPublishTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfile setRevisionPublishTime(String revisionPublishTime) {
+ public GoogleCloudApigeeV1SecurityProfile setRevisionPublishTime(java.lang.String revisionPublishTime) {
this.revisionPublishTime = revisionPublishTime;
return this;
}
@@ -293,7 +293,7 @@ public GoogleCloudApigeeV1SecurityProfile setRevisionPublishTime(String revision
* Output only. The time when revision was updated.
* @return value or {@code null} for none
*/
- public String getRevisionUpdateTime() {
+ public java.lang.String getRevisionUpdateTime() {
return revisionUpdateTime;
}
@@ -301,7 +301,7 @@ public String getRevisionUpdateTime() {
* Output only. The time when revision was updated.
* @param revisionUpdateTime revisionUpdateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfile setRevisionUpdateTime(String revisionUpdateTime) {
+ public GoogleCloudApigeeV1SecurityProfile setRevisionUpdateTime(java.lang.String revisionUpdateTime) {
this.revisionUpdateTime = revisionUpdateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironment.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironment.java
index 79dbbeaff33..78a3169a229 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironment.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironment.java
@@ -35,7 +35,7 @@ public final class GoogleCloudApigeeV1SecurityProfileEnvironment extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String attachTime;
+ private java.lang.String attachTime;
/**
* Output only. Name of the environment.
@@ -48,7 +48,7 @@ public final class GoogleCloudApigeeV1SecurityProfileEnvironment extends com.goo
* Output only. Time at which environment was attached to the security profile.
* @return value or {@code null} for none
*/
- public String getAttachTime() {
+ public java.lang.String getAttachTime() {
return attachTime;
}
@@ -56,7 +56,7 @@ public String getAttachTime() {
* Output only. Time at which environment was attached to the security profile.
* @param attachTime attachTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfileEnvironment setAttachTime(String attachTime) {
+ public GoogleCloudApigeeV1SecurityProfileEnvironment setAttachTime(java.lang.String attachTime) {
this.attachTime = attachTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.java
index 55fd71b95a7..9c52e9bb3ec 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation.java
@@ -34,7 +34,7 @@ public final class GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation exte
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String attachTime;
+ private java.lang.String attachTime;
/**
* Immutable. Name of the environment that the profile is attached to.
@@ -54,7 +54,7 @@ public final class GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation exte
* Output only. The time when environment was attached to the security profile.
* @return value or {@code null} for none
*/
- public String getAttachTime() {
+ public java.lang.String getAttachTime() {
return attachTime;
}
@@ -62,7 +62,7 @@ public String getAttachTime() {
* Output only. The time when environment was attached to the security profile.
* @param attachTime attachTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation setAttachTime(String attachTime) {
+ public GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation setAttachTime(java.lang.String attachTime) {
this.attachTime = attachTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileV2.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileV2.java
index 16a63ae76ab..99ba0d9bc9a 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileV2.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityProfileV2.java
@@ -34,7 +34,7 @@ public final class GoogleCloudApigeeV1SecurityProfileV2 extends com.google.api.c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The description of the security profile.
@@ -78,13 +78,13 @@ public final class GoogleCloudApigeeV1SecurityProfileV2 extends com.google.api.c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time of the security profile creation.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -92,7 +92,7 @@ public String getCreateTime() {
* Output only. The time of the security profile creation.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfileV2 setCreateTime(String createTime) {
+ public GoogleCloudApigeeV1SecurityProfileV2 setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -190,7 +190,7 @@ public GoogleCloudApigeeV1SecurityProfileV2 setRiskAssessmentType(java.lang.Stri
* Output only. The time of the security profile update.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -198,7 +198,7 @@ public String getUpdateTime() {
* Output only. The time of the security profile update.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleCloudApigeeV1SecurityProfileV2 setUpdateTime(String updateTime) {
+ public GoogleCloudApigeeV1SecurityProfileV2 setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityReportMetadata.java b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityReportMetadata.java
index d7421d00ae2..083efe85f88 100644
--- a/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityReportMetadata.java
+++ b/clients/google-api-services-apigee/v1/2.0.0/com/google/api/services/apigee/v1/model/GoogleCloudApigeeV1SecurityReportMetadata.java
@@ -41,7 +41,7 @@ public final class GoogleCloudApigeeV1SecurityReportMetadata extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTimestamp;
+ private java.lang.String endTimestamp;
/**
* Metrics of the SecurityReport. Example: ["name:bot_count,func:sum,alias:sum_bot_count"]
@@ -62,7 +62,7 @@ public final class GoogleCloudApigeeV1SecurityReportMetadata extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimestamp;
+ private java.lang.String startTimestamp;
/**
* Query GroupBy time unit. Example: "seconds", "minute", "hour"
@@ -92,7 +92,7 @@ public GoogleCloudApigeeV1SecurityReportMetadata setDimensions(java.util.Listcom.google.apis
google-api-services-apigee
- v1-rev20260327-2.0.0
- Apigee API v1-rev20260327-2.0.0
+ v1-rev20260218-2.0.0
+ Apigee API v1-rev20260218-2.0.0
jar
2011
diff --git a/clients/google-api-services-ces/v1/2.0.0/README.md b/clients/google-api-services-ces/v1/2.0.0/README.md
index 34dc4117cd5..4239db35de4 100644
--- a/clients/google-api-services-ces/v1/2.0.0/README.md
+++ b/clients/google-api-services-ces/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-ces
- v1-rev20260325-2.0.0
+ v1-rev20260312-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-ces:v1-rev20260325-2.0.0'
+ implementation 'com.google.apis:google-api-services-ces:v1-rev20260312-2.0.0'
}
```
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java
index 5b486f745da..3308395d0b8 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends CustomerEngagementSuiteRequest {
-
- private static final String REST_PATH = "v1/{+session}:streamRunSession";
-
- private final java.util.regex.Pattern SESSION_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$");
-
- /**
- * Initiates a single-turn interaction with the CES agent. Uses server-side streaming to deliver
- * incremental results and partial responses as they are generated. By default, complete responses
- * (e.g., messages from callbacks or full LLM responses) are sent to the client as soon as they
- * are available. To enable streaming individual text chunks directly from the model, set
- * enable_text_streaming to true.
- *
- * Create a request for the method "sessions.streamRunSession".
- *
- * This request holds the parameters needed by the the ces server. After setting any optional
- * parameters, call the {@link StreamRunSession#execute()} method to invoke the remote operation.
- * {@link StreamRunSession#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
- *
- * @param session Required. The unique identifier of the session. Format:
- * `projects/{project}/locations/{location}/apps/{app}/sessions/{session}`
- * @param content the {@link com.google.api.services.ces.v1.model.RunSessionRequest}
- * @since 1.13
- */
- protected StreamRunSession(java.lang.String session, com.google.api.services.ces.v1.model.RunSessionRequest content) {
- super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.RunSessionResponse.class);
- this.session = com.google.api.client.util.Preconditions.checkNotNull(session, "Required parameter session must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(SESSION_PATTERN.matcher(session).matches(),
- "Parameter session must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$");
- }
- }
-
- @Override
- public StreamRunSession set$Xgafv(java.lang.String $Xgafv) {
- return (StreamRunSession) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public StreamRunSession setAccessToken(java.lang.String accessToken) {
- return (StreamRunSession) super.setAccessToken(accessToken);
- }
-
- @Override
- public StreamRunSession setAlt(java.lang.String alt) {
- return (StreamRunSession) super.setAlt(alt);
- }
-
- @Override
- public StreamRunSession setCallback(java.lang.String callback) {
- return (StreamRunSession) super.setCallback(callback);
- }
-
- @Override
- public StreamRunSession setFields(java.lang.String fields) {
- return (StreamRunSession) super.setFields(fields);
- }
-
- @Override
- public StreamRunSession setKey(java.lang.String key) {
- return (StreamRunSession) super.setKey(key);
- }
-
- @Override
- public StreamRunSession setOauthToken(java.lang.String oauthToken) {
- return (StreamRunSession) super.setOauthToken(oauthToken);
- }
-
- @Override
- public StreamRunSession setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (StreamRunSession) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public StreamRunSession setQuotaUser(java.lang.String quotaUser) {
- return (StreamRunSession) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public StreamRunSession setUploadType(java.lang.String uploadType) {
- return (StreamRunSession) super.setUploadType(uploadType);
- }
-
- @Override
- public StreamRunSession setUploadProtocol(java.lang.String uploadProtocol) {
- return (StreamRunSession) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The unique identifier of the session. Format:
- * `projects/{project}/locations/{location}/apps/{app}/sessions/{session}`
- */
- @com.google.api.client.util.Key
- private java.lang.String session;
-
- /** Required. The unique identifier of the session. Format:
- `projects/{project}/locations/{location}/apps/{app}/sessions/{session}`
- */
- public java.lang.String getSession() {
- return session;
- }
-
- /**
- * Required. The unique identifier of the session. Format:
- * `projects/{project}/locations/{location}/apps/{app}/sessions/{session}`
- */
- public StreamRunSession setSession(java.lang.String session) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(SESSION_PATTERN.matcher(session).matches(),
- "Parameter session must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$");
- }
- this.session = session;
- return this;
- }
-
- @Override
- public StreamRunSession set(String parameterName, Object value) {
- return (StreamRunSession) super.set(parameterName, value);
- }
- }
}
/**
@@ -7932,12 +7775,12 @@ public Patch setName(java.lang.String name) {
* present, all fields will be updated.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. Field mask is used to control which fields get updated. If the mask is not present, all
fields will be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -7945,7 +7788,7 @@ public String getUpdateMask() {
* Optional. Field mask is used to control which fields get updated. If the mask is not
* present, all fields will be updated.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -8823,12 +8666,12 @@ public Patch setName(java.lang.String name) {
* present, all fields will be updated.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. Field mask is used to control which fields get updated. If the mask is not present, all
fields will be updated.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -8836,7 +8679,7 @@ public String getUpdateMask() {
* Optional. Field mask is used to control which fields get updated. If the mask is not
* present, all fields will be updated.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Agent.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Agent.java
index bc3b1a19ad4..c68f9c92995 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Agent.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Agent.java
@@ -102,7 +102,7 @@ public final class Agent extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Human-readable description of the agent.
@@ -210,7 +210,7 @@ public final class Agent extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The callbacks to execute after the agent is called. The provided callbacks are
@@ -369,7 +369,7 @@ public Agent setChildAgents(java.util.List childAgents) {
* Output only. Timestamp when the agent was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -377,7 +377,7 @@ public String getCreateTime() {
* Output only. Timestamp when the agent was created.
* @param createTime createTime or {@code null} for none
*/
- public Agent setCreateTime(String createTime) {
+ public Agent setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -627,7 +627,7 @@ public Agent setTransferRules(java.util.List transferRules) {
* Output only. Timestamp when the agent was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -635,7 +635,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the agent was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Agent setUpdateTime(String updateTime) {
+ public Agent setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java
index ade3acc6108..549cef0adbe 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java
@@ -51,7 +51,7 @@ public final class App extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The data store settings for the app.
@@ -213,7 +213,7 @@ public final class App extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The declarations of the variables.
@@ -260,7 +260,7 @@ public App setClientCertificateSettings(ClientCertificateSettings clientCertific
* Output only. Timestamp when the app was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -268,7 +268,7 @@ public String getCreateTime() {
* Output only. Timestamp when the app was created.
* @param createTime createTime or {@code null} for none
*/
- public App setCreateTime(String createTime) {
+ public App setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -650,7 +650,7 @@ public App setToolExecutionMode(java.lang.String toolExecutionMode) {
* Output only. Timestamp when the app was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -658,7 +658,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the app was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public App setUpdateTime(String updateTime) {
+ public App setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AppVersion.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AppVersion.java
index 8f5932e46af..720fadab3c4 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AppVersion.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AppVersion.java
@@ -36,7 +36,7 @@ public final class AppVersion extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Email of the user who created the app version.
@@ -86,7 +86,7 @@ public final class AppVersion extends com.google.api.client.json.GenericJson {
* Output only. Timestamp when the app version was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -94,7 +94,7 @@ public String getCreateTime() {
* Output only. Timestamp when the app version was created.
* @param createTime createTime or {@code null} for none
*/
- public AppVersion setCreateTime(String createTime) {
+ public AppVersion setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AudioProcessingConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AudioProcessingConfig.java
index 1a3efbd23b2..91330080e8c 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AudioProcessingConfig.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AudioProcessingConfig.java
@@ -51,7 +51,7 @@ public final class AudioProcessingConfig extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String inactivityTimeout;
+ private java.lang.String inactivityTimeout;
/**
* Optional. Configuration of how the agent response should be synthesized, mapping from the
@@ -105,7 +105,7 @@ public AudioProcessingConfig setBargeInConfig(BargeInConfig bargeInConfig) {
* the user for reengagement. If not set, the agent will not prompt the user for reengagement.
* @return value or {@code null} for none
*/
- public String getInactivityTimeout() {
+ public java.lang.String getInactivityTimeout() {
return inactivityTimeout;
}
@@ -114,7 +114,7 @@ public String getInactivityTimeout() {
* the user for reengagement. If not set, the agent will not prompt the user for reengagement.
* @param inactivityTimeout inactivityTimeout or {@code null} for none
*/
- public AudioProcessingConfig setInactivityTimeout(String inactivityTimeout) {
+ public AudioProcessingConfig setInactivityTimeout(java.lang.String inactivityTimeout) {
this.inactivityTimeout = inactivityTimeout;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/BigQueryExportSettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/BigQueryExportSettings.java
index 1df54de600a..b654219b939 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/BigQueryExportSettings.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/BigQueryExportSettings.java
@@ -31,7 +31,7 @@
public final class BigQueryExportSettings extends com.google.api.client.json.GenericJson {
/**
- * Optional. The BigQuery **dataset ID** to export the data to.
+ * Optional. The BigQuery dataset to export the data to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -45,17 +45,16 @@ public final class BigQueryExportSettings extends com.google.api.client.json.Gen
private java.lang.Boolean enabled;
/**
- * Optional. The **project ID** of the BigQuery dataset to export the data to. Note: If the
- * BigQuery dataset is in a different project from the app, you should grant
- * `roles/bigquery.admin` role to the CES service agent `service-@gcp-sa-
- * ces.iam.gserviceaccount.com`.
+ * Optional. The project ID of the BigQuery dataset to export the data to. Note: If the BigQuery
+ * dataset is in a different project from the app, you should grant `roles/bigquery.admin` role to
+ * the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String project;
/**
- * Optional. The BigQuery **dataset ID** to export the data to.
+ * Optional. The BigQuery dataset to export the data to.
* @return value or {@code null} for none
*/
public java.lang.String getDataset() {
@@ -63,7 +62,7 @@ public java.lang.String getDataset() {
}
/**
- * Optional. The BigQuery **dataset ID** to export the data to.
+ * Optional. The BigQuery dataset to export the data to.
* @param dataset dataset or {@code null} for none
*/
public BigQueryExportSettings setDataset(java.lang.String dataset) {
@@ -89,10 +88,9 @@ public BigQueryExportSettings setEnabled(java.lang.Boolean enabled) {
}
/**
- * Optional. The **project ID** of the BigQuery dataset to export the data to. Note: If the
- * BigQuery dataset is in a different project from the app, you should grant
- * `roles/bigquery.admin` role to the CES service agent `service-@gcp-sa-
- * ces.iam.gserviceaccount.com`.
+ * Optional. The project ID of the BigQuery dataset to export the data to. Note: If the BigQuery
+ * dataset is in a different project from the app, you should grant `roles/bigquery.admin` role to
+ * the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
* @return value or {@code null} for none
*/
public java.lang.String getProject() {
@@ -100,10 +98,9 @@ public java.lang.String getProject() {
}
/**
- * Optional. The **project ID** of the BigQuery dataset to export the data to. Note: If the
- * BigQuery dataset is in a different project from the app, you should grant
- * `roles/bigquery.admin` role to the CES service agent `service-@gcp-sa-
- * ces.iam.gserviceaccount.com`.
+ * Optional. The project ID of the BigQuery dataset to export the data to. Note: If the BigQuery
+ * dataset is in a different project from the app, you should grant `roles/bigquery.admin` role to
+ * the CES service agent `service-@gcp-sa-ces.iam.gserviceaccount.com`.
* @param project project or {@code null} for none
*/
public BigQueryExportSettings setProject(java.lang.String project) {
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Changelog.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Changelog.java
index 366d2aab7d2..2a4e11c98eb 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Changelog.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Changelog.java
@@ -49,7 +49,7 @@ public final class Changelog extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The dependent resources that were changed.
@@ -155,7 +155,7 @@ public Changelog setAuthor(java.lang.String author) {
* Output only. The time when the change was made.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -163,7 +163,7 @@ public String getCreateTime() {
* Output only. The time when the change was made.
* @param createTime createTime or {@code null} for none
*/
- public Changelog setCreateTime(String createTime) {
+ public Changelog setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Conversation.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Conversation.java
index e056505f866..b6e604c58e1 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Conversation.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Conversation.java
@@ -58,7 +58,7 @@ public final class Conversation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. The agent that initially handles the conversation. If not specified, the
@@ -110,7 +110,7 @@ public final class Conversation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The number of turns in the conversation.
@@ -185,7 +185,7 @@ public Conversation setDeployment(java.lang.String deployment) {
* Output only. Timestamp when the conversation was completed.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -193,7 +193,7 @@ public String getEndTime() {
* Output only. Timestamp when the conversation was completed.
* @param endTime endTime or {@code null} for none
*/
- public Conversation setEndTime(String endTime) {
+ public Conversation setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -310,7 +310,7 @@ public Conversation setSource(java.lang.String source) {
* Output only. Timestamp when the conversation was created.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -318,7 +318,7 @@ public String getStartTime() {
* Output only. Timestamp when the conversation was created.
* @param startTime startTime or {@code null} for none
*/
- public Conversation setStartTime(String startTime) {
+ public Conversation setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStore.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStore.java
index ab85f5c3f26..abf4f6e127f 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStore.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStore.java
@@ -42,7 +42,7 @@ public final class DataStore extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The display name of the data store.
@@ -95,7 +95,7 @@ public DataStore setConnectorConfig(DataStoreConnectorConfig connectorConfig) {
* Output only. Timestamp when the data store was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -103,7 +103,7 @@ public String getCreateTime() {
* Output only. Timestamp when the data store was created.
* @param createTime createTime or {@code null} for none
*/
- public DataStore setCreateTime(String createTime) {
+ public DataStore setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Deployment.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Deployment.java
index 7b917fd243c..e39ff2f39e9 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Deployment.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Deployment.java
@@ -52,7 +52,7 @@ public final class Deployment extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Display name of the deployment.
@@ -82,7 +82,7 @@ public final class Deployment extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The resource name of the app version to deploy. Format:
@@ -126,7 +126,7 @@ public Deployment setChannelProfile(ChannelProfile channelProfile) {
* Output only. Timestamp when this deployment was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -134,7 +134,7 @@ public String getCreateTime() {
* Output only. Timestamp when this deployment was created.
* @param createTime createTime or {@code null} for none
*/
- public Deployment setCreateTime(String createTime) {
+ public Deployment setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -198,7 +198,7 @@ public Deployment setName(java.lang.String name) {
* Output only. Timestamp when this deployment was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -206,7 +206,7 @@ public String getUpdateTime() {
* Output only. Timestamp when this deployment was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Deployment setUpdateTime(String updateTime) {
+ public Deployment setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Example.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Example.java
index ab4696325fe..eb9aac1d294 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Example.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Example.java
@@ -35,7 +35,7 @@ public final class Example extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Human-readable description of the example.
@@ -96,13 +96,13 @@ public final class Example extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Timestamp when the example was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. Timestamp when the example was created.
* @param createTime createTime or {@code null} for none
*/
- public Example setCreateTime(String createTime) {
+ public Example setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -248,7 +248,7 @@ public Example setName(java.lang.String name) {
* Output only. Timestamp when the example was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -256,7 +256,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the example was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Example setUpdateTime(String updateTime) {
+ public Example setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GenerateChatTokenResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GenerateChatTokenResponse.java
index 042986e75ae..0c63f9c9893 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GenerateChatTokenResponse.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GenerateChatTokenResponse.java
@@ -42,7 +42,7 @@ public final class GenerateChatTokenResponse extends com.google.api.client.json.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* The session scoped token for chat widget to authenticate with Session APIs.
@@ -65,7 +65,7 @@ public GenerateChatTokenResponse setChatToken(java.lang.String chatToken) {
* The time at which the chat token expires.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -73,7 +73,7 @@ public String getExpireTime() {
* The time at which the chat token expires.
* @param expireTime expireTime or {@code null} for none
*/
- public GenerateChatTokenResponse setExpireTime(String expireTime) {
+ public GenerateChatTokenResponse setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Guardrail.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Guardrail.java
index 4a15989a2fb..96148df37ba 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Guardrail.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Guardrail.java
@@ -57,7 +57,7 @@ public final class Guardrail extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of the guardrail.
@@ -125,7 +125,7 @@ public final class Guardrail extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Action to take when the guardrail is triggered.
@@ -184,7 +184,7 @@ public Guardrail setContentFilter(GuardrailContentFilter contentFilter) {
* Output only. Timestamp when the guardrail was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -192,7 +192,7 @@ public String getCreateTime() {
* Output only. Timestamp when the guardrail was created.
* @param createTime createTime or {@code null} for none
*/
- public Guardrail setCreateTime(String createTime) {
+ public Guardrail setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -347,7 +347,7 @@ public Guardrail setName(java.lang.String name) {
* Output only. Timestamp when the guardrail was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -355,7 +355,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the guardrail was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Guardrail setUpdateTime(String updateTime) {
+ public Guardrail setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java
index 306750402bf..18adc879589 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java
@@ -46,12 +46,11 @@ public final class LanguageSettings extends com.google.api.client.json.GenericJs
private java.lang.Boolean enableMultilingualSupport;
/**
- * Optional. Deprecated: This feature is no longer supported. Use `enable_multilingual_support`
- * instead to improve handling of multilingual input. The action to perform when an agent receives
- * input in an unsupported language. This can be a predefined action or a custom tool call. Valid
- * values are: - A tool's full resource name, which triggers a specific tool execution. - A
- * predefined system action, such as "escalate" or "exit", which triggers an EndSession signal
- * with corresponding metadata to terminate the conversation.
+ * Optional. The action to perform when an agent receives input in an unsupported language. This
+ * can be a predefined action or a custom tool call. Valid values are: - A tool's full resource
+ * name, which triggers a specific tool execution. - A predefined system action, such as
+ * "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to
+ * terminate the conversation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -102,12 +101,11 @@ public LanguageSettings setEnableMultilingualSupport(java.lang.Boolean enableMul
}
/**
- * Optional. Deprecated: This feature is no longer supported. Use `enable_multilingual_support`
- * instead to improve handling of multilingual input. The action to perform when an agent receives
- * input in an unsupported language. This can be a predefined action or a custom tool call. Valid
- * values are: - A tool's full resource name, which triggers a specific tool execution. - A
- * predefined system action, such as "escalate" or "exit", which triggers an EndSession signal
- * with corresponding metadata to terminate the conversation.
+ * Optional. The action to perform when an agent receives input in an unsupported language. This
+ * can be a predefined action or a custom tool call. Valid values are: - A tool's full resource
+ * name, which triggers a specific tool execution. - A predefined system action, such as
+ * "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to
+ * terminate the conversation.
* @return value or {@code null} for none
*/
public java.lang.String getFallbackAction() {
@@ -115,12 +113,11 @@ public java.lang.String getFallbackAction() {
}
/**
- * Optional. Deprecated: This feature is no longer supported. Use `enable_multilingual_support`
- * instead to improve handling of multilingual input. The action to perform when an agent receives
- * input in an unsupported language. This can be a predefined action or a custom tool call. Valid
- * values are: - A tool's full resource name, which triggers a specific tool execution. - A
- * predefined system action, such as "escalate" or "exit", which triggers an EndSession signal
- * with corresponding metadata to terminate the conversation.
+ * Optional. The action to perform when an agent receives input in an unsupported language. This
+ * can be a predefined action or a custom tool call. Valid values are: - A tool's full resource
+ * name, which triggers a specific tool execution. - A predefined system action, such as
+ * "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to
+ * terminate the conversation.
* @param fallbackAction fallbackAction or {@code null} for none
*/
public LanguageSettings setFallbackAction(java.lang.String fallbackAction) {
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Message.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Message.java
index e2f48dba183..c118c599936 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Message.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Message.java
@@ -49,7 +49,7 @@ public final class Message extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String eventTime;
+ private java.lang.String eventTime;
/**
* Optional. The role within the conversation, e.g., user, agent.
@@ -80,7 +80,7 @@ public Message setChunks(java.util.List chunks) {
* part of an example.
* @return value or {@code null} for none
*/
- public String getEventTime() {
+ public java.lang.String getEventTime() {
return eventTime;
}
@@ -89,7 +89,7 @@ public String getEventTime() {
* part of an example.
* @param eventTime eventTime or {@code null} for none
*/
- public Message setEventTime(String eventTime) {
+ public Message setEventTime(java.lang.String eventTime) {
this.eventTime = eventTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Omnichannel.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Omnichannel.java
index b3bd2c93343..d16696db4f9 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Omnichannel.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Omnichannel.java
@@ -35,7 +35,7 @@ public final class Omnichannel extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Human-readable description of the omnichannel resource.
@@ -79,13 +79,13 @@ public final class Omnichannel extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Timestamp when the omnichannel resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -93,7 +93,7 @@ public String getCreateTime() {
* Output only. Timestamp when the omnichannel resource was created.
* @param createTime createTime or {@code null} for none
*/
- public Omnichannel setCreateTime(String createTime) {
+ public Omnichannel setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -191,7 +191,7 @@ public Omnichannel setName(java.lang.String name) {
* Output only. Timestamp when the omnichannel resource was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -199,7 +199,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the omnichannel resource was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Omnichannel setUpdateTime(String updateTime) {
+ public Omnichannel setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OmnichannelOperationMetadata.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OmnichannelOperationMetadata.java
index 676541bdc31..d3d1856bde3 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OmnichannelOperationMetadata.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OmnichannelOperationMetadata.java
@@ -35,14 +35,14 @@ public final class OmnichannelOperationMetadata extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -62,7 +62,7 @@ public final class OmnichannelOperationMetadata extends com.google.api.client.js
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -70,7 +70,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OmnichannelOperationMetadata setCreateTime(String createTime) {
+ public OmnichannelOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -79,7 +79,7 @@ public OmnichannelOperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -87,7 +87,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OmnichannelOperationMetadata setEndTime(String endTime) {
+ public OmnichannelOperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OperationMetadata.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OperationMetadata.java
index 25bd3a1b52a..140198ed83e 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/OperationMetadata.java
@@ -35,14 +35,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -64,7 +64,7 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -72,7 +72,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -81,7 +81,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -89,7 +89,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SecuritySettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SecuritySettings.java
index 9bbec8230d6..20698088631 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SecuritySettings.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SecuritySettings.java
@@ -35,7 +35,7 @@ public final class SecuritySettings extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Endpoint control related settings.
@@ -64,13 +64,13 @@ public final class SecuritySettings extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Create time of the security settings.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -78,7 +78,7 @@ public String getCreateTime() {
* Output only. Create time of the security settings.
* @param createTime createTime or {@code null} for none
*/
- public SecuritySettings setCreateTime(String createTime) {
+ public SecuritySettings setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -140,7 +140,7 @@ public SecuritySettings setName(java.lang.String name) {
* Output only. Last update time of the security settings.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -148,7 +148,7 @@ public String getUpdateTime() {
* Output only. Last update time of the security settings.
* @param updateTime updateTime or {@code null} for none
*/
- public SecuritySettings setUpdateTime(String updateTime) {
+ public SecuritySettings setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java
index 2e06e04a485..7d2a880405f 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java
@@ -38,15 +38,6 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String deployment;
- /**
- * Optional. Whether to enable streaming text outputs from the model. By default, text outputs
- * from the model are collected before sending to the client. NOTE: This is only supported for
- * text (non-voice) sessions via StreamRunSession or BidiRunSession.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean enableTextStreaming;
-
/**
* Optional. The entry agent to handle the session. If not specified, the session will be handled
* by the root agent of the app. Format:
@@ -133,27 +124,6 @@ public SessionConfig setDeployment(java.lang.String deployment) {
return this;
}
- /**
- * Optional. Whether to enable streaming text outputs from the model. By default, text outputs
- * from the model are collected before sending to the client. NOTE: This is only supported for
- * text (non-voice) sessions via StreamRunSession or BidiRunSession.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getEnableTextStreaming() {
- return enableTextStreaming;
- }
-
- /**
- * Optional. Whether to enable streaming text outputs from the model. By default, text outputs
- * from the model are collected before sending to the client. NOTE: This is only supported for
- * text (non-voice) sessions via StreamRunSession or BidiRunSession.
- * @param enableTextStreaming enableTextStreaming or {@code null} for none
- */
- public SessionConfig setEnableTextStreaming(java.lang.Boolean enableTextStreaming) {
- this.enableTextStreaming = enableTextStreaming;
- return this;
- }
-
/**
* Optional. The entry agent to handle the session. If not specified, the session will be handled
* by the root agent of the app. Format:
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Span.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Span.java
index 11741c747ac..9b95fdee8ed 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Span.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Span.java
@@ -49,14 +49,14 @@ public final class Span extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String duration;
+ private java.lang.String duration;
/**
* Output only. The end time of the span.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. The name of the span.
@@ -70,7 +70,7 @@ public final class Span extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. Key-value attributes associated with the span.
@@ -110,7 +110,7 @@ public Span setChildSpans(java.util.List childSpans) {
* Output only. The duration of the span.
* @return value or {@code null} for none
*/
- public String getDuration() {
+ public java.lang.String getDuration() {
return duration;
}
@@ -118,7 +118,7 @@ public String getDuration() {
* Output only. The duration of the span.
* @param duration duration or {@code null} for none
*/
- public Span setDuration(String duration) {
+ public Span setDuration(java.lang.String duration) {
this.duration = duration;
return this;
}
@@ -127,7 +127,7 @@ public Span setDuration(String duration) {
* Output only. The end time of the span.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -135,7 +135,7 @@ public String getEndTime() {
* Output only. The end time of the span.
* @param endTime endTime or {@code null} for none
*/
- public Span setEndTime(String endTime) {
+ public Span setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -161,7 +161,7 @@ public Span setName(java.lang.String name) {
* Output only. The start time of the span.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -169,7 +169,7 @@ public String getStartTime() {
* Output only. The start time of the span.
* @param startTime startTime or {@code null} for none
*/
- public Span setStartTime(String startTime) {
+ public Span setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Tool.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Tool.java
index b1f3a1e7775..e688c25735d 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Tool.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Tool.java
@@ -56,7 +56,7 @@ public final class Tool extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The data store tool.
@@ -162,7 +162,7 @@ public final class Tool extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The widget tool.
@@ -226,7 +226,7 @@ public Tool setConnectorTool(ConnectorTool connectorTool) {
* Output only. Timestamp when the tool was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -234,7 +234,7 @@ public String getCreateTime() {
* Output only. Timestamp when the tool was created.
* @param createTime createTime or {@code null} for none
*/
- public Tool setCreateTime(String createTime) {
+ public Tool setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -480,7 +480,7 @@ public Tool setToolFakeConfig(ToolFakeConfig toolFakeConfig) {
* Output only. Timestamp when the tool was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -488,7 +488,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the tool was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Tool setUpdateTime(String updateTime) {
+ public Tool setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Toolset.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Toolset.java
index 5c6531b44a9..59a85ccf672 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Toolset.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/Toolset.java
@@ -42,7 +42,7 @@ public final class Toolset extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The description of the toolset.
@@ -107,7 +107,7 @@ public final class Toolset extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. A toolset that generates tools from an Integration Connectors Connection.
@@ -130,7 +130,7 @@ public Toolset setConnectorToolset(ConnectorToolset connectorToolset) {
* Output only. Timestamp when the toolset was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -138,7 +138,7 @@ public String getCreateTime() {
* Output only. Timestamp when the toolset was created.
* @param createTime createTime or {@code null} for none
*/
- public Toolset setCreateTime(String createTime) {
+ public Toolset setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -287,7 +287,7 @@ public Toolset setToolFakeConfig(ToolFakeConfig toolFakeConfig) {
* Output only. Timestamp when the toolset was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -295,7 +295,7 @@ public String getUpdateTime() {
* Output only. Timestamp when the toolset was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Toolset setUpdateTime(String updateTime) {
+ public Toolset setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/WidgetToolDataMapping.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/WidgetToolDataMapping.java
index eea3556b293..6eeefe79cd5 100644
--- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/WidgetToolDataMapping.java
+++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/WidgetToolDataMapping.java
@@ -46,15 +46,8 @@ public final class WidgetToolDataMapping extends com.google.api.client.json.Gene
private java.lang.String mode;
/**
- * Optional. Configuration for a Python function used to transform the source tool's output into
- * the widget's input format.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private PythonFunction pythonFunction;
-
- /**
- * Deprecated: Use `python_function` instead.
+ * Optional. A Python script used to transform the source tool's output into the widget's input
+ * format. This is used when the mapping is too complex for simple field mappings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -106,26 +99,8 @@ public WidgetToolDataMapping setMode(java.lang.String mode) {
}
/**
- * Optional. Configuration for a Python function used to transform the source tool's output into
- * the widget's input format.
- * @return value or {@code null} for none
- */
- public PythonFunction getPythonFunction() {
- return pythonFunction;
- }
-
- /**
- * Optional. Configuration for a Python function used to transform the source tool's output into
- * the widget's input format.
- * @param pythonFunction pythonFunction or {@code null} for none
- */
- public WidgetToolDataMapping setPythonFunction(PythonFunction pythonFunction) {
- this.pythonFunction = pythonFunction;
- return this;
- }
-
- /**
- * Deprecated: Use `python_function` instead.
+ * Optional. A Python script used to transform the source tool's output into the widget's input
+ * format. This is used when the mapping is too complex for simple field mappings.
* @return value or {@code null} for none
*/
public java.lang.String getPythonScript() {
@@ -133,7 +108,8 @@ public java.lang.String getPythonScript() {
}
/**
- * Deprecated: Use `python_function` instead.
+ * Optional. A Python script used to transform the source tool's output into the widget's input
+ * format. This is used when the mapping is too complex for simple field mappings.
* @param pythonScript pythonScript or {@code null} for none
*/
public WidgetToolDataMapping setPythonScript(java.lang.String pythonScript) {
diff --git a/clients/google-api-services-ces/v1/2.0.0/pom.xml b/clients/google-api-services-ces/v1/2.0.0/pom.xml
index 93aacf9cec6..e5b75f2bf27 100644
--- a/clients/google-api-services-ces/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-ces/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-ces
- v1-rev20260325-2.0.0
- Gemini Enterprise for Customer Experience API v1-rev20260325-2.0.0
+ v1-rev20260312-2.0.0
+ Gemini Enterprise for Customer Experience API v1-rev20260312-2.0.0
jar
2011
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/README.md b/clients/google-api-services-cloudbuild/v1/2.0.0/README.md
index 53b6ba5ee7c..553d977ee48 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/README.md
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-cloudbuild
- v1-rev20260323-2.0.0
+ v1-rev20260309-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20260323-2.0.0'
+ implementation 'com.google.apis:google-api-services-cloudbuild:v1-rev20260309-2.0.0'
}
```
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java
index b7f249f8071..0115d10d4b3 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/CloudBuild.java
@@ -2620,12 +2620,12 @@ public Patch setName(java.lang.String name) {
* be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2634,7 +2634,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields will
* be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -3589,12 +3589,12 @@ public Patch setName(java.lang.String name) {
* will be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -3603,7 +3603,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields
* will be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -5927,12 +5927,12 @@ public Patch setName(java.lang.String name) {
* will be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -5941,7 +5941,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields
* will be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -7320,12 +7320,12 @@ public Patch setName(java.lang.String name) {
* will be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -7334,7 +7334,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields
* will be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -8543,12 +8543,12 @@ public Patch setTriggerId(java.lang.String triggerId) {
* will be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -8557,7 +8557,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields
* will be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -9801,16 +9801,16 @@ public Patch setName(java.lang.String name) {
/** Optional. A mask specifying which fields in `worker_pool` to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. A mask specifying which fields in `worker_pool` to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Optional. A mask specifying which fields in `worker_pool` to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -10646,12 +10646,12 @@ public Patch setTriggerId(java.lang.String triggerId) {
* be performed.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update mask for the resource. If this is set, the server will only update the fields specified in
the field mask. Otherwise, a full update of the mutable resource fields will be performed.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -10660,7 +10660,7 @@ public String getUpdateMask() {
* specified in the field mask. Otherwise, a full update of the mutable resource fields will
* be performed.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ApprovalResult.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ApprovalResult.java
index 8bf725afb33..848a13af416 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ApprovalResult.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ApprovalResult.java
@@ -34,7 +34,7 @@ public final class ApprovalResult extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String approvalTime;
+ private java.lang.String approvalTime;
/**
* Output only. Email of the user that called the ApproveBuild API to approve or reject a build at
@@ -71,7 +71,7 @@ public final class ApprovalResult extends com.google.api.client.json.GenericJson
* Output only. The time when the approval decision was made.
* @return value or {@code null} for none
*/
- public String getApprovalTime() {
+ public java.lang.String getApprovalTime() {
return approvalTime;
}
@@ -79,7 +79,7 @@ public String getApprovalTime() {
* Output only. The time when the approval decision was made.
* @param approvalTime approvalTime or {@code null} for none
*/
- public ApprovalResult setApprovalTime(String approvalTime) {
+ public ApprovalResult setApprovalTime(java.lang.String approvalTime) {
this.approvalTime = approvalTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Artifacts.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Artifacts.java
index e308e7df19e..3bb00be10b0 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Artifacts.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Artifacts.java
@@ -30,14 +30,6 @@
@SuppressWarnings("javadoc")
public final class Artifacts extends com.google.api.client.json.GenericJson {
- /**
- * Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful
- * completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List genericArtifacts;
-
/**
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
@@ -106,25 +98,6 @@ public final class Artifacts extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List pythonPackages;
- /**
- * Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful
- * completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE.
- * @return value or {@code null} for none
- */
- public java.util.List getGenericArtifacts() {
- return genericArtifacts;
- }
-
- /**
- * Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful
- * completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE.
- * @param genericArtifacts genericArtifacts or {@code null} for none
- */
- public Artifacts setGenericArtifacts(java.util.List genericArtifacts) {
- this.genericArtifacts = genericArtifacts;
- return this;
- }
-
/**
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata.java
index c2127f15273..c34eaa7d11a 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata.java
@@ -34,7 +34,7 @@ public final class BatchCreateBitbucketServerConnectedRepositoriesResponseMetada
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* The name of the `BitbucketServerConfig` that added connected repositories. Format:
@@ -49,13 +49,13 @@ public final class BatchCreateBitbucketServerConnectedRepositoriesResponseMetada
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata setCompleteTime(String completeTime) {
+ public BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -91,7 +91,7 @@ public BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata setConfig
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata setCreateTime(String createTime) {
+ public BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateGitLabConnectedRepositoriesResponseMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateGitLabConnectedRepositoriesResponseMetadata.java
index e743e25c1c3..94db810b6a0 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateGitLabConnectedRepositoriesResponseMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BatchCreateGitLabConnectedRepositoriesResponseMetadata.java
@@ -34,7 +34,7 @@ public final class BatchCreateGitLabConnectedRepositoriesResponseMetadata extend
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* The name of the `GitLabConfig` that added connected repositories. Format:
@@ -49,13 +49,13 @@ public final class BatchCreateGitLabConnectedRepositoriesResponseMetadata extend
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public BatchCreateGitLabConnectedRepositoriesResponseMetadata setCompleteTime(String completeTime) {
+ public BatchCreateGitLabConnectedRepositoriesResponseMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -91,7 +91,7 @@ public BatchCreateGitLabConnectedRepositoriesResponseMetadata setConfig(java.lan
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public BatchCreateGitLabConnectedRepositoriesResponseMetadata setCreateTime(String createTime) {
+ public BatchCreateGitLabConnectedRepositoriesResponseMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BitbucketServerConfig.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BitbucketServerConfig.java
index faf2bc0b14f..fd86ce50e8c 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BitbucketServerConfig.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BitbucketServerConfig.java
@@ -49,7 +49,7 @@ public final class BitbucketServerConfig extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Immutable. The URI of the Bitbucket Server host. Once this field has been set, it
@@ -161,7 +161,7 @@ public BitbucketServerConfig setConnectedRepositories(java.util.List tags) {
* starts ticking from `startTime`. Default time is 60 minutes.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -803,7 +803,7 @@ public String getTimeout() {
* starts ticking from `startTime`. Default time is 60 minutes.
* @param timeout timeout or {@code null} for none
*/
- public Build setTimeout(String timeout) {
+ public Build setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildStep.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildStep.java
index 3ff29f6d6af..1212d036b8e 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildStep.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildStep.java
@@ -161,7 +161,7 @@ public final class BuildStep extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Output only. Stores timing information for executing this build step.
@@ -489,7 +489,7 @@ public BuildStep setStatus(java.lang.String status) {
* be allowed to continue to run until either it completes or the build itself times out.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -498,7 +498,7 @@ public String getTimeout() {
* be allowed to continue to run until either it completes or the build itself times out.
* @param timeout timeout or {@code null} for none
*/
- public BuildStep setTimeout(String timeout) {
+ public BuildStep setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildTrigger.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildTrigger.java
index d6370e94ba5..ea9095e71e0 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildTrigger.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/BuildTrigger.java
@@ -65,7 +65,7 @@ public final class BuildTrigger extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Human-readable description of this trigger.
@@ -337,7 +337,7 @@ public BuildTrigger setBuild(Build build) {
* Output only. Time when the trigger was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -345,7 +345,7 @@ public String getCreateTime() {
* Output only. Time when the trigger was created.
* @param createTime createTime or {@code null} for none
*/
- public BuildTrigger setCreateTime(String createTime) {
+ public BuildTrigger setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateBitbucketServerConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateBitbucketServerConfigOperationMetadata.java
index ddef5b8d3c2..ca24cd6e591 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateBitbucketServerConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateBitbucketServerConfigOperationMetadata.java
@@ -42,14 +42,14 @@ public final class CreateBitbucketServerConfigOperationMetadata extends com.goog
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the BitbucketServerConfig to be created. Format:
@@ -74,7 +74,7 @@ public CreateBitbucketServerConfigOperationMetadata setBitbucketServerConfig(jav
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -82,7 +82,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public CreateBitbucketServerConfigOperationMetadata setCompleteTime(String completeTime) {
+ public CreateBitbucketServerConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -91,7 +91,7 @@ public CreateBitbucketServerConfigOperationMetadata setCompleteTime(String compl
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public CreateBitbucketServerConfigOperationMetadata setCreateTime(String createTime) {
+ public CreateBitbucketServerConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitHubEnterpriseConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitHubEnterpriseConfigOperationMetadata.java
index 984d142d3b4..7989e24bf39 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitHubEnterpriseConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitHubEnterpriseConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class CreateGitHubEnterpriseConfigOperationMetadata extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitHubEnterprise to be created. Format:
@@ -55,7 +55,7 @@ public final class CreateGitHubEnterpriseConfigOperationMetadata extends com.goo
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public CreateGitHubEnterpriseConfigOperationMetadata setCompleteTime(String completeTime) {
+ public CreateGitHubEnterpriseConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public CreateGitHubEnterpriseConfigOperationMetadata setCompleteTime(String comp
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public CreateGitHubEnterpriseConfigOperationMetadata setCreateTime(String createTime) {
+ public CreateGitHubEnterpriseConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitLabConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitLabConfigOperationMetadata.java
index d8ea9bc46e8..531371c2d47 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitLabConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateGitLabConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class CreateGitLabConfigOperationMetadata extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitLabConfig to be created. Format:
@@ -55,7 +55,7 @@ public final class CreateGitLabConfigOperationMetadata extends com.google.api.cl
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public CreateGitLabConfigOperationMetadata setCompleteTime(String completeTime) {
+ public CreateGitLabConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public CreateGitLabConfigOperationMetadata setCompleteTime(String completeTime)
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public CreateGitLabConfigOperationMetadata setCreateTime(String createTime) {
+ public CreateGitLabConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateWorkerPoolOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateWorkerPoolOperationMetadata.java
index e70e3e49b5b..a6a7bb4e2aa 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateWorkerPoolOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/CreateWorkerPoolOperationMetadata.java
@@ -34,14 +34,14 @@ public final class CreateWorkerPoolOperationMetadata extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the `WorkerPool` to create. Format:
@@ -55,7 +55,7 @@ public final class CreateWorkerPoolOperationMetadata extends com.google.api.clie
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public CreateWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
+ public CreateWorkerPoolOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public CreateWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public CreateWorkerPoolOperationMetadata setCreateTime(String createTime) {
+ public CreateWorkerPoolOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteBitbucketServerConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteBitbucketServerConfigOperationMetadata.java
index 7be1f8dea0c..ba4507f809e 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteBitbucketServerConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteBitbucketServerConfigOperationMetadata.java
@@ -42,14 +42,14 @@ public final class DeleteBitbucketServerConfigOperationMetadata extends com.goog
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the BitbucketServerConfig to be deleted. Format:
@@ -74,7 +74,7 @@ public DeleteBitbucketServerConfigOperationMetadata setBitbucketServerConfig(jav
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -82,7 +82,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public DeleteBitbucketServerConfigOperationMetadata setCompleteTime(String completeTime) {
+ public DeleteBitbucketServerConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -91,7 +91,7 @@ public DeleteBitbucketServerConfigOperationMetadata setCompleteTime(String compl
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public DeleteBitbucketServerConfigOperationMetadata setCreateTime(String createTime) {
+ public DeleteBitbucketServerConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitHubEnterpriseConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitHubEnterpriseConfigOperationMetadata.java
index 3b667ab7ef6..412614bd32d 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitHubEnterpriseConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitHubEnterpriseConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class DeleteGitHubEnterpriseConfigOperationMetadata extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitHubEnterprise to be deleted. Format:
@@ -55,7 +55,7 @@ public final class DeleteGitHubEnterpriseConfigOperationMetadata extends com.goo
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public DeleteGitHubEnterpriseConfigOperationMetadata setCompleteTime(String completeTime) {
+ public DeleteGitHubEnterpriseConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public DeleteGitHubEnterpriseConfigOperationMetadata setCompleteTime(String comp
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public DeleteGitHubEnterpriseConfigOperationMetadata setCreateTime(String createTime) {
+ public DeleteGitHubEnterpriseConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitLabConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitLabConfigOperationMetadata.java
index ad7613d2a52..ee950fa9e45 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitLabConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteGitLabConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class DeleteGitLabConfigOperationMetadata extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitLabConfig to be created. Format:
@@ -55,7 +55,7 @@ public final class DeleteGitLabConfigOperationMetadata extends com.google.api.cl
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public DeleteGitLabConfigOperationMetadata setCompleteTime(String completeTime) {
+ public DeleteGitLabConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public DeleteGitLabConfigOperationMetadata setCompleteTime(String completeTime)
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public DeleteGitLabConfigOperationMetadata setCreateTime(String createTime) {
+ public DeleteGitLabConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteWorkerPoolOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteWorkerPoolOperationMetadata.java
index 16b72cd7ac2..cbe6d019adc 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteWorkerPoolOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/DeleteWorkerPoolOperationMetadata.java
@@ -34,14 +34,14 @@ public final class DeleteWorkerPoolOperationMetadata extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the `WorkerPool` being deleted. Format:
@@ -55,7 +55,7 @@ public final class DeleteWorkerPoolOperationMetadata extends com.google.api.clie
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public DeleteWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
+ public DeleteWorkerPoolOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public DeleteWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public DeleteWorkerPoolOperationMetadata setCreateTime(String createTime) {
+ public DeleteWorkerPoolOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Dependency.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Dependency.java
index fb4fa3aacad..3cd3ec06925 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Dependency.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Dependency.java
@@ -36,13 +36,6 @@ public final class Dependency extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean empty;
- /**
- * Represents a generic artifact as a build dependency.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GenericArtifactDependency genericArtifact;
-
/**
* Represents a git repository as a build dependency.
* The value may be {@code null}.
@@ -67,23 +60,6 @@ public Dependency setEmpty(java.lang.Boolean empty) {
return this;
}
- /**
- * Represents a generic artifact as a build dependency.
- * @return value or {@code null} for none
- */
- public GenericArtifactDependency getGenericArtifact() {
- return genericArtifact;
- }
-
- /**
- * Represents a generic artifact as a build dependency.
- * @param genericArtifact genericArtifact or {@code null} for none
- */
- public Dependency setGenericArtifact(GenericArtifactDependency genericArtifact) {
- this.genericArtifact = genericArtifact;
- return this;
- }
-
/**
* Represents a git repository as a build dependency.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitHubEnterpriseConfig.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitHubEnterpriseConfig.java
index b65461230e2..4b8f187b942 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitHubEnterpriseConfig.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitHubEnterpriseConfig.java
@@ -41,7 +41,7 @@ public final class GitHubEnterpriseConfig extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Name to display for this config.
@@ -120,7 +120,7 @@ public GitHubEnterpriseConfig setAppId(java.lang.Long appId) {
* Output only. Time when the installation was associated with the project.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -128,7 +128,7 @@ public String getCreateTime() {
* Output only. Time when the installation was associated with the project.
* @param createTime createTime or {@code null} for none
*/
- public GitHubEnterpriseConfig setCreateTime(String createTime) {
+ public GitHubEnterpriseConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitLabConfig.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitLabConfig.java
index 480080703fc..4849d9109ea 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitLabConfig.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/GitLabConfig.java
@@ -41,7 +41,7 @@ public final class GitLabConfig extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. GitLabEnterprise config.
@@ -100,7 +100,7 @@ public GitLabConfig setConnectedRepositories(java.util.List
* Output only. Time when the config was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -108,7 +108,7 @@ public String getCreateTime() {
* Output only. Time when the config was created.
* @param createTime createTime or {@code null} for none
*/
- public GitLabConfig setCreateTime(String createTime) {
+ public GitLabConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/OperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/OperationMetadata.java
index 0f693deb7ad..3a17f2f77a2 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/OperationMetadata.java
@@ -50,14 +50,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Human-readable status of the operation, if any.
@@ -122,7 +122,7 @@ public OperationMetadata setCancelRequested(java.lang.Boolean cancelRequested) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -130,7 +130,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -139,7 +139,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -147,7 +147,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ProcessAppManifestCallbackOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ProcessAppManifestCallbackOperationMetadata.java
index aa81d6e5766..c116af8696c 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ProcessAppManifestCallbackOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/ProcessAppManifestCallbackOperationMetadata.java
@@ -34,14 +34,14 @@ public final class ProcessAppManifestCallbackOperationMetadata extends com.googl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitHubEnterprise to be created. Format:
@@ -55,7 +55,7 @@ public final class ProcessAppManifestCallbackOperationMetadata extends com.googl
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public ProcessAppManifestCallbackOperationMetadata setCompleteTime(String completeTime) {
+ public ProcessAppManifestCallbackOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public ProcessAppManifestCallbackOperationMetadata setCompleteTime(String comple
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public ProcessAppManifestCallbackOperationMetadata setCreateTime(String createTime) {
+ public ProcessAppManifestCallbackOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java
index eb8f70d3c8c..e815b56c88e 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/Results.java
@@ -61,13 +61,6 @@ public final class Results extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List buildStepOutputs;
- /**
- * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List genericArtifacts;
-
/**
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
* The value may be {@code null}.
@@ -193,23 +186,6 @@ public Results setBuildStepOutputs(java.util.List buildStepOut
return this;
}
- /**
- * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.
- * @return value or {@code null} for none
- */
- public java.util.List getGenericArtifacts() {
- return genericArtifacts;
- }
-
- /**
- * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.
- * @param genericArtifacts genericArtifacts or {@code null} for none
- */
- public Results setGenericArtifacts(java.util.List genericArtifacts) {
- this.genericArtifacts = genericArtifacts;
- return this;
- }
-
/**
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/TimeSpan.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/TimeSpan.java
index 43f777937c1..5b2d6edb09c 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/TimeSpan.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/TimeSpan.java
@@ -34,20 +34,20 @@ public final class TimeSpan extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Start of time span.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* End of time span.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -55,7 +55,7 @@ public String getEndTime() {
* End of time span.
* @param endTime endTime or {@code null} for none
*/
- public TimeSpan setEndTime(String endTime) {
+ public TimeSpan setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -64,7 +64,7 @@ public TimeSpan setEndTime(String endTime) {
* Start of time span.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -72,7 +72,7 @@ public String getStartTime() {
* Start of time span.
* @param startTime startTime or {@code null} for none
*/
- public TimeSpan setStartTime(String startTime) {
+ public TimeSpan setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateBitbucketServerConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateBitbucketServerConfigOperationMetadata.java
index e1256027d2a..cc522599f2f 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateBitbucketServerConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateBitbucketServerConfigOperationMetadata.java
@@ -42,14 +42,14 @@ public final class UpdateBitbucketServerConfigOperationMetadata extends com.goog
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the BitbucketServerConfig to be updated. Format:
@@ -74,7 +74,7 @@ public UpdateBitbucketServerConfigOperationMetadata setBitbucketServerConfig(jav
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -82,7 +82,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public UpdateBitbucketServerConfigOperationMetadata setCompleteTime(String completeTime) {
+ public UpdateBitbucketServerConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -91,7 +91,7 @@ public UpdateBitbucketServerConfigOperationMetadata setCompleteTime(String compl
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public UpdateBitbucketServerConfigOperationMetadata setCreateTime(String createTime) {
+ public UpdateBitbucketServerConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitHubEnterpriseConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitHubEnterpriseConfigOperationMetadata.java
index 1e7d32b42ee..524e0015f24 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitHubEnterpriseConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitHubEnterpriseConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class UpdateGitHubEnterpriseConfigOperationMetadata extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitHubEnterprise to be updated. Format:
@@ -55,7 +55,7 @@ public final class UpdateGitHubEnterpriseConfigOperationMetadata extends com.goo
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public UpdateGitHubEnterpriseConfigOperationMetadata setCompleteTime(String completeTime) {
+ public UpdateGitHubEnterpriseConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public UpdateGitHubEnterpriseConfigOperationMetadata setCompleteTime(String comp
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public UpdateGitHubEnterpriseConfigOperationMetadata setCreateTime(String createTime) {
+ public UpdateGitHubEnterpriseConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitLabConfigOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitLabConfigOperationMetadata.java
index dd72827acaa..653ffb9ea29 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitLabConfigOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateGitLabConfigOperationMetadata.java
@@ -34,14 +34,14 @@ public final class UpdateGitLabConfigOperationMetadata extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the GitLabConfig to be created. Format:
@@ -55,7 +55,7 @@ public final class UpdateGitLabConfigOperationMetadata extends com.google.api.cl
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public UpdateGitLabConfigOperationMetadata setCompleteTime(String completeTime) {
+ public UpdateGitLabConfigOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public UpdateGitLabConfigOperationMetadata setCompleteTime(String completeTime)
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public UpdateGitLabConfigOperationMetadata setCreateTime(String createTime) {
+ public UpdateGitLabConfigOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateWorkerPoolOperationMetadata.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateWorkerPoolOperationMetadata.java
index ecfb0c658ae..96eb7ba0fe2 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateWorkerPoolOperationMetadata.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/UpdateWorkerPoolOperationMetadata.java
@@ -34,14 +34,14 @@ public final class UpdateWorkerPoolOperationMetadata extends com.google.api.clie
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completeTime;
+ private java.lang.String completeTime;
/**
* Time the operation was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource name of the `WorkerPool` being updated. Format:
@@ -55,7 +55,7 @@ public final class UpdateWorkerPoolOperationMetadata extends com.google.api.clie
* Time the operation was completed.
* @return value or {@code null} for none
*/
- public String getCompleteTime() {
+ public java.lang.String getCompleteTime() {
return completeTime;
}
@@ -63,7 +63,7 @@ public String getCompleteTime() {
* Time the operation was completed.
* @param completeTime completeTime or {@code null} for none
*/
- public UpdateWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
+ public UpdateWorkerPoolOperationMetadata setCompleteTime(java.lang.String completeTime) {
this.completeTime = completeTime;
return this;
}
@@ -72,7 +72,7 @@ public UpdateWorkerPoolOperationMetadata setCompleteTime(String completeTime) {
* Time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -80,7 +80,7 @@ public String getCreateTime() {
* Time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public UpdateWorkerPoolOperationMetadata setCreateTime(String createTime) {
+ public UpdateWorkerPoolOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerPool.java b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerPool.java
index 3952b168e75..fc437a30ea5 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerPool.java
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/com/google/api/services/cloudbuild/v1/model/WorkerPool.java
@@ -48,14 +48,14 @@ public final class WorkerPool extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Time at which the request to delete the `WorkerPool` was received.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be
@@ -109,7 +109,7 @@ public final class WorkerPool extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* User specified annotations. See https://google.aip.dev/128#annotations for more details such as
@@ -134,7 +134,7 @@ public WorkerPool setAnnotations(java.util.Map annotat
* Output only. Time at which the request to create the `WorkerPool` was received.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -142,7 +142,7 @@ public String getCreateTime() {
* Output only. Time at which the request to create the `WorkerPool` was received.
* @param createTime createTime or {@code null} for none
*/
- public WorkerPool setCreateTime(String createTime) {
+ public WorkerPool setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -151,7 +151,7 @@ public WorkerPool setCreateTime(String createTime) {
* Output only. Time at which the request to delete the `WorkerPool` was received.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -159,7 +159,7 @@ public String getDeleteTime() {
* Output only. Time at which the request to delete the `WorkerPool` was received.
* @param deleteTime deleteTime or {@code null} for none
*/
- public WorkerPool setDeleteTime(String deleteTime) {
+ public WorkerPool setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -280,7 +280,7 @@ public WorkerPool setUid(java.lang.String uid) {
* Output only. Time at which the request to update the `WorkerPool` was received.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -288,7 +288,7 @@ public String getUpdateTime() {
* Output only. Time at which the request to update the `WorkerPool` was received.
* @param updateTime updateTime or {@code null} for none
*/
- public WorkerPool setUpdateTime(String updateTime) {
+ public WorkerPool setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml b/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml
index 87c05d920a7..edd9c9ccb6f 100644
--- a/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-cloudbuild/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-cloudbuild
- v1-rev20260323-2.0.0
- Cloud Build API v1-rev20260323-2.0.0
+ v1-rev20260309-2.0.0
+ Cloud Build API v1-rev20260309-2.0.0
jar
2011
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/README.md b/clients/google-api-services-clouddeploy/v1/2.0.0/README.md
index 98b624fbe08..5b484c13c19 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/README.md
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-clouddeploy
- v1-rev20260325-2.0.0
+ v1-rev20260128-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-clouddeploy:v1-rev20260325-2.0.0'
+ implementation 'com.google.apis:google-api-services-clouddeploy:v1-rev20260128-2.0.0'
}
```
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/CloudDeploy.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/CloudDeploy.java
index 91237049b94..1d39a5b1315 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/CloudDeploy.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/CloudDeploy.java
@@ -451,14 +451,10 @@ public GetConfig set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -482,15 +478,10 @@ public class List extends CloudDeployRequest sourc
* Optional. How long to wait after a rollout is finished.
* @return value or {@code null} for none
*/
- public String getWait() {
+ public java.lang.String getWait() {
return wait;
}
@@ -133,7 +133,7 @@ public String getWait() {
* Optional. How long to wait after a rollout is finished.
* @param wait wait or {@code null} for none
*/
- public AdvanceRolloutRule setWait(String wait) {
+ public AdvanceRolloutRule setWait(java.lang.String wait) {
this.wait = wait;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Automation.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Automation.java
index 1f7749060c8..3eef48af4d7 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Automation.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Automation.java
@@ -53,7 +53,7 @@ public final class Automation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of the `Automation`. Max length is 255 characters.
@@ -134,7 +134,7 @@ public final class Automation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. User annotations. These attributes can only be set and used by the user, and not by
@@ -175,7 +175,7 @@ public Automation setAnnotations(java.util.Map annotat
* Output only. Time at which the automation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -183,7 +183,7 @@ public String getCreateTime() {
* Output only. Time at which the automation was created.
* @param createTime createTime or {@code null} for none
*/
- public Automation setCreateTime(String createTime) {
+ public Automation setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -367,7 +367,7 @@ public Automation setUid(java.lang.String uid) {
* Output only. Time at which the automation was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -375,7 +375,7 @@ public String getUpdateTime() {
* Output only. Time at which the automation was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Automation setUpdateTime(String updateTime) {
+ public Automation setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AutomationRun.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AutomationRun.java
index 6c8cec8b617..541189087a7 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AutomationRun.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/AutomationRun.java
@@ -56,7 +56,7 @@ public final class AutomationRun extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The weak etag of the `AutomationRun` resource. This checksum is computed by the
@@ -73,7 +73,7 @@ public final class AutomationRun extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Output only. Name of the `AutomationRun`. Format is `projects/{project}/locations/{location}/de
@@ -163,7 +163,7 @@ public final class AutomationRun extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Earliest time the `AutomationRun` will attempt to resume. Wait-time is configured
@@ -171,7 +171,7 @@ public final class AutomationRun extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String waitUntilTime;
+ private java.lang.String waitUntilTime;
/**
* Output only. Advances a rollout to the next phase.
@@ -228,7 +228,7 @@ public AutomationRun setAutomationSnapshot(Automation automationSnapshot) {
* Output only. Time at which the `AutomationRun` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -236,7 +236,7 @@ public String getCreateTime() {
* Output only. Time at which the `AutomationRun` was created.
* @param createTime createTime or {@code null} for none
*/
- public AutomationRun setCreateTime(String createTime) {
+ public AutomationRun setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -267,7 +267,7 @@ public AutomationRun setEtag(java.lang.String etag) {
* its creation date.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -276,7 +276,7 @@ public String getExpireTime() {
* its creation date.
* @param expireTime expireTime or {@code null} for none
*/
- public AutomationRun setExpireTime(String expireTime) {
+ public AutomationRun setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
@@ -484,7 +484,7 @@ public AutomationRun setUid(java.lang.String uid) {
* Output only. Time at which the automationRun was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -492,7 +492,7 @@ public String getUpdateTime() {
* Output only. Time at which the automationRun was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public AutomationRun setUpdateTime(String updateTime) {
+ public AutomationRun setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
@@ -502,7 +502,7 @@ public AutomationRun setUpdateTime(String updateTime) {
* by `wait` in automation rule.
* @return value or {@code null} for none
*/
- public String getWaitUntilTime() {
+ public java.lang.String getWaitUntilTime() {
return waitUntilTime;
}
@@ -511,7 +511,7 @@ public String getWaitUntilTime() {
* by `wait` in automation rule.
* @param waitUntilTime waitUntilTime or {@code null} for none
*/
- public AutomationRun setWaitUntilTime(String waitUntilTime) {
+ public AutomationRun setWaitUntilTime(java.lang.String waitUntilTime) {
this.waitUntilTime = waitUntilTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CanaryDeployment.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CanaryDeployment.java
index 9b006e13d0e..aa599b2dda5 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CanaryDeployment.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CanaryDeployment.java
@@ -29,14 +29,6 @@
@SuppressWarnings("javadoc")
public final class CanaryDeployment extends com.google.api.client.json.GenericJson {
- /**
- * Optional. Configuration for the analysis job. If configured, the analysis will run after each
- * percentage deployment.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Analysis analysis;
-
/**
* Required. The percentage based deployments that will occur as a part of a `Rollout`. List is
* expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is
@@ -69,32 +61,6 @@ public final class CanaryDeployment extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.Boolean verify;
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Verify verifyConfig;
-
- /**
- * Optional. Configuration for the analysis job. If configured, the analysis will run after each
- * percentage deployment.
- * @return value or {@code null} for none
- */
- public Analysis getAnalysis() {
- return analysis;
- }
-
- /**
- * Optional. Configuration for the analysis job. If configured, the analysis will run after each
- * percentage deployment.
- * @param analysis analysis or {@code null} for none
- */
- public CanaryDeployment setAnalysis(Analysis analysis) {
- this.analysis = analysis;
- return this;
- }
-
/**
* Required. The percentage based deployments that will occur as a part of a `Rollout`. List is
* expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is
@@ -171,23 +137,6 @@ public CanaryDeployment setVerify(java.lang.Boolean verify) {
return this;
}
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @return value or {@code null} for none
- */
- public Verify getVerifyConfig() {
- return verifyConfig;
- }
-
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @param verifyConfig verifyConfig or {@code null} for none
- */
- public CanaryDeployment setVerifyConfig(Verify verifyConfig) {
- this.verifyConfig = verifyConfig;
- return this;
- }
-
@Override
public CanaryDeployment set(String fieldName, Object value) {
return (CanaryDeployment) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunMetadata.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunMetadata.java
index b83cba2f415..07e208ea753 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunMetadata.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunMetadata.java
@@ -37,17 +37,6 @@ public final class CloudRunMetadata extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String job;
- /**
- * Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a
- * canary deployment strategy is configured. Format for service is
- * projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for
- * worker pool is
- * projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String previousRevision;
-
/**
* Output only. The Cloud Run Revision id associated with a `Rollout`.
* The value may be {@code null}.
@@ -97,31 +86,6 @@ public CloudRunMetadata setJob(java.lang.String job) {
return this;
}
- /**
- * Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a
- * canary deployment strategy is configured. Format for service is
- * projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for
- * worker pool is
- * projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}.
- * @return value or {@code null} for none
- */
- public java.lang.String getPreviousRevision() {
- return previousRevision;
- }
-
- /**
- * Output only. The previous Cloud Run Revision name associated with a `Rollout`. Only set when a
- * canary deployment strategy is configured. Format for service is
- * projects/{project}/locations/{location}/services/{service}/revisions/{revision}. Format for
- * worker pool is
- * projects/{project}/locations/{location}/workerPools/{workerpool}/revisions/{revision}.
- * @param previousRevision previousRevision or {@code null} for none
- */
- public CloudRunMetadata setPreviousRevision(java.lang.String previousRevision) {
- this.previousRevision = previousRevision;
- return this;
- }
-
/**
* Output only. The Cloud Run Revision id associated with a `Rollout`.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunRenderMetadata.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunRenderMetadata.java
index 999d8bffef6..fff6134e484 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunRenderMetadata.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CloudRunRenderMetadata.java
@@ -29,22 +29,6 @@
@SuppressWarnings("javadoc")
public final class CloudRunRenderMetadata extends com.google.api.client.json.GenericJson {
- /**
- * Output only. The name of the Cloud Run Job in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/jobs/{job}`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String job;
-
- /**
- * Output only. The name of the Cloud Run Revision in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String revision;
-
/**
* Output only. The name of the Cloud Run Service in the rendered manifest. Format is
* `projects/{project}/locations/{location}/services/{service}`.
@@ -61,44 +45,6 @@ public final class CloudRunRenderMetadata extends com.google.api.client.json.Gen
@com.google.api.client.util.Key
private java.lang.String workerPool;
- /**
- * Output only. The name of the Cloud Run Job in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/jobs/{job}`.
- * @return value or {@code null} for none
- */
- public java.lang.String getJob() {
- return job;
- }
-
- /**
- * Output only. The name of the Cloud Run Job in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/jobs/{job}`.
- * @param job job or {@code null} for none
- */
- public CloudRunRenderMetadata setJob(java.lang.String job) {
- this.job = job;
- return this;
- }
-
- /**
- * Output only. The name of the Cloud Run Revision in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`.
- * @return value or {@code null} for none
- */
- public java.lang.String getRevision() {
- return revision;
- }
-
- /**
- * Output only. The name of the Cloud Run Revision in the rendered manifest. Format is
- * `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`.
- * @param revision revision or {@code null} for none
- */
- public CloudRunRenderMetadata setRevision(java.lang.String revision) {
- this.revision = revision;
- return this;
- }
-
/**
* Output only. The name of the Cloud Run Service in the rendered manifest. Format is
* `projects/{project}/locations/{location}/services/{service}`.
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CustomTargetType.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CustomTargetType.java
index 5979d9b2141..ce991fcab92 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CustomTargetType.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/CustomTargetType.java
@@ -45,7 +45,7 @@ public final class CustomTargetType extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Configures render and deploy for the `CustomTargetType` using Skaffold custom
@@ -99,13 +99,6 @@ public final class CustomTargetType extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String name;
- /**
- * Optional. Configures render and deploy for the `CustomTargetType` using tasks.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private CustomTargetTasks tasks;
-
/**
* Output only. Unique identifier of the `CustomTargetType`.
* The value may be {@code null}.
@@ -118,7 +111,7 @@ public final class CustomTargetType extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. User annotations. These attributes can only be set and used by the user, and not by
@@ -145,7 +138,7 @@ public CustomTargetType setAnnotations(java.util.Map a
* Output only. Time at which the `CustomTargetType` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -153,7 +146,7 @@ public String getCreateTime() {
* Output only. Time at which the `CustomTargetType` was created.
* @param createTime createTime or {@code null} for none
*/
- public CustomTargetType setCreateTime(String createTime) {
+ public CustomTargetType setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -280,23 +273,6 @@ public CustomTargetType setName(java.lang.String name) {
return this;
}
- /**
- * Optional. Configures render and deploy for the `CustomTargetType` using tasks.
- * @return value or {@code null} for none
- */
- public CustomTargetTasks getTasks() {
- return tasks;
- }
-
- /**
- * Optional. Configures render and deploy for the `CustomTargetType` using tasks.
- * @param tasks tasks or {@code null} for none
- */
- public CustomTargetType setTasks(CustomTargetTasks tasks) {
- this.tasks = tasks;
- return this;
- }
-
/**
* Output only. Unique identifier of the `CustomTargetType`.
* @return value or {@code null} for none
@@ -318,7 +294,7 @@ public CustomTargetType setUid(java.lang.String uid) {
* Output only. Most recent time at which the `CustomTargetType` was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -326,7 +302,7 @@ public String getUpdateTime() {
* Output only. Most recent time at which the `CustomTargetType` was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public CustomTargetType setUpdateTime(String updateTime) {
+ public CustomTargetType setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeliveryPipeline.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeliveryPipeline.java
index 2b297917f53..5c49d600214 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeliveryPipeline.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeliveryPipeline.java
@@ -50,7 +50,7 @@ public final class DeliveryPipeline extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.
@@ -115,7 +115,7 @@ public final class DeliveryPipeline extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. User annotations. These attributes can only be set and used by the user, and not by
@@ -157,7 +157,7 @@ public DeliveryPipeline setCondition(PipelineCondition condition) {
* Output only. Time at which the pipeline was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -165,7 +165,7 @@ public String getCreateTime() {
* Output only. Time at which the pipeline was created.
* @param createTime createTime or {@code null} for none
*/
- public DeliveryPipeline setCreateTime(String createTime) {
+ public DeliveryPipeline setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -311,7 +311,7 @@ public DeliveryPipeline setUid(java.lang.String uid) {
* Output only. Most recent time at which the pipeline was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -319,7 +319,7 @@ public String getUpdateTime() {
* Output only. Most recent time at which the pipeline was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public DeliveryPipeline setUpdateTime(String updateTime) {
+ public DeliveryPipeline setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeployPolicy.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeployPolicy.java
index 79e3c931326..d4b3f65058d 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeployPolicy.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeployPolicy.java
@@ -51,7 +51,7 @@ public final class DeployPolicy extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of the `DeployPolicy`. Max length is 255 characters.
@@ -127,7 +127,7 @@ public final class DeployPolicy extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. User annotations. These attributes can only be set and used by the user, and not by
@@ -168,7 +168,7 @@ public DeployPolicy setAnnotations(java.util.Map annot
* Output only. Time at which the deploy policy was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -176,7 +176,7 @@ public String getCreateTime() {
* Output only. Time at which the deploy policy was created.
* @param createTime createTime or {@code null} for none
*/
- public DeployPolicy setCreateTime(String createTime) {
+ public DeployPolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -347,7 +347,7 @@ public DeployPolicy setUid(java.lang.String uid) {
* Output only. Most recent time at which the deploy policy was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -355,7 +355,7 @@ public String getUpdateTime() {
* Output only. Most recent time at which the deploy policy was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public DeployPolicy setUpdateTime(String updateTime) {
+ public DeployPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeploymentJobs.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeploymentJobs.java
index 5bd06a77320..0498ae72aaa 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeploymentJobs.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/DeploymentJobs.java
@@ -29,14 +29,6 @@
@SuppressWarnings("javadoc")
public final class DeploymentJobs extends com.google.api.client.json.GenericJson {
- /**
- * Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job
- * succeeds.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Job analysisJob;
-
/**
* Output only. The deploy Job. This is the deploy job in the phase.
* The value may be {@code null}.
@@ -65,25 +57,6 @@ public final class DeploymentJobs extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private Job verifyJob;
- /**
- * Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job
- * succeeds.
- * @return value or {@code null} for none
- */
- public Job getAnalysisJob() {
- return analysisJob;
- }
-
- /**
- * Output only. The analysis Job. Runs after a verify if there is a verify job and the verify job
- * succeeds.
- * @param analysisJob analysisJob or {@code null} for none
- */
- public DeploymentJobs setAnalysisJob(Job analysisJob) {
- this.analysisJob = analysisJob;
- return this;
- }
-
/**
* Output only. The deploy Job. This is the deploy job in the phase.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ExecutionConfig.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ExecutionConfig.java
index 67af4eb2525..12fdd2cacc3 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ExecutionConfig.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ExecutionConfig.java
@@ -51,7 +51,7 @@ public final class ExecutionConfig extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String executionTimeout;
+ private java.lang.String executionTimeout;
/**
* Optional. Use private Cloud Build pool.
@@ -135,7 +135,7 @@ public ExecutionConfig setDefaultPool(DefaultPool defaultPool) {
* seconds format. If unspecified, a default timeout of 1h is used.
* @return value or {@code null} for none
*/
- public String getExecutionTimeout() {
+ public java.lang.String getExecutionTimeout() {
return executionTimeout;
}
@@ -144,7 +144,7 @@ public String getExecutionTimeout() {
* seconds format. If unspecified, a default timeout of 1h is used.
* @param executionTimeout executionTimeout or {@code null} for none
*/
- public ExecutionConfig setExecutionTimeout(String executionTimeout) {
+ public ExecutionConfig setExecutionTimeout(java.lang.String executionTimeout) {
this.executionTimeout = executionTimeout;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/GatewayServiceMesh.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/GatewayServiceMesh.java
index 566872c2bf1..29861d37b3e 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/GatewayServiceMesh.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/GatewayServiceMesh.java
@@ -68,7 +68,7 @@ public final class GatewayServiceMesh extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String routeUpdateWaitTime;
+ private java.lang.String routeUpdateWaitTime;
/**
* Required. Name of the Kubernetes Service.
@@ -84,7 +84,7 @@ public final class GatewayServiceMesh extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String stableCutbackDuration;
+ private java.lang.String stableCutbackDuration;
/**
* Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute
@@ -169,7 +169,7 @@ public GatewayServiceMesh setRouteDestinations(RouteDestinations routeDestinatio
* hours, in seconds format. If unspecified, there is no wait time.
* @return value or {@code null} for none
*/
- public String getRouteUpdateWaitTime() {
+ public java.lang.String getRouteUpdateWaitTime() {
return routeUpdateWaitTime;
}
@@ -178,7 +178,7 @@ public String getRouteUpdateWaitTime() {
* hours, in seconds format. If unspecified, there is no wait time.
* @param routeUpdateWaitTime routeUpdateWaitTime or {@code null} for none
*/
- public GatewayServiceMesh setRouteUpdateWaitTime(String routeUpdateWaitTime) {
+ public GatewayServiceMesh setRouteUpdateWaitTime(java.lang.String routeUpdateWaitTime) {
this.routeUpdateWaitTime = routeUpdateWaitTime;
return this;
}
@@ -206,7 +206,7 @@ public GatewayServiceMesh setService(java.lang.String service) {
* unspecified, there is no cutback time.
* @return value or {@code null} for none
*/
- public String getStableCutbackDuration() {
+ public java.lang.String getStableCutbackDuration() {
return stableCutbackDuration;
}
@@ -216,7 +216,7 @@ public String getStableCutbackDuration() {
* unspecified, there is no cutback time.
* @param stableCutbackDuration stableCutbackDuration or {@code null} for none
*/
- public GatewayServiceMesh setStableCutbackDuration(String stableCutbackDuration) {
+ public GatewayServiceMesh setStableCutbackDuration(java.lang.String stableCutbackDuration) {
this.stableCutbackDuration = stableCutbackDuration;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Job.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Job.java
index b28f2e92066..72d637b8380 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Job.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Job.java
@@ -36,13 +36,6 @@ public final class Job extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private AdvanceChildRolloutJob advanceChildRolloutJob;
- /**
- * Output only. An analysis Job.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private AnalysisJob analysisJob;
-
/**
* Output only. A createChildRollout Job.
* The value may be {@code null}.
@@ -123,23 +116,6 @@ public Job setAdvanceChildRolloutJob(AdvanceChildRolloutJob advanceChildRolloutJ
return this;
}
- /**
- * Output only. An analysis Job.
- * @return value or {@code null} for none
- */
- public AnalysisJob getAnalysisJob() {
- return analysisJob;
- }
-
- /**
- * Output only. An analysis Job.
- * @param analysisJob analysisJob or {@code null} for none
- */
- public Job setAnalysisJob(AnalysisJob analysisJob) {
- this.analysisJob = analysisJob;
- return this;
- }
-
/**
* Output only. A createChildRollout Job.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/JobRun.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/JobRun.java
index 93b05f1649f..bcb3af5288a 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/JobRun.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/JobRun.java
@@ -37,13 +37,6 @@ public final class JobRun extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private AdvanceChildRolloutJobRun advanceChildRolloutJobRun;
- /**
- * Output only. Information specific to an analysis `JobRun`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private AnalysisJobRun analysisJobRun;
-
/**
* Output only. Information specific to a createChildRollout `JobRun`.
* The value may be {@code null}.
@@ -56,7 +49,7 @@ public final class JobRun extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Information specific to a deploy `JobRun`.
@@ -70,7 +63,7 @@ public final class JobRun extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. This checksum is computed by the server based on the value of other fields, and
@@ -122,7 +115,7 @@ public final class JobRun extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The current state of the `JobRun`.
@@ -162,23 +155,6 @@ public JobRun setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun advanceChil
return this;
}
- /**
- * Output only. Information specific to an analysis `JobRun`.
- * @return value or {@code null} for none
- */
- public AnalysisJobRun getAnalysisJobRun() {
- return analysisJobRun;
- }
-
- /**
- * Output only. Information specific to an analysis `JobRun`.
- * @param analysisJobRun analysisJobRun or {@code null} for none
- */
- public JobRun setAnalysisJobRun(AnalysisJobRun analysisJobRun) {
- this.analysisJobRun = analysisJobRun;
- return this;
- }
-
/**
* Output only. Information specific to a createChildRollout `JobRun`.
* @return value or {@code null} for none
@@ -200,7 +176,7 @@ public JobRun setCreateChildRolloutJobRun(CreateChildRolloutJobRun createChildRo
* Output only. Time at which the `JobRun` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -208,7 +184,7 @@ public String getCreateTime() {
* Output only. Time at which the `JobRun` was created.
* @param createTime createTime or {@code null} for none
*/
- public JobRun setCreateTime(String createTime) {
+ public JobRun setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -234,7 +210,7 @@ public JobRun setDeployJobRun(DeployJobRun deployJobRun) {
* Output only. Time at which the `JobRun` ended.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -242,7 +218,7 @@ public String getEndTime() {
* Output only. Time at which the `JobRun` ended.
* @param endTime endTime or {@code null} for none
*/
- public JobRun setEndTime(String endTime) {
+ public JobRun setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -359,7 +335,7 @@ public JobRun setPredeployJobRun(PredeployJobRun predeployJobRun) {
* Output only. Time at which the `JobRun` was started.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -367,7 +343,7 @@ public String getStartTime() {
* Output only. Time at which the `JobRun` was started.
* @param startTime startTime or {@code null} for none
*/
- public JobRun setStartTime(String startTime) {
+ public JobRun setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/OperationMetadata.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/OperationMetadata.java
index 5afb65275da..d306c5a4261 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/OperationMetadata.java
@@ -41,14 +41,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -101,7 +101,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -109,7 +109,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -118,7 +118,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -126,7 +126,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PhaseConfig.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PhaseConfig.java
index f3e55ffbd88..e6cce9accec 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PhaseConfig.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PhaseConfig.java
@@ -29,14 +29,6 @@
@SuppressWarnings("javadoc")
public final class PhaseConfig extends com.google.api.client.json.GenericJson {
- /**
- * Optional. Configuration for the analysis job of this phase. If this is not configured, there
- * will be no analysis job for this phase.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Analysis analysis;
-
/**
* Required. Percentage deployment for the phase.
* The value may be {@code null}.
@@ -85,32 +77,6 @@ public final class PhaseConfig extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean verify;
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Verify verifyConfig;
-
- /**
- * Optional. Configuration for the analysis job of this phase. If this is not configured, there
- * will be no analysis job for this phase.
- * @return value or {@code null} for none
- */
- public Analysis getAnalysis() {
- return analysis;
- }
-
- /**
- * Optional. Configuration for the analysis job of this phase. If this is not configured, there
- * will be no analysis job for this phase.
- * @param analysis analysis or {@code null} for none
- */
- public PhaseConfig setAnalysis(Analysis analysis) {
- this.analysis = analysis;
- return this;
- }
-
/**
* Required. Percentage deployment for the phase.
* @return value or {@code null} for none
@@ -225,23 +191,6 @@ public PhaseConfig setVerify(java.lang.Boolean verify) {
return this;
}
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @return value or {@code null} for none
- */
- public Verify getVerifyConfig() {
- return verifyConfig;
- }
-
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @param verifyConfig verifyConfig or {@code null} for none
- */
- public PhaseConfig setVerifyConfig(Verify verifyConfig) {
- this.verifyConfig = verifyConfig;
- return this;
- }
-
@Override
public PhaseConfig set(String fieldName, Object value) {
return (PhaseConfig) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PipelineReadyCondition.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PipelineReadyCondition.java
index 2da5a1902ae..ac14d2ff2b1 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PipelineReadyCondition.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PipelineReadyCondition.java
@@ -43,7 +43,7 @@ public final class PipelineReadyCondition extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* True if the Pipeline is in a valid state. Otherwise at least one condition in
@@ -70,7 +70,7 @@ public PipelineReadyCondition setStatus(java.lang.Boolean status) {
* Last time the condition was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -78,7 +78,7 @@ public String getUpdateTime() {
* Last time the condition was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public PipelineReadyCondition setUpdateTime(String updateTime) {
+ public PipelineReadyCondition setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Postdeploy.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Postdeploy.java
index e106b90081d..59427c6bc2e 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Postdeploy.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Postdeploy.java
@@ -37,14 +37,6 @@ public final class Postdeploy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List actions;
- /**
- * Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List tasks;
-
/**
* Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy
* job.
@@ -64,25 +56,6 @@ public Postdeploy setActions(java.util.List actions) {
return this;
}
- /**
- * Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * @return value or {@code null} for none
- */
- public java.util.List getTasks() {
- return tasks;
- }
-
- /**
- * Optional. The tasks that will run as a part of the postdeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * @param tasks tasks or {@code null} for none
- */
- public Postdeploy setTasks(java.util.List tasks) {
- this.tasks = tasks;
- return this;
- }
-
@Override
public Postdeploy set(String fieldName, Object value) {
return (Postdeploy) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJob.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJob.java
index 235baba0422..a01f2dac7cc 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJob.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJob.java
@@ -36,13 +36,6 @@ public final class PostdeployJob extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.util.List actions;
- /**
- * Output only. The tasks that are executed as part of the postdeploy Job.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List tasks;
-
/**
* Output only. The custom actions that the postdeploy Job executes.
* @return value or {@code null} for none
@@ -60,23 +53,6 @@ public PostdeployJob setActions(java.util.List actions) {
return this;
}
- /**
- * Output only. The tasks that are executed as part of the postdeploy Job.
- * @return value or {@code null} for none
- */
- public java.util.List getTasks() {
- return tasks;
- }
-
- /**
- * Output only. The tasks that are executed as part of the postdeploy Job.
- * @param tasks tasks or {@code null} for none
- */
- public PostdeployJob setTasks(java.util.List tasks) {
- this.tasks = tasks;
- return this;
- }
-
@Override
public PostdeployJob set(String fieldName, Object value) {
return (PostdeployJob) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJobRun.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJobRun.java
index ff1845e3a86..a0c5ed06d69 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJobRun.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PostdeployJobRun.java
@@ -53,13 +53,6 @@ public final class PostdeployJobRun extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.lang.String failureMessage;
- /**
- * Output only. Metadata containing information about the postdeploy `JobRun`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private PostdeployJobRunMetadata metadata;
-
/**
* Output only. The resource name of the Cloud Build `Build` object that is used to execute the
* custom actions associated with the postdeploy Job. Format is
@@ -117,23 +110,6 @@ public PostdeployJobRun setFailureMessage(java.lang.String failureMessage) {
return this;
}
- /**
- * Output only. Metadata containing information about the postdeploy `JobRun`.
- * @return value or {@code null} for none
- */
- public PostdeployJobRunMetadata getMetadata() {
- return metadata;
- }
-
- /**
- * Output only. Metadata containing information about the postdeploy `JobRun`.
- * @param metadata metadata or {@code null} for none
- */
- public PostdeployJobRun setMetadata(PostdeployJobRunMetadata metadata) {
- this.metadata = metadata;
- return this;
- }
-
@Override
public PostdeployJobRun set(String fieldName, Object value) {
return (PostdeployJobRun) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Predeploy.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Predeploy.java
index ef26f211d7a..c40fc6c582a 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Predeploy.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Predeploy.java
@@ -37,14 +37,6 @@ public final class Predeploy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List actions;
- /**
- * Optional. The tasks that will run as a part of the predeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List tasks;
-
/**
* Optional. A sequence of Skaffold custom actions to invoke during execution of the predeploy
* job.
@@ -64,25 +56,6 @@ public Predeploy setActions(java.util.List actions) {
return this;
}
- /**
- * Optional. The tasks that will run as a part of the predeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * @return value or {@code null} for none
- */
- public java.util.List getTasks() {
- return tasks;
- }
-
- /**
- * Optional. The tasks that will run as a part of the predeploy job. The tasks are executed
- * sequentially in the order specified. Only one of `actions` or `tasks` can be specified.
- * @param tasks tasks or {@code null} for none
- */
- public Predeploy setTasks(java.util.List tasks) {
- this.tasks = tasks;
- return this;
- }
-
@Override
public Predeploy set(String fieldName, Object value) {
return (Predeploy) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJob.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJob.java
index 80e9ccd53a9..7b995653f21 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJob.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJob.java
@@ -36,13 +36,6 @@ public final class PredeployJob extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List actions;
- /**
- * Output only. The tasks that are executed as part of the predeploy Job.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List tasks;
-
/**
* Output only. The custom actions that the predeploy Job executes.
* @return value or {@code null} for none
@@ -60,23 +53,6 @@ public PredeployJob setActions(java.util.List actions) {
return this;
}
- /**
- * Output only. The tasks that are executed as part of the predeploy Job.
- * @return value or {@code null} for none
- */
- public java.util.List getTasks() {
- return tasks;
- }
-
- /**
- * Output only. The tasks that are executed as part of the predeploy Job.
- * @param tasks tasks or {@code null} for none
- */
- public PredeployJob setTasks(java.util.List tasks) {
- this.tasks = tasks;
- return this;
- }
-
@Override
public PredeployJob set(String fieldName, Object value) {
return (PredeployJob) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJobRun.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJobRun.java
index 248cd2aba8b..636579160ed 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJobRun.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PredeployJobRun.java
@@ -53,13 +53,6 @@ public final class PredeployJobRun extends com.google.api.client.json.GenericJso
@com.google.api.client.util.Key
private java.lang.String failureMessage;
- /**
- * Output only. Metadata containing information about the predeploy `JobRun`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private PredeployJobRunMetadata metadata;
-
/**
* Output only. The resource name of the Cloud Build `Build` object that is used to execute the
* custom actions associated with the predeploy Job. Format is
@@ -117,23 +110,6 @@ public PredeployJobRun setFailureMessage(java.lang.String failureMessage) {
return this;
}
- /**
- * Output only. Metadata containing information about the predeploy `JobRun`.
- * @return value or {@code null} for none
- */
- public PredeployJobRunMetadata getMetadata() {
- return metadata;
- }
-
- /**
- * Output only. Metadata containing information about the predeploy `JobRun`.
- * @param metadata metadata or {@code null} for none
- */
- public PredeployJobRun setMetadata(PredeployJobRunMetadata metadata) {
- this.metadata = metadata;
- return this;
- }
-
@Override
public PredeployJobRun set(String fieldName, Object value) {
return (PredeployJobRun) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseOperation.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseOperation.java
index 24c8ea7419e..9741045f334 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseOperation.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseOperation.java
@@ -56,7 +56,7 @@ public final class PromoteReleaseOperation extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String wait;
+ private java.lang.String wait;
/**
* Output only. The starting phase of the rollout created by this operation.
@@ -115,7 +115,7 @@ public PromoteReleaseOperation setTargetId(java.lang.String targetId) {
* Output only. How long the operation will be paused.
* @return value or {@code null} for none
*/
- public String getWait() {
+ public java.lang.String getWait() {
return wait;
}
@@ -123,7 +123,7 @@ public String getWait() {
* Output only. How long the operation will be paused.
* @param wait wait or {@code null} for none
*/
- public PromoteReleaseOperation setWait(String wait) {
+ public PromoteReleaseOperation setWait(java.lang.String wait) {
this.wait = wait;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseRule.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseRule.java
index 6389da4164d..4039f7cb67b 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseRule.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/PromoteReleaseRule.java
@@ -68,7 +68,7 @@ public final class PromoteReleaseRule extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String wait;
+ private java.lang.String wait;
/**
* Output only. Information around the state of the Automation rule.
@@ -152,7 +152,7 @@ public PromoteReleaseRule setId(java.lang.String id) {
* Optional. How long the release need to be paused until being promoted to the next target.
* @return value or {@code null} for none
*/
- public String getWait() {
+ public java.lang.String getWait() {
return wait;
}
@@ -160,7 +160,7 @@ public String getWait() {
* Optional. How long the release need to be paused until being promoted to the next target.
* @param wait wait or {@code null} for none
*/
- public PromoteReleaseRule setWait(String wait) {
+ public PromoteReleaseRule setWait(java.lang.String wait) {
this.wait = wait;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Release.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Release.java
index f2e1c04d343..1cfd4cd5335 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Release.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Release.java
@@ -71,7 +71,7 @@ public final class Release extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Snapshot of the custom target types referenced by the targets taken at release
@@ -142,14 +142,14 @@ public final class Release extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String renderEndTime;
+ private java.lang.String renderEndTime;
/**
* Output only. Time at which the render began.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String renderStartTime;
+ private java.lang.String renderStartTime;
/**
* Output only. Current state of the render operation.
@@ -293,7 +293,7 @@ public Release setCondition(ReleaseCondition condition) {
* Output only. Time at which the `Release` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -301,7 +301,7 @@ public String getCreateTime() {
* Output only. Time at which the `Release` was created.
* @param createTime createTime or {@code null} for none
*/
- public Release setCreateTime(String createTime) {
+ public Release setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -447,7 +447,7 @@ public Release setName(java.lang.String name) {
* Output only. Time at which the render completed.
* @return value or {@code null} for none
*/
- public String getRenderEndTime() {
+ public java.lang.String getRenderEndTime() {
return renderEndTime;
}
@@ -455,7 +455,7 @@ public String getRenderEndTime() {
* Output only. Time at which the render completed.
* @param renderEndTime renderEndTime or {@code null} for none
*/
- public Release setRenderEndTime(String renderEndTime) {
+ public Release setRenderEndTime(java.lang.String renderEndTime) {
this.renderEndTime = renderEndTime;
return this;
}
@@ -464,7 +464,7 @@ public Release setRenderEndTime(String renderEndTime) {
* Output only. Time at which the render began.
* @return value or {@code null} for none
*/
- public String getRenderStartTime() {
+ public java.lang.String getRenderStartTime() {
return renderStartTime;
}
@@ -472,7 +472,7 @@ public String getRenderStartTime() {
* Output only. Time at which the render began.
* @param renderStartTime renderStartTime or {@code null} for none
*/
- public Release setRenderStartTime(String renderStartTime) {
+ public Release setRenderStartTime(java.lang.String renderStartTime) {
this.renderStartTime = renderStartTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RenderMetadata.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RenderMetadata.java
index 3905ff16066..9356b97e302 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RenderMetadata.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RenderMetadata.java
@@ -43,14 +43,6 @@ public final class RenderMetadata extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private CustomMetadata custom;
- /**
- * Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise
- * target).
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private KubernetesRenderMetadata kubernetes;
-
/**
* Output only. Metadata associated with rendering for Cloud Run.
* @return value or {@code null} for none
@@ -85,25 +77,6 @@ public RenderMetadata setCustom(CustomMetadata custom) {
return this;
}
- /**
- * Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise
- * target).
- * @return value or {@code null} for none
- */
- public KubernetesRenderMetadata getKubernetes() {
- return kubernetes;
- }
-
- /**
- * Output only. Metadata associated with rendering for a Kubernetes cluster (GKE or GKE Enterprise
- * target).
- * @param kubernetes kubernetes or {@code null} for none
- */
- public RenderMetadata setKubernetes(KubernetesRenderMetadata kubernetes) {
- this.kubernetes = kubernetes;
- return this;
- }
-
@Override
public RenderMetadata set(String fieldName, Object value) {
return (RenderMetadata) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Retry.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Retry.java
index 9b645bcb44a..fb464950bbc 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Retry.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Retry.java
@@ -50,7 +50,7 @@ public final class Retry extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String wait;
+ private java.lang.String wait;
/**
* Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and
@@ -94,7 +94,7 @@ public Retry setBackoffMode(java.lang.String backoffMode) {
* Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
* @return value or {@code null} for none
*/
- public String getWait() {
+ public java.lang.String getWait() {
return wait;
}
@@ -102,7 +102,7 @@ public String getWait() {
* Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.
* @param wait wait or {@code null} for none
*/
- public Retry setWait(String wait) {
+ public Retry setWait(java.lang.String wait) {
this.wait = wait;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RetryAttempt.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RetryAttempt.java
index 66c9e914980..6fbd12373de 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RetryAttempt.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/RetryAttempt.java
@@ -55,7 +55,7 @@ public final class RetryAttempt extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String wait;
+ private java.lang.String wait;
/**
* Output only. The index of this retry attempt.
@@ -112,7 +112,7 @@ public RetryAttempt setStateDesc(java.lang.String stateDesc) {
* Output only. How long the operation will be paused.
* @return value or {@code null} for none
*/
- public String getWait() {
+ public java.lang.String getWait() {
return wait;
}
@@ -120,7 +120,7 @@ public String getWait() {
* Output only. How long the operation will be paused.
* @param wait wait or {@code null} for none
*/
- public RetryAttempt setWait(String wait) {
+ public RetryAttempt setWait(java.lang.String wait) {
this.wait = wait;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Rollout.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Rollout.java
index 0f2e206976d..3285900b7fa 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Rollout.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Rollout.java
@@ -58,7 +58,7 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String approveTime;
+ private java.lang.String approveTime;
/**
* Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location
@@ -73,14 +73,14 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Time at which the `Rollout` finished deploying.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deployEndTime;
+ private java.lang.String deployEndTime;
/**
* Output only. The reason this rollout failed. This will always be unspecified while the rollout
@@ -95,7 +95,7 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deployStartTime;
+ private java.lang.String deployStartTime;
/**
* Output only. The resource name of the Cloud Build `Build` object that is used to deploy the
@@ -117,7 +117,7 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String enqueueTime;
+ private java.lang.String enqueueTime;
/**
* This checksum is computed by the server based on the value of other fields, and may be sent on
@@ -270,7 +270,7 @@ public Rollout setApprovalState(java.lang.String approvalState) {
* Output only. Time at which the `Rollout` was approved.
* @return value or {@code null} for none
*/
- public String getApproveTime() {
+ public java.lang.String getApproveTime() {
return approveTime;
}
@@ -278,7 +278,7 @@ public String getApproveTime() {
* Output only. Time at which the `Rollout` was approved.
* @param approveTime approveTime or {@code null} for none
*/
- public Rollout setApproveTime(String approveTime) {
+ public Rollout setApproveTime(java.lang.String approveTime) {
this.approveTime = approveTime;
return this;
}
@@ -306,7 +306,7 @@ public Rollout setControllerRollout(java.lang.String controllerRollout) {
* Output only. Time at which the `Rollout` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -314,7 +314,7 @@ public String getCreateTime() {
* Output only. Time at which the `Rollout` was created.
* @param createTime createTime or {@code null} for none
*/
- public Rollout setCreateTime(String createTime) {
+ public Rollout setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -323,7 +323,7 @@ public Rollout setCreateTime(String createTime) {
* Output only. Time at which the `Rollout` finished deploying.
* @return value or {@code null} for none
*/
- public String getDeployEndTime() {
+ public java.lang.String getDeployEndTime() {
return deployEndTime;
}
@@ -331,7 +331,7 @@ public String getDeployEndTime() {
* Output only. Time at which the `Rollout` finished deploying.
* @param deployEndTime deployEndTime or {@code null} for none
*/
- public Rollout setDeployEndTime(String deployEndTime) {
+ public Rollout setDeployEndTime(java.lang.String deployEndTime) {
this.deployEndTime = deployEndTime;
return this;
}
@@ -359,7 +359,7 @@ public Rollout setDeployFailureCause(java.lang.String deployFailureCause) {
* Output only. Time at which the `Rollout` started deploying.
* @return value or {@code null} for none
*/
- public String getDeployStartTime() {
+ public java.lang.String getDeployStartTime() {
return deployStartTime;
}
@@ -367,7 +367,7 @@ public String getDeployStartTime() {
* Output only. Time at which the `Rollout` started deploying.
* @param deployStartTime deployStartTime or {@code null} for none
*/
- public Rollout setDeployStartTime(String deployStartTime) {
+ public Rollout setDeployStartTime(java.lang.String deployStartTime) {
this.deployStartTime = deployStartTime;
return this;
}
@@ -412,7 +412,7 @@ public Rollout setDescription(java.lang.String description) {
* Output only. Time at which the `Rollout` was enqueued.
* @return value or {@code null} for none
*/
- public String getEnqueueTime() {
+ public java.lang.String getEnqueueTime() {
return enqueueTime;
}
@@ -420,7 +420,7 @@ public String getEnqueueTime() {
* Output only. Time at which the `Rollout` was enqueued.
* @param enqueueTime enqueueTime or {@code null} for none
*/
- public Rollout setEnqueueTime(String enqueueTime) {
+ public Rollout setEnqueueTime(java.lang.String enqueueTime) {
this.enqueueTime = enqueueTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SetIamPolicyRequest.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SetIamPolicyRequest.java
index 7a964b8c6bd..5024fb8c234 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SetIamPolicyRequest.java
@@ -45,7 +45,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -74,7 +74,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -84,7 +84,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldSupportedCondition.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldSupportedCondition.java
index 9ae6d3d8c48..a54e003db8c 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldSupportedCondition.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldSupportedCondition.java
@@ -35,7 +35,7 @@ public final class SkaffoldSupportedCondition extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String maintenanceModeTime;
+ private java.lang.String maintenanceModeTime;
/**
* The Skaffold support state for this release's version of Skaffold.
@@ -56,13 +56,13 @@ public final class SkaffoldSupportedCondition extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String supportExpirationTime;
+ private java.lang.String supportExpirationTime;
/**
* The time at which this release's version of Skaffold will enter maintenance mode.
* @return value or {@code null} for none
*/
- public String getMaintenanceModeTime() {
+ public java.lang.String getMaintenanceModeTime() {
return maintenanceModeTime;
}
@@ -70,7 +70,7 @@ public String getMaintenanceModeTime() {
* The time at which this release's version of Skaffold will enter maintenance mode.
* @param maintenanceModeTime maintenanceModeTime or {@code null} for none
*/
- public SkaffoldSupportedCondition setMaintenanceModeTime(String maintenanceModeTime) {
+ public SkaffoldSupportedCondition setMaintenanceModeTime(java.lang.String maintenanceModeTime) {
this.maintenanceModeTime = maintenanceModeTime;
return this;
}
@@ -113,7 +113,7 @@ public SkaffoldSupportedCondition setStatus(java.lang.Boolean status) {
* The time at which this release's version of Skaffold will no longer be supported.
* @return value or {@code null} for none
*/
- public String getSupportExpirationTime() {
+ public java.lang.String getSupportExpirationTime() {
return supportExpirationTime;
}
@@ -121,7 +121,7 @@ public String getSupportExpirationTime() {
* The time at which this release's version of Skaffold will no longer be supported.
* @param supportExpirationTime supportExpirationTime or {@code null} for none
*/
- public SkaffoldSupportedCondition setSupportExpirationTime(String supportExpirationTime) {
+ public SkaffoldSupportedCondition setSupportExpirationTime(java.lang.String supportExpirationTime) {
this.supportExpirationTime = supportExpirationTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldVersion.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldVersion.java
index 1d7cbe317c3..17670a7c21d 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldVersion.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/SkaffoldVersion.java
@@ -34,7 +34,7 @@ public final class SkaffoldVersion extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String maintenanceModeTime;
+ private java.lang.String maintenanceModeTime;
/**
* Date when this version is expected to no longer be supported.
@@ -48,7 +48,7 @@ public final class SkaffoldVersion extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String supportExpirationTime;
+ private java.lang.String supportExpirationTime;
/**
* Release version number. For example, "1.20.3".
@@ -61,7 +61,7 @@ public final class SkaffoldVersion extends com.google.api.client.json.GenericJso
* The time at which this version of Skaffold will enter maintenance mode.
* @return value or {@code null} for none
*/
- public String getMaintenanceModeTime() {
+ public java.lang.String getMaintenanceModeTime() {
return maintenanceModeTime;
}
@@ -69,7 +69,7 @@ public String getMaintenanceModeTime() {
* The time at which this version of Skaffold will enter maintenance mode.
* @param maintenanceModeTime maintenanceModeTime or {@code null} for none
*/
- public SkaffoldVersion setMaintenanceModeTime(String maintenanceModeTime) {
+ public SkaffoldVersion setMaintenanceModeTime(java.lang.String maintenanceModeTime) {
this.maintenanceModeTime = maintenanceModeTime;
return this;
}
@@ -95,7 +95,7 @@ public SkaffoldVersion setSupportEndDate(Date supportEndDate) {
* The time at which this version of Skaffold will no longer be supported.
* @return value or {@code null} for none
*/
- public String getSupportExpirationTime() {
+ public java.lang.String getSupportExpirationTime() {
return supportExpirationTime;
}
@@ -103,7 +103,7 @@ public String getSupportExpirationTime() {
* The time at which this version of Skaffold will no longer be supported.
* @param supportExpirationTime supportExpirationTime or {@code null} for none
*/
- public SkaffoldVersion setSupportExpirationTime(String supportExpirationTime) {
+ public SkaffoldVersion setSupportExpirationTime(java.lang.String supportExpirationTime) {
this.supportExpirationTime = supportExpirationTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Standard.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Standard.java
index c0147c977d9..8e5dcb33495 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Standard.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Standard.java
@@ -29,14 +29,6 @@
@SuppressWarnings("javadoc")
public final class Standard extends com.google.api.client.json.GenericJson {
- /**
- * Optional. Configuration for the analysis job. If this is not configured, the analysis job will
- * not be present.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Analysis analysis;
-
/**
* Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job
* will not be present.
@@ -60,32 +52,6 @@ public final class Standard extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean verify;
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private Verify verifyConfig;
-
- /**
- * Optional. Configuration for the analysis job. If this is not configured, the analysis job will
- * not be present.
- * @return value or {@code null} for none
- */
- public Analysis getAnalysis() {
- return analysis;
- }
-
- /**
- * Optional. Configuration for the analysis job. If this is not configured, the analysis job will
- * not be present.
- * @param analysis analysis or {@code null} for none
- */
- public Standard setAnalysis(Analysis analysis) {
- this.analysis = analysis;
- return this;
- }
-
/**
* Optional. Configuration for the postdeploy job. If this is not configured, the postdeploy job
* will not be present.
@@ -141,23 +107,6 @@ public Standard setVerify(java.lang.Boolean verify) {
return this;
}
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @return value or {@code null} for none
- */
- public Verify getVerifyConfig() {
- return verifyConfig;
- }
-
- /**
- * Optional. Configuration for the verify job. Cannot be set if `verify` is set to true.
- * @param verifyConfig verifyConfig or {@code null} for none
- */
- public Standard setVerifyConfig(Verify verifyConfig) {
- this.verifyConfig = verifyConfig;
- return this;
- }
-
@Override
public Standard set(String fieldName, Object value) {
return (Standard) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Target.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Target.java
index 737c70d3642..147114e51c0 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Target.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/Target.java
@@ -70,7 +70,7 @@ public final class Target extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Information specifying a Custom Target.
@@ -187,7 +187,7 @@ public final class Target extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. User annotations. These attributes can only be set and used by the user, and not by
@@ -260,7 +260,7 @@ public Target setAssociatedEntities(java.util.Map as
* Output only. Time at which the `Target` was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -268,7 +268,7 @@ public String getCreateTime() {
* Output only. Time at which the `Target` was created.
* @param createTime createTime or {@code null} for none
*/
- public Target setCreateTime(String createTime) {
+ public Target setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -524,7 +524,7 @@ public Target setUid(java.lang.String uid) {
* Output only. Most recent time at which the `Target` was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -532,7 +532,7 @@ public String getUpdateTime() {
* Output only. Most recent time at which the `Target` was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Target setUpdateTime(String updateTime) {
+ public Target setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TargetsPresentCondition.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TargetsPresentCondition.java
index 559715ffb4f..bf571533258 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TargetsPresentCondition.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TargetsPresentCondition.java
@@ -50,7 +50,7 @@ public final class TargetsPresentCondition extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The list of Target names that do not exist. For example,
@@ -92,7 +92,7 @@ public TargetsPresentCondition setStatus(java.lang.Boolean status) {
* Last time the condition was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -100,7 +100,7 @@ public String getUpdateTime() {
* Last time the condition was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public TargetsPresentCondition setUpdateTime(String updateTime) {
+ public TargetsPresentCondition setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TimedPromoteReleaseCondition.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TimedPromoteReleaseCondition.java
index 3a43d8ff5fc..5bb5901b778 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TimedPromoteReleaseCondition.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/TimedPromoteReleaseCondition.java
@@ -35,7 +35,7 @@ public final class TimedPromoteReleaseCondition extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String nextPromotionTime;
+ private java.lang.String nextPromotionTime;
/**
* Output only. A list of targets involved in the upcoming timed promotion(s).
@@ -54,7 +54,7 @@ public final class TimedPromoteReleaseCondition extends com.google.api.client.js
* Output only. When the next scheduled promotion(s) will occur.
* @return value or {@code null} for none
*/
- public String getNextPromotionTime() {
+ public java.lang.String getNextPromotionTime() {
return nextPromotionTime;
}
@@ -62,7 +62,7 @@ public String getNextPromotionTime() {
* Output only. When the next scheduled promotion(s) will occur.
* @param nextPromotionTime nextPromotionTime or {@code null} for none
*/
- public TimedPromoteReleaseCondition setNextPromotionTime(String nextPromotionTime) {
+ public TimedPromoteReleaseCondition setNextPromotionTime(java.lang.String nextPromotionTime) {
this.nextPromotionTime = nextPromotionTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ToolVersionSupportedCondition.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ToolVersionSupportedCondition.java
index 3572f2bb1a7..adcc6cc0a10 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ToolVersionSupportedCondition.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/ToolVersionSupportedCondition.java
@@ -35,7 +35,7 @@ public final class ToolVersionSupportedCondition extends com.google.api.client.j
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String maintenanceModeTime;
+ private java.lang.String maintenanceModeTime;
/**
* Output only. True if the version of Tool used by this release is supported.
@@ -49,7 +49,7 @@ public final class ToolVersionSupportedCondition extends com.google.api.client.j
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String supportExpirationTime;
+ private java.lang.String supportExpirationTime;
/**
* Output only. The tool support state for this release's version of the tool.
@@ -62,7 +62,7 @@ public final class ToolVersionSupportedCondition extends com.google.api.client.j
* Output only. The time at which this release's version of the tool will enter maintenance mode.
* @return value or {@code null} for none
*/
- public String getMaintenanceModeTime() {
+ public java.lang.String getMaintenanceModeTime() {
return maintenanceModeTime;
}
@@ -70,7 +70,7 @@ public String getMaintenanceModeTime() {
* Output only. The time at which this release's version of the tool will enter maintenance mode.
* @param maintenanceModeTime maintenanceModeTime or {@code null} for none
*/
- public ToolVersionSupportedCondition setMaintenanceModeTime(String maintenanceModeTime) {
+ public ToolVersionSupportedCondition setMaintenanceModeTime(java.lang.String maintenanceModeTime) {
this.maintenanceModeTime = maintenanceModeTime;
return this;
}
@@ -96,7 +96,7 @@ public ToolVersionSupportedCondition setStatus(java.lang.Boolean status) {
* Output only. The time at which this release's version of the tool will no longer be supported.
* @return value or {@code null} for none
*/
- public String getSupportExpirationTime() {
+ public java.lang.String getSupportExpirationTime() {
return supportExpirationTime;
}
@@ -104,7 +104,7 @@ public String getSupportExpirationTime() {
* Output only. The time at which this release's version of the tool will no longer be supported.
* @param supportExpirationTime supportExpirationTime or {@code null} for none
*/
- public ToolVersionSupportedCondition setSupportExpirationTime(String supportExpirationTime) {
+ public ToolVersionSupportedCondition setSupportExpirationTime(java.lang.String supportExpirationTime) {
this.supportExpirationTime = supportExpirationTime;
return this;
}
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJob.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJob.java
index 6b2cc2a058e..3cdf2387c66 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJob.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJob.java
@@ -29,36 +29,6 @@
@SuppressWarnings("javadoc")
public final class VerifyJob extends com.google.api.client.json.GenericJson {
- /**
- * Output only. The tasks that are executed as part of the verify Job.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List tasks;
-
- static {
- // hack to force ProGuard to consider Task used, since otherwise it would be stripped out
- // see https://github.com/google/google-api-java-client/issues/543
- com.google.api.client.util.Data.nullOf(Task.class);
- }
-
- /**
- * Output only. The tasks that are executed as part of the verify Job.
- * @return value or {@code null} for none
- */
- public java.util.List getTasks() {
- return tasks;
- }
-
- /**
- * Output only. The tasks that are executed as part of the verify Job.
- * @param tasks tasks or {@code null} for none
- */
- public VerifyJob setTasks(java.util.List tasks) {
- this.tasks = tasks;
- return this;
- }
-
@Override
public VerifyJob set(String fieldName, Object value) {
return (VerifyJob) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJobRun.java b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJobRun.java
index 5327328f43b..1f2d37b7e2b 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJobRun.java
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/com/google/api/services/clouddeploy/v1/model/VerifyJobRun.java
@@ -67,13 +67,6 @@ public final class VerifyJobRun extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String failureMessage;
- /**
- * Output only. Metadata containing information about the verify `JobRun`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private VerifyJobRunMetadata metadata;
-
/**
* Output only. URI of a directory containing the verify artifacts. This contains the Skaffold
* event log.
@@ -165,23 +158,6 @@ public VerifyJobRun setFailureMessage(java.lang.String failureMessage) {
return this;
}
- /**
- * Output only. Metadata containing information about the verify `JobRun`.
- * @return value or {@code null} for none
- */
- public VerifyJobRunMetadata getMetadata() {
- return metadata;
- }
-
- /**
- * Output only. Metadata containing information about the verify `JobRun`.
- * @param metadata metadata or {@code null} for none
- */
- public VerifyJobRun setMetadata(VerifyJobRunMetadata metadata) {
- this.metadata = metadata;
- return this;
- }
-
@Override
public VerifyJobRun set(String fieldName, Object value) {
return (VerifyJobRun) super.set(fieldName, value);
diff --git a/clients/google-api-services-clouddeploy/v1/2.0.0/pom.xml b/clients/google-api-services-clouddeploy/v1/2.0.0/pom.xml
index b114fa40abb..578ffd226d6 100644
--- a/clients/google-api-services-clouddeploy/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-clouddeploy/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-clouddeploy
- v1-rev20260325-2.0.0
- Cloud Deploy API v1-rev20260325-2.0.0
+ v1-rev20260128-2.0.0
+ Cloud Deploy API v1-rev20260128-2.0.0
jar
2011
diff --git a/clients/google-api-services-cloudfunctions/v1/2.0.0/README.md b/clients/google-api-services-cloudfunctions/v1/2.0.0/README.md
index df54a066415..eeb27a42cd7 100644
--- a/clients/google-api-services-cloudfunctions/v1/2.0.0/README.md
+++ b/clients/google-api-services-cloudfunctions/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-cloudfunctions
- v1-rev20260324-2.0.0
+ v1-rev20260129-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20260324-2.0.0'
+ implementation 'com.google.apis:google-api-services-cloudfunctions:v1-rev20260129-2.0.0'
}
```
diff --git a/clients/google-api-services-cloudfunctions/v1/2.0.0/com/google/api/services/cloudfunctions/v1/CloudFunctions.java b/clients/google-api-services-cloudfunctions/v1/2.0.0/com/google/api/services/cloudfunctions/v1/CloudFunctions.java
index 64c57aaef49..99eaba501f7 100644
--- a/clients/google-api-services-cloudfunctions/v1/2.0.0/com/google/api/services/cloudfunctions/v1/CloudFunctions.java
+++ b/clients/google-api-services-cloudfunctions/v1/2.0.0/com/google/api/services/cloudfunctions/v1/CloudFunctions.java
@@ -544,14 +544,10 @@ public Locations locations() {
public class Locations {
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -575,15 +571,10 @@ public class List extends CloudFunctionsRequestcom.google.apis
google-api-services-cloudfunctions
- v1-rev20260324-2.0.0
- Cloud Functions API v1-rev20260324-2.0.0
+ v1-rev20260129-2.0.0
+ Cloud Functions API v1-rev20260129-2.0.0
jar
2011
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/README.md b/clients/google-api-services-cloudkms/v1/2.0.0/README.md
index 585a06d57e9..9d7c946f59b 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/README.md
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-cloudkms
- v1-rev20260319-2.0.0
+ v1-rev20260219-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260319-2.0.0'
+ implementation 'com.google.apis:google-api-services-cloudkms:v1-rev20260219-2.0.0'
}
```
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/CloudKMS.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/CloudKMS.java
index 8983b505a7e..0700e3e369e 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/CloudKMS.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/CloudKMS.java
@@ -309,7 +309,7 @@ public GetAutokeyConfig set(String parameterName, Object value) {
* This request holds the parameters needed by the cloudkms server. After setting any optional
* parameters, call the {@link GetKajPolicyConfig#execute()} method to invoke the remote operation.
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @return the request
*/
public GetKajPolicyConfig getKajPolicyConfig(java.lang.String name) throws java.io.IOException {
@@ -336,7 +336,7 @@ public class GetKajPolicyConfig extends CloudKMSRequest
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @since 1.13
*/
protected GetKajPolicyConfig(java.lang.String name) {
@@ -414,17 +414,17 @@ public GetKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol) {
return (GetKajPolicyConfig) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get.
*/
public java.lang.String getName() {
return name;
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
public GetKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -585,16 +585,16 @@ public UpdateAutokeyConfig setName(java.lang.String name) {
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
- public UpdateAutokeyConfig setUpdateMask(String updateMask) {
+ public UpdateAutokeyConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -613,8 +613,8 @@ public UpdateAutokeyConfig set(String parameterName, Object value) {
* parameters, call the {@link UpdateKajPolicyConfig#execute()} method to invoke the remote
* operation.
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @return the request
*/
@@ -642,8 +642,8 @@ public class UpdateKajPolicyConfig extends CloudKMSRequest
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @since 1.13
*/
@@ -713,22 +713,22 @@ public UpdateKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol)
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- of "{organizations|folders|projects}/kajPolicyConfig".
+ /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ "{organizations|folders|projects}/kajPolicyConfig".
*/
public java.lang.String getName() {
return name;
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
public UpdateKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
@@ -740,18 +740,18 @@ public UpdateKajPolicyConfig setName(java.lang.String name) {
return this;
}
- /** Optional. Specifies the list of fields to update. */
+ /** Optional. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
- /** Optional. Specifies the list of fields to update.
+ /** Optional. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
- /** Optional. Specifies the list of fields to update. */
- public UpdateKajPolicyConfig setUpdateMask(String updateMask) {
+ /** Optional. The list of fields to update. */
+ public UpdateKajPolicyConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -792,7 +792,7 @@ public class Organizations {
* This request holds the parameters needed by the cloudkms server. After setting any optional
* parameters, call the {@link GetKajPolicyConfig#execute()} method to invoke the remote operation.
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @return the request
*/
public GetKajPolicyConfig getKajPolicyConfig(java.lang.String name) throws java.io.IOException {
@@ -819,7 +819,7 @@ public class GetKajPolicyConfig extends CloudKMSRequest
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @since 1.13
*/
protected GetKajPolicyConfig(java.lang.String name) {
@@ -897,17 +897,17 @@ public GetKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol) {
return (GetKajPolicyConfig) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get.
*/
public java.lang.String getName() {
return name;
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
public GetKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -932,8 +932,8 @@ public GetKajPolicyConfig set(String parameterName, Object value) {
* parameters, call the {@link UpdateKajPolicyConfig#execute()} method to invoke the remote
* operation.
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @return the request
*/
@@ -961,8 +961,8 @@ public class UpdateKajPolicyConfig extends CloudKMSRequest
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @since 1.13
*/
@@ -1032,22 +1032,22 @@ public UpdateKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol)
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- of "{organizations|folders|projects}/kajPolicyConfig".
+ /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ "{organizations|folders|projects}/kajPolicyConfig".
*/
public java.lang.String getName() {
return name;
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
public UpdateKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
@@ -1059,18 +1059,18 @@ public UpdateKajPolicyConfig setName(java.lang.String name) {
return this;
}
- /** Optional. Specifies the list of fields to update. */
+ /** Optional. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
- /** Optional. Specifies the list of fields to update.
+ /** Optional. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
- /** Optional. Specifies the list of fields to update. */
- public UpdateKajPolicyConfig setUpdateMask(String updateMask) {
+ /** Optional. The list of fields to update. */
+ public UpdateKajPolicyConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -1259,7 +1259,7 @@ public GetAutokeyConfig set(String parameterName, Object value) {
* This request holds the parameters needed by the cloudkms server. After setting any optional
* parameters, call the {@link GetKajPolicyConfig#execute()} method to invoke the remote operation.
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @return the request
*/
public GetKajPolicyConfig getKajPolicyConfig(java.lang.String name) throws java.io.IOException {
@@ -1286,7 +1286,7 @@ public class GetKajPolicyConfig extends CloudKMSRequest
*
- * @param name Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to get.
* @since 1.13
*/
protected GetKajPolicyConfig(java.lang.String name) {
@@ -1364,17 +1364,17 @@ public GetKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol) {
return (GetKajPolicyConfig) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get.
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get.
*/
public java.lang.String getName() {
return name;
}
- /** Required. Specifies the name of the KeyAccessJustificationsPolicyConfig to get. */
+ /** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */
public GetKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -1554,7 +1554,7 @@ public ShowEffectiveAutokeyConfig set(String parameterName, Object value) {
* parameters, call the {@link ShowEffectiveKeyAccessJustificationsEnrollmentConfig#execute()}
* method to invoke the remote operation.
*
- * @param project Required. Specifies the number or id of the project to get the effective
+ * @param project Required. The number or id of the project to get the effective
* KeyAccessJustificationsEnrollmentConfig for.
* @return the request
*/
@@ -1585,7 +1585,7 @@ public class ShowEffectiveKeyAccessJustificationsEnrollmentConfig extends CloudK
* e.api.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize
* this instance immediately after invoking the constructor.
*
- * @param project Required. Specifies the number or id of the project to get the effective
+ * @param project Required. The number or id of the project to get the effective
* KeyAccessJustificationsEnrollmentConfig for.
* @since 1.13
*/
@@ -1665,13 +1665,13 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfig setUploadProtocol(ja
}
/**
- * Required. Specifies the number or id of the project to get the effective
+ * Required. The number or id of the project to get the effective
* KeyAccessJustificationsEnrollmentConfig for.
*/
@com.google.api.client.util.Key
private java.lang.String project;
- /** Required. Specifies the number or id of the project to get the effective
+ /** Required. The number or id of the project to get the effective
KeyAccessJustificationsEnrollmentConfig for.
*/
public java.lang.String getProject() {
@@ -1679,7 +1679,7 @@ public java.lang.String getProject() {
}
/**
- * Required. Specifies the number or id of the project to get the effective
+ * Required. The number or id of the project to get the effective
* KeyAccessJustificationsEnrollmentConfig for.
*/
public ShowEffectiveKeyAccessJustificationsEnrollmentConfig setProject(java.lang.String project) {
@@ -1707,8 +1707,8 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfig set(String parameter
* parameters, call the {@link ShowEffectiveKeyAccessJustificationsPolicyConfig#execute()} method to
* invoke the remote operation.
*
- * @param project Required. Specifies the number or id of the project to get the effective
- * KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"
+ * @param project Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig.
+ * In the format of "projects/{|}"
* @return the request
*/
public ShowEffectiveKeyAccessJustificationsPolicyConfig showEffectiveKeyAccessJustificationsPolicyConfig(java.lang.String project) throws java.io.IOException {
@@ -1737,8 +1737,8 @@ public class ShowEffectiveKeyAccessJustificationsPolicyConfig extends CloudKMSRe
* i.client.googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this
* instance immediately after invoking the constructor.
*
- * @param project Required. Specifies the number or id of the project to get the effective
- * KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"
+ * @param project Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig.
+ * In the format of "projects/{|}"
* @since 1.13
*/
protected ShowEffectiveKeyAccessJustificationsPolicyConfig(java.lang.String project) {
@@ -1817,21 +1817,21 @@ public ShowEffectiveKeyAccessJustificationsPolicyConfig setUploadProtocol(java.l
}
/**
- * Required. Specifies the number or id of the project to get the effective
+ * Required. The number or id of the project to get the effective
* KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"
*/
@com.google.api.client.util.Key
private java.lang.String project;
- /** Required. Specifies the number or id of the project to get the effective
- KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"
+ /** Required. The number or id of the project to get the effective KeyAccessJustificationsPolicyConfig.
+ In the format of "projects/{|}"
*/
public java.lang.String getProject() {
return project;
}
/**
- * Required. Specifies the number or id of the project to get the effective
+ * Required. The number or id of the project to get the effective
* KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}"
*/
public ShowEffectiveKeyAccessJustificationsPolicyConfig setProject(java.lang.String project) {
@@ -1994,16 +1994,16 @@ public UpdateAutokeyConfig setName(java.lang.String name) {
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Required. Masks which fields of the AutokeyConfig to update, e.g. `keyProject`. */
- public UpdateAutokeyConfig setUpdateMask(String updateMask) {
+ public UpdateAutokeyConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -2022,8 +2022,8 @@ public UpdateAutokeyConfig set(String parameterName, Object value) {
* parameters, call the {@link UpdateKajPolicyConfig#execute()} method to invoke the remote
* operation.
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @return the request
*/
@@ -2051,8 +2051,8 @@ public class UpdateKajPolicyConfig extends CloudKMSRequest
*
- * @param name Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- * of "{organizations|folders|projects}/kajPolicyConfig".
+ * @param name Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param content the {@link com.google.api.services.cloudkms.v1.model.KeyAccessJustificationsPolicyConfig}
* @since 1.13
*/
@@ -2122,22 +2122,22 @@ public UpdateKajPolicyConfig setUploadProtocol(java.lang.String uploadProtocol)
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the format
- of "{organizations|folders|projects}/kajPolicyConfig".
+ /** Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ "{organizations|folders|projects}/kajPolicyConfig".
*/
public java.lang.String getName() {
return name;
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in
- * the format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
*/
public UpdateKajPolicyConfig setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
@@ -2149,18 +2149,18 @@ public UpdateKajPolicyConfig setName(java.lang.String name) {
return this;
}
- /** Optional. Specifies the list of fields to update. */
+ /** Optional. The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
- /** Optional. Specifies the list of fields to update.
+ /** Optional. The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
- /** Optional. Specifies the list of fields to update. */
- public UpdateKajPolicyConfig setUpdateMask(String updateMask) {
+ /** Optional. The list of fields to update. */
+ public UpdateKajPolicyConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -2609,14 +2609,10 @@ public GetEkmConfig set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -2640,15 +2636,10 @@ public class List extends CloudKMSRequest This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -32,21 +31,21 @@
public final class KeyAccessJustificationsEnrollmentConfig extends com.google.api.client.json.GenericJson {
/**
- * Indicates whether the project has KAJ logging enabled.
+ * Whether the project has KAJ logging enabled.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean auditLogging;
/**
- * Indicates whether the project is enrolled in KAJ policy enforcement.
+ * Whether the project is enrolled in KAJ policy enforcement.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean policyEnforcement;
/**
- * Indicates whether the project has KAJ logging enabled.
+ * Whether the project has KAJ logging enabled.
* @return value or {@code null} for none
*/
public java.lang.Boolean getAuditLogging() {
@@ -54,7 +53,7 @@ public java.lang.Boolean getAuditLogging() {
}
/**
- * Indicates whether the project has KAJ logging enabled.
+ * Whether the project has KAJ logging enabled.
* @param auditLogging auditLogging or {@code null} for none
*/
public KeyAccessJustificationsEnrollmentConfig setAuditLogging(java.lang.Boolean auditLogging) {
@@ -63,7 +62,7 @@ public KeyAccessJustificationsEnrollmentConfig setAuditLogging(java.lang.Boolean
}
/**
- * Indicates whether the project is enrolled in KAJ policy enforcement.
+ * Whether the project is enrolled in KAJ policy enforcement.
* @return value or {@code null} for none
*/
public java.lang.Boolean getPolicyEnforcement() {
@@ -71,7 +70,7 @@ public java.lang.Boolean getPolicyEnforcement() {
}
/**
- * Indicates whether the project is enrolled in KAJ policy enforcement.
+ * Whether the project is enrolled in KAJ policy enforcement.
* @param policyEnforcement policyEnforcement or {@code null} for none
*/
public KeyAccessJustificationsEnrollmentConfig setPolicyEnforcement(java.lang.Boolean policyEnforcement) {
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicy.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicy.java
index cd54b141b86..246fcb300e5 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicy.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicy.java
@@ -18,8 +18,7 @@
/**
* A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason values for encrypt,
- * decrypt, and sign operations on a CryptoKey or KeyAccessJustificationsPolicyConfig (the default
- * Key Access Justifications policy).
+ * decrypt, and sign operations on a CryptoKey.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -33,20 +32,16 @@
public final class KeyAccessJustificationsPolicy extends com.google.api.client.json.GenericJson {
/**
- * The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
- * has a different meaning depending on where this message appears. If this is under
- * KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
- * deny-all.
+ * The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
+ * encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List allowedAccessReasons;
/**
- * The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
- * has a different meaning depending on where this message appears. If this is under
- * KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
- * deny-all.
+ * The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
+ * encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
* @return value or {@code null} for none
*/
public java.util.List getAllowedAccessReasons() {
@@ -54,10 +49,8 @@ public java.util.List getAllowedAccessReasons() {
}
/**
- * The list of allowed reasons for access to a CryptoKey. Note that empty allowed_access_reasons
- * has a different meaning depending on where this message appears. If this is under
- * KeyAccessJustificationsPolicyConfig, it means allow-all. If this is under CryptoKey, it means
- * deny-all.
+ * The list of allowed reasons for access to a CryptoKey. Zero allowed access reasons means all
+ * encrypt, decrypt, and sign operations for the CryptoKey associated with this policy will fail.
* @param allowedAccessReasons allowedAccessReasons or {@code null} for none
*/
public KeyAccessJustificationsPolicy setAllowedAccessReasons(java.util.List allowedAccessReasons) {
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicyConfig.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicyConfig.java
index 30fff911151..c4ac231d33d 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicyConfig.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyAccessJustificationsPolicyConfig.java
@@ -17,7 +17,7 @@
package com.google.api.services.cloudkms.v1.model;
/**
- * Represents a singleton configuration for Key Access Justifications policies.
+ * A singleton configuration for Key Access Justifications policies.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Key Management Service (KMS) API. For a
@@ -31,41 +31,26 @@
public final class KeyAccessJustificationsPolicyConfig extends com.google.api.client.json.GenericJson {
/**
- * Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
- * created in this folder. This is only used when a Key Access Justifications policy is not
- * provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
- * this field is unset, or is set but contains an empty allowed_access_reasons list, no default
- * Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
- * created keys will default to an "allow-all" policy.
+ * Optional. The default key access justification policy used when a CryptoKey is created in this
+ * folder. This is only used when a Key Access Justifications policy is not provided in the
+ * CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private KeyAccessJustificationsPolicy defaultKeyAccessJustificationPolicy;
/**
- * Output only. Indicates whether this parent resource is available to default policy feature.
- * Please consult [the prerequisite of default policy feature](https://cloud.google.com/assured-
- * workloads/key-access-justifications/docs/set-default-policy#before) for more details.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean defaultPolicyAvailable;
-
- /**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
- * format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
- * Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
- * created in this folder. This is only used when a Key Access Justifications policy is not
- * provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
- * this field is unset, or is set but contains an empty allowed_access_reasons list, no default
- * Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
- * created keys will default to an "allow-all" policy.
+ * Optional. The default key access justification policy used when a CryptoKey is created in this
+ * folder. This is only used when a Key Access Justifications policy is not provided in the
+ * CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
* @return value or {@code null} for none
*/
public KeyAccessJustificationsPolicy getDefaultKeyAccessJustificationPolicy() {
@@ -73,12 +58,9 @@ public KeyAccessJustificationsPolicy getDefaultKeyAccessJustificationPolicy() {
}
/**
- * Optional. Specifies the default key access justifications (KAJ) policy used when a CryptoKey is
- * created in this folder. This is only used when a Key Access Justifications policy is not
- * provided in the CreateCryptoKeyRequest. This overrides any default policies in its ancestry. If
- * this field is unset, or is set but contains an empty allowed_access_reasons list, no default
- * Key Access Justifications (KAJ) policy configuration is active. In this scenario, all newly
- * created keys will default to an "allow-all" policy.
+ * Optional. The default key access justification policy used when a CryptoKey is created in this
+ * folder. This is only used when a Key Access Justifications policy is not provided in the
+ * CreateCryptoKeyRequest. This overrides any default policies in its ancestry.
* @param defaultKeyAccessJustificationPolicy defaultKeyAccessJustificationPolicy or {@code null} for none
*/
public KeyAccessJustificationsPolicyConfig setDefaultKeyAccessJustificationPolicy(KeyAccessJustificationsPolicy defaultKeyAccessJustificationPolicy) {
@@ -87,29 +69,8 @@ public KeyAccessJustificationsPolicyConfig setDefaultKeyAccessJustificationPolic
}
/**
- * Output only. Indicates whether this parent resource is available to default policy feature.
- * Please consult [the prerequisite of default policy feature](https://cloud.google.com/assured-
- * workloads/key-access-justifications/docs/set-default-policy#before) for more details.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getDefaultPolicyAvailable() {
- return defaultPolicyAvailable;
- }
-
- /**
- * Output only. Indicates whether this parent resource is available to default policy feature.
- * Please consult [the prerequisite of default policy feature](https://cloud.google.com/assured-
- * workloads/key-access-justifications/docs/set-default-policy#before) for more details.
- * @param defaultPolicyAvailable defaultPolicyAvailable or {@code null} for none
- */
- public KeyAccessJustificationsPolicyConfig setDefaultPolicyAvailable(java.lang.Boolean defaultPolicyAvailable) {
- this.defaultPolicyAvailable = defaultPolicyAvailable;
- return this;
- }
-
- /**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
- * format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @return value or {@code null} for none
*/
public java.lang.String getName() {
@@ -117,8 +78,8 @@ public java.lang.String getName() {
}
/**
- * Identifier. Represents the resource name for this KeyAccessJustificationsPolicyConfig in the
- * format of "{organizations|folders|projects}/kajPolicyConfig".
+ * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig in the format of
+ * "{organizations|folders|projects}/kajPolicyConfig".
* @param name name or {@code null} for none
*/
public KeyAccessJustificationsPolicyConfig setName(java.lang.String name) {
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyRing.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyRing.java
index 7236eceb6b3..0362530aec4 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyRing.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/KeyRing.java
@@ -35,7 +35,7 @@ public final class KeyRing extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The resource name for the KeyRing in the format `projects/locations/keyRings`.
@@ -48,7 +48,7 @@ public final class KeyRing extends com.google.api.client.json.GenericJson {
* Output only. The time at which this KeyRing was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -56,7 +56,7 @@ public String getCreateTime() {
* Output only. The time at which this KeyRing was created.
* @param createTime createTime or {@code null} for none
*/
- public KeyRing setCreateTime(String createTime) {
+ public KeyRing setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/RetiredResource.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/RetiredResource.java
index 072acc64732..9c3b45ec7b5 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/RetiredResource.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/RetiredResource.java
@@ -38,7 +38,7 @@ public final class RetiredResource extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Output only. Identifier. The resource name for this RetiredResource in the format
@@ -68,7 +68,7 @@ public final class RetiredResource extends com.google.api.client.json.GenericJso
* record was created.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -77,7 +77,7 @@ public String getDeleteTime() {
* record was created.
* @param deleteTime deleteTime or {@code null} for none
*/
- public RetiredResource setDeleteTime(String deleteTime) {
+ public RetiredResource setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SetIamPolicyRequest.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SetIamPolicyRequest.java
index ece5f6d2f04..eb651857529 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SetIamPolicyRequest.java
@@ -46,7 +46,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -75,7 +75,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -85,7 +85,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse.java
index b7a84d3726d..53ac9308756 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse.java
@@ -17,7 +17,7 @@
package com.google.api.services.cloudkms.v1.model;
/**
- * Represents a response message for
+ * Response message for
* KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig
*
*
This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -32,28 +32,28 @@
public final class ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse extends com.google.api.client.json.GenericJson {
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for external keys.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private KeyAccessJustificationsEnrollmentConfig externalConfig;
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private KeyAccessJustificationsEnrollmentConfig hardwareConfig;
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for software keys.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private KeyAccessJustificationsEnrollmentConfig softwareConfig;
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for external keys.
* @return value or {@code null} for none
*/
public KeyAccessJustificationsEnrollmentConfig getExternalConfig() {
@@ -61,7 +61,7 @@ public KeyAccessJustificationsEnrollmentConfig getExternalConfig() {
}
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for external keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for external keys.
* @param externalConfig externalConfig or {@code null} for none
*/
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setExternalConfig(KeyAccessJustificationsEnrollmentConfig externalConfig) {
@@ -70,7 +70,7 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setExternalC
}
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
* @return value or {@code null} for none
*/
public KeyAccessJustificationsEnrollmentConfig getHardwareConfig() {
@@ -78,7 +78,7 @@ public KeyAccessJustificationsEnrollmentConfig getHardwareConfig() {
}
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for hardware keys.
* @param hardwareConfig hardwareConfig or {@code null} for none
*/
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setHardwareConfig(KeyAccessJustificationsEnrollmentConfig hardwareConfig) {
@@ -87,7 +87,7 @@ public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setHardwareC
}
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for software keys.
* @return value or {@code null} for none
*/
public KeyAccessJustificationsEnrollmentConfig getSoftwareConfig() {
@@ -95,7 +95,7 @@ public KeyAccessJustificationsEnrollmentConfig getSoftwareConfig() {
}
/**
- * Contains the effective KeyAccessJustificationsEnrollmentConfig for software keys.
+ * The effective KeyAccessJustificationsEnrollmentConfig for software keys.
* @param softwareConfig softwareConfig or {@code null} for none
*/
public ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse setSoftwareConfig(KeyAccessJustificationsEnrollmentConfig softwareConfig) {
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsPolicyConfigResponse.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsPolicyConfigResponse.java
index 9da5749eb6d..9ca23298ae7 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsPolicyConfigResponse.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/ShowEffectiveKeyAccessJustificationsPolicyConfigResponse.java
@@ -17,7 +17,7 @@
package com.google.api.services.cloudkms.v1.model;
/**
- * Represents a response message for
+ * Response message for
* KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig.
*
*
This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -32,14 +32,14 @@
public final class ShowEffectiveKeyAccessJustificationsPolicyConfigResponse extends com.google.api.client.json.GenericJson {
/**
- * Contains the effective KeyAccessJustificationsPolicyConfig.
+ * The effective KeyAccessJustificationsPolicyConfig.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private KeyAccessJustificationsPolicyConfig effectiveKajPolicy;
/**
- * Contains the effective KeyAccessJustificationsPolicyConfig.
+ * The effective KeyAccessJustificationsPolicyConfig.
* @return value or {@code null} for none
*/
public KeyAccessJustificationsPolicyConfig getEffectiveKajPolicy() {
@@ -47,7 +47,7 @@ public KeyAccessJustificationsPolicyConfig getEffectiveKajPolicy() {
}
/**
- * Contains the effective KeyAccessJustificationsPolicyConfig.
+ * The effective KeyAccessJustificationsPolicyConfig.
* @param effectiveKajPolicy effectiveKajPolicy or {@code null} for none
*/
public ShowEffectiveKeyAccessJustificationsPolicyConfigResponse setEffectiveKajPolicy(KeyAccessJustificationsPolicyConfig effectiveKajPolicy) {
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstance.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstance.java
index ed24501dd14..2bbdba914b1 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstance.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstance.java
@@ -37,14 +37,14 @@ public final class SingleTenantHsmInstance extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time at which the SingleTenantHsmInstance was deleted.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Output only. The time at which the instance will be automatically disabled if not refreshed.
@@ -54,7 +54,7 @@ public final class SingleTenantHsmInstance extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String disableTime;
+ private java.lang.String disableTime;
/**
* Identifier. The resource name for this SingleTenantHsmInstance in the format
@@ -84,13 +84,13 @@ public final class SingleTenantHsmInstance extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String unrefreshedDurationUntilDisable;
+ private java.lang.String unrefreshedDurationUntilDisable;
/**
* Output only. The time at which the SingleTenantHsmInstance was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -98,7 +98,7 @@ public String getCreateTime() {
* Output only. The time at which the SingleTenantHsmInstance was created.
* @param createTime createTime or {@code null} for none
*/
- public SingleTenantHsmInstance setCreateTime(String createTime) {
+ public SingleTenantHsmInstance setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -107,7 +107,7 @@ public SingleTenantHsmInstance setCreateTime(String createTime) {
* Output only. The time at which the SingleTenantHsmInstance was deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -115,7 +115,7 @@ public String getDeleteTime() {
* Output only. The time at which the SingleTenantHsmInstance was deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public SingleTenantHsmInstance setDeleteTime(String deleteTime) {
+ public SingleTenantHsmInstance setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -127,7 +127,7 @@ public SingleTenantHsmInstance setDeleteTime(String deleteTime) {
* before this time otherwise the SingleTenantHsmInstance will become disabled.
* @return value or {@code null} for none
*/
- public String getDisableTime() {
+ public java.lang.String getDisableTime() {
return disableTime;
}
@@ -138,7 +138,7 @@ public String getDisableTime() {
* before this time otherwise the SingleTenantHsmInstance will become disabled.
* @param disableTime disableTime or {@code null} for none
*/
- public SingleTenantHsmInstance setDisableTime(String disableTime) {
+ public SingleTenantHsmInstance setDisableTime(java.lang.String disableTime) {
this.disableTime = disableTime;
return this;
}
@@ -201,7 +201,7 @@ public SingleTenantHsmInstance setState(java.lang.String state) {
* automatically disabled. This will have a value of 120 days.
* @return value or {@code null} for none
*/
- public String getUnrefreshedDurationUntilDisable() {
+ public java.lang.String getUnrefreshedDurationUntilDisable() {
return unrefreshedDurationUntilDisable;
}
@@ -210,7 +210,7 @@ public String getUnrefreshedDurationUntilDisable() {
* automatically disabled. This will have a value of 120 days.
* @param unrefreshedDurationUntilDisable unrefreshedDurationUntilDisable or {@code null} for none
*/
- public SingleTenantHsmInstance setUnrefreshedDurationUntilDisable(String unrefreshedDurationUntilDisable) {
+ public SingleTenantHsmInstance setUnrefreshedDurationUntilDisable(java.lang.String unrefreshedDurationUntilDisable) {
this.unrefreshedDurationUntilDisable = unrefreshedDurationUntilDisable;
return this;
}
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstanceProposal.java b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstanceProposal.java
index 985b407a0c7..c9411774043 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstanceProposal.java
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/com/google/api/services/cloudkms/v1/model/SingleTenantHsmInstanceProposal.java
@@ -44,7 +44,7 @@ public final class SingleTenantHsmInstanceProposal extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Delete the SingleTenantHsmInstance. Deleting a SingleTenantHsmInstance will make all CryptoKeys
@@ -60,7 +60,7 @@ public final class SingleTenantHsmInstanceProposal extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Disable the SingleTenantHsmInstance. The SingleTenantHsmInstance must be in the ACTIVE state to
@@ -83,7 +83,7 @@ public final class SingleTenantHsmInstanceProposal extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Output only. The root cause of the most recent failure. Only present if state is FAILED.
@@ -107,7 +107,7 @@ public final class SingleTenantHsmInstanceProposal extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String purgeTime;
+ private java.lang.String purgeTime;
/**
* Output only. The quorum approval parameters for the SingleTenantHsmInstanceProposal.
@@ -164,7 +164,7 @@ public final class SingleTenantHsmInstanceProposal extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* Add a quorum member to the SingleTenantHsmInstance. This will increase the total_approver_count
@@ -189,7 +189,7 @@ public SingleTenantHsmInstanceProposal setAddQuorumMember(AddQuorumMember addQuo
* Output only. The time at which the SingleTenantHsmInstanceProposal was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -197,7 +197,7 @@ public String getCreateTime() {
* Output only. The time at which the SingleTenantHsmInstanceProposal was created.
* @param createTime createTime or {@code null} for none
*/
- public SingleTenantHsmInstanceProposal setCreateTime(String createTime) {
+ public SingleTenantHsmInstanceProposal setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -227,7 +227,7 @@ public SingleTenantHsmInstanceProposal setDeleteSingleTenantHsmInstance(DeleteSi
* Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -235,7 +235,7 @@ public String getDeleteTime() {
* Output only. The time at which the SingleTenantHsmInstanceProposal was deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public SingleTenantHsmInstanceProposal setDeleteTime(String deleteTime) {
+ public SingleTenantHsmInstanceProposal setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -282,7 +282,7 @@ public SingleTenantHsmInstanceProposal setEnableSingleTenantHsmInstance(EnableSi
* The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -290,7 +290,7 @@ public String getExpireTime() {
* The time at which the SingleTenantHsmInstanceProposal will expire if not approved and executed.
* @param expireTime expireTime or {@code null} for none
*/
- public SingleTenantHsmInstanceProposal setExpireTime(String expireTime) {
+ public SingleTenantHsmInstanceProposal setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
@@ -337,7 +337,7 @@ public SingleTenantHsmInstanceProposal setName(java.lang.String name) {
* time after expiration of the proposal, i.e. >= expire_time or (create_time + ttl).
* @return value or {@code null} for none
*/
- public String getPurgeTime() {
+ public java.lang.String getPurgeTime() {
return purgeTime;
}
@@ -347,7 +347,7 @@ public String getPurgeTime() {
* time after expiration of the proposal, i.e. >= expire_time or (create_time + ttl).
* @param purgeTime purgeTime or {@code null} for none
*/
- public SingleTenantHsmInstanceProposal setPurgeTime(String purgeTime) {
+ public SingleTenantHsmInstanceProposal setPurgeTime(java.lang.String purgeTime) {
this.purgeTime = purgeTime;
return this;
}
@@ -473,7 +473,7 @@ public SingleTenantHsmInstanceProposal setState(java.lang.String state) {
* duration.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -482,7 +482,7 @@ public String getTtl() {
* duration.
* @param ttl ttl or {@code null} for none
*/
- public SingleTenantHsmInstanceProposal setTtl(String ttl) {
+ public SingleTenantHsmInstanceProposal setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-cloudkms/v1/2.0.0/pom.xml b/clients/google-api-services-cloudkms/v1/2.0.0/pom.xml
index f274f32b621..36e71a12fbc 100644
--- a/clients/google-api-services-cloudkms/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-cloudkms/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-cloudkms
- v1-rev20260319-2.0.0
- Cloud Key Management Service (KMS) API v1-rev20260319-2.0.0
+ v1-rev20260219-2.0.0
+ Cloud Key Management Service (KMS) API v1-rev20260219-2.0.0
jar
2011
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/CreateProjectMetadata.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/CreateProjectMetadata.java
index c37f5b17341..8a61b2f019e 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/CreateProjectMetadata.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/CreateProjectMetadata.java
@@ -37,7 +37,7 @@ public final class CreateProjectMetadata extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* True if the project can be retrieved using `GetProject`. No other operations on the project are
@@ -58,7 +58,7 @@ public final class CreateProjectMetadata extends com.google.api.client.json.Gene
* Creation time of the project creation workflow.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -66,7 +66,7 @@ public String getCreateTime() {
* Creation time of the project creation workflow.
* @param createTime createTime or {@code null} for none
*/
- public CreateProjectMetadata setCreateTime(String createTime) {
+ public CreateProjectMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Lien.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Lien.java
index 3c6d42c94ec..d4b6091a85f 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Lien.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Lien.java
@@ -35,7 +35,7 @@ public final class Lien extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* A system-generated unique identifier for this Lien. Example: `liens/1234abcd`
@@ -82,7 +82,7 @@ public final class Lien extends com.google.api.client.json.GenericJson {
* The creation time of this Lien.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -90,7 +90,7 @@ public String getCreateTime() {
* The creation time of this Lien.
* @param createTime createTime or {@code null} for none
*/
- public Lien setCreateTime(String createTime) {
+ public Lien setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/OrgPolicy.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/OrgPolicy.java
index 7d8d2be5e0e..dfcb1f59adc 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/OrgPolicy.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/OrgPolicy.java
@@ -83,7 +83,7 @@ public final class OrgPolicy extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Version of the `Policy`. Default version is 0;
@@ -245,7 +245,7 @@ public OrgPolicy setRestoreDefault(RestoreDefault restoreDefault) {
* Any value set by the client will be ignored.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -255,7 +255,7 @@ public String getUpdateTime() {
* Any value set by the client will be ignored.
* @param updateTime updateTime or {@code null} for none
*/
- public OrgPolicy setUpdateTime(String updateTime) {
+ public OrgPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Organization.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Organization.java
index 751d8b55e78..a16ef530aee 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Organization.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Organization.java
@@ -36,7 +36,7 @@ public final class Organization extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String creationTime;
+ private java.lang.String creationTime;
/**
* A human-readable string that refers to the Organization in the Google Cloud console. This
@@ -74,7 +74,7 @@ public final class Organization extends com.google.api.client.json.GenericJson {
* Timestamp when the Organization was created. Assigned by the server.
* @return value or {@code null} for none
*/
- public String getCreationTime() {
+ public java.lang.String getCreationTime() {
return creationTime;
}
@@ -82,7 +82,7 @@ public String getCreationTime() {
* Timestamp when the Organization was created. Assigned by the server.
* @param creationTime creationTime or {@code null} for none
*/
- public Organization setCreationTime(String creationTime) {
+ public Organization setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java
index 37150060a09..80be3f6cc9b 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/Project.java
@@ -45,7 +45,7 @@ public final class Project extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The labels associated with this Project. Label keys must be between 1 and 63 characters long
@@ -135,7 +135,7 @@ public Project setConfiguredCapabilities(java.util.List config
* Creation time. Read-only.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -143,7 +143,7 @@ public String getCreateTime() {
* Creation time. Read-only.
* @param createTime createTime or {@code null} for none
*/
- public Project setCreateTime(String createTime) {
+ public Project setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/ProjectCreationStatus.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/ProjectCreationStatus.java
index 5a24c12d8aa..0a9ffc3d738 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/ProjectCreationStatus.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/ProjectCreationStatus.java
@@ -37,7 +37,7 @@ public final class ProjectCreationStatus extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* True if the project can be retrieved using GetProject. No other operations on the project are
@@ -58,7 +58,7 @@ public final class ProjectCreationStatus extends com.google.api.client.json.Gene
* Creation time of the project creation workflow.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -66,7 +66,7 @@ public String getCreateTime() {
* Creation time of the project creation workflow.
* @param createTime createTime or {@code null} for none
*/
- public ProjectCreationStatus setCreateTime(String createTime) {
+ public ProjectCreationStatus setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/SetIamPolicyRequest.java b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/SetIamPolicyRequest.java
index 786ec2d9ce7..dd94b09e932 100644
--- a/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-cloudresourcemanager/v1/2.0.0/com/google/api/services/cloudresourcemanager/model/SetIamPolicyRequest.java
@@ -46,7 +46,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -75,7 +75,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -85,7 +85,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/CloudTrace.java b/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/CloudTrace.java
index 55bff88cb77..432f1008a88 100644
--- a/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/CloudTrace.java
+++ b/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/CloudTrace.java
@@ -563,12 +563,12 @@ public List setProjectId(java.lang.String projectId) {
* application.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/** End of the time interval (inclusive) during which the trace data was collected from the
application.
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -576,7 +576,7 @@ public String getEndTime() {
* End of the time interval (inclusive) during which the trace data was collected from the
* application.
*/
- public List setEndTime(String endTime) {
+ public List setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -689,12 +689,12 @@ public List setPageToken(java.lang.String pageToken) {
* application.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/** Start of the time interval (inclusive) during which the trace data was collected from the
application.
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -702,7 +702,7 @@ public String getStartTime() {
* Start of the time interval (inclusive) during which the trace data was collected from the
* application.
*/
- public List setStartTime(String startTime) {
+ public List setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/model/TraceSpan.java b/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/model/TraceSpan.java
index 47153cb1a76..03e205fed96 100644
--- a/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/model/TraceSpan.java
+++ b/clients/google-api-services-cloudtrace/v1/2.0.0/com/google/api/services/cloudtrace/v1/model/TraceSpan.java
@@ -37,7 +37,7 @@ public final class TraceSpan extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Distinguishes between spans generated in a particular context. For example, two spans with the
@@ -88,13 +88,13 @@ public final class TraceSpan extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* End time of the span in seconds and nanoseconds from the UNIX epoch.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -102,7 +102,7 @@ public String getEndTime() {
* End time of the span in seconds and nanoseconds from the UNIX epoch.
* @param endTime endTime or {@code null} for none
*/
- public TraceSpan setEndTime(String endTime) {
+ public TraceSpan setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -214,7 +214,7 @@ public TraceSpan setSpanId(java.math.BigInteger spanId) {
* Start time of the span in seconds and nanoseconds from the UNIX epoch.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -222,7 +222,7 @@ public String getStartTime() {
* Start time of the span in seconds and nanoseconds from the UNIX epoch.
* @param startTime startTime or {@code null} for none
*/
- public TraceSpan setStartTime(String startTime) {
+ public TraceSpan setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/README.md b/clients/google-api-services-dataform/v1/2.0.0/README.md
index 32e2709a492..0bfd4d4845b 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/README.md
+++ b/clients/google-api-services-dataform/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-dataform
- v1-rev20260326-2.0.0
+ v1-rev20260217-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-dataform:v1-rev20260326-2.0.0'
+ implementation 'com.google.apis:google-api-services-dataform:v1-rev20260217-2.0.0'
}
```
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java
index b151580eb96..d399dfa7d08 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/Dataform.java
@@ -451,14 +451,10 @@ public GetConfig set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -482,15 +478,10 @@ public class List extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+location}:queryUserRootContents";
-
- private final java.util.regex.Pattern LOCATION_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
-
- /**
- * Returns the contents of a caller's root folder in a given location. The root folder contains
- * all resources that are created by the user and not contained in any other folder.
- *
- * Create a request for the method "locations.queryUserRootContents".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link QueryUserRootContents#execute()} method to invoke the
- * remote operation. {@link QueryUserRootContents#initialize(com.google.api.client.googleapis.
- * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
- *
- * @param location Required. Location of the user root folder whose contents to list. Format: projects/locations
- * @since 1.13
- */
- protected QueryUserRootContents(java.lang.String location) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryUserRootContentsResponse.class);
- this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
- "Parameter location must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public QueryUserRootContents set$Xgafv(java.lang.String $Xgafv) {
- return (QueryUserRootContents) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public QueryUserRootContents setAccessToken(java.lang.String accessToken) {
- return (QueryUserRootContents) super.setAccessToken(accessToken);
- }
-
- @Override
- public QueryUserRootContents setAlt(java.lang.String alt) {
- return (QueryUserRootContents) super.setAlt(alt);
- }
-
- @Override
- public QueryUserRootContents setCallback(java.lang.String callback) {
- return (QueryUserRootContents) super.setCallback(callback);
- }
-
- @Override
- public QueryUserRootContents setFields(java.lang.String fields) {
- return (QueryUserRootContents) super.setFields(fields);
- }
-
- @Override
- public QueryUserRootContents setKey(java.lang.String key) {
- return (QueryUserRootContents) super.setKey(key);
- }
-
- @Override
- public QueryUserRootContents setOauthToken(java.lang.String oauthToken) {
- return (QueryUserRootContents) super.setOauthToken(oauthToken);
- }
-
- @Override
- public QueryUserRootContents setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (QueryUserRootContents) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public QueryUserRootContents setQuotaUser(java.lang.String quotaUser) {
- return (QueryUserRootContents) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public QueryUserRootContents setUploadType(java.lang.String uploadType) {
- return (QueryUserRootContents) super.setUploadType(uploadType);
- }
-
- @Override
- public QueryUserRootContents setUploadProtocol(java.lang.String uploadProtocol) {
- return (QueryUserRootContents) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Location of the user root folder whose contents to list. Format:
- * projects/locations
- */
- @com.google.api.client.util.Key
- private java.lang.String location;
-
- /** Required. Location of the user root folder whose contents to list. Format: projects/locations
- */
- public java.lang.String getLocation() {
- return location;
- }
-
- /**
- * Required. Location of the user root folder whose contents to list. Format:
- * projects/locations
- */
- public QueryUserRootContents setLocation(java.lang.String location) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
- "Parameter location must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.location = location;
- return this;
- }
-
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only supported
- * on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Optional filtering for the returned list. Filtering is currently only supported on the
- `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only supported
- * on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public QueryUserRootContents setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. Field to additionally sort results by. Will order Folders before Repositories,
- * and then by `order_by` in ascending order. Supported keywords: display_name (default),
- * created_at, last_modified_at. Examples: - `orderBy="display_name"` -
- * `orderBy="display_name desc"`
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. Field to additionally sort results by. Will order Folders before Repositories, and then
- by `order_by` in ascending order. Supported keywords: display_name (default), created_at,
- last_modified_at. Examples: - `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /**
- * Optional. Field to additionally sort results by. Will order Folders before Repositories,
- * and then by `order_by` in ascending order. Supported keywords: display_name (default),
- * created_at, last_modified_at. Examples: - `orderBy="display_name"` -
- * `orderBy="display_name desc"`
- */
- public QueryUserRootContents setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
-
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
- unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- public QueryUserRootContents setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `QueryUserRootContents` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryUserRootFolderContents`, with the exception of `page_size`, must match the call
- * that provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `QueryUserRootContents` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryUserRootFolderContents`, with the exception of `page_size`, must match the call that provided
- the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `QueryUserRootContents` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryUserRootFolderContents`, with the exception of `page_size`, must match the call
- * that provided the page token.
- */
- public QueryUserRootContents setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public QueryUserRootContents set(String parameterName, Object value) {
- return (QueryUserRootContents) super.set(parameterName, value);
- }
- }
/**
* Update default config for a given project and location. **Note:** *This method does not fully
* implement [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad
@@ -1075,16 +815,16 @@ public UpdateConfig setName(java.lang.String name) {
/** Optional. Specifies the fields to be updated in the config. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. Specifies the fields to be updated in the config.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Optional. Specifies the fields to be updated in the config. */
- public UpdateConfig setUpdateMask(String updateMask) {
+ public UpdateConfig setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -1116,1752 +856,1629 @@ public Folders folders() {
public class Folders {
/**
- * Creates a new Folder in a given project and location.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "folders.create".
+ * Create a request for the method "folders.getIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param parent Required. The location in which to create the Folder. Must be in the format `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Folder}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.Folder content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class GetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/folders";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
/**
- * Creates a new Folder in a given project and location.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "folders.create".
+ * Create a request for the method "folders.getIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- * {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The location in which to create the Folder. Must be in the format `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Folder}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.Folder content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Folder.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The location in which to create the Folder. Must be in the format
- * `projects/locations`.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String resource;
- /** Required. The location in which to create the Folder. Must be in the format `projects/locations`.
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Required. The location in which to create the Folder. Must be in the format
- * `projects/locations`.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Create setParent(java.lang.String parent) {
+ public GetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
- this.parent = parent;
+ this.resource = resource;
+ return this;
+ }
+
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
+
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
+ }
+
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Deletes a single Folder.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "folders.delete".
+ * Create a request for the method "folders.setIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param name Required. The Folder's name.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
initialize(result);
return result;
}
- public class Delete extends DataformRequest {
+ public class SetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
/**
- * Deletes a single Folder.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "folders.delete".
+ * Create a request for the method "folders.setIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- * {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The Folder's name.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The Folder's name. */
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. The Folder's name.
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Required. The Folder's name. */
- public Delete setName(java.lang.String name) {
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public SetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Deletes a Folder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and
- * WorkflowConfigs).
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "folders.deleteTree".
+ * Create a request for the method "folders.testIamPermissions".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link DeleteTree#execute()} method to invoke the remote operation.
+ * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
*
- * @param name Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
- * @param content the {@link com.google.api.services.dataform.v1.model.DeleteFolderTreeRequest}
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
* @return the request
*/
- public DeleteTree deleteTree(java.lang.String name, com.google.api.services.dataform.v1.model.DeleteFolderTreeRequest content) throws java.io.IOException {
- DeleteTree result = new DeleteTree(name, content);
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
initialize(result);
return result;
}
- public class DeleteTree extends DataformRequest {
+ public class TestIamPermissions extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:deleteTree";
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
/**
- * Deletes a Folder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and
- * WorkflowConfigs).
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "folders.deleteTree".
+ * Create a request for the method "folders.testIamPermissions".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link DeleteTree#execute()} method to invoke the remote
- * operation. {@link
- * DeleteTree#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
- * @param name Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
- * @param content the {@link com.google.api.services.dataform.v1.model.DeleteFolderTreeRequest}
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
* @since 1.13
*/
- protected DeleteTree(java.lang.String name, com.google.api.services.dataform.v1.model.DeleteFolderTreeRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
}
@Override
- public DeleteTree set$Xgafv(java.lang.String $Xgafv) {
- return (DeleteTree) super.set$Xgafv($Xgafv);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public DeleteTree setAccessToken(java.lang.String accessToken) {
- return (DeleteTree) super.setAccessToken(accessToken);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public DeleteTree setAlt(java.lang.String alt) {
- return (DeleteTree) super.setAlt(alt);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public DeleteTree setCallback(java.lang.String callback) {
- return (DeleteTree) super.setCallback(callback);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public DeleteTree setFields(java.lang.String fields) {
- return (DeleteTree) super.setFields(fields);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public DeleteTree setKey(java.lang.String key) {
- return (DeleteTree) super.setKey(key);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public DeleteTree setOauthToken(java.lang.String oauthToken) {
- return (DeleteTree) super.setOauthToken(oauthToken);
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
@Override
- public DeleteTree setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (DeleteTree) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
@Override
- public DeleteTree setQuotaUser(java.lang.String quotaUser) {
- return (DeleteTree) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
}
@Override
- public DeleteTree setUploadType(java.lang.String uploadType) {
- return (DeleteTree) super.setUploadType(uploadType);
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
@Override
- public DeleteTree setUploadProtocol(java.lang.String uploadProtocol) {
- return (DeleteTree) super.setUploadProtocol(uploadProtocol);
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The Folder's name. Format:
- * projects/{project}/locations/{location}/folders/{folder}
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. The Folder's name. Format: projects/{project}/locations/{location}/folders/{folder}
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Required. The Folder's name. Format:
- * projects/{project}/locations/{location}/folders/{folder}
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public DeleteTree setName(java.lang.String name) {
+ public TestIamPermissions setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
@Override
- public DeleteTree set(String parameterName, Object value) {
- return (DeleteTree) super.set(parameterName, value);
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
}
+
+ }
+ /**
+ * An accessor for creating requests from the Operations collection.
+ *
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.Operations.List request = dataform.operations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Operations operations() {
+ return new Operations();
+ }
+
+ /**
+ * The "operations" collection of methods.
+ */
+ public class Operations {
+
/**
- * Fetches a single Folder.
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
+ * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
+ * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
+ * methods to check whether the cancellation succeeded or whether the operation completed despite
+ * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
+ * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
+ * `Code.CANCELLED`.
*
- * Create a request for the method "folders.get".
+ * Create a request for the method "operations.cancel".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
*
- * @param name Required. The Folder's name.
+ * @param name The name of the operation resource to be cancelled.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CancelOperationRequest}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public Cancel cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelOperationRequest content) throws java.io.IOException {
+ Cancel result = new Cancel(name, content);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class Cancel extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}:cancel";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
/**
- * Fetches a single Folder.
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
+ * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
+ * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
+ * methods to check whether the cancellation succeeded or whether the operation completed despite
+ * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
+ * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
+ * `Code.CANCELLED`.
*
- * Create a request for the method "folders.get".
+ * Create a request for the method "operations.cancel".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ * {@link
+ * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The Folder's name.
+ * @param name The name of the operation resource to be cancelled.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CancelOperationRequest}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Folder.class);
+ protected Cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelOperationRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Empty.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public Cancel set$Xgafv(java.lang.String $Xgafv) {
+ return (Cancel) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public Cancel setAccessToken(java.lang.String accessToken) {
+ return (Cancel) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public Cancel setAlt(java.lang.String alt) {
+ return (Cancel) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public Cancel setCallback(java.lang.String callback) {
+ return (Cancel) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public Cancel setFields(java.lang.String fields) {
+ return (Cancel) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public Cancel setKey(java.lang.String key) {
+ return (Cancel) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public Cancel setOauthToken(java.lang.String oauthToken) {
+ return (Cancel) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Cancel) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public Cancel setQuotaUser(java.lang.String quotaUser) {
+ return (Cancel) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public Cancel setUploadType(java.lang.String uploadType) {
+ return (Cancel) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Cancel) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The Folder's name. */
+ /** The name of the operation resource to be cancelled. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The Folder's name.
+ /** The name of the operation resource to be cancelled.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The Folder's name. */
- public Get setName(java.lang.String name) {
+ /** The name of the operation resource to be cancelled. */
+ public Cancel setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
this.name = name;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public Cancel set(String parameterName, Object value) {
+ return (Cancel) super.set(parameterName, value);
}
}
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
- * does not have a policy set.
+ * Deletes a long-running operation. This method indicates that the client is no longer interested
+ * in the operation result. It does not cancel the operation. If the server doesn't support this
+ * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*
- * Create a request for the method "folders.getIamPolicy".
+ * Create a request for the method "operations.delete".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
+ * @param name The name of the operation resource to be deleted.
* @return the request
*/
- public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
- GetIamPolicy result = new GetIamPolicy(resource);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class GetIamPolicy extends DataformRequest {
+ public class Delete extends DataformRequest {
- private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists
- * and does not have a policy set.
+ * Deletes a long-running operation. This method indicates that the client is no longer interested
+ * in the operation result. It does not cancel the operation. If the server doesn't support this
+ * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*
- * Create a request for the method "folders.getIamPolicy".
+ * Create a request for the method "operations.delete".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
+ * @param name The name of the operation resource to be deleted.
* @since 1.13
*/
- protected GetIamPolicy(java.lang.String resource) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ protected Delete(java.lang.String name) {
+ super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (GetIamPolicy) super.set$Xgafv($Xgafv);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public GetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (GetIamPolicy) super.setAccessToken(accessToken);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public GetIamPolicy setAlt(java.lang.String alt) {
- return (GetIamPolicy) super.setAlt(alt);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public GetIamPolicy setCallback(java.lang.String callback) {
- return (GetIamPolicy) super.setCallback(callback);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public GetIamPolicy setFields(java.lang.String fields) {
- return (GetIamPolicy) super.setFields(fields);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public GetIamPolicy setKey(java.lang.String key) {
- return (GetIamPolicy) super.setKey(key);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (GetIamPolicy) super.setOauthToken(oauthToken);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
}
- @Override
- public GetIamPolicy setUploadType(java.lang.String uploadType) {
- return (GetIamPolicy) super.setUploadType(uploadType);
- }
+ /** The name of the operation resource to be deleted. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- @Override
- public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ /** The name of the operation resource to be deleted.
+ */
+ public java.lang.String getName() {
+ return name;
}
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
-
- /** REQUIRED: The resource for which the policy is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
-
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public GetIamPolicy setResource(java.lang.String resource) {
+ /** The name of the operation resource to be deleted. */
+ public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
- this.resource = resource;
- return this;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- @com.google.api.client.util.Key("options.requestedPolicyVersion")
- private java.lang.Integer optionsRequestedPolicyVersion;
-
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
- and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
- conditional role bindings must specify version 3. Policies with no conditional role bindings may
- specify any valid value or leave the field unset. The policy in the response might use the policy
- version that you specified, or it might use a lower policy version. For example, if you specify
- version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
- which resources support conditions in their IAM policies, see the [IAM
- documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public java.lang.Integer getOptionsRequestedPolicyVersion() {
- return optionsRequestedPolicyVersion;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
- this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
+ this.name = name;
return this;
}
@Override
- public GetIamPolicy set(String parameterName, Object value) {
- return (GetIamPolicy) super.set(parameterName, value);
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
}
}
/**
- * Moves a Folder to a new Folder, TeamFolder, or the root location.
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the
+ * operation result at intervals as recommended by the API service.
*
- * Create a request for the method "folders.move".
+ * Create a request for the method "operations.get".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Move#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param name Required. The full resource name of the Folder to move.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveFolderRequest}
+ * @param name The name of the operation resource.
* @return the request
*/
- public Move move(java.lang.String name, com.google.api.services.dataform.v1.model.MoveFolderRequest content) throws java.io.IOException {
- Move result = new Move(name, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Move extends DataformRequest {
+ public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:move";
+ private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
/**
- * Moves a Folder to a new Folder, TeamFolder, or the root location.
+ * Gets the latest state of a long-running operation. Clients can use this method to poll the
+ * operation result at intervals as recommended by the API service.
*
- * Create a request for the method "folders.move".
+ * Create a request for the method "operations.get".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Move#execute()} method to invoke the remote operation.
- * {@link Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The full resource name of the Folder to move.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveFolderRequest}
+ * @param name The name of the operation resource.
* @since 1.13
*/
- protected Move(java.lang.String name, com.google.api.services.dataform.v1.model.MoveFolderRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Operation.class);
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Operation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
}
@Override
- public Move set$Xgafv(java.lang.String $Xgafv) {
- return (Move) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public Move setAccessToken(java.lang.String accessToken) {
- return (Move) super.setAccessToken(accessToken);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public Move setAlt(java.lang.String alt) {
- return (Move) super.setAlt(alt);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public Move setCallback(java.lang.String callback) {
- return (Move) super.setCallback(callback);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public Move setFields(java.lang.String fields) {
- return (Move) super.setFields(fields);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public Move setKey(java.lang.String key) {
- return (Move) super.setKey(key);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public Move setOauthToken(java.lang.String oauthToken) {
- return (Move) super.setOauthToken(oauthToken);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public Move setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Move) super.setPrettyPrint(prettyPrint);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public Move setQuotaUser(java.lang.String quotaUser) {
- return (Move) super.setQuotaUser(quotaUser);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
@Override
- public Move setUploadType(java.lang.String uploadType) {
- return (Move) super.setUploadType(uploadType);
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
@Override
- public Move setUploadProtocol(java.lang.String uploadProtocol) {
- return (Move) super.setUploadProtocol(uploadProtocol);
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The full resource name of the Folder to move. */
+ /** The name of the operation resource. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The full resource name of the Folder to move.
+ /** The name of the operation resource.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The full resource name of the Folder to move. */
- public Move setName(java.lang.String name) {
+ /** The name of the operation resource. */
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
}
this.name = name;
return this;
}
@Override
- public Move set(String parameterName, Object value) {
- return (Move) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Updates a single Folder.
+ * Lists operations that match the specified filter in the request. If the server doesn't support
+ * this method, it returns `UNIMPLEMENTED`.
*
- * Create a request for the method "folders.patch".
+ * Create a request for the method "operations.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param name Identifier. The Folder's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.Folder}
+ * @param name The name of the operation's parent resource.
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.Folder content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public List list(java.lang.String name) throws java.io.IOException {
+ List result = new List(name);
initialize(result);
return result;
}
- public class Patch extends DataformRequest {
+ public class List extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}/operations";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Updates a single Folder.
+ * Lists operations that match the specified filter in the request. If the server doesn't support
+ * this method, it returns `UNIMPLEMENTED`.
*
- * Create a request for the method "folders.patch".
+ * Create a request for the method "operations.list".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- * {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Identifier. The Folder's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.Folder}
+ * @param name The name of the operation's parent resource.
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.Folder content) {
- super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.Folder.class);
+ protected List(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListOperationsResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
- /** Identifier. The Folder's name. */
+ /** The name of the operation's parent resource. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. The Folder's name.
+ /** The name of the operation's parent resource.
*/
public java.lang.String getName() {
return name;
}
- /** Identifier. The Folder's name. */
- public Patch setName(java.lang.String name) {
+ /** The name of the operation's parent resource. */
+ public List setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+$");
}
this.name = name;
return this;
}
- /**
- * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields
- * that can be updated, will be updated. A few fields cannot be updated and will be
- * ignored if specified in the update_mask (e.g. parent_name, team_folder_name).
- */
+ /** The standard list filter. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String filter;
- /** Optional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be
- updated, will be updated. A few fields cannot be updated and will be ignored if specified in the
- update_mask (e.g. parent_name, team_folder_name).
+ /** The standard list filter.
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.String getFilter() {
+ return filter;
}
- /**
- * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields
- * that can be updated, will be updated. A few fields cannot be updated and will be
- * ignored if specified in the update_mask (e.g. parent_name, team_folder_name).
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ /** The standard list filter. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
return this;
}
- @Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ /** The standard list page size. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** The standard list page size.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
- }
- /**
- * Returns the contents of a given Folder.
- *
- * Create a request for the method "folders.queryFolderContents".
- *
+
+ /** The standard list page size. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /** The standard list page token. */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** The standard list page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /** The standard list page token. */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ /**
+ * When set to `true`, operations that are reachable are returned as normal, and those
+ * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
+ * can only be `true` when reading across collections. For example, when `parent` is set
+ * to `"projects/example/locations/-"`. This field is not supported by default and will
+ * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
+ * service or product specific documentation.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean returnPartialSuccess;
+
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are
+ unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
+ when reading across collections. For example, when `parent` is set to
+ `"projects/example/locations/-"`. This field is not supported by default and will result in an
+ `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
+ documentation.
+ */
+ public java.lang.Boolean getReturnPartialSuccess() {
+ return returnPartialSuccess;
+ }
+
+ /**
+ * When set to `true`, operations that are reachable are returned as normal, and those
+ * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
+ * can only be `true` when reading across collections. For example, when `parent` is set
+ * to `"projects/example/locations/-"`. This field is not supported by default and will
+ * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
+ * service or product specific documentation.
+ */
+ public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
+ this.returnPartialSuccess = returnPartialSuccess;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+
+ }
+ /**
+ * An accessor for creating requests from the Repositories collection.
+ *
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.Repositories.List request = dataform.repositories().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Repositories repositories() {
+ return new Repositories();
+ }
+
+ /**
+ * The "repositories" collection of methods.
+ */
+ public class Repositories {
+
+ /**
+ * Applies a Git commit to a Repository. The Repository must not have a value for
+ * `git_remote_settings.url`.
+ *
+ * Create a request for the method "repositories.commit".
+ *
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link QueryFolderContents#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Commit#execute()} method to invoke the remote operation.
*
- * @param folder Required. Name of the folder whose contents to list. Format: projects/locations/folders
+ * @param name Required. The repository's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest}
* @return the request
*/
- public QueryFolderContents queryFolderContents(java.lang.String folder) throws java.io.IOException {
- QueryFolderContents result = new QueryFolderContents(folder);
+ public Commit commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest content) throws java.io.IOException {
+ Commit result = new Commit(name, content);
initialize(result);
return result;
}
- public class QueryFolderContents extends DataformRequest {
+ public class Commit extends DataformRequest {
- private static final String REST_PATH = "v1/{+folder}:queryFolderContents";
+ private static final String REST_PATH = "v1/{+name}:commit";
- private final java.util.regex.Pattern FOLDER_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Returns the contents of a given Folder.
+ * Applies a Git commit to a Repository. The Repository must not have a value for
+ * `git_remote_settings.url`.
*
- * Create a request for the method "folders.queryFolderContents".
+ * Create a request for the method "repositories.commit".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link QueryFolderContents#execute()} method to invoke the remote
- * operation. {@link QueryFolderContents#initialize(com.google.api.client.googleapis.services.
- * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * optional parameters, call the {@link Commit#execute()} method to invoke the remote operation.
+ * {@link
+ * Commit#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param folder Required. Name of the folder whose contents to list. Format: projects/locations/folders
+ * @param name Required. The repository's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest}
* @since 1.13
*/
- protected QueryFolderContents(java.lang.String folder) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryFolderContentsResponse.class);
- this.folder = com.google.api.client.util.Preconditions.checkNotNull(folder, "Required parameter folder must be specified.");
+ protected Commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CommitRepositoryChangesResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
- "Parameter folder must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public QueryFolderContents set$Xgafv(java.lang.String $Xgafv) {
- return (QueryFolderContents) super.set$Xgafv($Xgafv);
+ public Commit set$Xgafv(java.lang.String $Xgafv) {
+ return (Commit) super.set$Xgafv($Xgafv);
}
@Override
- public QueryFolderContents setAccessToken(java.lang.String accessToken) {
- return (QueryFolderContents) super.setAccessToken(accessToken);
+ public Commit setAccessToken(java.lang.String accessToken) {
+ return (Commit) super.setAccessToken(accessToken);
}
@Override
- public QueryFolderContents setAlt(java.lang.String alt) {
- return (QueryFolderContents) super.setAlt(alt);
+ public Commit setAlt(java.lang.String alt) {
+ return (Commit) super.setAlt(alt);
}
@Override
- public QueryFolderContents setCallback(java.lang.String callback) {
- return (QueryFolderContents) super.setCallback(callback);
+ public Commit setCallback(java.lang.String callback) {
+ return (Commit) super.setCallback(callback);
}
@Override
- public QueryFolderContents setFields(java.lang.String fields) {
- return (QueryFolderContents) super.setFields(fields);
+ public Commit setFields(java.lang.String fields) {
+ return (Commit) super.setFields(fields);
}
@Override
- public QueryFolderContents setKey(java.lang.String key) {
- return (QueryFolderContents) super.setKey(key);
+ public Commit setKey(java.lang.String key) {
+ return (Commit) super.setKey(key);
}
@Override
- public QueryFolderContents setOauthToken(java.lang.String oauthToken) {
- return (QueryFolderContents) super.setOauthToken(oauthToken);
+ public Commit setOauthToken(java.lang.String oauthToken) {
+ return (Commit) super.setOauthToken(oauthToken);
}
@Override
- public QueryFolderContents setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (QueryFolderContents) super.setPrettyPrint(prettyPrint);
+ public Commit setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Commit) super.setPrettyPrint(prettyPrint);
}
@Override
- public QueryFolderContents setQuotaUser(java.lang.String quotaUser) {
- return (QueryFolderContents) super.setQuotaUser(quotaUser);
+ public Commit setQuotaUser(java.lang.String quotaUser) {
+ return (Commit) super.setQuotaUser(quotaUser);
}
@Override
- public QueryFolderContents setUploadType(java.lang.String uploadType) {
- return (QueryFolderContents) super.setUploadType(uploadType);
+ public Commit setUploadType(java.lang.String uploadType) {
+ return (Commit) super.setUploadType(uploadType);
}
@Override
- public QueryFolderContents setUploadProtocol(java.lang.String uploadProtocol) {
- return (QueryFolderContents) super.setUploadProtocol(uploadProtocol);
+ public Commit setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Commit) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Required. Name of the folder whose contents to list. Format: projects/locations/folders
- */
+ /** Required. The repository's name. */
@com.google.api.client.util.Key
- private java.lang.String folder;
+ private java.lang.String name;
- /** Required. Name of the folder whose contents to list. Format: projects/locations/folders
+ /** Required. The repository's name.
*/
- public java.lang.String getFolder() {
- return folder;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * Required. Name of the folder whose contents to list. Format: projects/locations/folders
- */
- public QueryFolderContents setFolder(java.lang.String folder) {
+ /** Required. The repository's name. */
+ public Commit setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(FOLDER_PATTERN.matcher(folder).matches(),
- "Parameter folder must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
- this.folder = folder;
+ this.name = name;
return this;
}
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Optional filtering for the returned list. Filtering is currently only supported on the
- `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public java.lang.String getFilter() {
- return filter;
+ @Override
+ public Commit set(String parameterName, Object value) {
+ return (Commit) super.set(parameterName, value);
}
+ }
+ /**
+ * Computes a Repository's Git access token status.
+ *
+ * Create a request for the method "repositories.computeAccessTokenStatus".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link ComputeAccessTokenStatus#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param name Required. The repository's name.
+ * @return the request
+ */
+ public ComputeAccessTokenStatus computeAccessTokenStatus(java.lang.String name) throws java.io.IOException {
+ ComputeAccessTokenStatus result = new ComputeAccessTokenStatus(name);
+ initialize(result);
+ return result;
+ }
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public QueryFolderContents setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
+ public class ComputeAccessTokenStatus extends DataformRequest {
- /**
- * Optional. Field to additionally sort results by. Will order Folders before
- * Repositories, and then by `order_by` in ascending order. Supported keywords:
- * display_name (default), create_time, last_modified_time. Examples: -
- * `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ private static final String REST_PATH = "v1/{+name}:computeAccessTokenStatus";
- /** Optional. Field to additionally sort results by. Will order Folders before Repositories, and then
- by `order_by` in ascending order. Supported keywords: display_name (default), create_time,
- last_modified_time. Examples: - `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Optional. Field to additionally sort results by. Will order Folders before
- * Repositories, and then by `order_by` in ascending order. Supported keywords:
- * display_name (default), create_time, last_modified_time. Examples: -
- * `orderBy="display_name"` - `orderBy="display_name desc"`
+ * Computes a Repository's Git access token status.
+ *
+ * Create a request for the method "repositories.computeAccessTokenStatus".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link ComputeAccessTokenStatus#execute()} method to invoke the
+ * remote operation. {@link ComputeAccessTokenStatus#initialize(com.google.api.client.googleap
+ * is.services.AbstractGoogleClientRequest)} must be called to initialize this instance
+ * immediately after invoking the constructor.
+ *
+ * @param name Required. The repository's name.
+ * @since 1.13
*/
- public QueryFolderContents setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ protected ComputeAccessTokenStatus(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ComputeRepositoryAccessTokenStatusResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
}
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
- unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- public QueryFolderContents setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `QueryFolderContents` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryFolderContents`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `QueryFolderContents` call. Provide this to retrieve
- the subsequent page. When paginating, all other parameters provided to `QueryFolderContents`, with
- the exception of `page_size`, must match the call that provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `QueryFolderContents` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryFolderContents`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- public QueryFolderContents setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public QueryFolderContents set(String parameterName, Object value) {
- return (QueryFolderContents) super.set(parameterName, value);
- }
- }
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "folders.setIamPolicy".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @return the request
- */
- public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
- SetIamPolicy result = new SetIamPolicy(resource, content);
- initialize(result);
- return result;
- }
-
- public class SetIamPolicy extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
-
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
-
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "folders.setIamPolicy".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @since 1.13
- */
- protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
- }
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (SetIamPolicy) super.set$Xgafv($Xgafv);
+ public ComputeAccessTokenStatus set$Xgafv(java.lang.String $Xgafv) {
+ return (ComputeAccessTokenStatus) super.set$Xgafv($Xgafv);
}
@Override
- public SetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (SetIamPolicy) super.setAccessToken(accessToken);
+ public ComputeAccessTokenStatus setAccessToken(java.lang.String accessToken) {
+ return (ComputeAccessTokenStatus) super.setAccessToken(accessToken);
}
@Override
- public SetIamPolicy setAlt(java.lang.String alt) {
- return (SetIamPolicy) super.setAlt(alt);
+ public ComputeAccessTokenStatus setAlt(java.lang.String alt) {
+ return (ComputeAccessTokenStatus) super.setAlt(alt);
}
@Override
- public SetIamPolicy setCallback(java.lang.String callback) {
- return (SetIamPolicy) super.setCallback(callback);
+ public ComputeAccessTokenStatus setCallback(java.lang.String callback) {
+ return (ComputeAccessTokenStatus) super.setCallback(callback);
}
@Override
- public SetIamPolicy setFields(java.lang.String fields) {
- return (SetIamPolicy) super.setFields(fields);
+ public ComputeAccessTokenStatus setFields(java.lang.String fields) {
+ return (ComputeAccessTokenStatus) super.setFields(fields);
}
@Override
- public SetIamPolicy setKey(java.lang.String key) {
- return (SetIamPolicy) super.setKey(key);
+ public ComputeAccessTokenStatus setKey(java.lang.String key) {
+ return (ComputeAccessTokenStatus) super.setKey(key);
}
@Override
- public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (SetIamPolicy) super.setOauthToken(oauthToken);
+ public ComputeAccessTokenStatus setOauthToken(java.lang.String oauthToken) {
+ return (ComputeAccessTokenStatus) super.setOauthToken(oauthToken);
}
@Override
- public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public ComputeAccessTokenStatus setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ComputeAccessTokenStatus) super.setPrettyPrint(prettyPrint);
}
@Override
- public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ public ComputeAccessTokenStatus setQuotaUser(java.lang.String quotaUser) {
+ return (ComputeAccessTokenStatus) super.setQuotaUser(quotaUser);
}
@Override
- public SetIamPolicy setUploadType(java.lang.String uploadType) {
- return (SetIamPolicy) super.setUploadType(uploadType);
+ public ComputeAccessTokenStatus setUploadType(java.lang.String uploadType) {
+ return (ComputeAccessTokenStatus) super.setUploadType(uploadType);
}
@Override
- public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ public ComputeAccessTokenStatus setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ComputeAccessTokenStatus) super.setUploadProtocol(uploadProtocol);
}
- /**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
+ /** Required. The repository's name. */
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String name;
- /** REQUIRED: The resource for which the policy is being specified. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
+ /** Required. The repository's name.
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public SetIamPolicy setResource(java.lang.String resource) {
+ /** Required. The repository's name. */
+ public ComputeAccessTokenStatus setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
- this.resource = resource;
+ this.name = name;
return this;
}
@Override
- public SetIamPolicy set(String parameterName, Object value) {
- return (SetIamPolicy) super.set(parameterName, value);
+ public ComputeAccessTokenStatus set(String parameterName, Object value) {
+ return (ComputeAccessTokenStatus) super.set(parameterName, value);
}
}
/**
- * Returns permissions that a caller has on the specified resource. If the resource does not exist,
- * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
- * designed to be used for building permission-aware UIs and command-line tools, not for
- * authorization checking. This operation may "fail open" without warning.
+ * Creates a new Repository in a given project and location.
*
- * Create a request for the method "folders.testIamPermissions".
+ * Create a request for the method "repositories.create".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
+ * @param parent Required. The location in which to create the repository. Must be in the format
+ * `projects/locations`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
* @return the request
*/
- public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(resource, content);
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.Repository content) throws java.io.IOException {
+ Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class TestIamPermissions extends DataformRequest {
+ public class Create extends DataformRequest {
- private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
+ private static final String REST_PATH = "v1/{+parent}/repositories";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Returns permissions that a caller has on the specified resource. If the resource does not
- * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
- * operation is designed to be used for building permission-aware UIs and command-line tools, not
- * for authorization checking. This operation may "fail open" without warning.
+ * Creates a new Repository in a given project and location.
*
- * Create a request for the method "folders.testIamPermissions".
+ * Create a request for the method "repositories.create".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
- * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
+ * @param parent Required. The location in which to create the repository. Must be in the format
+ * `projects/locations`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
* @since 1.13
*/
- protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.Repository content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Repository.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
- return (TestIamPermissions) super.set$Xgafv($Xgafv);
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
}
@Override
- public TestIamPermissions setAccessToken(java.lang.String accessToken) {
- return (TestIamPermissions) super.setAccessToken(accessToken);
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
}
@Override
- public TestIamPermissions setAlt(java.lang.String alt) {
- return (TestIamPermissions) super.setAlt(alt);
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
}
@Override
- public TestIamPermissions setCallback(java.lang.String callback) {
- return (TestIamPermissions) super.setCallback(callback);
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
}
@Override
- public TestIamPermissions setFields(java.lang.String fields) {
- return (TestIamPermissions) super.setFields(fields);
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
}
@Override
- public TestIamPermissions setKey(java.lang.String key) {
- return (TestIamPermissions) super.setKey(key);
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
}
@Override
- public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
- return (TestIamPermissions) super.setOauthToken(oauthToken);
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
}
@Override
- public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
}
@Override
- public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
- return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
}
@Override
- public TestIamPermissions setUploadType(java.lang.String uploadType) {
- return (TestIamPermissions) super.setUploadType(uploadType);
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
}
@Override
- public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
- return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
/**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
+ * Required. The location in which to create the repository. Must be in the format
+ * `projects/locations`.
*/
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String parent;
- /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
+ /** Required. The location in which to create the repository. Must be in the format
+ `projects/locations`.
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getParent() {
+ return parent;
}
/**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
+ * Required. The location in which to create the repository. Must be in the format
+ * `projects/locations`.
*/
- public TestIamPermissions setResource(java.lang.String resource) {
+ public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/folders/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
- this.resource = resource;
+ this.parent = parent;
return this;
}
- @Override
- public TestIamPermissions set(String parameterName, Object value) {
- return (TestIamPermissions) super.set(parameterName, value);
- }
- }
-
- }
- /**
- * An accessor for creating requests from the Operations collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.Operations.List request = dataform.operations().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Operations operations() {
- return new Operations();
- }
-
- /**
- * The "operations" collection of methods.
- */
- public class Operations {
-
- /**
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
- * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
- * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
- * methods to check whether the cancellation succeeded or whether the operation completed despite
- * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
- * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
- * `Code.CANCELLED`.
- *
- * Create a request for the method "operations.cancel".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
- *
- * @param name The name of the operation resource to be cancelled.
- * @param content the {@link com.google.api.services.dataform.v1.model.CancelOperationRequest}
- * @return the request
- */
- public Cancel cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelOperationRequest content) throws java.io.IOException {
- Cancel result = new Cancel(name, content);
- initialize(result);
- return result;
- }
-
- public class Cancel extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}:cancel";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
-
/**
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
- * cancel the operation, but success is not guaranteed. If the server doesn't support this method,
- * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other
- * methods to check whether the cancellation succeeded or whether the operation completed despite
- * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an
- * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
- * `Code.CANCELLED`.
- *
- * Create a request for the method "operations.cancel".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
- * {@link
- * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name The name of the operation resource to be cancelled.
- * @param content the {@link com.google.api.services.dataform.v1.model.CancelOperationRequest}
- * @since 1.13
+ * Required. The ID to use for the repository, which will become the final component of
+ * the repository's resource name.
*/
- protected Cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelOperationRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Empty.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
- }
- }
-
- @Override
- public Cancel set$Xgafv(java.lang.String $Xgafv) {
- return (Cancel) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Cancel setAccessToken(java.lang.String accessToken) {
- return (Cancel) super.setAccessToken(accessToken);
- }
-
- @Override
- public Cancel setAlt(java.lang.String alt) {
- return (Cancel) super.setAlt(alt);
- }
-
- @Override
- public Cancel setCallback(java.lang.String callback) {
- return (Cancel) super.setCallback(callback);
- }
-
- @Override
- public Cancel setFields(java.lang.String fields) {
- return (Cancel) super.setFields(fields);
- }
-
- @Override
- public Cancel setKey(java.lang.String key) {
- return (Cancel) super.setKey(key);
- }
-
- @Override
- public Cancel setOauthToken(java.lang.String oauthToken) {
- return (Cancel) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Cancel) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Cancel setQuotaUser(java.lang.String quotaUser) {
- return (Cancel) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Cancel setUploadType(java.lang.String uploadType) {
- return (Cancel) super.setUploadType(uploadType);
- }
-
- @Override
- public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
- return (Cancel) super.setUploadProtocol(uploadProtocol);
- }
-
- /** The name of the operation resource to be cancelled. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String repositoryId;
- /** The name of the operation resource to be cancelled.
+ /** Required. The ID to use for the repository, which will become the final component of the
+ repository's resource name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getRepositoryId() {
+ return repositoryId;
}
- /** The name of the operation resource to be cancelled. */
- public Cancel setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
- }
- this.name = name;
+ /**
+ * Required. The ID to use for the repository, which will become the final component of
+ * the repository's resource name.
+ */
+ public Create setRepositoryId(java.lang.String repositoryId) {
+ this.repositoryId = repositoryId;
return this;
}
@Override
- public Cancel set(String parameterName, Object value) {
- return (Cancel) super.set(parameterName, value);
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
}
}
/**
- * Deletes a long-running operation. This method indicates that the client is no longer interested
- * in the operation result. It does not cancel the operation. If the server doesn't support this
- * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
+ * Deletes a single Repository.
*
- * Create a request for the method "operations.delete".
+ * Create a request for the method "repositories.delete".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name The name of the operation resource to be deleted.
+ * @param name Required. The repository's name.
* @return the request
*/
public Delete delete(java.lang.String name) throws java.io.IOException {
@@ -2875,14 +2492,12 @@ public class Delete extends DataformRequest
*
- * @param name The name of the operation resource to be deleted.
+ * @param name Required. The repository's name.
* @since 1.13
*/
protected Delete(java.lang.String name) {
@@ -2899,7 +2514,7 @@ protected Delete(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@@ -2958,78 +2573,110 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** The name of the operation resource to be deleted. */
+ /** Required. The repository's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** The name of the operation resource to be deleted.
+ /** Required. The repository's name.
*/
public java.lang.String getName() {
return name;
}
- /** The name of the operation resource to be deleted. */
+ /** Required. The repository's name. */
public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
this.name = name;
return this;
}
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
- /**
- * Gets the latest state of a long-running operation. Clients can use this method to poll the
- * operation result at intervals as recommended by the API service.
- *
- * Create a request for the method "operations.get".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ /**
+ * Optional. If set to true, child resources of this repository (compilation results and
+ * workflow invocations) will also be deleted. Otherwise, the request will only succeed if
+ * the repository has no child resources. **Note:** *This flag doesn't support deletion of
+ * workspaces, release configs or workflow configs. If any of such resources exists in the
+ * repository, the request will fail.*.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean force;
+
+ /** Optional. If set to true, child resources of this repository (compilation results and workflow
+ invocations) will also be deleted. Otherwise, the request will only succeed if the repository has
+ no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or
+ workflow configs. If any of such resources exists in the repository, the request will fail.*.
+ */
+ public java.lang.Boolean getForce() {
+ return force;
+ }
+
+ /**
+ * Optional. If set to true, child resources of this repository (compilation results and
+ * workflow invocations) will also be deleted. Otherwise, the request will only succeed if
+ * the repository has no child resources. **Note:** *This flag doesn't support deletion of
+ * workspaces, release configs or workflow configs. If any of such resources exists in the
+ * repository, the request will fail.*.
+ */
+ public Delete setForce(java.lang.Boolean force) {
+ this.force = force;
+ return this;
+ }
+
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Fetches a Repository's history of commits. The Repository must not have a value for
+ * `git_remote_settings.url`.
*
- * @param name The name of the operation resource.
+ * Create a request for the method "repositories.fetchHistory".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link FetchHistory#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The repository's name.
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public FetchHistory fetchHistory(java.lang.String name) throws java.io.IOException {
+ FetchHistory result = new FetchHistory(name);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class FetchHistory extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}:fetchHistory";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Gets the latest state of a long-running operation. Clients can use this method to poll the
- * operation result at intervals as recommended by the API service.
+ * Fetches a Repository's history of commits. The Repository must not have a value for
+ * `git_remote_settings.url`.
*
- * Create a request for the method "operations.get".
+ * Create a request for the method "repositories.fetchHistory".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link FetchHistory#execute()} method to invoke the remote
+ * operation.
{@link
+ * FetchHistory#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name The name of the operation resource.
+ * @param name Required. The repository's name.
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Operation.class);
+ protected FetchHistory(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchRepositoryHistoryResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@@ -3044,132 +2691,183 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public FetchHistory set$Xgafv(java.lang.String $Xgafv) {
+ return (FetchHistory) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public FetchHistory setAccessToken(java.lang.String accessToken) {
+ return (FetchHistory) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public FetchHistory setAlt(java.lang.String alt) {
+ return (FetchHistory) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public FetchHistory setCallback(java.lang.String callback) {
+ return (FetchHistory) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public FetchHistory setFields(java.lang.String fields) {
+ return (FetchHistory) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public FetchHistory setKey(java.lang.String key) {
+ return (FetchHistory) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public FetchHistory setOauthToken(java.lang.String oauthToken) {
+ return (FetchHistory) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public FetchHistory setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (FetchHistory) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public FetchHistory setQuotaUser(java.lang.String quotaUser) {
+ return (FetchHistory) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public FetchHistory setUploadType(java.lang.String uploadType) {
+ return (FetchHistory) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public FetchHistory setUploadProtocol(java.lang.String uploadProtocol) {
+ return (FetchHistory) super.setUploadProtocol(uploadProtocol);
}
- /** The name of the operation resource. */
+ /** Required. The repository's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** The name of the operation resource.
+ /** Required. The repository's name.
*/
public java.lang.String getName() {
return name;
}
- /** The name of the operation resource. */
- public Get setName(java.lang.String name) {
+ /** Required. The repository's name. */
+ public FetchHistory setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/operations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
this.name = name;
return this;
}
+ /**
+ * Optional. Maximum number of commits to return. The server may return fewer items than
+ * requested. If unspecified, the server will pick an appropriate default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. Maximum number of commits to return. The server may return fewer items than requested. If
+ unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * Optional. Maximum number of commits to return. The server may return fewer items than
+ * requested. If unspecified, the server will pick an appropriate default.
+ */
+ public FetchHistory setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to
+ retrieve the subsequent page. When paginating, all other parameters provided to
+ `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the
+ page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ public FetchHistory setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public FetchHistory set(String parameterName, Object value) {
+ return (FetchHistory) super.set(parameterName, value);
}
}
/**
- * Lists operations that match the specified filter in the request. If the server doesn't support
- * this method, it returns `UNIMPLEMENTED`.
+ * Fetches a Repository's remote branches.
*
- * Create a request for the method "operations.list".
+ * Create a request for the method "repositories.fetchRemoteBranches".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * parameters, call the {@link FetchRemoteBranches#execute()} method to invoke the remote operation.
*
- * @param name The name of the operation's parent resource.
+ * @param name Required. The repository's name.
* @return the request
*/
- public List list(java.lang.String name) throws java.io.IOException {
- List result = new List(name);
+ public FetchRemoteBranches fetchRemoteBranches(java.lang.String name) throws java.io.IOException {
+ FetchRemoteBranches result = new FetchRemoteBranches(name);
initialize(result);
return result;
}
- public class List extends DataformRequest {
+ public class FetchRemoteBranches extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}/operations";
+ private static final String REST_PATH = "v1/{+name}:fetchRemoteBranches";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Lists operations that match the specified filter in the request. If the server doesn't support
- * this method, it returns `UNIMPLEMENTED`.
+ * Fetches a Repository's remote branches.
*
- * Create a request for the method "operations.list".
+ * Create a request for the method "repositories.fetchRemoteBranches".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link FetchRemoteBranches#execute()} method to invoke the remote
+ * operation. {@link FetchRemoteBranches#initialize(com.google.api.client.googleapis.services.
+ * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
- * @param name The name of the operation's parent resource.
+ * @param name Required. The repository's name.
* @since 1.13
*/
- protected List(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListOperationsResponse.class);
+ protected FetchRemoteBranches(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchRemoteBranchesResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@@ -3184,235 +2882,125 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public FetchRemoteBranches set$Xgafv(java.lang.String $Xgafv) {
+ return (FetchRemoteBranches) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public FetchRemoteBranches setAccessToken(java.lang.String accessToken) {
+ return (FetchRemoteBranches) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public FetchRemoteBranches setAlt(java.lang.String alt) {
+ return (FetchRemoteBranches) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public FetchRemoteBranches setCallback(java.lang.String callback) {
+ return (FetchRemoteBranches) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public FetchRemoteBranches setFields(java.lang.String fields) {
+ return (FetchRemoteBranches) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public FetchRemoteBranches setKey(java.lang.String key) {
+ return (FetchRemoteBranches) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public FetchRemoteBranches setOauthToken(java.lang.String oauthToken) {
+ return (FetchRemoteBranches) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public FetchRemoteBranches setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (FetchRemoteBranches) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public FetchRemoteBranches setQuotaUser(java.lang.String quotaUser) {
+ return (FetchRemoteBranches) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public FetchRemoteBranches setUploadType(java.lang.String uploadType) {
+ return (FetchRemoteBranches) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public FetchRemoteBranches setUploadProtocol(java.lang.String uploadProtocol) {
+ return (FetchRemoteBranches) super.setUploadProtocol(uploadProtocol);
}
- /** The name of the operation's parent resource. */
+ /** Required. The repository's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** The name of the operation's parent resource.
+ /** Required. The repository's name.
*/
public java.lang.String getName() {
return name;
}
- /** The name of the operation's parent resource. */
- public List setName(java.lang.String name) {
+ /** Required. The repository's name. */
+ public FetchRemoteBranches setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
this.name = name;
return this;
}
- /** The standard list filter. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** The standard list filter.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** The standard list filter. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /** The standard list page size. */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** The standard list page size.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /** The standard list page size. */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /** The standard list page token. */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** The standard list page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /** The standard list page token. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- /**
- * When set to `true`, operations that are reachable are returned as normal, and those
- * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
- * can only be `true` when reading across collections. For example, when `parent` is set
- * to `"projects/example/locations/-"`. This field is not supported by default and will
- * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
- * service or product specific documentation.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean returnPartialSuccess;
-
- /** When set to `true`, operations that are reachable are returned as normal, and those that are
- unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
- when reading across collections. For example, when `parent` is set to
- `"projects/example/locations/-"`. This field is not supported by default and will result in an
- `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
- documentation.
- */
- public java.lang.Boolean getReturnPartialSuccess() {
- return returnPartialSuccess;
- }
-
- /**
- * When set to `true`, operations that are reachable are returned as normal, and those
- * that are unreachable are returned in the ListOperationsResponse.unreachable field. This
- * can only be `true` when reading across collections. For example, when `parent` is set
- * to `"projects/example/locations/-"`. This field is not supported by default and will
- * result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
- * service or product specific documentation.
- */
- public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
- this.returnPartialSuccess = returnPartialSuccess;
- return this;
- }
-
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public FetchRemoteBranches set(String parameterName, Object value) {
+ return (FetchRemoteBranches) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the Repositories collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.Repositories.List request = dataform.repositories().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Repositories repositories() {
- return new Repositories();
- }
-
- /**
- * The "repositories" collection of methods.
- */
- public class Repositories {
-
/**
- * Applies a Git commit to a Repository. The Repository must not have a value for
- * `git_remote_settings.url`.
+ * Fetches a single Repository.
*
- * Create a request for the method "repositories.commit".
+ * Create a request for the method "repositories.get".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Commit#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param name Required. The repository's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest}
* @return the request
*/
- public Commit commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest content) throws java.io.IOException {
- Commit result = new Commit(name, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Commit extends DataformRequest {
+ public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:commit";
+ private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Applies a Git commit to a Repository. The Repository must not have a value for
- * `git_remote_settings.url`.
+ * Fetches a single Repository.
*
- * Create a request for the method "repositories.commit".
+ * Create a request for the method "repositories.get".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Commit#execute()} method to invoke the remote operation.
- * {@link
- * Commit#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
* @param name Required. The repository's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest}
* @since 1.13
*/
- protected Commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitRepositoryChangesRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CommitRepositoryChangesResponse.class);
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Repository.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -3422,58 +3010,68 @@ protected Commit(java.lang.String name, com.google.api.services.dataform.v1.mode
}
@Override
- public Commit set$Xgafv(java.lang.String $Xgafv) {
- return (Commit) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Commit setAccessToken(java.lang.String accessToken) {
- return (Commit) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Commit setAlt(java.lang.String alt) {
- return (Commit) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public Commit setCallback(java.lang.String callback) {
- return (Commit) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public Commit setFields(java.lang.String fields) {
- return (Commit) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public Commit setKey(java.lang.String key) {
- return (Commit) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public Commit setOauthToken(java.lang.String oauthToken) {
- return (Commit) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public Commit setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Commit) super.setPrettyPrint(prettyPrint);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public Commit setQuotaUser(java.lang.String quotaUser) {
- return (Commit) super.setQuotaUser(quotaUser);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public Commit setUploadType(java.lang.String uploadType) {
- return (Commit) super.setUploadType(uploadType);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public Commit setUploadProtocol(java.lang.String uploadProtocol) {
- return (Commit) super.setUploadProtocol(uploadProtocol);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
/** Required. The repository's name. */
@@ -3487,7 +3085,7 @@ public java.lang.String getName() {
}
/** Required. The repository's name. */
- public Commit setName(java.lang.String name) {
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -3498,55 +3096,60 @@ public Commit setName(java.lang.String name) {
}
@Override
- public Commit set(String parameterName, Object value) {
- return (Commit) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Computes a Repository's Git access token status.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "repositories.computeAccessTokenStatus".
+ * Create a request for the method "repositories.getIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link ComputeAccessTokenStatus#execute()} method to invoke the remote
- * operation.
+ * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param name Required. The repository's name.
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public ComputeAccessTokenStatus computeAccessTokenStatus(java.lang.String name) throws java.io.IOException {
- ComputeAccessTokenStatus result = new ComputeAccessTokenStatus(name);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class ComputeAccessTokenStatus extends DataformRequest {
+ public class GetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:computeAccessTokenStatus";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Computes a Repository's Git access token status.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "repositories.computeAccessTokenStatus".
+ * Create a request for the method "repositories.getIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link ComputeAccessTokenStatus#execute()} method to invoke the
- * remote operation. {@link ComputeAccessTokenStatus#initialize(com.google.api.client.googleap
- * is.services.AbstractGoogleClientRequest)} must be called to initialize this instance
- * immediately after invoking the constructor.
- *
- * @param name Required. The repository's name.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected ComputeAccessTokenStatus(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ComputeRepositoryAccessTokenStatusResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@@ -3562,106 +3165,158 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public ComputeAccessTokenStatus set$Xgafv(java.lang.String $Xgafv) {
- return (ComputeAccessTokenStatus) super.set$Xgafv($Xgafv);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public ComputeAccessTokenStatus setAccessToken(java.lang.String accessToken) {
- return (ComputeAccessTokenStatus) super.setAccessToken(accessToken);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public ComputeAccessTokenStatus setAlt(java.lang.String alt) {
- return (ComputeAccessTokenStatus) super.setAlt(alt);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public ComputeAccessTokenStatus setCallback(java.lang.String callback) {
- return (ComputeAccessTokenStatus) super.setCallback(callback);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public ComputeAccessTokenStatus setFields(java.lang.String fields) {
- return (ComputeAccessTokenStatus) super.setFields(fields);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public ComputeAccessTokenStatus setKey(java.lang.String key) {
- return (ComputeAccessTokenStatus) super.setKey(key);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public ComputeAccessTokenStatus setOauthToken(java.lang.String oauthToken) {
- return (ComputeAccessTokenStatus) super.setOauthToken(oauthToken);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public ComputeAccessTokenStatus setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (ComputeAccessTokenStatus) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public ComputeAccessTokenStatus setQuotaUser(java.lang.String quotaUser) {
- return (ComputeAccessTokenStatus) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public ComputeAccessTokenStatus setUploadType(java.lang.String uploadType) {
- return (ComputeAccessTokenStatus) super.setUploadType(uploadType);
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public ComputeAccessTokenStatus setUploadProtocol(java.lang.String uploadProtocol) {
- return (ComputeAccessTokenStatus) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The repository's name. */
+ /**
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. The repository's name.
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Required. The repository's name. */
- public ComputeAccessTokenStatus setName(java.lang.String name) {
+ /**
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public GetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
+ return this;
+ }
+
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
+
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
+ }
+
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public ComputeAccessTokenStatus set(String parameterName, Object value) {
- return (ComputeAccessTokenStatus) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Creates a new Repository in a given project and location.
+ * Lists Repositories in a given project and location. **Note:** *This method can return
+ * repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.
*
- * Create a request for the method "repositories.create".
+ * Create a request for the method "repositories.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param parent Required. The location in which to create the repository. Must be in the format
- * `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
+ * @param parent Required. The location in which to list repositories. Must be in the format `projects/locations`.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.Repository content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class List extends DataformRequest {
private static final String REST_PATH = "v1/{+parent}/repositories";
@@ -3669,23 +3324,22 @@ public class Create extends DataformRequest {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The location in which to create the repository. Must be in the format
- * `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
+ * @param parent Required. The location in which to list repositories. Must be in the format `projects/locations`.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.Repository content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Repository.class);
+ protected List(java.lang.String parent) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListRepositoriesResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -3695,79 +3349,88 @@ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.mo
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The location in which to create the repository. Must be in the format
+ * Required. The location in which to list repositories. Must be in the format
* `projects/locations`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The location in which to create the repository. Must be in the format
- `projects/locations`.
+ /** Required. The location in which to list repositories. Must be in the format `projects/locations`.
*/
public java.lang.String getParent() {
return parent;
}
/**
- * Required. The location in which to create the repository. Must be in the format
+ * Required. The location in which to list repositories. Must be in the format
* `projects/locations`.
*/
- public Create setParent(java.lang.String parent) {
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
@@ -3777,52 +3440,123 @@ public Create setParent(java.lang.String parent) {
return this;
}
- /**
- * Required. The ID to use for the repository, which will become the final component of
- * the repository's resource name.
- */
+ /** Optional. Filter for the returned list. */
@com.google.api.client.util.Key
- private java.lang.String repositoryId;
+ private java.lang.String filter;
- /** Required. The ID to use for the repository, which will become the final component of the
- repository's resource name.
+ /** Optional. Filter for the returned list.
*/
- public java.lang.String getRepositoryId() {
- return repositoryId;
+ public java.lang.String getFilter() {
+ return filter;
}
- /**
- * Required. The ID to use for the repository, which will become the final component of
- * the repository's resource name.
+ /** Optional. Filter for the returned list. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * Optional. This field only supports ordering by `name`. If unspecified, the server will
+ * choose the ordering. If specified, the default order is ascending for the `name` field.
*/
- public Create setRepositoryId(java.lang.String repositoryId) {
- this.repositoryId = repositoryId;
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
+ ordering. If specified, the default order is ascending for the `name` field.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Optional. This field only supports ordering by `name`. If unspecified, the server will
+ * choose the ordering. If specified, the default order is ascending for the `name` field.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Optional. Maximum number of repositories to return. The server may return fewer items
+ * than requested. If unspecified, the server will pick an appropriate default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. Maximum number of repositories to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * Optional. Maximum number of repositories to return. The server may return fewer items
+ * than requested. If unspecified, the server will pick an appropriate default.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListRepositories` call. Provide this to
+ * retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListRepositories`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the
+ subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the
+ exception of `page_size`, must match the call that provided the page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListRepositories` call. Provide this to
+ * retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListRepositories`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Deletes a single Repository.
+ * Updates a single Repository. **Note:** *This method does not fully implement
+ * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
+ * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
+ * fields.*
*
- * Create a request for the method "repositories.delete".
+ * Create a request for the method "repositories.patch".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
- * @param name Required. The repository's name.
+ * @param name Identifier. The repository's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.Repository content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
initialize(result);
return result;
}
- public class Delete extends DataformRequest {
+ public class Patch extends DataformRequest {
private static final String REST_PATH = "v1/{+name}";
@@ -3830,21 +3564,25 @@ public class Delete extends DataformRequest {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The repository's name.
+ * @param name Identifier. The repository's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
+ protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.Repository content) {
+ super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.Repository.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -3854,72 +3592,72 @@ protected Delete(java.lang.String name) {
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The repository's name. */
+ /** Identifier. The repository's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The repository's name.
+ /** Identifier. The repository's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The repository's name. */
- public Delete setName(java.lang.String name) {
+ /** Identifier. The repository's name. */
+ public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -3930,83 +3668,76 @@ public Delete setName(java.lang.String name) {
}
/**
- * Optional. If set to true, child resources of this repository (compilation results and
- * workflow invocations) will also be deleted. Otherwise, the request will only succeed if
- * the repository has no child resources. **Note:** *This flag doesn't support deletion of
- * workspaces, release configs or workflow configs. If any of such resources exists in the
- * repository, the request will fail.*.
+ * Optional. Specifies the fields to be updated in the repository. If left unset, all
+ * fields will be updated.
*/
@com.google.api.client.util.Key
- private java.lang.Boolean force;
+ private java.lang.String updateMask;
- /** Optional. If set to true, child resources of this repository (compilation results and workflow
- invocations) will also be deleted. Otherwise, the request will only succeed if the repository has
- no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or
- workflow configs. If any of such resources exists in the repository, the request will fail.*.
+ /** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be
+ updated.
*/
- public java.lang.Boolean getForce() {
- return force;
+ public java.lang.String getUpdateMask() {
+ return updateMask;
}
/**
- * Optional. If set to true, child resources of this repository (compilation results and
- * workflow invocations) will also be deleted. Otherwise, the request will only succeed if
- * the repository has no child resources. **Note:** *This flag doesn't support deletion of
- * workspaces, release configs or workflow configs. If any of such resources exists in the
- * repository, the request will fail.*.
+ * Optional. Specifies the fields to be updated in the repository. If left unset, all
+ * fields will be updated.
*/
- public Delete setForce(java.lang.Boolean force) {
- this.force = force;
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
}
}
/**
- * Fetches a Repository's history of commits. The Repository must not have a value for
+ * Returns the contents of a given Repository directory. The Repository must not have a value for
* `git_remote_settings.url`.
*
- * Create a request for the method "repositories.fetchHistory".
+ * Create a request for the method "repositories.queryDirectoryContents".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link FetchHistory#execute()} method to invoke the remote operation.
+ * parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the remote
+ * operation.
*
* @param name Required. The repository's name.
* @return the request
*/
- public FetchHistory fetchHistory(java.lang.String name) throws java.io.IOException {
- FetchHistory result = new FetchHistory(name);
+ public QueryDirectoryContents queryDirectoryContents(java.lang.String name) throws java.io.IOException {
+ QueryDirectoryContents result = new QueryDirectoryContents(name);
initialize(result);
return result;
}
- public class FetchHistory extends DataformRequest {
+ public class QueryDirectoryContents extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:fetchHistory";
+ private static final String REST_PATH = "v1/{+name}:queryDirectoryContents";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Fetches a Repository's history of commits. The Repository must not have a value for
+ * Returns the contents of a given Repository directory. The Repository must not have a value for
* `git_remote_settings.url`.
*
- * Create a request for the method "repositories.fetchHistory".
+ * Create a request for the method "repositories.queryDirectoryContents".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link FetchHistory#execute()} method to invoke the remote
- * operation. {@link
- * FetchHistory#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the
+ * remote operation. {@link QueryDirectoryContents#initialize(com.google.api.client.googleapis
+ * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
* @param name Required. The repository's name.
* @since 1.13
*/
- protected FetchHistory(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchRepositoryHistoryResponse.class);
+ protected QueryDirectoryContents(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryRepositoryDirectoryContentsResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -4026,58 +3757,58 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public FetchHistory set$Xgafv(java.lang.String $Xgafv) {
- return (FetchHistory) super.set$Xgafv($Xgafv);
+ public QueryDirectoryContents set$Xgafv(java.lang.String $Xgafv) {
+ return (QueryDirectoryContents) super.set$Xgafv($Xgafv);
}
@Override
- public FetchHistory setAccessToken(java.lang.String accessToken) {
- return (FetchHistory) super.setAccessToken(accessToken);
+ public QueryDirectoryContents setAccessToken(java.lang.String accessToken) {
+ return (QueryDirectoryContents) super.setAccessToken(accessToken);
}
@Override
- public FetchHistory setAlt(java.lang.String alt) {
- return (FetchHistory) super.setAlt(alt);
+ public QueryDirectoryContents setAlt(java.lang.String alt) {
+ return (QueryDirectoryContents) super.setAlt(alt);
}
@Override
- public FetchHistory setCallback(java.lang.String callback) {
- return (FetchHistory) super.setCallback(callback);
+ public QueryDirectoryContents setCallback(java.lang.String callback) {
+ return (QueryDirectoryContents) super.setCallback(callback);
}
@Override
- public FetchHistory setFields(java.lang.String fields) {
- return (FetchHistory) super.setFields(fields);
+ public QueryDirectoryContents setFields(java.lang.String fields) {
+ return (QueryDirectoryContents) super.setFields(fields);
}
@Override
- public FetchHistory setKey(java.lang.String key) {
- return (FetchHistory) super.setKey(key);
+ public QueryDirectoryContents setKey(java.lang.String key) {
+ return (QueryDirectoryContents) super.setKey(key);
}
@Override
- public FetchHistory setOauthToken(java.lang.String oauthToken) {
- return (FetchHistory) super.setOauthToken(oauthToken);
+ public QueryDirectoryContents setOauthToken(java.lang.String oauthToken) {
+ return (QueryDirectoryContents) super.setOauthToken(oauthToken);
}
@Override
- public FetchHistory setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (FetchHistory) super.setPrettyPrint(prettyPrint);
+ public QueryDirectoryContents setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (QueryDirectoryContents) super.setPrettyPrint(prettyPrint);
}
@Override
- public FetchHistory setQuotaUser(java.lang.String quotaUser) {
- return (FetchHistory) super.setQuotaUser(quotaUser);
+ public QueryDirectoryContents setQuotaUser(java.lang.String quotaUser) {
+ return (QueryDirectoryContents) super.setQuotaUser(quotaUser);
}
@Override
- public FetchHistory setUploadType(java.lang.String uploadType) {
- return (FetchHistory) super.setUploadType(uploadType);
+ public QueryDirectoryContents setUploadType(java.lang.String uploadType) {
+ return (QueryDirectoryContents) super.setUploadType(uploadType);
}
@Override
- public FetchHistory setUploadProtocol(java.lang.String uploadProtocol) {
- return (FetchHistory) super.setUploadProtocol(uploadProtocol);
+ public QueryDirectoryContents setUploadProtocol(java.lang.String uploadProtocol) {
+ return (QueryDirectoryContents) super.setUploadProtocol(uploadProtocol);
}
/** Required. The repository's name. */
@@ -4091,7 +3822,7 @@ public java.lang.String getName() {
}
/** Required. The repository's name. */
- public FetchHistory setName(java.lang.String name) {
+ public QueryDirectoryContents setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -4102,13 +3833,36 @@ public FetchHistory setName(java.lang.String name) {
}
/**
- * Optional. Maximum number of commits to return. The server may return fewer items than
+ * Optional. The Commit SHA for the commit to query from. If unset, the directory will be
+ * queried from HEAD.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String commitSha;
+
+ /** Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from
+ HEAD.
+ */
+ public java.lang.String getCommitSha() {
+ return commitSha;
+ }
+
+ /**
+ * Optional. The Commit SHA for the commit to query from. If unset, the directory will be
+ * queried from HEAD.
+ */
+ public QueryDirectoryContents setCommitSha(java.lang.String commitSha) {
+ this.commitSha = commitSha;
+ return this;
+ }
+
+ /**
+ * Optional. Maximum number of paths to return. The server may return fewer items than
* requested. If unspecified, the server will pick an appropriate default.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;
- /** Optional. Maximum number of commits to return. The server may return fewer items than requested. If
+ /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
unspecified, the server will pick an appropriate default.
*/
public java.lang.Integer getPageSize() {
@@ -4116,88 +3870,113 @@ public java.lang.Integer getPageSize() {
}
/**
- * Optional. Maximum number of commits to return. The server may return fewer items than
+ * Optional. Maximum number of paths to return. The server may return fewer items than
* requested. If unspecified, the server will pick an appropriate default.
*/
- public FetchHistory setPageSize(java.lang.Integer pageSize) {
+ public QueryDirectoryContents setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
- * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided to
- * `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
+ * match the call that provided the page token.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;
- /** Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the
- page token.
+ /** Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this
+ to retrieve the subsequent page. When paginating, all other parameters provided to
+ `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that
+ provided the page token.
*/
public java.lang.String getPageToken() {
return pageToken;
}
/**
- * Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided to
- * `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
+ * match the call that provided the page token.
*/
- public FetchHistory setPageToken(java.lang.String pageToken) {
+ public QueryDirectoryContents setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}
+ /**
+ * Optional. The directory's full path including directory name, relative to root. If left
+ * unset, the root is used.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String path;
+
+ /** Optional. The directory's full path including directory name, relative to root. If left unset, the
+ root is used.
+ */
+ public java.lang.String getPath() {
+ return path;
+ }
+
+ /**
+ * Optional. The directory's full path including directory name, relative to root. If left
+ * unset, the root is used.
+ */
+ public QueryDirectoryContents setPath(java.lang.String path) {
+ this.path = path;
+ return this;
+ }
+
@Override
- public FetchHistory set(String parameterName, Object value) {
- return (FetchHistory) super.set(parameterName, value);
+ public QueryDirectoryContents set(String parameterName, Object value) {
+ return (QueryDirectoryContents) super.set(parameterName, value);
}
}
/**
- * Fetches a Repository's remote branches.
+ * Returns the contents of a file (inside a Repository). The Repository must not have a value for
+ * `git_remote_settings.url`.
*
- * Create a request for the method "repositories.fetchRemoteBranches".
+ * Create a request for the method "repositories.readFile".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link FetchRemoteBranches#execute()} method to invoke the remote operation.
+ * parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
*
* @param name Required. The repository's name.
* @return the request
*/
- public FetchRemoteBranches fetchRemoteBranches(java.lang.String name) throws java.io.IOException {
- FetchRemoteBranches result = new FetchRemoteBranches(name);
+ public ReadFile readFile(java.lang.String name) throws java.io.IOException {
+ ReadFile result = new ReadFile(name);
initialize(result);
return result;
}
- public class FetchRemoteBranches extends DataformRequest {
+ public class ReadFile extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:fetchRemoteBranches";
+ private static final String REST_PATH = "v1/{+name}:readFile";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Fetches a Repository's remote branches.
+ * Returns the contents of a file (inside a Repository). The Repository must not have a value for
+ * `git_remote_settings.url`.
*
- * Create a request for the method "repositories.fetchRemoteBranches".
+ * Create a request for the method "repositories.readFile".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link FetchRemoteBranches#execute()} method to invoke the remote
- * operation. {@link FetchRemoteBranches#initialize(com.google.api.client.googleapis.services.
- * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * optional parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
+ * {@link
+ * ReadFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
* @param name Required. The repository's name.
* @since 1.13
*/
- protected FetchRemoteBranches(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchRemoteBranchesResponse.class);
+ protected ReadFile(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReadRepositoryFileResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -4217,58 +3996,58 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public FetchRemoteBranches set$Xgafv(java.lang.String $Xgafv) {
- return (FetchRemoteBranches) super.set$Xgafv($Xgafv);
+ public ReadFile set$Xgafv(java.lang.String $Xgafv) {
+ return (ReadFile) super.set$Xgafv($Xgafv);
}
@Override
- public FetchRemoteBranches setAccessToken(java.lang.String accessToken) {
- return (FetchRemoteBranches) super.setAccessToken(accessToken);
+ public ReadFile setAccessToken(java.lang.String accessToken) {
+ return (ReadFile) super.setAccessToken(accessToken);
}
@Override
- public FetchRemoteBranches setAlt(java.lang.String alt) {
- return (FetchRemoteBranches) super.setAlt(alt);
+ public ReadFile setAlt(java.lang.String alt) {
+ return (ReadFile) super.setAlt(alt);
}
@Override
- public FetchRemoteBranches setCallback(java.lang.String callback) {
- return (FetchRemoteBranches) super.setCallback(callback);
+ public ReadFile setCallback(java.lang.String callback) {
+ return (ReadFile) super.setCallback(callback);
}
@Override
- public FetchRemoteBranches setFields(java.lang.String fields) {
- return (FetchRemoteBranches) super.setFields(fields);
+ public ReadFile setFields(java.lang.String fields) {
+ return (ReadFile) super.setFields(fields);
}
@Override
- public FetchRemoteBranches setKey(java.lang.String key) {
- return (FetchRemoteBranches) super.setKey(key);
+ public ReadFile setKey(java.lang.String key) {
+ return (ReadFile) super.setKey(key);
}
@Override
- public FetchRemoteBranches setOauthToken(java.lang.String oauthToken) {
- return (FetchRemoteBranches) super.setOauthToken(oauthToken);
+ public ReadFile setOauthToken(java.lang.String oauthToken) {
+ return (ReadFile) super.setOauthToken(oauthToken);
}
@Override
- public FetchRemoteBranches setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (FetchRemoteBranches) super.setPrettyPrint(prettyPrint);
+ public ReadFile setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ReadFile) super.setPrettyPrint(prettyPrint);
}
@Override
- public FetchRemoteBranches setQuotaUser(java.lang.String quotaUser) {
- return (FetchRemoteBranches) super.setQuotaUser(quotaUser);
+ public ReadFile setQuotaUser(java.lang.String quotaUser) {
+ return (ReadFile) super.setQuotaUser(quotaUser);
}
@Override
- public FetchRemoteBranches setUploadType(java.lang.String uploadType) {
- return (FetchRemoteBranches) super.setUploadType(uploadType);
+ public ReadFile setUploadType(java.lang.String uploadType) {
+ return (ReadFile) super.setUploadType(uploadType);
}
@Override
- public FetchRemoteBranches setUploadProtocol(java.lang.String uploadProtocol) {
- return (FetchRemoteBranches) super.setUploadProtocol(uploadProtocol);
+ public ReadFile setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ReadFile) super.setUploadProtocol(uploadProtocol);
}
/** Required. The repository's name. */
@@ -4282,7 +4061,7 @@ public java.lang.String getName() {
}
/** Required. The repository's name. */
- public FetchRemoteBranches setName(java.lang.String name) {
+ public ReadFile setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -4292,195 +4071,248 @@ public FetchRemoteBranches setName(java.lang.String name) {
return this;
}
+ /**
+ * Optional. The commit SHA for the commit to read from. If unset, the file will be read
+ * from HEAD.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String commitSha;
+
+ /** Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
+ */
+ public java.lang.String getCommitSha() {
+ return commitSha;
+ }
+
+ /**
+ * Optional. The commit SHA for the commit to read from. If unset, the file will be read
+ * from HEAD.
+ */
+ public ReadFile setCommitSha(java.lang.String commitSha) {
+ this.commitSha = commitSha;
+ return this;
+ }
+
+ /** Required. Full file path to read including filename, from repository root. */
+ @com.google.api.client.util.Key
+ private java.lang.String path;
+
+ /** Required. Full file path to read including filename, from repository root.
+ */
+ public java.lang.String getPath() {
+ return path;
+ }
+
+ /** Required. Full file path to read including filename, from repository root. */
+ public ReadFile setPath(java.lang.String path) {
+ this.path = path;
+ return this;
+ }
+
@Override
- public FetchRemoteBranches set(String parameterName, Object value) {
- return (FetchRemoteBranches) super.set(parameterName, value);
+ public ReadFile set(String parameterName, Object value) {
+ return (ReadFile) super.set(parameterName, value);
}
}
/**
- * Fetches a single Repository.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "repositories.get".
+ * Create a request for the method "repositories.setIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param name Required. The repository's name.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class SetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Fetches a single Repository.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "repositories.get".
+ * Create a request for the method "repositories.setIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation.
{@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The repository's name.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Repository.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The repository's name. */
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. The repository's name.
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Required. The repository's name. */
- public Get setName(java.lang.String name) {
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public SetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
- * does not have a policy set.
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "repositories.getIamPolicy".
+ * Create a request for the method "repositories.testIamPermissions".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
+ * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
* this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
* @return the request
*/
- public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
- GetIamPolicy result = new GetIamPolicy(resource);
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
initialize(result);
return result;
}
- public class GetIamPolicy extends DataformRequest {
+ public class TestIamPermissions extends DataformRequest {
- private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists
- * and does not have a policy set.
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "repositories.getIamPolicy".
+ * Create a request for the method "repositories.testIamPermissions".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
* this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
* @since 1.13
*/
- protected GetIamPolicy(java.lang.String resource) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
@@ -4490,79 +4322,69 @@ protected GetIamPolicy(java.lang.String resource) {
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (GetIamPolicy) super.set$Xgafv($Xgafv);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public GetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (GetIamPolicy) super.setAccessToken(accessToken);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public GetIamPolicy setAlt(java.lang.String alt) {
- return (GetIamPolicy) super.setAlt(alt);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public GetIamPolicy setCallback(java.lang.String callback) {
- return (GetIamPolicy) super.setCallback(callback);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public GetIamPolicy setFields(java.lang.String fields) {
- return (GetIamPolicy) super.setFields(fields);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public GetIamPolicy setKey(java.lang.String key) {
- return (GetIamPolicy) super.setKey(key);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (GetIamPolicy) super.setOauthToken(oauthToken);
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
@Override
- public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
@Override
- public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
}
@Override
- public GetIamPolicy setUploadType(java.lang.String uploadType) {
- return (GetIamPolicy) super.setUploadType(uploadType);
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
@Override
- public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
/**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
* for this field.
*/
@com.google.api.client.util.Key
private java.lang.String resource;
- /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
field.
*/
@@ -4571,11 +4393,11 @@ public java.lang.String getResource() {
}
/**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
* for this field.
*/
- public GetIamPolicy setResource(java.lang.String resource) {
+ public TestIamPermissions setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
"Parameter resource must conform to the pattern " +
@@ -4585,1363 +4407,1261 @@ public GetIamPolicy setResource(java.lang.String resource) {
return this;
}
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- @com.google.api.client.util.Key("options.requestedPolicyVersion")
- private java.lang.Integer optionsRequestedPolicyVersion;
-
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
- and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
- conditional role bindings must specify version 3. Policies with no conditional role bindings may
- specify any valid value or leave the field unset. The policy in the response might use the policy
- version that you specified, or it might use a lower policy version. For example, if you specify
- version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
- which resources support conditions in their IAM policies, see the [IAM
- documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public java.lang.Integer getOptionsRequestedPolicyVersion() {
- return optionsRequestedPolicyVersion;
+ @Override
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
+ }
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
- this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
- return this;
- }
-
- @Override
- public GetIamPolicy set(String parameterName, Object value) {
- return (GetIamPolicy) super.set(parameterName, value);
- }
- }
/**
- * Lists Repositories in a given project and location. **Note:** *This method can return
- * repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.
- *
- * Create a request for the method "repositories.list".
+ * An accessor for creating requests from the CompilationResults collection.
*
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.CompilationResults.List request = dataform.compilationResults().list(parameters ...)}
+ *
*
- * @param parent Required. The location in which to list repositories. Must be in the format `projects/locations`.
- * @return the request
+ * @return the resource collection
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
+ public CompilationResults compilationResults() {
+ return new CompilationResults();
}
- public class List extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+parent}/repositories";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ /**
+ * The "compilationResults" collection of methods.
+ */
+ public class CompilationResults {
/**
- * Lists Repositories in a given project and location. **Note:** *This method can return
- * repositories not shown in the [Dataform
- * UI](https://console.cloud.google.com/bigquery/dataform)*.
+ * Creates a new CompilationResult in a given project and location.
*
- * Create a request for the method "repositories.list".
+ * Create a request for the method "compilationResults.create".
*
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param parent Required. The location in which to list repositories. Must be in the format `projects/locations`.
- * @since 1.13
+ * @param parent Required. The repository in which to create the compilation result. Must be in the format
+ * `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CompilationResult}
+ * @return the request
*/
- protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListRepositoriesResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.CompilationResult content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
}
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ public class Create extends DataformRequest {
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
+ private static final String REST_PATH = "v1/{+parent}/compilationResults";
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
+ /**
+ * Creates a new CompilationResult in a given project and location.
+ *
+ * Create a request for the method "compilationResults.create".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The repository in which to create the compilation result. Must be in the format
+ * `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CompilationResult}
+ * @since 1.13
+ */
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.CompilationResult content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CompilationResult.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
+ }
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
+ @Override
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
+ }
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
+ @Override
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
+ }
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
+ @Override
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
+ }
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
+ }
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
+ }
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
+ }
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
+ @Override
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
+ }
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
+ }
- /**
- * Required. The location in which to list repositories. Must be in the format
- * `projects/locations`.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
+ @Override
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
+ }
- /** Required. The location in which to list repositories. Must be in the format `projects/locations`.
- */
- public java.lang.String getParent() {
- return parent;
- }
+ @Override
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
+ }
- /**
- * Required. The location in which to list repositories. Must be in the format
- * `projects/locations`.
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ @Override
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
- this.parent = parent;
- return this;
- }
- /** Optional. Filter for the returned list. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
+ /**
+ * Required. The repository in which to create the compilation result. Must be in the
+ * format `projects/locations/repositories`.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
- /** Optional. Filter for the returned list.
- */
- public java.lang.String getFilter() {
- return filter;
- }
+ /** Required. The repository in which to create the compilation result. Must be in the format
+ `projects/locations/repositories`.
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
- /** Optional. Filter for the returned list. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
+ /**
+ * Required. The repository in which to create the compilation result. Must be in the
+ * format `projects/locations/repositories`.
+ */
+ public Create setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
- /**
- * Optional. This field only supports ordering by `name`. If unspecified, the server will
- * choose the ordering. If specified, the default order is ascending for the `name` field.
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
- ordering. If specified, the default order is ascending for the `name` field.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
+ @Override
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
+ }
}
-
/**
- * Optional. This field only supports ordering by `name`. If unspecified, the server will
- * choose the ordering. If specified, the default order is ascending for the `name` field.
+ * Fetches a single CompilationResult.
+ *
+ * Create a request for the method "compilationResults.get".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The compilation result's name.
+ * @return the request
*/
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
}
- /**
- * Optional. Maximum number of repositories to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ public class Get extends DataformRequest {
- /** Optional. Maximum number of repositories to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
+ private static final String REST_PATH = "v1/{+name}";
- /**
- * Optional. Maximum number of repositories to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
- /**
- * Optional. Page token received from a previous `ListRepositories` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListRepositories`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ /**
+ * Fetches a single CompilationResult.
+ *
+ * Create a request for the method "compilationResults.get".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. The compilation result's name.
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.CompilationResult.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ }
+ }
- /** Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the
- subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the
- exception of `page_size`, must match the call that provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- /**
- * Optional. Page token received from a previous `ListRepositories` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListRepositories`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
- }
- /**
- * Moves a Repository to a new location.
- *
- * Create a request for the method "repositories.move".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Move#execute()} method to invoke the remote operation.
- *
- * @param name Required. The full resource name of the repository to move.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveRepositoryRequest}
- * @return the request
- */
- public Move move(java.lang.String name, com.google.api.services.dataform.v1.model.MoveRepositoryRequest content) throws java.io.IOException {
- Move result = new Move(name, content);
- initialize(result);
- return result;
- }
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
- public class Move extends DataformRequest {
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
- private static final String REST_PATH = "v1/{+name}:move";
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
- /**
- * Moves a Repository to a new location.
- *
- * Create a request for the method "repositories.move".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Move#execute()} method to invoke the remote operation.
- * {@link Move#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The full resource name of the repository to move.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveRepositoryRequest}
- * @since 1.13
- */
- protected Move(java.lang.String name, com.google.api.services.dataform.v1.model.MoveRepositoryRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
- }
- @Override
- public Move set$Xgafv(java.lang.String $Xgafv) {
- return (Move) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
- @Override
- public Move setAccessToken(java.lang.String accessToken) {
- return (Move) super.setAccessToken(accessToken);
- }
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
- @Override
- public Move setAlt(java.lang.String alt) {
- return (Move) super.setAlt(alt);
- }
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Move setCallback(java.lang.String callback) {
- return (Move) super.setCallback(callback);
- }
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Move setFields(java.lang.String fields) {
- return (Move) super.setFields(fields);
- }
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
- @Override
- public Move setKey(java.lang.String key) {
- return (Move) super.setKey(key);
- }
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public Move setOauthToken(java.lang.String oauthToken) {
- return (Move) super.setOauthToken(oauthToken);
- }
+ /** Required. The compilation result's name. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- @Override
- public Move setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Move) super.setPrettyPrint(prettyPrint);
- }
+ /** Required. The compilation result's name.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- @Override
- public Move setQuotaUser(java.lang.String quotaUser) {
- return (Move) super.setQuotaUser(quotaUser);
- }
+ /** Required. The compilation result's name. */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- @Override
- public Move setUploadType(java.lang.String uploadType) {
- return (Move) super.setUploadType(uploadType);
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
}
-
- @Override
- public Move setUploadProtocol(java.lang.String uploadProtocol) {
- return (Move) super.setUploadProtocol(uploadProtocol);
+ /**
+ * Lists CompilationResults in a given Repository.
+ *
+ * Create a request for the method "compilationResults.list".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The repository in which to list compilation results. Must be in the format
+ * `projects/locations/repositories`.
+ * @return the request
+ */
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
}
- /** Required. The full resource name of the repository to move. */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ public class List extends DataformRequest {
- /** Required. The full resource name of the repository to move.
- */
- public java.lang.String getName() {
- return name;
- }
+ private static final String REST_PATH = "v1/{+parent}/compilationResults";
- /** Required. The full resource name of the repository to move. */
- public Move setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+
+ /**
+ * Lists CompilationResults in a given Repository.
+ *
+ * Create a request for the method "compilationResults.list".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The repository in which to list compilation results. Must be in the format
+ * `projects/locations/repositories`.
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListCompilationResultsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
}
- this.name = name;
- return this;
- }
- @Override
- public Move set(String parameterName, Object value) {
- return (Move) super.set(parameterName, value);
- }
- }
- /**
- * Updates a single Repository. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
- *
- * Create a request for the method "repositories.patch".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- *
- * @param name Identifier. The repository's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
- * @return the request
- */
- public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.Repository content) throws java.io.IOException {
- Patch result = new Patch(name, content);
- initialize(result);
- return result;
- }
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- public class Patch extends DataformRequest {
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- private static final String REST_PATH = "v1/{+name}";
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
- /**
- * Updates a single Repository. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
- *
- * Create a request for the method "repositories.patch".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- * {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Identifier. The repository's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.Repository}
- * @since 1.13
- */
- protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.Repository content) {
- super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.Repository.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
- }
- @Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
- @Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
- }
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
- @Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
- }
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
- @Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
- }
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
- @Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
- }
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
- }
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
- }
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
- @Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
- }
+ /**
+ * Required. The repository in which to list compilation results. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
- @Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
- }
+ /** Required. The repository in which to list compilation results. Must be in the format
+ `projects/locations/repositories`.
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
- @Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
- }
+ /**
+ * Required. The repository in which to list compilation results. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
- /** Identifier. The repository's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ /** Optional. Filter for the returned list. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
- /** Identifier. The repository's name.
- */
- public java.lang.String getName() {
- return name;
- }
+ /** Optional. Filter for the returned list.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
- /** Identifier. The repository's name. */
- public Patch setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ /** Optional. Filter for the returned list. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
}
- this.name = name;
- return this;
- }
- /**
- * Optional. Specifies the fields to be updated in the repository. If left unset, all
- * fields will be updated.
- */
- @com.google.api.client.util.Key
- private String updateMask;
+ /**
+ * Optional. This field only supports ordering by `name` and `create_time`. If
+ * unspecified, the server will choose the ordering. If specified, the default order is
+ * ascending for the `name` field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
- /** Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be
- updated.
- */
- public String getUpdateMask() {
- return updateMask;
- }
+ /** Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server
+ will choose the ordering. If specified, the default order is ascending for the `name` field.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
- /**
- * Optional. Specifies the fields to be updated in the repository. If left unset, all
- * fields will be updated.
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
- return this;
- }
+ /**
+ * Optional. This field only supports ordering by `name` and `create_time`. If
+ * unspecified, the server will choose the ordering. If specified, the default order is
+ * ascending for the `name` field.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
- @Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
- }
- }
- /**
- * Returns the contents of a given Repository directory. The Repository must not have a value for
- * `git_remote_settings.url`.
- *
- * Create a request for the method "repositories.queryDirectoryContents".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the remote
- * operation.
- *
- * @param name Required. The repository's name.
- * @return the request
- */
- public QueryDirectoryContents queryDirectoryContents(java.lang.String name) throws java.io.IOException {
- QueryDirectoryContents result = new QueryDirectoryContents(name);
- initialize(result);
- return result;
- }
+ /**
+ * Optional. Maximum number of compilation results to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
- public class QueryDirectoryContents extends DataformRequest {
+ /** Optional. Maximum number of compilation results to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
- private static final String REST_PATH = "v1/{+name}:queryDirectoryContents";
+ /**
+ * Optional. Maximum number of compilation results to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ /**
+ * Optional. Page token received from a previous `ListCompilationResults` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `ListCompilationResults`, with the exception of `page_size`, must match the call
+ * that provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to
+ retrieve the subsequent page. When paginating, all other parameters provided to
+ `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the
+ page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+ /**
+ * Optional. Page token received from a previous `ListCompilationResults` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `ListCompilationResults`, with the exception of `page_size`, must match the call
+ * that provided the page token.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
/**
- * Returns the contents of a given Repository directory. The Repository must not have a value for
- * `git_remote_settings.url`.
+ * Returns CompilationResultActions in a given CompilationResult.
*
- * Create a request for the method "repositories.queryDirectoryContents".
+ * Create a request for the method "compilationResults.query".
*
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the
- * remote operation. {@link QueryDirectoryContents#initialize(com.google.api.client.googleapis
- * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Query#execute()} method to invoke the remote operation.
*
- * @param name Required. The repository's name.
- * @since 1.13
+ * @param name Required. The compilation result's name.
+ * @return the request
*/
- protected QueryDirectoryContents(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryRepositoryDirectoryContentsResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- }
+ public Query query(java.lang.String name) throws java.io.IOException {
+ Query result = new Query(name);
+ initialize(result);
+ return result;
}
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ public class Query extends DataformRequest {
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ private static final String REST_PATH = "v1/{+name}:query";
- @Override
- public QueryDirectoryContents set$Xgafv(java.lang.String $Xgafv) {
- return (QueryDirectoryContents) super.set$Xgafv($Xgafv);
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
- @Override
- public QueryDirectoryContents setAccessToken(java.lang.String accessToken) {
- return (QueryDirectoryContents) super.setAccessToken(accessToken);
- }
+ /**
+ * Returns CompilationResultActions in a given CompilationResult.
+ *
+ * Create a request for the method "compilationResults.query".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Query#execute()} method to invoke the remote operation.
+ * {@link
+ * Query#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. The compilation result's name.
+ * @since 1.13
+ */
+ protected Query(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryCompilationResultActionsResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ }
+ }
- @Override
- public QueryDirectoryContents setAlt(java.lang.String alt) {
- return (QueryDirectoryContents) super.setAlt(alt);
- }
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- @Override
- public QueryDirectoryContents setCallback(java.lang.String callback) {
- return (QueryDirectoryContents) super.setCallback(callback);
- }
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- @Override
- public QueryDirectoryContents setFields(java.lang.String fields) {
- return (QueryDirectoryContents) super.setFields(fields);
- }
+ @Override
+ public Query set$Xgafv(java.lang.String $Xgafv) {
+ return (Query) super.set$Xgafv($Xgafv);
+ }
- @Override
- public QueryDirectoryContents setKey(java.lang.String key) {
- return (QueryDirectoryContents) super.setKey(key);
- }
+ @Override
+ public Query setAccessToken(java.lang.String accessToken) {
+ return (Query) super.setAccessToken(accessToken);
+ }
- @Override
- public QueryDirectoryContents setOauthToken(java.lang.String oauthToken) {
- return (QueryDirectoryContents) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Query setAlt(java.lang.String alt) {
+ return (Query) super.setAlt(alt);
+ }
- @Override
- public QueryDirectoryContents setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (QueryDirectoryContents) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Query setCallback(java.lang.String callback) {
+ return (Query) super.setCallback(callback);
+ }
- @Override
- public QueryDirectoryContents setQuotaUser(java.lang.String quotaUser) {
- return (QueryDirectoryContents) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Query setFields(java.lang.String fields) {
+ return (Query) super.setFields(fields);
+ }
- @Override
- public QueryDirectoryContents setUploadType(java.lang.String uploadType) {
- return (QueryDirectoryContents) super.setUploadType(uploadType);
- }
+ @Override
+ public Query setKey(java.lang.String key) {
+ return (Query) super.setKey(key);
+ }
- @Override
- public QueryDirectoryContents setUploadProtocol(java.lang.String uploadProtocol) {
- return (QueryDirectoryContents) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Query setOauthToken(java.lang.String oauthToken) {
+ return (Query) super.setOauthToken(oauthToken);
+ }
- /** Required. The repository's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ @Override
+ public Query setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Query) super.setPrettyPrint(prettyPrint);
+ }
- /** Required. The repository's name.
- */
- public java.lang.String getName() {
- return name;
- }
+ @Override
+ public Query setQuotaUser(java.lang.String quotaUser) {
+ return (Query) super.setQuotaUser(quotaUser);
+ }
- /** Required. The repository's name. */
- public QueryDirectoryContents setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Query setUploadType(java.lang.String uploadType) {
+ return (Query) super.setUploadType(uploadType);
}
- this.name = name;
- return this;
- }
- /**
- * Optional. The Commit SHA for the commit to query from. If unset, the directory will be
- * queried from HEAD.
- */
- @com.google.api.client.util.Key
- private java.lang.String commitSha;
+ @Override
+ public Query setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Query) super.setUploadProtocol(uploadProtocol);
+ }
- /** Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from
- HEAD.
- */
- public java.lang.String getCommitSha() {
- return commitSha;
- }
+ /** Required. The compilation result's name. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /**
- * Optional. The Commit SHA for the commit to query from. If unset, the directory will be
- * queried from HEAD.
- */
- public QueryDirectoryContents setCommitSha(java.lang.String commitSha) {
- this.commitSha = commitSha;
- return this;
- }
+ /** Required. The compilation result's name.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ /** Required. The compilation result's name. */
+ public Query setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
- unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
+ /**
+ * Optional. Optional filter for the returned list. Filtering is only currently
+ * supported on the `file_path` field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- public QueryDirectoryContents setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ /** Optional. Optional filter for the returned list. Filtering is only currently supported on the
+ `file_path` field.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
- /**
- * Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
- * match the call that provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ /**
+ * Optional. Optional filter for the returned list. Filtering is only currently
+ * supported on the `file_path` field.
+ */
+ public Query setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
- /** Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this
- to retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that
- provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ /**
+ * Optional. Maximum number of compilation results to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
- /**
- * Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
- * match the call that provided the page token.
- */
- public QueryDirectoryContents setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ /** Optional. Maximum number of compilation results to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
- /**
- * Optional. The directory's full path including directory name, relative to root. If left
- * unset, the root is used.
- */
- @com.google.api.client.util.Key
- private java.lang.String path;
+ /**
+ * Optional. Maximum number of compilation results to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
+ */
+ public Query setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
- /** Optional. The directory's full path including directory name, relative to root. If left unset, the
- root is used.
- */
- public java.lang.String getPath() {
- return path;
- }
+ /**
+ * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryCompilationResultActions`, with the exception of `page_size`, must
+ * match the call that provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
- /**
- * Optional. The directory's full path including directory name, relative to root. If left
- * unset, the root is used.
- */
- public QueryDirectoryContents setPath(java.lang.String path) {
- this.path = path;
- return this;
- }
+ /** Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to
+ retrieve the subsequent page. When paginating, all other parameters provided to
+ `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that
+ provided the page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
- @Override
- public QueryDirectoryContents set(String parameterName, Object value) {
- return (QueryDirectoryContents) super.set(parameterName, value);
+ /**
+ * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryCompilationResultActions`, with the exception of `page_size`, must
+ * match the call that provided the page token.
+ */
+ public Query setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public Query set(String parameterName, Object value) {
+ return (Query) super.set(parameterName, value);
+ }
}
+
}
/**
- * Returns the contents of a file (inside a Repository). The Repository must not have a value for
- * `git_remote_settings.url`.
- *
- * Create a request for the method "repositories.readFile".
+ * An accessor for creating requests from the ReleaseConfigs collection.
*
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.ReleaseConfigs.List request = dataform.releaseConfigs().list(parameters ...)}
+ *
*
- * @param name Required. The repository's name.
- * @return the request
+ * @return the resource collection
*/
- public ReadFile readFile(java.lang.String name) throws java.io.IOException {
- ReadFile result = new ReadFile(name);
- initialize(result);
- return result;
+ public ReleaseConfigs releaseConfigs() {
+ return new ReleaseConfigs();
}
- public class ReadFile extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}:readFile";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ /**
+ * The "releaseConfigs" collection of methods.
+ */
+ public class ReleaseConfigs {
/**
- * Returns the contents of a file (inside a Repository). The Repository must not have a value for
- * `git_remote_settings.url`.
+ * Creates a new ReleaseConfig in a given Repository.
*
- * Create a request for the method "repositories.readFile".
+ * Create a request for the method "releaseConfigs.create".
*
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
- * {@link
- * ReadFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param name Required. The repository's name.
- * @since 1.13
+ * @param parent Required. The repository in which to create the release config. Must be in the format
+ * `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @return the request
*/
- protected ReadFile(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReadRepositoryFileResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.ReleaseConfig content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
}
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ public class Create extends DataformRequest {
- @Override
- public ReadFile set$Xgafv(java.lang.String $Xgafv) {
- return (ReadFile) super.set$Xgafv($Xgafv);
- }
+ private static final String REST_PATH = "v1/{+parent}/releaseConfigs";
- @Override
- public ReadFile setAccessToken(java.lang.String accessToken) {
- return (ReadFile) super.setAccessToken(accessToken);
- }
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- @Override
- public ReadFile setAlt(java.lang.String alt) {
- return (ReadFile) super.setAlt(alt);
- }
+ /**
+ * Creates a new ReleaseConfig in a given Repository.
+ *
+ * Create a request for the method "releaseConfigs.create".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The repository in which to create the release config. Must be in the format
+ * `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @since 1.13
+ */
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.ReleaseConfig content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
+ }
- @Override
- public ReadFile setCallback(java.lang.String callback) {
- return (ReadFile) super.setCallback(callback);
- }
+ @Override
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
+ }
- @Override
- public ReadFile setFields(java.lang.String fields) {
- return (ReadFile) super.setFields(fields);
- }
+ @Override
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
+ }
- @Override
- public ReadFile setKey(java.lang.String key) {
- return (ReadFile) super.setKey(key);
- }
+ @Override
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
+ }
- @Override
- public ReadFile setOauthToken(java.lang.String oauthToken) {
- return (ReadFile) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
+ }
- @Override
- public ReadFile setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (ReadFile) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
+ }
- @Override
- public ReadFile setQuotaUser(java.lang.String quotaUser) {
- return (ReadFile) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
+ }
- @Override
- public ReadFile setUploadType(java.lang.String uploadType) {
- return (ReadFile) super.setUploadType(uploadType);
- }
+ @Override
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
+ }
- @Override
- public ReadFile setUploadProtocol(java.lang.String uploadProtocol) {
- return (ReadFile) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
+ }
- /** Required. The repository's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ @Override
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
+ }
- /** Required. The repository's name.
- */
- public java.lang.String getName() {
- return name;
- }
+ @Override
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
+ }
- /** Required. The repository's name. */
- public ReadFile setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
- this.name = name;
- return this;
- }
- /**
- * Optional. The commit SHA for the commit to read from. If unset, the file will be read
- * from HEAD.
- */
- @com.google.api.client.util.Key
- private java.lang.String commitSha;
+ /**
+ * Required. The repository in which to create the release config. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
- /** Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.
- */
- public java.lang.String getCommitSha() {
- return commitSha;
- }
+ /** Required. The repository in which to create the release config. Must be in the format
+ `projects/locations/repositories`.
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
+
+ /**
+ * Required. The repository in which to create the release config. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ public Create setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
+
+ /**
+ * Required. The ID to use for the release config, which will become the final component
+ * of the release config's resource name.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String releaseConfigId;
+
+ /** Required. The ID to use for the release config, which will become the final component of the
+ release config's resource name.
+ */
+ public java.lang.String getReleaseConfigId() {
+ return releaseConfigId;
+ }
+
+ /**
+ * Required. The ID to use for the release config, which will become the final component
+ * of the release config's resource name.
+ */
+ public Create setReleaseConfigId(java.lang.String releaseConfigId) {
+ this.releaseConfigId = releaseConfigId;
+ return this;
+ }
+ @Override
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
+ }
+ }
/**
- * Optional. The commit SHA for the commit to read from. If unset, the file will be read
- * from HEAD.
+ * Deletes a single ReleaseConfig.
+ *
+ * Create a request for the method "releaseConfigs.delete".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The release config's name.
+ * @return the request
*/
- public ReadFile setCommitSha(java.lang.String commitSha) {
- this.commitSha = commitSha;
- return this;
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
+ initialize(result);
+ return result;
}
- /** Required. Full file path to read including filename, from repository root. */
- @com.google.api.client.util.Key
- private java.lang.String path;
+ public class Delete extends DataformRequest {
- /** Required. Full file path to read including filename, from repository root.
- */
- public java.lang.String getPath() {
- return path;
- }
+ private static final String REST_PATH = "v1/{+name}";
- /** Required. Full file path to read including filename, from repository root. */
- public ReadFile setPath(java.lang.String path) {
- this.path = path;
- return this;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
- @Override
- public ReadFile set(String parameterName, Object value) {
- return (ReadFile) super.set(parameterName, value);
- }
- }
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "repositories.setIamPolicy".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @return the request
- */
- public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
- SetIamPolicy result = new SetIamPolicy(resource, content);
- initialize(result);
- return result;
- }
-
- public class SetIamPolicy extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
+ /**
+ * Deletes a single ReleaseConfig.
+ *
+ * Create a request for the method "releaseConfigs.delete".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. The release config's name.
+ * @since 1.13
+ */
+ protected Delete(java.lang.String name) {
+ super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ }
+ }
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
+ }
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "repositories.setIamPolicy".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @since 1.13
- */
- protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
- }
- @Override
- public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (SetIamPolicy) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
+ }
- @Override
- public SetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (SetIamPolicy) super.setAccessToken(accessToken);
- }
+ @Override
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
+ }
- @Override
- public SetIamPolicy setAlt(java.lang.String alt) {
- return (SetIamPolicy) super.setAlt(alt);
- }
+ @Override
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
+ }
- @Override
- public SetIamPolicy setCallback(java.lang.String callback) {
- return (SetIamPolicy) super.setCallback(callback);
- }
+ @Override
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
+ }
- @Override
- public SetIamPolicy setFields(java.lang.String fields) {
- return (SetIamPolicy) super.setFields(fields);
- }
+ @Override
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
+ }
- @Override
- public SetIamPolicy setKey(java.lang.String key) {
- return (SetIamPolicy) super.setKey(key);
- }
+ @Override
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (SetIamPolicy) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
+ }
- @Override
- public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
+ }
- @Override
- public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (SetIamPolicy) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public SetIamPolicy setUploadType(java.lang.String uploadType) {
- return (SetIamPolicy) super.setUploadType(uploadType);
- }
+ /** Required. The release config's name. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- @Override
- public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
- }
+ /** Required. The release config's name.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- /**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
+ /** Required. The release config's name. */
+ public Delete setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- /** REQUIRED: The resource for which the policy is being specified. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
}
-
/**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
+ * Fetches a single ReleaseConfig.
+ *
+ * Create a request for the method "releaseConfigs.get".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The release config's name.
+ * @return the request
*/
- public SetIamPolicy setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- }
- this.resource = resource;
- return this;
- }
-
- @Override
- public SetIamPolicy set(String parameterName, Object value) {
- return (SetIamPolicy) super.set(parameterName, value);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
}
- }
- /**
- * Returns permissions that a caller has on the specified resource. If the resource does not exist,
- * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
- * designed to be used for building permission-aware UIs and command-line tools, not for
- * authorization checking. This operation may "fail open" without warning.
- *
- * Create a request for the method "repositories.testIamPermissions".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
- * @return the request
- */
- public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(resource, content);
- initialize(result);
- return result;
- }
- public class TestIamPermissions extends DataformRequest {
+ public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
- /**
- * Returns permissions that a caller has on the specified resource. If the resource does not
- * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
- * operation is designed to be used for building permission-aware UIs and command-line tools, not
- * for authorization checking. This operation may "fail open" without warning.
- *
- * Create a request for the method "repositories.testIamPermissions".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
- * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
- * @since 1.13
- */
- protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ /**
+ * Fetches a single ReleaseConfig.
+ *
+ * Create a request for the method "releaseConfigs.get".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. The release config's name.
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ }
}
- }
-
- @Override
- public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
- return (TestIamPermissions) super.set$Xgafv($Xgafv);
- }
- @Override
- public TestIamPermissions setAccessToken(java.lang.String accessToken) {
- return (TestIamPermissions) super.setAccessToken(accessToken);
- }
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- @Override
- public TestIamPermissions setAlt(java.lang.String alt) {
- return (TestIamPermissions) super.setAlt(alt);
- }
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- @Override
- public TestIamPermissions setCallback(java.lang.String callback) {
- return (TestIamPermissions) super.setCallback(callback);
- }
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
- @Override
- public TestIamPermissions setFields(java.lang.String fields) {
- return (TestIamPermissions) super.setFields(fields);
- }
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
- @Override
- public TestIamPermissions setKey(java.lang.String key) {
- return (TestIamPermissions) super.setKey(key);
- }
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
- @Override
- public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
- return (TestIamPermissions) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
- @Override
- public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
- @Override
- public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
- return (TestIamPermissions) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
- @Override
- public TestIamPermissions setUploadType(java.lang.String uploadType) {
- return (TestIamPermissions) super.setUploadType(uploadType);
- }
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
- @Override
- public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
- return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
- /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public TestIamPermissions setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- this.resource = resource;
- return this;
- }
- @Override
- public TestIamPermissions set(String parameterName, Object value) {
- return (TestIamPermissions) super.set(parameterName, value);
- }
- }
+ /** Required. The release config's name. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /**
- * An accessor for creating requests from the CompilationResults collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.CompilationResults.List request = dataform.compilationResults().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public CompilationResults compilationResults() {
- return new CompilationResults();
- }
+ /** Required. The release config's name.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- /**
- * The "compilationResults" collection of methods.
- */
- public class CompilationResults {
+ /** Required. The release config's name. */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
/**
- * Creates a new CompilationResult in a given project and location.
+ * Lists ReleaseConfigs in a given Repository.
*
- * Create a request for the method "compilationResults.create".
+ * Create a request for the method "releaseConfigs.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to create the compilation result. Must be in the format
+ * @param parent Required. The repository in which to list release configs. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.CompilationResult}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.CompilationResult content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class List extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/compilationResults";
+ private static final String REST_PATH = "v1/{+parent}/releaseConfigs";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Creates a new CompilationResult in a given project and location.
+ * Lists ReleaseConfigs in a given Repository.
*
- * Create a request for the method "compilationResults.create".
+ * Create a request for the method "releaseConfigs.list".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- * {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to create the compilation result. Must be in the format
+ * @param parent Required. The repository in which to list release configs. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.CompilationResult}
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.CompilationResult content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CompilationResult.class);
+ protected List(java.lang.String parent) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListReleaseConfigsResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -5951,68 +5671,78 @@ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.mo
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The repository in which to create the compilation result. Must be in the
- * format `projects/locations/repositories`.
+ * Required. The repository in which to list release configs. Must be in the format
+ * `projects/locations/repositories`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The repository in which to create the compilation result. Must be in the format
+ /** Required. The repository in which to list release configs. Must be in the format
`projects/locations/repositories`.
*/
public java.lang.String getParent() {
@@ -6020,10 +5750,10 @@ public java.lang.String getParent() {
}
/**
- * Required. The repository in which to create the compilation result. Must be in the
- * format `projects/locations/repositories`.
+ * Required. The repository in which to list release configs. Must be in the format
+ * `projects/locations/repositories`.
*/
- public Create setParent(java.lang.String parent) {
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
@@ -6033,190 +5763,288 @@ public Create setParent(java.lang.String parent) {
return this;
}
+ /**
+ * Optional. Maximum number of release configs to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. Maximum number of release configs to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * Optional. Maximum number of release configs to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this
+ * to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListReleaseConfigs`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve
+ the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with
+ the exception of `page_size`, must match the call that provided the page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this
+ * to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListReleaseConfigs`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Fetches a single CompilationResult.
+ * Updates a single ReleaseConfig. **Note:** *This method does not fully implement
+ * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
+ * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
+ * fields.*
*
- * Create a request for the method "compilationResults.get".
+ * Create a request for the method "releaseConfigs.patch".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
- * @param name Required. The compilation result's name.
+ * @param name Identifier. The release config's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.ReleaseConfig content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class Patch extends DataformRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
/**
- * Fetches a single CompilationResult.
+ * Updates a single ReleaseConfig. **Note:** *This method does not fully implement
+ * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
+ * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
+ * fields.*
*
- * Create a request for the method "compilationResults.get".
+ * Create a request for the method "releaseConfigs.patch".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The compilation result's name.
+ * @param name Identifier. The release config's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.CompilationResult.class);
+ protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.ReleaseConfig content) {
+ super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The compilation result's name. */
+ /** Identifier. The release config's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The compilation result's name.
+ /** Identifier. The release config's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The compilation result's name. */
- public Get setName(java.lang.String name) {
+ /** Identifier. The release config's name. */
+ public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
}
this.name = name;
return this;
}
+ /**
+ * Optional. Specifies the fields to be updated in the release config. If left unset,
+ * all fields will be updated.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will
+ be updated.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /**
+ * Optional. Specifies the fields to be updated in the release config. If left unset,
+ * all fields will be updated.
+ */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
}
}
- /**
- * Lists CompilationResults in a given Repository.
- *
- * Create a request for the method "compilationResults.list".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The repository in which to list compilation results. Must be in the format
- * `projects/locations/repositories`.
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+
+ }
+ /**
+ * An accessor for creating requests from the WorkflowConfigs collection.
+ *
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.WorkflowConfigs.List request = dataform.workflowConfigs().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public WorkflowConfigs workflowConfigs() {
+ return new WorkflowConfigs();
+ }
+
+ /**
+ * The "workflowConfigs" collection of methods.
+ */
+ public class WorkflowConfigs {
+
+ /**
+ * Creates a new WorkflowConfig in a given Repository.
+ *
+ * Create a request for the method "workflowConfigs.create".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The repository in which to create the workflow config. Must be in the format
+ * `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowConfig content) throws java.io.IOException {
+ Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class List extends DataformRequest {
+ public class Create extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/compilationResults";
+ private static final String REST_PATH = "v1/{+parent}/workflowConfigs";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Lists CompilationResults in a given Repository.
+ * Creates a new WorkflowConfig in a given Repository.
*
- * Create a request for the method "compilationResults.list".
+ * Create a request for the method "workflowConfigs.create".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to list compilation results. Must be in the format
+ * @param parent Required. The repository in which to create the workflow config. Must be in the format
* `projects/locations/repositories`.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListCompilationResultsResponse.class);
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowConfig content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -6226,78 +6054,68 @@ protected List(java.lang.String parent) {
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The repository in which to list compilation results. Must be in the format
- * `projects/locations/repositories`.
+ * Required. The repository in which to create the workflow config. Must be in the
+ * format `projects/locations/repositories`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The repository in which to list compilation results. Must be in the format
+ /** Required. The repository in which to create the workflow config. Must be in the format
`projects/locations/repositories`.
*/
public java.lang.String getParent() {
@@ -6305,10 +6123,10 @@ public java.lang.String getParent() {
}
/**
- * Required. The repository in which to list compilation results. Must be in the format
- * `projects/locations/repositories`.
+ * Required. The repository in which to create the workflow config. Must be in the
+ * format `projects/locations/repositories`.
*/
- public List setParent(java.lang.String parent) {
+ public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
@@ -6318,1184 +6136,842 @@ public List setParent(java.lang.String parent) {
return this;
}
- /** Optional. Filter for the returned list. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Filter for the returned list.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** Optional. Filter for the returned list. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. This field only supports ordering by `name` and `create_time`. If
- * unspecified, the server will choose the ordering. If specified, the default order is
- * ascending for the `name` field.
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server
- will choose the ordering. If specified, the default order is ascending for the `name` field.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /**
- * Optional. This field only supports ordering by `name` and `create_time`. If
- * unspecified, the server will choose the ordering. If specified, the default order is
- * ascending for the `name` field.
- */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
-
- /**
- * Optional. Maximum number of compilation results to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of compilation results to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of compilation results to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
/**
- * Optional. Page token received from a previous `ListCompilationResults` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListCompilationResults`, with the exception of `page_size`, must match the call
- * that provided the page token.
+ * Required. The ID to use for the workflow config, which will become the final
+ * component of the workflow config's resource name.
*/
@com.google.api.client.util.Key
- private java.lang.String pageToken;
+ private java.lang.String workflowConfigId;
- /** Optional. Page token received from a previous `ListCompilationResults` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the
- page token.
+ /** Required. The ID to use for the workflow config, which will become the final component of the
+ workflow config's resource name.
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.String getWorkflowConfigId() {
+ return workflowConfigId;
}
/**
- * Optional. Page token received from a previous `ListCompilationResults` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListCompilationResults`, with the exception of `page_size`, must match the call
- * that provided the page token.
+ * Required. The ID to use for the workflow config, which will become the final
+ * component of the workflow config's resource name.
*/
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public Create setWorkflowConfigId(java.lang.String workflowConfigId) {
+ this.workflowConfigId = workflowConfigId;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
}
}
/**
- * Returns CompilationResultActions in a given CompilationResult.
+ * Deletes a single WorkflowConfig.
*
- * Create a request for the method "compilationResults.query".
+ * Create a request for the method "workflowConfigs.delete".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Query#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. The compilation result's name.
+ * @param name Required. The workflow config's name.
* @return the request
*/
- public Query query(java.lang.String name) throws java.io.IOException {
- Query result = new Query(name);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class Query extends DataformRequest {
+ public class Delete extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:query";
+ private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
/**
- * Returns CompilationResultActions in a given CompilationResult.
+ * Deletes a single WorkflowConfig.
*
- * Create a request for the method "compilationResults.query".
+ * Create a request for the method "workflowConfigs.delete".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Query#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
* {@link
- * Query#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The compilation result's name.
+ * @param name Required. The workflow config's name.
* @since 1.13
*/
- protected Query(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryCompilationResultActionsResponse.class);
+ protected Delete(java.lang.String name) {
+ super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Query set$Xgafv(java.lang.String $Xgafv) {
- return (Query) super.set$Xgafv($Xgafv);
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public Query setAccessToken(java.lang.String accessToken) {
- return (Query) super.setAccessToken(accessToken);
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public Query setAlt(java.lang.String alt) {
- return (Query) super.setAlt(alt);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public Query setCallback(java.lang.String callback) {
- return (Query) super.setCallback(callback);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public Query setFields(java.lang.String fields) {
- return (Query) super.setFields(fields);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public Query setKey(java.lang.String key) {
- return (Query) super.setKey(key);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public Query setOauthToken(java.lang.String oauthToken) {
- return (Query) super.setOauthToken(oauthToken);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public Query setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Query) super.setPrettyPrint(prettyPrint);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public Query setQuotaUser(java.lang.String quotaUser) {
- return (Query) super.setQuotaUser(quotaUser);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public Query setUploadType(java.lang.String uploadType) {
- return (Query) super.setUploadType(uploadType);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public Query setUploadProtocol(java.lang.String uploadProtocol) {
- return (Query) super.setUploadProtocol(uploadProtocol);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The compilation result's name. */
+ /** Required. The workflow config's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The compilation result's name.
+ /** Required. The workflow config's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The compilation result's name. */
- public Query setName(java.lang.String name) {
+ /** Required. The workflow config's name. */
+ public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
}
this.name = name;
return this;
}
- /**
- * Optional. Optional filter for the returned list. Filtering is only currently
- * supported on the `file_path` field.
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Optional filter for the returned list. Filtering is only currently supported on the
- `file_path` field.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /**
- * Optional. Optional filter for the returned list. Filtering is only currently
- * supported on the `file_path` field.
- */
- public Query setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. Maximum number of compilation results to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of compilation results to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of compilation results to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- public Query setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `QueryCompilationResultActions` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryCompilationResultActions`, with the exception of `page_size`, must
- * match the call that provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that
- provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `QueryCompilationResultActions` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryCompilationResultActions`, with the exception of `page_size`, must
- * match the call that provided the page token.
- */
- public Query setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
@Override
- public Query set(String parameterName, Object value) {
- return (Query) super.set(parameterName, value);
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the ReleaseConfigs collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.ReleaseConfigs.List request = dataform.releaseConfigs().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ReleaseConfigs releaseConfigs() {
- return new ReleaseConfigs();
- }
-
- /**
- * The "releaseConfigs" collection of methods.
- */
- public class ReleaseConfigs {
-
/**
- * Creates a new ReleaseConfig in a given Repository.
+ * Fetches a single WorkflowConfig.
*
- * Create a request for the method "releaseConfigs.create".
+ * Create a request for the method "workflowConfigs.get".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to create the release config. Must be in the format
- * `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @param name Required. The workflow config's name.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.ReleaseConfig content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/releaseConfigs";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
/**
- * Creates a new ReleaseConfig in a given Repository.
+ * Fetches a single WorkflowConfig.
*
- * Create a request for the method "releaseConfigs.create".
+ * Create a request for the method "workflowConfigs.get".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- * {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to create the release config. Must be in the format
- * `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @param name Required. The workflow config's name.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.ReleaseConfig content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
- /**
- * Required. The repository in which to create the release config. Must be in the format
- * `projects/locations/repositories`.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The repository in which to create the release config. Must be in the format
- `projects/locations/repositories`.
- */
- public java.lang.String getParent() {
- return parent;
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
- /**
- * Required. The repository in which to create the release config. Must be in the format
- * `projects/locations/repositories`.
- */
- public Create setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
- }
- this.parent = parent;
- return this;
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Required. The ID to use for the release config, which will become the final component
- * of the release config's resource name.
- */
+ /** Required. The workflow config's name. */
@com.google.api.client.util.Key
- private java.lang.String releaseConfigId;
+ private java.lang.String name;
- /** Required. The ID to use for the release config, which will become the final component of the
- release config's resource name.
+ /** Required. The workflow config's name.
*/
- public java.lang.String getReleaseConfigId() {
- return releaseConfigId;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * Required. The ID to use for the release config, which will become the final component
- * of the release config's resource name.
- */
- public Create setReleaseConfigId(java.lang.String releaseConfigId) {
- this.releaseConfigId = releaseConfigId;
+ /** Required. The workflow config's name. */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ }
+ this.name = name;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Deletes a single ReleaseConfig.
+ * Lists WorkflowConfigs in a given Repository.
*
- * Create a request for the method "releaseConfigs.delete".
+ * Create a request for the method "workflowConfigs.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param name Required. The release config's name.
+ * @param parent Required. The repository in which to list workflow configs. Must be in the format
+ * `projects/locations/repositories`.
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Delete extends DataformRequest {
+ public class List extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+parent}/workflowConfigs";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Deletes a single ReleaseConfig.
+ * Lists WorkflowConfigs in a given Repository.
*
- * Create a request for the method "releaseConfigs.delete".
+ * Create a request for the method "workflowConfigs.list".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- * {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The release config's name.
+ * @param parent Required. The repository in which to list workflow configs. Must be in the format
+ * `projects/locations/repositories`.
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected List(java.lang.String parent) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkflowConfigsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The release config's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The release config's name.
- */
- public java.lang.String getName() {
- return name;
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
}
- /** Required. The release config's name. */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
- }
- this.name = name;
- return this;
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
- }
- /**
- * Fetches a single ReleaseConfig.
- *
- * Create a request for the method "releaseConfigs.get".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. The release config's name.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ /**
+ * Required. The repository in which to list workflow configs. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ /** Required. The repository in which to list workflow configs. Must be in the format
+ `projects/locations/repositories`.
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
/**
- * Fetches a single ReleaseConfig.
- *
- * Create a request for the method "releaseConfigs.get".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The release config's name.
- * @since 1.13
+ * Required. The repository in which to list workflow configs. Must be in the format
+ * `projects/locations/repositories`.
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
+ this.parent = parent;
+ return this;
}
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ /**
+ * Optional. Maximum number of workflow configs to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
-
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ /** Optional. Maximum number of workflow configs to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ /**
+ * Optional. Maximum number of workflow configs to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
}
- /** Required. The release config's name. */
+ /**
+ * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String pageToken;
- /** Required. The release config's name.
+ /** Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve
+ the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with
+ the exception of `page_size`, must match the call that provided the page token.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getPageToken() {
+ return pageToken;
}
- /** Required. The release config's name. */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
- }
- this.name = name;
+ /**
+ * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Lists ReleaseConfigs in a given Repository.
+ * Updates a single WorkflowConfig. **Note:** *This method does not fully implement
+ * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
+ * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
+ * fields.*
*
- * Create a request for the method "releaseConfigs.list".
+ * Create a request for the method "workflowConfigs.patch".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to list release configs. Must be in the format
- * `projects/locations/repositories`.
+ * @param name Identifier. The workflow config's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.WorkflowConfig content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
initialize(result);
return result;
}
- public class List extends DataformRequest {
+ public class Patch extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/releaseConfigs";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
/**
- * Lists ReleaseConfigs in a given Repository.
+ * Updates a single WorkflowConfig. **Note:** *This method does not fully implement
+ * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
+ * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
+ * fields.*
*
- * Create a request for the method "releaseConfigs.list".
+ * Create a request for the method "workflowConfigs.patch".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to list release configs. Must be in the format
- * `projects/locations/repositories`.
+ * @param name Identifier. The workflow config's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListReleaseConfigsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.WorkflowConfig content) {
+ super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Required. The repository in which to list release configs. Must be in the format
- * `projects/locations/repositories`.
- */
+ /** Identifier. The workflow config's name. */
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String name;
- /** Required. The repository in which to list release configs. Must be in the format
- `projects/locations/repositories`.
+ /** Identifier. The workflow config's name.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * Required. The repository in which to list release configs. Must be in the format
- * `projects/locations/repositories`.
- */
- public List setParent(java.lang.String parent) {
+ /** Identifier. The workflow config's name. */
+ public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
}
- this.parent = parent;
+ this.name = name;
return this;
}
/**
- * Optional. Maximum number of release configs to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Specifies the fields to be updated in the workflow config. If left unset,
+ * all fields will be updated.
*/
@com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ private java.lang.String updateMask;
- /** Optional. Maximum number of release configs to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
+ /** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will
+ be updated.
*/
- public java.lang.Integer getPageSize() {
- return pageSize;
+ public java.lang.String getUpdateMask() {
+ return updateMask;
}
/**
- * Optional. Maximum number of release configs to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListReleaseConfigs`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve
- the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with
- the exception of `page_size`, must match the call that provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListReleaseConfigs`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. Specifies the fields to be updated in the workflow config. If left unset,
+ * all fields will be updated.
*/
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
}
}
+
+ }
+ /**
+ * An accessor for creating requests from the WorkflowInvocations collection.
+ *
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.WorkflowInvocations.List request = dataform.workflowInvocations().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public WorkflowInvocations workflowInvocations() {
+ return new WorkflowInvocations();
+ }
+
+ /**
+ * The "workflowInvocations" collection of methods.
+ */
+ public class WorkflowInvocations {
+
/**
- * Updates a single ReleaseConfig. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
+ * Requests cancellation of a running WorkflowInvocation.
*
- * Create a request for the method "releaseConfigs.patch".
+ * Create a request for the method "workflowInvocations.cancel".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
*
- * @param name Identifier. The release config's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @param name Required. The workflow invocation resource's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest}
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.ReleaseConfig content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public Cancel cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest content) throws java.io.IOException {
+ Cancel result = new Cancel(name, content);
initialize(result);
return result;
}
- public class Patch extends DataformRequest {
+ public class Cancel extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}:cancel";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
/**
- * Updates a single ReleaseConfig. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
+ * Requests cancellation of a running WorkflowInvocation.
*
- * Create a request for the method "releaseConfigs.patch".
+ * Create a request for the method "workflowInvocations.cancel".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
* {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Identifier. The release config's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.ReleaseConfig}
+ * @param name Required. The workflow invocation resource's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest}
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.ReleaseConfig content) {
- super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.ReleaseConfig.class);
+ protected Cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public Cancel set$Xgafv(java.lang.String $Xgafv) {
+ return (Cancel) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public Cancel setAccessToken(java.lang.String accessToken) {
+ return (Cancel) super.setAccessToken(accessToken);
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public Cancel setAlt(java.lang.String alt) {
+ return (Cancel) super.setAlt(alt);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public Cancel setCallback(java.lang.String callback) {
+ return (Cancel) super.setCallback(callback);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public Cancel setFields(java.lang.String fields) {
+ return (Cancel) super.setFields(fields);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public Cancel setKey(java.lang.String key) {
+ return (Cancel) super.setKey(key);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public Cancel setOauthToken(java.lang.String oauthToken) {
+ return (Cancel) super.setOauthToken(oauthToken);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Cancel) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public Cancel setQuotaUser(java.lang.String quotaUser) {
+ return (Cancel) super.setQuotaUser(quotaUser);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public Cancel setUploadType(java.lang.String uploadType) {
+ return (Cancel) super.setUploadType(uploadType);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Cancel) super.setUploadProtocol(uploadProtocol);
}
- /** Identifier. The release config's name. */
+ /** Required. The workflow invocation resource's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. The release config's name.
+ /** Required. The workflow invocation resource's name.
*/
public java.lang.String getName() {
return name;
}
- /** Identifier. The release config's name. */
- public Patch setName(java.lang.String name) {
+ /** Required. The workflow invocation resource's name. */
+ public Cancel setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
this.name = name;
return this;
}
- /**
- * Optional. Specifies the fields to be updated in the release config. If left unset,
- * all fields will be updated.
- */
- @com.google.api.client.util.Key
- private String updateMask;
-
- /** Optional. Specifies the fields to be updated in the release config. If left unset, all fields will
- be updated.
- */
- public String getUpdateMask() {
- return updateMask;
- }
-
- /**
- * Optional. Specifies the fields to be updated in the release config. If left unset,
- * all fields will be updated.
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
- return this;
- }
-
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public Cancel set(String parameterName, Object value) {
+ return (Cancel) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the WorkflowConfigs collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.WorkflowConfigs.List request = dataform.workflowConfigs().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public WorkflowConfigs workflowConfigs() {
- return new WorkflowConfigs();
- }
-
- /**
- * The "workflowConfigs" collection of methods.
- */
- public class WorkflowConfigs {
-
/**
- * Creates a new WorkflowConfig in a given Repository.
+ * Creates a new WorkflowInvocation in a given Repository.
*
- * Create a request for the method "workflowConfigs.create".
+ * Create a request for the method "workflowInvocations.create".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to create the workflow config. Must be in the format
+ * @param parent Required. The repository in which to create the workflow invocation. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowInvocation}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowConfig content) throws java.io.IOException {
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowInvocation content) throws java.io.IOException {
Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class Create extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workflowConfigs";
+ private static final String REST_PATH = "v1/{+parent}/workflowInvocations";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Creates a new WorkflowConfig in a given Repository.
+ * Creates a new WorkflowInvocation in a given Repository.
*
- * Create a request for the method "workflowConfigs.create".
+ * Create a request for the method "workflowInvocations.create".
*
* This request holds the parameters needed by the the dataform server. After setting any
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
@@ -7503,13 +6979,13 @@ public class Create extends DataformRequest
*
- * @param parent Required. The repository in which to create the workflow config. Must be in the format
+ * @param parent Required. The repository in which to create the workflow invocation. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
+ * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowInvocation}
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowConfig content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowInvocation content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowInvocation.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -7574,13 +7050,13 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. The repository in which to create the workflow config. Must be in the
+ * Required. The repository in which to create the workflow invocation. Must be in the
* format `projects/locations/repositories`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The repository in which to create the workflow config. Must be in the format
+ /** Required. The repository in which to create the workflow invocation. Must be in the format
`projects/locations/repositories`.
*/
public java.lang.String getParent() {
@@ -7588,7 +7064,7 @@ public java.lang.String getParent() {
}
/**
- * Required. The repository in which to create the workflow config. Must be in the
+ * Required. The repository in which to create the workflow invocation. Must be in the
* format `projects/locations/repositories`.
*/
public Create setParent(java.lang.String parent) {
@@ -7601,43 +7077,20 @@ public Create setParent(java.lang.String parent) {
return this;
}
- /**
- * Required. The ID to use for the workflow config, which will become the final
- * component of the workflow config's resource name.
- */
- @com.google.api.client.util.Key
- private java.lang.String workflowConfigId;
-
- /** Required. The ID to use for the workflow config, which will become the final component of the
- workflow config's resource name.
- */
- public java.lang.String getWorkflowConfigId() {
- return workflowConfigId;
- }
-
- /**
- * Required. The ID to use for the workflow config, which will become the final
- * component of the workflow config's resource name.
- */
- public Create setWorkflowConfigId(java.lang.String workflowConfigId) {
- this.workflowConfigId = workflowConfigId;
- return this;
- }
-
- @Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ @Override
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
}
}
/**
- * Deletes a single WorkflowConfig.
+ * Deletes a single WorkflowInvocation.
*
- * Create a request for the method "workflowConfigs.delete".
+ * Create a request for the method "workflowInvocations.delete".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow config's name.
+ * @param name Required. The workflow invocation resource's name.
* @return the request
*/
public Delete delete(java.lang.String name) throws java.io.IOException {
@@ -7651,12 +7104,12 @@ public class Delete extends DataformRequest
*
- * @param name Required. The workflow config's name.
+ * @param name Required. The workflow invocation resource's name.
* @since 1.13
*/
protected Delete(java.lang.String name) {
@@ -7673,7 +7126,7 @@ protected Delete(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
}
@@ -7732,22 +7185,22 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow config's name. */
+ /** Required. The workflow invocation resource's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The workflow config's name.
+ /** Required. The workflow invocation resource's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The workflow config's name. */
+ /** Required. The workflow invocation resource's name. */
public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
this.name = name;
return this;
@@ -7759,14 +7212,14 @@ public Delete set(String parameterName, Object value) {
}
}
/**
- * Fetches a single WorkflowConfig.
+ * Fetches a single WorkflowInvocation.
*
- * Create a request for the method "workflowConfigs.get".
+ * Create a request for the method "workflowInvocations.get".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow config's name.
+ * @param name Required. The workflow invocation resource's name.
* @return the request
*/
public Get get(java.lang.String name) throws java.io.IOException {
@@ -7775,33 +7228,33 @@ public Get get(java.lang.String name) throws java.io.IOException {
return result;
}
- public class Get extends DataformRequest {
+ public class Get extends DataformRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
/**
- * Fetches a single WorkflowConfig.
+ * Fetches a single WorkflowInvocation.
*
- * Create a request for the method "workflowConfigs.get".
+ * Create a request for the method "workflowInvocations.get".
*
* This request holds the parameters needed by the the dataform server. After setting any
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
* {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The workflow config's name.
+ * @param name Required. The workflow invocation resource's name.
* @since 1.13
*/
protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.WorkflowInvocation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
}
@@ -7870,22 +7323,22 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) {
return (Get) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow config's name. */
+ /** Required. The workflow invocation resource's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The workflow config's name.
+ /** Required. The workflow invocation resource's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The workflow config's name. */
+ /** Required. The workflow invocation resource's name. */
public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
this.name = name;
return this;
@@ -7897,14 +7350,14 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists WorkflowConfigs in a given Repository.
+ * Lists WorkflowInvocations in a given Repository.
*
- * Create a request for the method "workflowConfigs.list".
+ * Create a request for the method "workflowInvocations.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to list workflow configs. Must be in the format
+ * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the format
* `projects/locations/repositories`.
* @return the request
*/
@@ -7914,29 +7367,29 @@ public List list(java.lang.String parent) throws java.io.IOException {
return result;
}
- public class List extends DataformRequest {
+ public class List extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workflowConfigs";
+ private static final String REST_PATH = "v1/{+parent}/workflowInvocations";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Lists WorkflowConfigs in a given Repository.
+ * Lists WorkflowInvocations in a given Repository.
*
- * Create a request for the method "workflowConfigs.list".
+ * Create a request for the method "workflowInvocations.list".
*
* This request holds the parameters needed by the the dataform server. After setting any
* optional parameters, call the {@link List#execute()} method to invoke the remote operation.
* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to list workflow configs. Must be in the format
+ * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the format
* `projects/locations/repositories`.
* @since 1.13
*/
protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkflowConfigsResponse.class);
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkflowInvocationsResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -8011,13 +7464,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. The repository in which to list workflow configs. Must be in the format
+ * Required. The parent resource of the WorkflowInvocation type. Must be in the format
* `projects/locations/repositories`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The repository in which to list workflow configs. Must be in the format
+ /** Required. The parent resource of the WorkflowInvocation type. Must be in the format
`projects/locations/repositories`.
*/
public java.lang.String getParent() {
@@ -8025,7 +7478,7 @@ public java.lang.String getParent() {
}
/**
- * Required. The repository in which to list workflow configs. Must be in the format
+ * Required. The parent resource of the WorkflowInvocation type. Must be in the format
* `projects/locations/repositories`.
*/
public List setParent(java.lang.String parent) {
@@ -8038,14 +7491,56 @@ public List setParent(java.lang.String parent) {
return this;
}
+ /** Optional. Filter for the returned list. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** Optional. Filter for the returned list.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /** Optional. Filter for the returned list. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
/**
- * Optional. Maximum number of workflow configs to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
+ * Optional. This field only supports ordering by `name`. If unspecified, the server
+ * will choose the ordering. If specified, the default order is ascending for the `name`
+ * field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
+ ordering. If specified, the default order is ascending for the `name` field.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Optional. This field only supports ordering by `name`. If unspecified, the server
+ * will choose the ordering. If specified, the default order is ascending for the `name`
+ * field.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Optional. Maximum number of workflow invocations to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;
- /** Optional. Maximum number of workflow configs to return. The server may return fewer items than
+ /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than
requested. If unspecified, the server will pick an appropriate default.
*/
public java.lang.Integer getPageSize() {
@@ -8053,8 +7548,9 @@ public java.lang.Integer getPageSize() {
}
/**
- * Optional. Maximum number of workflow configs to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Maximum number of workflow invocations to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
*/
public List setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
@@ -8062,27 +7558,28 @@ public List setPageSize(java.lang.Integer pageSize) {
}
/**
- * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide
+ * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide
* this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call
+ * that provided the page token.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;
- /** Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve
- the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with
- the exception of `page_size`, must match the call that provided the page token.
+ /** Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to
+ retrieve the subsequent page. When paginating, all other parameters provided to
+ `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the
+ page token.
*/
public java.lang.String getPageToken() {
return pageToken;
}
/**
- * Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide
+ * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide
* this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call
+ * that provided the page token.
*/
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
@@ -8095,348 +7592,381 @@ public List set(String parameterName, Object value) {
}
}
/**
- * Updates a single WorkflowConfig. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
+ * Returns WorkflowInvocationActions in a given WorkflowInvocation.
*
- * Create a request for the method "workflowConfigs.patch".
+ * Create a request for the method "workflowInvocations.query".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Query#execute()} method to invoke the remote operation.
*
- * @param name Identifier. The workflow config's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
+ * @param name Required. The workflow invocation's name.
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.WorkflowConfig content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public Query query(java.lang.String name) throws java.io.IOException {
+ Query result = new Query(name);
initialize(result);
return result;
}
- public class Patch extends DataformRequest {
+ public class Query extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}:query";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
/**
- * Updates a single WorkflowConfig. **Note:** *This method does not fully implement
- * [AIP/134](https://google.aip.dev/134). The wildcard entry () is treated as a bad request, and
- * when the `field_mask` is omitted, the request is treated as a full update on all modifiable
- * fields.*
+ * Returns WorkflowInvocationActions in a given WorkflowInvocation.
*
- * Create a request for the method "workflowConfigs.patch".
+ * Create a request for the method "workflowInvocations.query".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Query#execute()} method to invoke the remote operation.
* {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Query#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Identifier. The workflow config's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowConfig}
+ * @param name Required. The workflow invocation's name.
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.WorkflowConfig content) {
- super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowConfig.class);
+ protected Query(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryWorkflowInvocationActionsResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public Query set$Xgafv(java.lang.String $Xgafv) {
+ return (Query) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public Query setAccessToken(java.lang.String accessToken) {
+ return (Query) super.setAccessToken(accessToken);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public Query setAlt(java.lang.String alt) {
+ return (Query) super.setAlt(alt);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public Query setCallback(java.lang.String callback) {
+ return (Query) super.setCallback(callback);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public Query setFields(java.lang.String fields) {
+ return (Query) super.setFields(fields);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public Query setKey(java.lang.String key) {
+ return (Query) super.setKey(key);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public Query setOauthToken(java.lang.String oauthToken) {
+ return (Query) super.setOauthToken(oauthToken);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public Query setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Query) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public Query setQuotaUser(java.lang.String quotaUser) {
+ return (Query) super.setQuotaUser(quotaUser);
}
- /** Identifier. The workflow config's name. */
+ @Override
+ public Query setUploadType(java.lang.String uploadType) {
+ return (Query) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Query setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Query) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. The workflow invocation's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Identifier. The workflow config's name.
+ /** Required. The workflow invocation's name.
*/
public java.lang.String getName() {
return name;
}
- /** Identifier. The workflow config's name. */
- public Patch setName(java.lang.String name) {
+ /** Required. The workflow invocation's name. */
+ public Query setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
}
this.name = name;
return this;
}
/**
- * Optional. Specifies the fields to be updated in the workflow config. If left unset,
- * all fields will be updated.
+ * Optional. Maximum number of workflow invocations to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.Integer pageSize;
- /** Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will
- be updated.
+ /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
/**
- * Optional. Specifies the fields to be updated in the workflow config. If left unset,
- * all fields will be updated.
+ * Optional. Maximum number of workflow invocations to return. The server may return
+ * fewer items than requested. If unspecified, the server will pick an appropriate
+ * default.
*/
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ public Query setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must
+ * match the call that provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this
+ to retrieve the subsequent page. When paginating, all other parameters provided to
+ `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that
+ provided the page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+ * Provide this to retrieve the subsequent page. When paginating, all other parameters
+ * provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must
+ * match the call that provided the page token.
+ */
+ public Query setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public Query set(String parameterName, Object value) {
+ return (Query) super.set(parameterName, value);
}
}
}
/**
- * An accessor for creating requests from the WorkflowInvocations collection.
+ * An accessor for creating requests from the Workspaces collection.
*
* The typical use is:
*
* {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.WorkflowInvocations.List request = dataform.workflowInvocations().list(parameters ...)}
+ * {@code Dataform.Workspaces.List request = dataform.workspaces().list(parameters ...)}
*
*
* @return the resource collection
*/
- public WorkflowInvocations workflowInvocations() {
- return new WorkflowInvocations();
+ public Workspaces workspaces() {
+ return new Workspaces();
}
/**
- * The "workflowInvocations" collection of methods.
+ * The "workspaces" collection of methods.
*/
- public class WorkflowInvocations {
+ public class Workspaces {
/**
- * Requests cancellation of a running WorkflowInvocation.
+ * Applies a Git commit for uncommitted files in a Workspace.
*
- * Create a request for the method "workflowInvocations.cancel".
+ * Create a request for the method "workspaces.commit".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Commit#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow invocation resource's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest}
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest}
* @return the request
*/
- public Cancel cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest content) throws java.io.IOException {
- Cancel result = new Cancel(name, content);
+ public Commit commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest content) throws java.io.IOException {
+ Commit result = new Commit(name, content);
initialize(result);
return result;
}
- public class Cancel extends DataformRequest {
+ public class Commit extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:cancel";
+ private static final String REST_PATH = "v1/{+name}:commit";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Requests cancellation of a running WorkflowInvocation.
+ * Applies a Git commit for uncommitted files in a Workspace.
*
- * Create a request for the method "workflowInvocations.cancel".
+ * Create a request for the method "workspaces.commit".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Commit#execute()} method to invoke the remote operation.
* {@link
- * Cancel#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Commit#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The workflow invocation resource's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest}
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest}
* @since 1.13
*/
- protected Cancel(java.lang.String name, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CancelWorkflowInvocationResponse.class);
+ protected Commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public Cancel set$Xgafv(java.lang.String $Xgafv) {
- return (Cancel) super.set$Xgafv($Xgafv);
+ public Commit set$Xgafv(java.lang.String $Xgafv) {
+ return (Commit) super.set$Xgafv($Xgafv);
}
@Override
- public Cancel setAccessToken(java.lang.String accessToken) {
- return (Cancel) super.setAccessToken(accessToken);
+ public Commit setAccessToken(java.lang.String accessToken) {
+ return (Commit) super.setAccessToken(accessToken);
}
@Override
- public Cancel setAlt(java.lang.String alt) {
- return (Cancel) super.setAlt(alt);
+ public Commit setAlt(java.lang.String alt) {
+ return (Commit) super.setAlt(alt);
}
@Override
- public Cancel setCallback(java.lang.String callback) {
- return (Cancel) super.setCallback(callback);
+ public Commit setCallback(java.lang.String callback) {
+ return (Commit) super.setCallback(callback);
}
@Override
- public Cancel setFields(java.lang.String fields) {
- return (Cancel) super.setFields(fields);
+ public Commit setFields(java.lang.String fields) {
+ return (Commit) super.setFields(fields);
}
@Override
- public Cancel setKey(java.lang.String key) {
- return (Cancel) super.setKey(key);
+ public Commit setKey(java.lang.String key) {
+ return (Commit) super.setKey(key);
}
@Override
- public Cancel setOauthToken(java.lang.String oauthToken) {
- return (Cancel) super.setOauthToken(oauthToken);
+ public Commit setOauthToken(java.lang.String oauthToken) {
+ return (Commit) super.setOauthToken(oauthToken);
}
@Override
- public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Cancel) super.setPrettyPrint(prettyPrint);
+ public Commit setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Commit) super.setPrettyPrint(prettyPrint);
}
@Override
- public Cancel setQuotaUser(java.lang.String quotaUser) {
- return (Cancel) super.setQuotaUser(quotaUser);
+ public Commit setQuotaUser(java.lang.String quotaUser) {
+ return (Commit) super.setQuotaUser(quotaUser);
}
@Override
- public Cancel setUploadType(java.lang.String uploadType) {
- return (Cancel) super.setUploadType(uploadType);
+ public Commit setUploadType(java.lang.String uploadType) {
+ return (Commit) super.setUploadType(uploadType);
}
@Override
- public Cancel setUploadProtocol(java.lang.String uploadProtocol) {
- return (Cancel) super.setUploadProtocol(uploadProtocol);
+ public Commit setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Commit) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow invocation resource's name. */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The workflow invocation resource's name.
+ /** Required. The workspace's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The workflow invocation resource's name. */
- public Cancel setName(java.lang.String name) {
+ /** Required. The workspace's name. */
+ public Commit setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
this.name = name;
return this;
}
@Override
- public Cancel set(String parameterName, Object value) {
- return (Cancel) super.set(parameterName, value);
+ public Commit set(String parameterName, Object value) {
+ return (Commit) super.set(parameterName, value);
}
}
/**
- * Creates a new WorkflowInvocation in a given Repository.
+ * Creates a new Workspace in a given Repository.
*
- * Create a request for the method "workflowInvocations.create".
+ * Create a request for the method "workspaces.create".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to create the workflow invocation. Must be in the format
+ * @param parent Required. The repository in which to create the workspace. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowInvocation}
+ * @param content the {@link com.google.api.services.dataform.v1.model.Workspace}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowInvocation content) throws java.io.IOException {
+ public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) throws java.io.IOException {
Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class Create extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workflowInvocations";
+ private static final String REST_PATH = "v1/{+parent}/workspaces";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Creates a new WorkflowInvocation in a given Repository.
+ * Creates a new Workspace in a given Repository.
*
- * Create a request for the method "workflowInvocations.create".
+ * Create a request for the method "workspaces.create".
*
* This request holds the parameters needed by the the dataform server. After setting any
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
@@ -8444,13 +7974,13 @@ public class Create extends DataformRequest
*
- * @param parent Required. The repository in which to create the workflow invocation. Must be in the format
+ * @param parent Required. The repository in which to create the workspace. Must be in the format
* `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.WorkflowInvocation}
+ * @param content the {@link com.google.api.services.dataform.v1.model.Workspace}
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.WorkflowInvocation content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WorkflowInvocation.class);
+ protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Workspace.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -8515,13 +8045,13 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) {
}
/**
- * Required. The repository in which to create the workflow invocation. Must be in the
- * format `projects/locations/repositories`.
+ * Required. The repository in which to create the workspace. Must be in the format
+ * `projects/locations/repositories`.
*/
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The repository in which to create the workflow invocation. Must be in the format
+ /** Required. The repository in which to create the workspace. Must be in the format
`projects/locations/repositories`.
*/
public java.lang.String getParent() {
@@ -8529,8 +8059,8 @@ public java.lang.String getParent() {
}
/**
- * Required. The repository in which to create the workflow invocation. Must be in the
- * format `projects/locations/repositories`.
+ * Required. The repository in which to create the workspace. Must be in the format
+ * `projects/locations/repositories`.
*/
public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
@@ -8542,20 +8072,43 @@ public Create setParent(java.lang.String parent) {
return this;
}
+ /**
+ * Required. The ID to use for the workspace, which will become the final component of
+ * the workspace's resource name.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String workspaceId;
+
+ /** Required. The ID to use for the workspace, which will become the final component of the workspace's
+ resource name.
+ */
+ public java.lang.String getWorkspaceId() {
+ return workspaceId;
+ }
+
+ /**
+ * Required. The ID to use for the workspace, which will become the final component of
+ * the workspace's resource name.
+ */
+ public Create setWorkspaceId(java.lang.String workspaceId) {
+ this.workspaceId = workspaceId;
+ return this;
+ }
+
@Override
public Create set(String parameterName, Object value) {
return (Create) super.set(parameterName, value);
}
}
/**
- * Deletes a single WorkflowInvocation.
+ * Deletes a single Workspace.
*
- * Create a request for the method "workflowInvocations.delete".
+ * Create a request for the method "workspaces.delete".
*
* This request holds the parameters needed by the dataform server. After setting any optional
* parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow invocation resource's name.
+ * @param name Required. The workspace resource's name.
* @return the request
*/
public Delete delete(java.lang.String name) throws java.io.IOException {
@@ -8569,12 +8122,12 @@ public class Delete extends DataformRequest
*
- * @param name Required. The workflow invocation resource's name.
+ * @param name Required. The workspace resource's name.
* @since 1.13
*/
protected Delete(java.lang.String name) {
@@ -8591,7 +8144,7 @@ protected Delete(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@@ -8650,22 +8203,22 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow invocation resource's name. */
+ /** Required. The workspace resource's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The workflow invocation resource's name.
+ /** Required. The workspace resource's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The workflow invocation resource's name. */
+ /** Required. The workspace resource's name. */
public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
this.name = name;
return this;
@@ -8677,49 +8230,50 @@ public Delete set(String parameterName, Object value) {
}
}
/**
- * Fetches a single WorkflowInvocation.
+ * Fetches Git diff for an uncommitted file in a Workspace.
*
- * Create a request for the method "workflowInvocations.get".
+ * Create a request for the method "workspaces.fetchFileDiff".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * parameters, call the {@link FetchFileDiff#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow invocation resource's name.
+ * @param workspace Required. The workspace's name.
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public FetchFileDiff fetchFileDiff(java.lang.String workspace) throws java.io.IOException {
+ FetchFileDiff result = new FetchFileDiff(workspace);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class FetchFileDiff extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+workspace}:fetchFileDiff";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Fetches a single WorkflowInvocation.
+ * Fetches Git diff for an uncommitted file in a Workspace.
*
- * Create a request for the method "workflowInvocations.get".
+ * Create a request for the method "workspaces.fetchFileDiff".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link FetchFileDiff#execute()} method to invoke the remote
+ * operation. {@link FetchFileDiff#initialize(com.google.api.client.googleapis.services.Abstra
+ * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
+ * the constructor.
*
- * @param name Required. The workflow invocation resource's name.
+ * @param workspace Required. The workspace's name.
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.WorkflowInvocation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected FetchFileDiff(java.lang.String workspace) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchFileDiffResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@@ -8734,132 +8288,152 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public FetchFileDiff set$Xgafv(java.lang.String $Xgafv) {
+ return (FetchFileDiff) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public FetchFileDiff setAccessToken(java.lang.String accessToken) {
+ return (FetchFileDiff) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public FetchFileDiff setAlt(java.lang.String alt) {
+ return (FetchFileDiff) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public FetchFileDiff setCallback(java.lang.String callback) {
+ return (FetchFileDiff) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public FetchFileDiff setFields(java.lang.String fields) {
+ return (FetchFileDiff) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public FetchFileDiff setKey(java.lang.String key) {
+ return (FetchFileDiff) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public FetchFileDiff setOauthToken(java.lang.String oauthToken) {
+ return (FetchFileDiff) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public FetchFileDiff setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (FetchFileDiff) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public FetchFileDiff setQuotaUser(java.lang.String quotaUser) {
+ return (FetchFileDiff) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public FetchFileDiff setUploadType(java.lang.String uploadType) {
+ return (FetchFileDiff) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public FetchFileDiff setUploadProtocol(java.lang.String uploadProtocol) {
+ return (FetchFileDiff) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow invocation resource's name. */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
- /** Required. The workflow invocation resource's name.
+ /** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
- /** Required. The workflow invocation resource's name. */
- public Get setName(java.lang.String name) {
+ /** Required. The workspace's name. */
+ public FetchFileDiff setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
+ this.workspace = workspace;
+ return this;
+ }
+
+ /**
+ * Required. The file's full path including filename, relative to the workspace root.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String path;
+
+ /** Required. The file's full path including filename, relative to the workspace root.
+ */
+ public java.lang.String getPath() {
+ return path;
+ }
+
+ /**
+ * Required. The file's full path including filename, relative to the workspace root.
+ */
+ public FetchFileDiff setPath(java.lang.String path) {
+ this.path = path;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public FetchFileDiff set(String parameterName, Object value) {
+ return (FetchFileDiff) super.set(parameterName, value);
}
}
/**
- * Lists WorkflowInvocations in a given Repository.
+ * Fetches Git statuses for the files in a Workspace.
*
- * Create a request for the method "workflowInvocations.list".
+ * Create a request for the method "workspaces.fetchFileGitStatuses".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * parameters, call the {@link FetchFileGitStatuses#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the format
- * `projects/locations/repositories`.
+ * @param name Required. The workspace's name.
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public FetchFileGitStatuses fetchFileGitStatuses(java.lang.String name) throws java.io.IOException {
+ FetchFileGitStatuses result = new FetchFileGitStatuses(name);
initialize(result);
return result;
}
- public class List extends DataformRequest {
+ public class FetchFileGitStatuses extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workflowInvocations";
+ private static final String REST_PATH = "v1/{+name}:fetchFileGitStatuses";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Lists WorkflowInvocations in a given Repository.
+ * Fetches Git statuses for the files in a Workspace.
*
- * Create a request for the method "workflowInvocations.list".
+ * Create a request for the method "workspaces.fetchFileGitStatuses".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link FetchFileGitStatuses#execute()} method to invoke the
+ * remote operation. {@link FetchFileGitStatuses#initialize(com.google.api.client.googleapis.s
+ * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
- * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the format
- * `projects/locations/repositories`.
+ * @param name Required. The workspace's name.
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkflowInvocationsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected FetchFileGitStatuses(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchFileGitStatusesResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@@ -8874,233 +8448,131 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public FetchFileGitStatuses set$Xgafv(java.lang.String $Xgafv) {
+ return (FetchFileGitStatuses) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public FetchFileGitStatuses setAccessToken(java.lang.String accessToken) {
+ return (FetchFileGitStatuses) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public FetchFileGitStatuses setAlt(java.lang.String alt) {
+ return (FetchFileGitStatuses) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public FetchFileGitStatuses setCallback(java.lang.String callback) {
+ return (FetchFileGitStatuses) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public FetchFileGitStatuses setFields(java.lang.String fields) {
+ return (FetchFileGitStatuses) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public FetchFileGitStatuses setKey(java.lang.String key) {
+ return (FetchFileGitStatuses) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public FetchFileGitStatuses setOauthToken(java.lang.String oauthToken) {
+ return (FetchFileGitStatuses) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public FetchFileGitStatuses setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (FetchFileGitStatuses) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public FetchFileGitStatuses setQuotaUser(java.lang.String quotaUser) {
+ return (FetchFileGitStatuses) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public FetchFileGitStatuses setUploadType(java.lang.String uploadType) {
+ return (FetchFileGitStatuses) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public FetchFileGitStatuses setUploadProtocol(java.lang.String uploadProtocol) {
+ return (FetchFileGitStatuses) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Required. The parent resource of the WorkflowInvocation type. Must be in the format
- * `projects/locations/repositories`.
- */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String name;
- /** Required. The parent resource of the WorkflowInvocation type. Must be in the format
- `projects/locations/repositories`.
+ /** Required. The workspace's name.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * Required. The parent resource of the WorkflowInvocation type. Must be in the format
- * `projects/locations/repositories`.
- */
- public List setParent(java.lang.String parent) {
+ /** Required. The workspace's name. */
+ public FetchFileGitStatuses setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.parent = parent;
- return this;
- }
-
- /** Optional. Filter for the returned list. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Filter for the returned list.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** Optional. Filter for the returned list. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. This field only supports ordering by `name`. If unspecified, the server
- * will choose the ordering. If specified, the default order is ascending for the `name`
- * field.
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
- ordering. If specified, the default order is ascending for the `name` field.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /**
- * Optional. This field only supports ordering by `name`. If unspecified, the server
- * will choose the ordering. If specified, the default order is ascending for the `name`
- * field.
- */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
-
- /**
- * Optional. Maximum number of workflow invocations to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of workflow invocations to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call
- * that provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the
- page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call
- * that provided the page token.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ this.name = name;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public FetchFileGitStatuses set(String parameterName, Object value) {
+ return (FetchFileGitStatuses) super.set(parameterName, value);
}
}
/**
- * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+ * Fetches Git ahead/behind against a remote branch.
*
- * Create a request for the method "workflowInvocations.query".
+ * Create a request for the method "workspaces.fetchGitAheadBehind".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Query#execute()} method to invoke the remote operation.
+ * parameters, call the {@link FetchGitAheadBehind#execute()} method to invoke the remote operation.
*
- * @param name Required. The workflow invocation's name.
+ * @param name Required. The workspace's name.
* @return the request
*/
- public Query query(java.lang.String name) throws java.io.IOException {
- Query result = new Query(name);
+ public FetchGitAheadBehind fetchGitAheadBehind(java.lang.String name) throws java.io.IOException {
+ FetchGitAheadBehind result = new FetchGitAheadBehind(name);
initialize(result);
return result;
}
- public class Query extends DataformRequest {
+ public class FetchGitAheadBehind extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:query";
+ private static final String REST_PATH = "v1/{+name}:fetchGitAheadBehind";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+ * Fetches Git ahead/behind against a remote branch.
*
- * Create a request for the method "workflowInvocations.query".
+ * Create a request for the method "workspaces.fetchGitAheadBehind".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Query#execute()} method to invoke the remote operation.
- * {@link
- * Query#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link FetchGitAheadBehind#execute()} method to invoke the remote
+ * operation. {@link FetchGitAheadBehind#initialize(com.google.api.client.googleapis.services.
+ * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
- * @param name Required. The workflow invocation's name.
+ * @param name Required. The workspace's name.
* @since 1.13
*/
- protected Query(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryWorkflowInvocationActionsResponse.class);
+ protected FetchGitAheadBehind(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchGitAheadBehindResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@@ -9115,204 +8587,148 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public Query set$Xgafv(java.lang.String $Xgafv) {
- return (Query) super.set$Xgafv($Xgafv);
+ public FetchGitAheadBehind set$Xgafv(java.lang.String $Xgafv) {
+ return (FetchGitAheadBehind) super.set$Xgafv($Xgafv);
}
@Override
- public Query setAccessToken(java.lang.String accessToken) {
- return (Query) super.setAccessToken(accessToken);
+ public FetchGitAheadBehind setAccessToken(java.lang.String accessToken) {
+ return (FetchGitAheadBehind) super.setAccessToken(accessToken);
}
@Override
- public Query setAlt(java.lang.String alt) {
- return (Query) super.setAlt(alt);
+ public FetchGitAheadBehind setAlt(java.lang.String alt) {
+ return (FetchGitAheadBehind) super.setAlt(alt);
}
@Override
- public Query setCallback(java.lang.String callback) {
- return (Query) super.setCallback(callback);
+ public FetchGitAheadBehind setCallback(java.lang.String callback) {
+ return (FetchGitAheadBehind) super.setCallback(callback);
}
@Override
- public Query setFields(java.lang.String fields) {
- return (Query) super.setFields(fields);
+ public FetchGitAheadBehind setFields(java.lang.String fields) {
+ return (FetchGitAheadBehind) super.setFields(fields);
}
@Override
- public Query setKey(java.lang.String key) {
- return (Query) super.setKey(key);
+ public FetchGitAheadBehind setKey(java.lang.String key) {
+ return (FetchGitAheadBehind) super.setKey(key);
}
@Override
- public Query setOauthToken(java.lang.String oauthToken) {
- return (Query) super.setOauthToken(oauthToken);
+ public FetchGitAheadBehind setOauthToken(java.lang.String oauthToken) {
+ return (FetchGitAheadBehind) super.setOauthToken(oauthToken);
}
@Override
- public Query setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Query) super.setPrettyPrint(prettyPrint);
+ public FetchGitAheadBehind setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (FetchGitAheadBehind) super.setPrettyPrint(prettyPrint);
}
@Override
- public Query setQuotaUser(java.lang.String quotaUser) {
- return (Query) super.setQuotaUser(quotaUser);
+ public FetchGitAheadBehind setQuotaUser(java.lang.String quotaUser) {
+ return (FetchGitAheadBehind) super.setQuotaUser(quotaUser);
}
@Override
- public Query setUploadType(java.lang.String uploadType) {
- return (Query) super.setUploadType(uploadType);
+ public FetchGitAheadBehind setUploadType(java.lang.String uploadType) {
+ return (FetchGitAheadBehind) super.setUploadType(uploadType);
}
@Override
- public Query setUploadProtocol(java.lang.String uploadProtocol) {
- return (Query) super.setUploadProtocol(uploadProtocol);
+ public FetchGitAheadBehind setUploadProtocol(java.lang.String uploadProtocol) {
+ return (FetchGitAheadBehind) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workflow invocation's name. */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The workflow invocation's name.
+ /** Required. The workspace's name.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The workflow invocation's name. */
- public Query setName(java.lang.String name) {
+ /** Required. The workspace's name. */
+ public FetchGitAheadBehind setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
this.name = name;
return this;
}
/**
- * Optional. Maximum number of workflow invocations to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of workflow invocations to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of workflow invocations to return. The server may return
- * fewer items than requested. If unspecified, the server will pick an appropriate
- * default.
- */
- public Query setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must
- * match the call that provided the page token.
+ * Optional. The name of the branch in the Git remote against which this workspace
+ * should be compared. If left unset, the repository's default branch name will be used.
*/
@com.google.api.client.util.Key
- private java.lang.String pageToken;
+ private java.lang.String remoteBranch;
- /** Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this
- to retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that
- provided the page token.
+ /** Optional. The name of the branch in the Git remote against which this workspace should be compared.
+ If left unset, the repository's default branch name will be used.
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.String getRemoteBranch() {
+ return remoteBranch;
}
/**
- * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
- * Provide this to retrieve the subsequent page. When paginating, all other parameters
- * provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must
- * match the call that provided the page token.
+ * Optional. The name of the branch in the Git remote against which this workspace
+ * should be compared. If left unset, the repository's default branch name will be used.
*/
- public Query setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public FetchGitAheadBehind setRemoteBranch(java.lang.String remoteBranch) {
+ this.remoteBranch = remoteBranch;
return this;
}
@Override
- public Query set(String parameterName, Object value) {
- return (Query) super.set(parameterName, value);
+ public FetchGitAheadBehind set(String parameterName, Object value) {
+ return (FetchGitAheadBehind) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the Workspaces collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.Workspaces.List request = dataform.workspaces().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Workspaces workspaces() {
- return new Workspaces();
- }
-
- /**
- * The "workspaces" collection of methods.
- */
- public class Workspaces {
-
/**
- * Applies a Git commit for uncommitted files in a Workspace.
+ * Fetches a single Workspace.
*
- * Create a request for the method "workspaces.commit".
+ * Create a request for the method "workspaces.get".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Commit#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest}
* @return the request
*/
- public Commit commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest content) throws java.io.IOException {
- Commit result = new Commit(name, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Commit extends DataformRequest {
+ public class Get extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:commit";
+ private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Applies a Git commit for uncommitted files in a Workspace.
+ * Fetches a single Workspace.
*
- * Create a request for the method "workspaces.commit".
+ * Create a request for the method "workspaces.get".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Commit#execute()} method to invoke the remote operation.
- * {@link
- * Commit#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
* @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest}
* @since 1.13
*/
- protected Commit(java.lang.String name, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.CommitWorkspaceChangesResponse.class);
+ protected Get(java.lang.String name) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Workspace.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -9322,58 +8738,68 @@ protected Commit(java.lang.String name, com.google.api.services.dataform.v1.mode
}
@Override
- public Commit set$Xgafv(java.lang.String $Xgafv) {
- return (Commit) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Commit setAccessToken(java.lang.String accessToken) {
- return (Commit) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Commit setAlt(java.lang.String alt) {
- return (Commit) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public Commit setCallback(java.lang.String callback) {
- return (Commit) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public Commit setFields(java.lang.String fields) {
- return (Commit) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public Commit setKey(java.lang.String key) {
- return (Commit) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public Commit setOauthToken(java.lang.String oauthToken) {
- return (Commit) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public Commit setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Commit) super.setPrettyPrint(prettyPrint);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public Commit setQuotaUser(java.lang.String quotaUser) {
- return (Commit) super.setQuotaUser(quotaUser);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public Commit setUploadType(java.lang.String uploadType) {
- return (Commit) super.setUploadType(uploadType);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public Commit setUploadProtocol(java.lang.String uploadProtocol) {
- return (Commit) super.setUploadProtocol(uploadProtocol);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@@ -9387,7 +8813,7 @@ public java.lang.String getName() {
}
/** Required. The workspace's name. */
- public Commit setName(java.lang.String name) {
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -9398,347 +8824,385 @@ public Commit setName(java.lang.String name) {
}
@Override
- public Commit set(String parameterName, Object value) {
- return (Commit) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Creates a new Workspace in a given Repository.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "workspaces.create".
+ * Create a request for the method "workspaces.getIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param parent Required. The repository in which to create the workspace. Must be in the format
- * `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Workspace}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Create extends DataformRequest {
+ public class GetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workspaces";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Creates a new Workspace in a given Repository.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "workspaces.create".
+ * Create a request for the method "workspaces.getIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- * {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The repository in which to create the workspace. Must be in the format
- * `projects/locations/repositories`.
- * @param content the {@link com.google.api.services.dataform.v1.model.Workspace}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.Workspace content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Workspace.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The repository in which to create the workspace. Must be in the format
- * `projects/locations/repositories`.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String resource;
- /** Required. The repository in which to create the workspace. Must be in the format
- `projects/locations/repositories`.
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Required. The repository in which to create the workspace. Must be in the format
- * `projects/locations/repositories`.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Create setParent(java.lang.String parent) {
+ public GetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.parent = parent;
+ this.resource = resource;
return this;
}
/**
- * Required. The ID to use for the workspace, which will become the final component of
- * the workspace's resource name.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
+ * Requests for policies with any conditional role bindings must specify version 3.
+ * Policies with no conditional role bindings may specify any valid value or leave the
+ * field unset. The policy in the response might use the policy version that you
+ * specified, or it might use a lower policy version. For example, if you specify
+ * version 3, but the policy has no conditional role bindings, the response uses version
+ * 1. To learn which resources support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- @com.google.api.client.util.Key
- private java.lang.String workspaceId;
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
- /** Required. The ID to use for the workspace, which will become the final component of the workspace's
- resource name.
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public java.lang.String getWorkspaceId() {
- return workspaceId;
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
}
/**
- * Required. The ID to use for the workspace, which will become the final component of
- * the workspace's resource name.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
+ * Requests for policies with any conditional role bindings must specify version 3.
+ * Policies with no conditional role bindings may specify any valid value or leave the
+ * field unset. The policy in the response might use the policy version that you
+ * specified, or it might use a lower policy version. For example, if you specify
+ * version 3, but the policy has no conditional role bindings, the response uses version
+ * 1. To learn which resources support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public Create setWorkspaceId(java.lang.String workspaceId) {
- this.workspaceId = workspaceId;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Deletes a single Workspace.
+ * Installs dependency NPM packages (inside a Workspace).
*
- * Create a request for the method "workspaces.delete".
+ * Create a request for the method "workspaces.installNpmPackages".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * parameters, call the {@link InstallNpmPackages#execute()} method to invoke the remote operation.
*
- * @param name Required. The workspace resource's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest}
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public InstallNpmPackages installNpmPackages(java.lang.String workspace, com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest content) throws java.io.IOException {
+ InstallNpmPackages result = new InstallNpmPackages(workspace, content);
initialize(result);
return result;
}
- public class Delete extends DataformRequest {
+ public class InstallNpmPackages extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+workspace}:installNpmPackages";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Deletes a single Workspace.
+ * Installs dependency NPM packages (inside a Workspace).
*
- * Create a request for the method "workspaces.delete".
+ * Create a request for the method "workspaces.installNpmPackages".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- * {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link InstallNpmPackages#execute()} method to invoke the remote
+ * operation. {@link InstallNpmPackages#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
*
- * @param name Required. The workspace resource's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest}
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected InstallNpmPackages(java.lang.String workspace, com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.InstallNpmPackagesResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public InstallNpmPackages set$Xgafv(java.lang.String $Xgafv) {
+ return (InstallNpmPackages) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public InstallNpmPackages setAccessToken(java.lang.String accessToken) {
+ return (InstallNpmPackages) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public InstallNpmPackages setAlt(java.lang.String alt) {
+ return (InstallNpmPackages) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public InstallNpmPackages setCallback(java.lang.String callback) {
+ return (InstallNpmPackages) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public InstallNpmPackages setFields(java.lang.String fields) {
+ return (InstallNpmPackages) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public InstallNpmPackages setKey(java.lang.String key) {
+ return (InstallNpmPackages) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public InstallNpmPackages setOauthToken(java.lang.String oauthToken) {
+ return (InstallNpmPackages) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public InstallNpmPackages setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (InstallNpmPackages) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public InstallNpmPackages setQuotaUser(java.lang.String quotaUser) {
+ return (InstallNpmPackages) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public InstallNpmPackages setUploadType(java.lang.String uploadType) {
+ return (InstallNpmPackages) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public InstallNpmPackages setUploadProtocol(java.lang.String uploadProtocol) {
+ return (InstallNpmPackages) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workspace resource's name. */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
- /** Required. The workspace resource's name.
+ /** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
- /** Required. The workspace resource's name. */
- public Delete setName(java.lang.String name) {
+ /** Required. The workspace's name. */
+ public InstallNpmPackages setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
+ this.workspace = workspace;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public InstallNpmPackages set(String parameterName, Object value) {
+ return (InstallNpmPackages) super.set(parameterName, value);
}
}
/**
- * Fetches Git diff for an uncommitted file in a Workspace.
+ * Lists Workspaces in a given Repository.
*
- * Create a request for the method "workspaces.fetchFileDiff".
+ * Create a request for the method "workspaces.list".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link FetchFileDiff#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param workspace Required. The workspace's name.
+ * @param parent Required. The repository in which to list workspaces. Must be in the format
+ * `projects/locations/repositories`.
* @return the request
*/
- public FetchFileDiff fetchFileDiff(java.lang.String workspace) throws java.io.IOException {
- FetchFileDiff result = new FetchFileDiff(workspace);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class FetchFileDiff extends DataformRequest {
+ public class List extends DataformRequest {
- private static final String REST_PATH = "v1/{+workspace}:fetchFileDiff";
+ private static final String REST_PATH = "v1/{+parent}/workspaces";
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
/**
- * Fetches Git diff for an uncommitted file in a Workspace.
+ * Lists Workspaces in a given Repository.
*
- * Create a request for the method "workspaces.fetchFileDiff".
+ * Create a request for the method "workspaces.list".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link FetchFileDiff#execute()} method to invoke the remote
- * operation. {@link FetchFileDiff#initialize(com.google.api.client.googleapis.services.Abstra
- * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
- * the constructor.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param workspace Required. The workspace's name.
+ * @param parent Required. The repository in which to list workspaces. Must be in the format
+ * `projects/locations/repositories`.
* @since 1.13
*/
- protected FetchFileDiff(java.lang.String workspace) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchFileDiffResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
+ protected List(java.lang.String parent) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkspacesResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
}
@@ -9753,921 +9217,884 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public FetchFileDiff set$Xgafv(java.lang.String $Xgafv) {
- return (FetchFileDiff) super.set$Xgafv($Xgafv);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public FetchFileDiff setAccessToken(java.lang.String accessToken) {
- return (FetchFileDiff) super.setAccessToken(accessToken);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public FetchFileDiff setAlt(java.lang.String alt) {
- return (FetchFileDiff) super.setAlt(alt);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public FetchFileDiff setCallback(java.lang.String callback) {
- return (FetchFileDiff) super.setCallback(callback);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public FetchFileDiff setFields(java.lang.String fields) {
- return (FetchFileDiff) super.setFields(fields);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public FetchFileDiff setKey(java.lang.String key) {
- return (FetchFileDiff) super.setKey(key);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public FetchFileDiff setOauthToken(java.lang.String oauthToken) {
- return (FetchFileDiff) super.setOauthToken(oauthToken);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public FetchFileDiff setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (FetchFileDiff) super.setPrettyPrint(prettyPrint);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public FetchFileDiff setQuotaUser(java.lang.String quotaUser) {
- return (FetchFileDiff) super.setQuotaUser(quotaUser);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
}
@Override
- public FetchFileDiff setUploadType(java.lang.String uploadType) {
- return (FetchFileDiff) super.setUploadType(uploadType);
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
}
@Override
- public FetchFileDiff setUploadProtocol(java.lang.String uploadProtocol) {
- return (FetchFileDiff) super.setUploadProtocol(uploadProtocol);
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The workspace's name. */
+ /**
+ * Required. The repository in which to list workspaces. Must be in the format
+ * `projects/locations/repositories`.
+ */
@com.google.api.client.util.Key
- private java.lang.String workspace;
+ private java.lang.String parent;
- /** Required. The workspace's name.
+ /** Required. The repository in which to list workspaces. Must be in the format
+ `projects/locations/repositories`.
*/
- public java.lang.String getWorkspace() {
- return workspace;
+ public java.lang.String getParent() {
+ return parent;
}
- /** Required. The workspace's name. */
- public FetchFileDiff setWorkspace(java.lang.String workspace) {
+ /**
+ * Required. The repository in which to list workspaces. Must be in the format
+ * `projects/locations/repositories`.
+ */
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
}
- this.workspace = workspace;
+ this.parent = parent;
+ return this;
+ }
+
+ /** Optional. Filter for the returned list. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** Optional. Filter for the returned list.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /** Optional. Filter for the returned list. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
return this;
}
/**
- * Required. The file's full path including filename, relative to the workspace root.
+ * Optional. This field only supports ordering by `name`. If unspecified, the server
+ * will choose the ordering. If specified, the default order is ascending for the `name`
+ * field.
*/
@com.google.api.client.util.Key
- private java.lang.String path;
+ private java.lang.String orderBy;
- /** Required. The file's full path including filename, relative to the workspace root.
+ /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
+ ordering. If specified, the default order is ascending for the `name` field.
*/
- public java.lang.String getPath() {
- return path;
+ public java.lang.String getOrderBy() {
+ return orderBy;
}
/**
- * Required. The file's full path including filename, relative to the workspace root.
+ * Optional. This field only supports ordering by `name`. If unspecified, the server
+ * will choose the ordering. If specified, the default order is ascending for the `name`
+ * field.
*/
- public FetchFileDiff setPath(java.lang.String path) {
- this.path = path;
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Optional. Maximum number of workspaces to return. The server may return fewer items
+ * than requested. If unspecified, the server will pick an appropriate default.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** Optional. Maximum number of workspaces to return. The server may return fewer items than requested.
+ If unspecified, the server will pick an appropriate default.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * Optional. Maximum number of workspaces to return. The server may return fewer items
+ * than requested. If unspecified, the server will pick an appropriate default.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to
+ * retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListWorkspaces`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the
+ subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the
+ exception of `page_size`, must match the call that provided the page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to
+ * retrieve the subsequent page. When paginating, all other parameters provided to
+ * `ListWorkspaces`, with the exception of `page_size`, must match the call that
+ * provided the page token.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public FetchFileDiff set(String parameterName, Object value) {
- return (FetchFileDiff) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Fetches Git statuses for the files in a Workspace.
+ * Creates a directory inside a Workspace.
*
- * Create a request for the method "workspaces.fetchFileGitStatuses".
+ * Create a request for the method "workspaces.makeDirectory".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link FetchFileGitStatuses#execute()} method to invoke the remote
- * operation.
+ * parameters, call the {@link MakeDirectory#execute()} method to invoke the remote operation.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MakeDirectoryRequest}
* @return the request
*/
- public FetchFileGitStatuses fetchFileGitStatuses(java.lang.String name) throws java.io.IOException {
- FetchFileGitStatuses result = new FetchFileGitStatuses(name);
+ public MakeDirectory makeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MakeDirectoryRequest content) throws java.io.IOException {
+ MakeDirectory result = new MakeDirectory(workspace, content);
initialize(result);
return result;
}
- public class FetchFileGitStatuses extends DataformRequest {
+ public class MakeDirectory extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:fetchFileGitStatuses";
+ private static final String REST_PATH = "v1/{+workspace}:makeDirectory";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Fetches Git statuses for the files in a Workspace.
+ * Creates a directory inside a Workspace.
*
- * Create a request for the method "workspaces.fetchFileGitStatuses".
+ * Create a request for the method "workspaces.makeDirectory".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link FetchFileGitStatuses#execute()} method to invoke the
- * remote operation. {@link FetchFileGitStatuses#initialize(com.google.api.client.googleapis.s
- * ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
+ * optional parameters, call the {@link MakeDirectory#execute()} method to invoke the remote
+ * operation. {@link MakeDirectory#initialize(com.google.api.client.googleapis.services.Abstra
+ * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
+ * the constructor.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MakeDirectoryRequest}
* @since 1.13
*/
- protected FetchFileGitStatuses(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchFileGitStatusesResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected MakeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MakeDirectoryRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MakeDirectoryResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public FetchFileGitStatuses set$Xgafv(java.lang.String $Xgafv) {
- return (FetchFileGitStatuses) super.set$Xgafv($Xgafv);
+ public MakeDirectory set$Xgafv(java.lang.String $Xgafv) {
+ return (MakeDirectory) super.set$Xgafv($Xgafv);
}
@Override
- public FetchFileGitStatuses setAccessToken(java.lang.String accessToken) {
- return (FetchFileGitStatuses) super.setAccessToken(accessToken);
+ public MakeDirectory setAccessToken(java.lang.String accessToken) {
+ return (MakeDirectory) super.setAccessToken(accessToken);
}
@Override
- public FetchFileGitStatuses setAlt(java.lang.String alt) {
- return (FetchFileGitStatuses) super.setAlt(alt);
+ public MakeDirectory setAlt(java.lang.String alt) {
+ return (MakeDirectory) super.setAlt(alt);
}
@Override
- public FetchFileGitStatuses setCallback(java.lang.String callback) {
- return (FetchFileGitStatuses) super.setCallback(callback);
+ public MakeDirectory setCallback(java.lang.String callback) {
+ return (MakeDirectory) super.setCallback(callback);
}
@Override
- public FetchFileGitStatuses setFields(java.lang.String fields) {
- return (FetchFileGitStatuses) super.setFields(fields);
+ public MakeDirectory setFields(java.lang.String fields) {
+ return (MakeDirectory) super.setFields(fields);
}
@Override
- public FetchFileGitStatuses setKey(java.lang.String key) {
- return (FetchFileGitStatuses) super.setKey(key);
+ public MakeDirectory setKey(java.lang.String key) {
+ return (MakeDirectory) super.setKey(key);
}
@Override
- public FetchFileGitStatuses setOauthToken(java.lang.String oauthToken) {
- return (FetchFileGitStatuses) super.setOauthToken(oauthToken);
+ public MakeDirectory setOauthToken(java.lang.String oauthToken) {
+ return (MakeDirectory) super.setOauthToken(oauthToken);
}
@Override
- public FetchFileGitStatuses setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (FetchFileGitStatuses) super.setPrettyPrint(prettyPrint);
+ public MakeDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (MakeDirectory) super.setPrettyPrint(prettyPrint);
}
@Override
- public FetchFileGitStatuses setQuotaUser(java.lang.String quotaUser) {
- return (FetchFileGitStatuses) super.setQuotaUser(quotaUser);
+ public MakeDirectory setQuotaUser(java.lang.String quotaUser) {
+ return (MakeDirectory) super.setQuotaUser(quotaUser);
}
@Override
- public FetchFileGitStatuses setUploadType(java.lang.String uploadType) {
- return (FetchFileGitStatuses) super.setUploadType(uploadType);
+ public MakeDirectory setUploadType(java.lang.String uploadType) {
+ return (MakeDirectory) super.setUploadType(uploadType);
}
@Override
- public FetchFileGitStatuses setUploadProtocol(java.lang.String uploadProtocol) {
- return (FetchFileGitStatuses) super.setUploadProtocol(uploadProtocol);
+ public MakeDirectory setUploadProtocol(java.lang.String uploadProtocol) {
+ return (MakeDirectory) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
/** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
/** Required. The workspace's name. */
- public FetchFileGitStatuses setName(java.lang.String name) {
+ public MakeDirectory setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
+ this.workspace = workspace;
return this;
}
@Override
- public FetchFileGitStatuses set(String parameterName, Object value) {
- return (FetchFileGitStatuses) super.set(parameterName, value);
+ public MakeDirectory set(String parameterName, Object value) {
+ return (MakeDirectory) super.set(parameterName, value);
}
}
/**
- * Fetches Git ahead/behind against a remote branch.
+ * Moves a directory (inside a Workspace), and all of its contents, to a new location.
*
- * Create a request for the method "workspaces.fetchGitAheadBehind".
+ * Create a request for the method "workspaces.moveDirectory".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link FetchGitAheadBehind#execute()} method to invoke the remote operation.
+ * parameters, call the {@link MoveDirectory#execute()} method to invoke the remote operation.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MoveDirectoryRequest}
* @return the request
*/
- public FetchGitAheadBehind fetchGitAheadBehind(java.lang.String name) throws java.io.IOException {
- FetchGitAheadBehind result = new FetchGitAheadBehind(name);
+ public MoveDirectory moveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveDirectoryRequest content) throws java.io.IOException {
+ MoveDirectory result = new MoveDirectory(workspace, content);
initialize(result);
return result;
}
- public class FetchGitAheadBehind extends DataformRequest {
+ public class MoveDirectory extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:fetchGitAheadBehind";
+ private static final String REST_PATH = "v1/{+workspace}:moveDirectory";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Fetches Git ahead/behind against a remote branch.
+ * Moves a directory (inside a Workspace), and all of its contents, to a new location.
*
- * Create a request for the method "workspaces.fetchGitAheadBehind".
+ * Create a request for the method "workspaces.moveDirectory".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link FetchGitAheadBehind#execute()} method to invoke the remote
- * operation. {@link FetchGitAheadBehind#initialize(com.google.api.client.googleapis.services.
- * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * optional parameters, call the {@link MoveDirectory#execute()} method to invoke the remote
+ * operation. {@link MoveDirectory#initialize(com.google.api.client.googleapis.services.Abstra
+ * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
+ * the constructor.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MoveDirectoryRequest}
* @since 1.13
*/
- protected FetchGitAheadBehind(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.FetchGitAheadBehindResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ protected MoveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveDirectoryRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MoveDirectoryResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public FetchGitAheadBehind set$Xgafv(java.lang.String $Xgafv) {
- return (FetchGitAheadBehind) super.set$Xgafv($Xgafv);
+ public MoveDirectory set$Xgafv(java.lang.String $Xgafv) {
+ return (MoveDirectory) super.set$Xgafv($Xgafv);
}
@Override
- public FetchGitAheadBehind setAccessToken(java.lang.String accessToken) {
- return (FetchGitAheadBehind) super.setAccessToken(accessToken);
+ public MoveDirectory setAccessToken(java.lang.String accessToken) {
+ return (MoveDirectory) super.setAccessToken(accessToken);
}
@Override
- public FetchGitAheadBehind setAlt(java.lang.String alt) {
- return (FetchGitAheadBehind) super.setAlt(alt);
+ public MoveDirectory setAlt(java.lang.String alt) {
+ return (MoveDirectory) super.setAlt(alt);
}
@Override
- public FetchGitAheadBehind setCallback(java.lang.String callback) {
- return (FetchGitAheadBehind) super.setCallback(callback);
+ public MoveDirectory setCallback(java.lang.String callback) {
+ return (MoveDirectory) super.setCallback(callback);
}
@Override
- public FetchGitAheadBehind setFields(java.lang.String fields) {
- return (FetchGitAheadBehind) super.setFields(fields);
+ public MoveDirectory setFields(java.lang.String fields) {
+ return (MoveDirectory) super.setFields(fields);
}
@Override
- public FetchGitAheadBehind setKey(java.lang.String key) {
- return (FetchGitAheadBehind) super.setKey(key);
+ public MoveDirectory setKey(java.lang.String key) {
+ return (MoveDirectory) super.setKey(key);
}
@Override
- public FetchGitAheadBehind setOauthToken(java.lang.String oauthToken) {
- return (FetchGitAheadBehind) super.setOauthToken(oauthToken);
+ public MoveDirectory setOauthToken(java.lang.String oauthToken) {
+ return (MoveDirectory) super.setOauthToken(oauthToken);
}
@Override
- public FetchGitAheadBehind setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (FetchGitAheadBehind) super.setPrettyPrint(prettyPrint);
+ public MoveDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (MoveDirectory) super.setPrettyPrint(prettyPrint);
}
@Override
- public FetchGitAheadBehind setQuotaUser(java.lang.String quotaUser) {
- return (FetchGitAheadBehind) super.setQuotaUser(quotaUser);
+ public MoveDirectory setQuotaUser(java.lang.String quotaUser) {
+ return (MoveDirectory) super.setQuotaUser(quotaUser);
}
@Override
- public FetchGitAheadBehind setUploadType(java.lang.String uploadType) {
- return (FetchGitAheadBehind) super.setUploadType(uploadType);
+ public MoveDirectory setUploadType(java.lang.String uploadType) {
+ return (MoveDirectory) super.setUploadType(uploadType);
}
@Override
- public FetchGitAheadBehind setUploadProtocol(java.lang.String uploadProtocol) {
- return (FetchGitAheadBehind) super.setUploadProtocol(uploadProtocol);
+ public MoveDirectory setUploadProtocol(java.lang.String uploadProtocol) {
+ return (MoveDirectory) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
/** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
/** Required. The workspace's name. */
- public FetchGitAheadBehind setName(java.lang.String name) {
+ public MoveDirectory setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
- return this;
- }
-
- /**
- * Optional. The name of the branch in the Git remote against which this workspace
- * should be compared. If left unset, the repository's default branch name will be used.
- */
- @com.google.api.client.util.Key
- private java.lang.String remoteBranch;
-
- /** Optional. The name of the branch in the Git remote against which this workspace should be compared.
- If left unset, the repository's default branch name will be used.
- */
- public java.lang.String getRemoteBranch() {
- return remoteBranch;
- }
-
- /**
- * Optional. The name of the branch in the Git remote against which this workspace
- * should be compared. If left unset, the repository's default branch name will be used.
- */
- public FetchGitAheadBehind setRemoteBranch(java.lang.String remoteBranch) {
- this.remoteBranch = remoteBranch;
+ this.workspace = workspace;
return this;
}
@Override
- public FetchGitAheadBehind set(String parameterName, Object value) {
- return (FetchGitAheadBehind) super.set(parameterName, value);
+ public MoveDirectory set(String parameterName, Object value) {
+ return (MoveDirectory) super.set(parameterName, value);
}
}
/**
- * Fetches a single Workspace.
+ * Moves a file (inside a Workspace) to a new location.
*
- * Create a request for the method "workspaces.get".
+ * Create a request for the method "workspaces.moveFile".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * parameters, call the {@link MoveFile#execute()} method to invoke the remote operation.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MoveFileRequest}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public MoveFile moveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveFileRequest content) throws java.io.IOException {
+ MoveFile result = new MoveFile(workspace, content);
initialize(result);
return result;
}
- public class Get extends DataformRequest {
+ public class MoveFile extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+workspace}:moveFile";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Fetches a single Workspace.
+ * Moves a file (inside a Workspace) to a new location.
*
- * Create a request for the method "workspaces.get".
+ * Create a request for the method "workspaces.moveFile".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link MoveFile#execute()} method to invoke the remote operation.
+ *
{@link
+ * MoveFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The workspace's name.
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.MoveFileRequest}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Workspace.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected MoveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveFileRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MoveFileResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public MoveFile set$Xgafv(java.lang.String $Xgafv) {
+ return (MoveFile) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public MoveFile setAccessToken(java.lang.String accessToken) {
+ return (MoveFile) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public MoveFile setAlt(java.lang.String alt) {
+ return (MoveFile) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public MoveFile setCallback(java.lang.String callback) {
+ return (MoveFile) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public MoveFile setFields(java.lang.String fields) {
+ return (MoveFile) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public MoveFile setKey(java.lang.String key) {
+ return (MoveFile) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public MoveFile setOauthToken(java.lang.String oauthToken) {
+ return (MoveFile) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public MoveFile setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (MoveFile) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public MoveFile setQuotaUser(java.lang.String quotaUser) {
+ return (MoveFile) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public MoveFile setUploadType(java.lang.String uploadType) {
+ return (MoveFile) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public MoveFile setUploadProtocol(java.lang.String uploadProtocol) {
+ return (MoveFile) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
/** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
/** Required. The workspace's name. */
- public Get setName(java.lang.String name) {
+ public MoveFile setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
+ this.workspace = workspace;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public MoveFile set(String parameterName, Object value) {
+ return (MoveFile) super.set(parameterName, value);
}
}
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
- * does not have a policy set.
+ * Pulls Git commits from the Repository's remote into a Workspace.
*
- * Create a request for the method "workspaces.getIamPolicy".
+ * Create a request for the method "workspaces.pull".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Pull#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.PullGitCommitsRequest}
* @return the request
*/
- public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
- GetIamPolicy result = new GetIamPolicy(resource);
+ public Pull pull(java.lang.String name, com.google.api.services.dataform.v1.model.PullGitCommitsRequest content) throws java.io.IOException {
+ Pull result = new Pull(name, content);
initialize(result);
return result;
}
- public class GetIamPolicy extends DataformRequest {
+ public class Pull extends DataformRequest {
- private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
+ private static final String REST_PATH = "v1/{+name}:pull";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
+ private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists
- * and does not have a policy set.
+ * Pulls Git commits from the Repository's remote into a Workspace.
*
- * Create a request for the method "workspaces.getIamPolicy".
+ * Create a request for the method "workspaces.pull".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link Pull#execute()} method to invoke the remote operation.
+ * {@link Pull#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.PullGitCommitsRequest}
* @since 1.13
*/
- protected GetIamPolicy(java.lang.String resource) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
+ protected Pull(java.lang.String name, com.google.api.services.dataform.v1.model.PullGitCommitsRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.PullGitCommitsResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (GetIamPolicy) super.set$Xgafv($Xgafv);
+ public Pull set$Xgafv(java.lang.String $Xgafv) {
+ return (Pull) super.set$Xgafv($Xgafv);
}
@Override
- public GetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (GetIamPolicy) super.setAccessToken(accessToken);
+ public Pull setAccessToken(java.lang.String accessToken) {
+ return (Pull) super.setAccessToken(accessToken);
}
@Override
- public GetIamPolicy setAlt(java.lang.String alt) {
- return (GetIamPolicy) super.setAlt(alt);
+ public Pull setAlt(java.lang.String alt) {
+ return (Pull) super.setAlt(alt);
}
@Override
- public GetIamPolicy setCallback(java.lang.String callback) {
- return (GetIamPolicy) super.setCallback(callback);
+ public Pull setCallback(java.lang.String callback) {
+ return (Pull) super.setCallback(callback);
}
@Override
- public GetIamPolicy setFields(java.lang.String fields) {
- return (GetIamPolicy) super.setFields(fields);
+ public Pull setFields(java.lang.String fields) {
+ return (Pull) super.setFields(fields);
}
@Override
- public GetIamPolicy setKey(java.lang.String key) {
- return (GetIamPolicy) super.setKey(key);
+ public Pull setKey(java.lang.String key) {
+ return (Pull) super.setKey(key);
}
@Override
- public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (GetIamPolicy) super.setOauthToken(oauthToken);
+ public Pull setOauthToken(java.lang.String oauthToken) {
+ return (Pull) super.setOauthToken(oauthToken);
}
@Override
- public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public Pull setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Pull) super.setPrettyPrint(prettyPrint);
}
@Override
- public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ public Pull setQuotaUser(java.lang.String quotaUser) {
+ return (Pull) super.setQuotaUser(quotaUser);
}
@Override
- public GetIamPolicy setUploadType(java.lang.String uploadType) {
- return (GetIamPolicy) super.setUploadType(uploadType);
+ public Pull setUploadType(java.lang.String uploadType) {
+ return (Pull) super.setUploadType(uploadType);
}
@Override
- public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ public Pull setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Pull) super.setUploadProtocol(uploadProtocol);
}
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String name;
- /** REQUIRED: The resource for which the policy is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
+ /** Required. The workspace's name.
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public GetIamPolicy setResource(java.lang.String resource) {
+ /** Required. The workspace's name. */
+ public Pull setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.resource = resource;
- return this;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
- * Requests for policies with any conditional role bindings must specify version 3.
- * Policies with no conditional role bindings may specify any valid value or leave the
- * field unset. The policy in the response might use the policy version that you
- * specified, or it might use a lower policy version. For example, if you specify
- * version 3, but the policy has no conditional role bindings, the response uses version
- * 1. To learn which resources support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- @com.google.api.client.util.Key("options.requestedPolicyVersion")
- private java.lang.Integer optionsRequestedPolicyVersion;
-
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
- and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
- conditional role bindings must specify version 3. Policies with no conditional role bindings may
- specify any valid value or leave the field unset. The policy in the response might use the policy
- version that you specified, or it might use a lower policy version. For example, if you specify
- version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
- which resources support conditions in their IAM policies, see the [IAM
- documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public java.lang.Integer getOptionsRequestedPolicyVersion() {
- return optionsRequestedPolicyVersion;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected.
- * Requests for policies with any conditional role bindings must specify version 3.
- * Policies with no conditional role bindings may specify any valid value or leave the
- * field unset. The policy in the response might use the policy version that you
- * specified, or it might use a lower policy version. For example, if you specify
- * version 3, but the policy has no conditional role bindings, the response uses version
- * 1. To learn which resources support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
- this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
+ this.name = name;
return this;
}
@Override
- public GetIamPolicy set(String parameterName, Object value) {
- return (GetIamPolicy) super.set(parameterName, value);
+ public Pull set(String parameterName, Object value) {
+ return (Pull) super.set(parameterName, value);
}
}
/**
- * Installs dependency NPM packages (inside a Workspace).
+ * Pushes Git commits from a Workspace to the Repository's remote.
*
- * Create a request for the method "workspaces.installNpmPackages".
+ * Create a request for the method "workspaces.push".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link InstallNpmPackages#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Push#execute()} method to invoke the remote operation.
*
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest}
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.PushGitCommitsRequest}
* @return the request
*/
- public InstallNpmPackages installNpmPackages(java.lang.String workspace, com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest content) throws java.io.IOException {
- InstallNpmPackages result = new InstallNpmPackages(workspace, content);
+ public Push push(java.lang.String name, com.google.api.services.dataform.v1.model.PushGitCommitsRequest content) throws java.io.IOException {
+ Push result = new Push(name, content);
initialize(result);
return result;
}
- public class InstallNpmPackages extends DataformRequest {
+ public class Push extends DataformRequest {
- private static final String REST_PATH = "v1/{+workspace}:installNpmPackages";
+ private static final String REST_PATH = "v1/{+name}:push";
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
+ private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Installs dependency NPM packages (inside a Workspace).
+ * Pushes Git commits from a Workspace to the Repository's remote.
*
- * Create a request for the method "workspaces.installNpmPackages".
+ * Create a request for the method "workspaces.push".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link InstallNpmPackages#execute()} method to invoke the remote
- * operation. {@link InstallNpmPackages#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * optional parameters, call the {@link Push#execute()} method to invoke the remote operation.
+ * {@link Push#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest}
+ * @param name Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.PushGitCommitsRequest}
* @since 1.13
*/
- protected InstallNpmPackages(java.lang.String workspace, com.google.api.services.dataform.v1.model.InstallNpmPackagesRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.InstallNpmPackagesResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
+ protected Push(java.lang.String name, com.google.api.services.dataform.v1.model.PushGitCommitsRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.PushGitCommitsResponse.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public InstallNpmPackages set$Xgafv(java.lang.String $Xgafv) {
- return (InstallNpmPackages) super.set$Xgafv($Xgafv);
+ public Push set$Xgafv(java.lang.String $Xgafv) {
+ return (Push) super.set$Xgafv($Xgafv);
}
@Override
- public InstallNpmPackages setAccessToken(java.lang.String accessToken) {
- return (InstallNpmPackages) super.setAccessToken(accessToken);
+ public Push setAccessToken(java.lang.String accessToken) {
+ return (Push) super.setAccessToken(accessToken);
}
@Override
- public InstallNpmPackages setAlt(java.lang.String alt) {
- return (InstallNpmPackages) super.setAlt(alt);
+ public Push setAlt(java.lang.String alt) {
+ return (Push) super.setAlt(alt);
}
@Override
- public InstallNpmPackages setCallback(java.lang.String callback) {
- return (InstallNpmPackages) super.setCallback(callback);
+ public Push setCallback(java.lang.String callback) {
+ return (Push) super.setCallback(callback);
}
@Override
- public InstallNpmPackages setFields(java.lang.String fields) {
- return (InstallNpmPackages) super.setFields(fields);
+ public Push setFields(java.lang.String fields) {
+ return (Push) super.setFields(fields);
}
@Override
- public InstallNpmPackages setKey(java.lang.String key) {
- return (InstallNpmPackages) super.setKey(key);
+ public Push setKey(java.lang.String key) {
+ return (Push) super.setKey(key);
}
@Override
- public InstallNpmPackages setOauthToken(java.lang.String oauthToken) {
- return (InstallNpmPackages) super.setOauthToken(oauthToken);
+ public Push setOauthToken(java.lang.String oauthToken) {
+ return (Push) super.setOauthToken(oauthToken);
}
@Override
- public InstallNpmPackages setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (InstallNpmPackages) super.setPrettyPrint(prettyPrint);
+ public Push setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Push) super.setPrettyPrint(prettyPrint);
}
@Override
- public InstallNpmPackages setQuotaUser(java.lang.String quotaUser) {
- return (InstallNpmPackages) super.setQuotaUser(quotaUser);
+ public Push setQuotaUser(java.lang.String quotaUser) {
+ return (Push) super.setQuotaUser(quotaUser);
}
@Override
- public InstallNpmPackages setUploadType(java.lang.String uploadType) {
- return (InstallNpmPackages) super.setUploadType(uploadType);
+ public Push setUploadType(java.lang.String uploadType) {
+ return (Push) super.setUploadType(uploadType);
}
@Override
- public InstallNpmPackages setUploadProtocol(java.lang.String uploadProtocol) {
- return (InstallNpmPackages) super.setUploadProtocol(uploadProtocol);
+ public Push setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Push) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String workspace;
+ private java.lang.String name;
/** Required. The workspace's name.
*/
- public java.lang.String getWorkspace() {
- return workspace;
+ public java.lang.String getName() {
+ return name;
}
/** Required. The workspace's name. */
- public InstallNpmPackages setWorkspace(java.lang.String workspace) {
+ public Push setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.workspace = workspace;
+ this.name = name;
return this;
}
@Override
- public InstallNpmPackages set(String parameterName, Object value) {
- return (InstallNpmPackages) super.set(parameterName, value);
+ public Push set(String parameterName, Object value) {
+ return (Push) super.set(parameterName, value);
}
}
/**
- * Lists Workspaces in a given Repository.
+ * Returns the contents of a given Workspace directory.
*
- * Create a request for the method "workspaces.list".
+ * Create a request for the method "workspaces.queryDirectoryContents".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. The repository in which to list workspaces. Must be in the format
- * `projects/locations/repositories`.
+ * @param workspace Required. The workspace's name.
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public QueryDirectoryContents queryDirectoryContents(java.lang.String workspace) throws java.io.IOException {
+ QueryDirectoryContents result = new QueryDirectoryContents(workspace);
initialize(result);
return result;
}
- public class List extends DataformRequest {
+ public class QueryDirectoryContents extends DataformRequest {
- private static final String REST_PATH = "v1/{+parent}/workspaces";
+ private static final String REST_PATH = "v1/{+workspace}:queryDirectoryContents";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Lists Workspaces in a given Repository.
+ * Returns the contents of a given Workspace directory.
*
- * Create a request for the method "workspaces.list".
+ * Create a request for the method "workspaces.queryDirectoryContents".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the
+ * remote operation. {@link QueryDirectoryContents#initialize(com.google.api.client.googleapis
+ * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
- * @param parent Required. The repository in which to list workspaces. Must be in the format
- * `projects/locations/repositories`.
+ * @param workspace Required. The workspace's name.
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ListWorkspacesResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected QueryDirectoryContents(java.lang.String workspace) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryDirectoryContentsResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@@ -10682,227 +10109,201 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public QueryDirectoryContents set$Xgafv(java.lang.String $Xgafv) {
+ return (QueryDirectoryContents) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public QueryDirectoryContents setAccessToken(java.lang.String accessToken) {
+ return (QueryDirectoryContents) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public QueryDirectoryContents setAlt(java.lang.String alt) {
+ return (QueryDirectoryContents) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public QueryDirectoryContents setCallback(java.lang.String callback) {
+ return (QueryDirectoryContents) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public QueryDirectoryContents setFields(java.lang.String fields) {
+ return (QueryDirectoryContents) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public QueryDirectoryContents setKey(java.lang.String key) {
+ return (QueryDirectoryContents) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public QueryDirectoryContents setOauthToken(java.lang.String oauthToken) {
+ return (QueryDirectoryContents) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public QueryDirectoryContents setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (QueryDirectoryContents) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public QueryDirectoryContents setQuotaUser(java.lang.String quotaUser) {
+ return (QueryDirectoryContents) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public QueryDirectoryContents setUploadType(java.lang.String uploadType) {
+ return (QueryDirectoryContents) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public QueryDirectoryContents setUploadProtocol(java.lang.String uploadProtocol) {
+ return (QueryDirectoryContents) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Required. The repository in which to list workspaces. Must be in the format
- * `projects/locations/repositories`.
- */
+ /** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String workspace;
- /** Required. The repository in which to list workspaces. Must be in the format
- `projects/locations/repositories`.
+ /** Required. The workspace's name.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
- /**
- * Required. The repository in which to list workspaces. Must be in the format
- * `projects/locations/repositories`.
- */
- public List setParent(java.lang.String parent) {
+ /** Required. The workspace's name. */
+ public QueryDirectoryContents setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.parent = parent;
- return this;
- }
-
- /** Optional. Filter for the returned list. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Filter for the returned list.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** Optional. Filter for the returned list. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
+ this.workspace = workspace;
return this;
}
/**
- * Optional. This field only supports ordering by `name`. If unspecified, the server
- * will choose the ordering. If specified, the default order is ascending for the `name`
- * field.
+ * Optional. Maximum number of paths to return. The server may return fewer items than
+ * requested. If unspecified, the server will pick an appropriate default.
*/
@com.google.api.client.util.Key
- private java.lang.String orderBy;
+ private java.lang.Integer pageSize;
- /** Optional. This field only supports ordering by `name`. If unspecified, the server will choose the
- ordering. If specified, the default order is ascending for the `name` field.
+ /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
+ unspecified, the server will pick an appropriate default.
*/
- public java.lang.String getOrderBy() {
- return orderBy;
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
/**
- * Optional. This field only supports ordering by `name`. If unspecified, the server
- * will choose the ordering. If specified, the default order is ascending for the `name`
- * field.
+ * Optional. Maximum number of paths to return. The server may return fewer items than
+ * requested. If unspecified, the server will pick an appropriate default.
*/
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
+ public QueryDirectoryContents setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
return this;
}
/**
- * Optional. Maximum number of workspaces to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `QueryDirectoryContents`, with the exception of `page_size`, must match the call
+ * that provided the page token.
*/
@com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ private java.lang.String pageToken;
- /** Optional. Maximum number of workspaces to return. The server may return fewer items than requested.
- If unspecified, the server will pick an appropriate default.
+ /** Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to
+ retrieve the subsequent page. When paginating, all other parameters provided to
+ `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the
+ page token.
*/
- public java.lang.Integer getPageSize() {
- return pageSize;
+ public java.lang.String getPageToken() {
+ return pageToken;
}
/**
- * Optional. Maximum number of workspaces to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide
+ * this to retrieve the subsequent page. When paginating, all other parameters provided
+ * to `QueryDirectoryContents`, with the exception of `page_size`, must match the call
+ * that provided the page token.
*/
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
+ public QueryDirectoryContents setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
/**
- * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListWorkspaces`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. The directory's full path including directory name, relative to the
+ * workspace root. If left unset, the workspace root is used.
*/
@com.google.api.client.util.Key
- private java.lang.String pageToken;
+ private java.lang.String path;
- /** Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the
- subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the
- exception of `page_size`, must match the call that provided the page token.
+ /** Optional. The directory's full path including directory name, relative to the workspace root. If
+ left unset, the workspace root is used.
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.String getPath() {
+ return path;
}
/**
- * Optional. Page token received from a previous `ListWorkspaces` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `ListWorkspaces`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. The directory's full path including directory name, relative to the
+ * workspace root. If left unset, the workspace root is used.
*/
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public QueryDirectoryContents setPath(java.lang.String path) {
+ this.path = path;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public QueryDirectoryContents set(String parameterName, Object value) {
+ return (QueryDirectoryContents) super.set(parameterName, value);
}
}
/**
- * Creates a directory inside a Workspace.
+ * Returns the contents of a file (inside a Workspace).
*
- * Create a request for the method "workspaces.makeDirectory".
+ * Create a request for the method "workspaces.readFile".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link MakeDirectory#execute()} method to invoke the remote operation.
+ * parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MakeDirectoryRequest}
* @return the request
*/
- public MakeDirectory makeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MakeDirectoryRequest content) throws java.io.IOException {
- MakeDirectory result = new MakeDirectory(workspace, content);
+ public ReadFile readFile(java.lang.String workspace) throws java.io.IOException {
+ ReadFile result = new ReadFile(workspace);
initialize(result);
return result;
}
- public class MakeDirectory extends DataformRequest {
+ public class ReadFile extends DataformRequest {
- private static final String REST_PATH = "v1/{+workspace}:makeDirectory";
+ private static final String REST_PATH = "v1/{+workspace}:readFile";
private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Creates a directory inside a Workspace.
+ * Returns the contents of a file (inside a Workspace).
*
- * Create a request for the method "workspaces.makeDirectory".
+ * Create a request for the method "workspaces.readFile".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link MakeDirectory#execute()} method to invoke the remote
- * operation. {@link MakeDirectory#initialize(com.google.api.client.googleapis.services.Abstra
- * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
- * the constructor.
+ * optional parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
+ * {@link
+ * ReadFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MakeDirectoryRequest}
* @since 1.13
*/
- protected MakeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MakeDirectoryRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MakeDirectoryResponse.class);
+ protected ReadFile(java.lang.String workspace) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReadFileResponse.class);
this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
@@ -10912,58 +10313,68 @@ protected MakeDirectory(java.lang.String workspace, com.google.api.services.data
}
@Override
- public MakeDirectory set$Xgafv(java.lang.String $Xgafv) {
- return (MakeDirectory) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public MakeDirectory setAccessToken(java.lang.String accessToken) {
- return (MakeDirectory) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public MakeDirectory setAlt(java.lang.String alt) {
- return (MakeDirectory) super.setAlt(alt);
+ public ReadFile set$Xgafv(java.lang.String $Xgafv) {
+ return (ReadFile) super.set$Xgafv($Xgafv);
}
@Override
- public MakeDirectory setCallback(java.lang.String callback) {
- return (MakeDirectory) super.setCallback(callback);
+ public ReadFile setAccessToken(java.lang.String accessToken) {
+ return (ReadFile) super.setAccessToken(accessToken);
}
@Override
- public MakeDirectory setFields(java.lang.String fields) {
- return (MakeDirectory) super.setFields(fields);
+ public ReadFile setAlt(java.lang.String alt) {
+ return (ReadFile) super.setAlt(alt);
}
@Override
- public MakeDirectory setKey(java.lang.String key) {
- return (MakeDirectory) super.setKey(key);
+ public ReadFile setCallback(java.lang.String callback) {
+ return (ReadFile) super.setCallback(callback);
}
@Override
- public MakeDirectory setOauthToken(java.lang.String oauthToken) {
- return (MakeDirectory) super.setOauthToken(oauthToken);
+ public ReadFile setFields(java.lang.String fields) {
+ return (ReadFile) super.setFields(fields);
}
@Override
- public MakeDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (MakeDirectory) super.setPrettyPrint(prettyPrint);
+ public ReadFile setKey(java.lang.String key) {
+ return (ReadFile) super.setKey(key);
}
@Override
- public MakeDirectory setQuotaUser(java.lang.String quotaUser) {
- return (MakeDirectory) super.setQuotaUser(quotaUser);
+ public ReadFile setOauthToken(java.lang.String oauthToken) {
+ return (ReadFile) super.setOauthToken(oauthToken);
}
@Override
- public MakeDirectory setUploadType(java.lang.String uploadType) {
- return (MakeDirectory) super.setUploadType(uploadType);
+ public ReadFile setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ReadFile) super.setPrettyPrint(prettyPrint);
}
@Override
- public MakeDirectory setUploadProtocol(java.lang.String uploadProtocol) {
- return (MakeDirectory) super.setUploadProtocol(uploadProtocol);
+ public ReadFile setQuotaUser(java.lang.String quotaUser) {
+ return (ReadFile) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public ReadFile setUploadType(java.lang.String uploadType) {
+ return (ReadFile) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public ReadFile setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ReadFile) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@@ -10977,7 +10388,7 @@ public java.lang.String getWorkspace() {
}
/** Required. The workspace's name. */
- public MakeDirectory setWorkspace(java.lang.String workspace) {
+ public ReadFile setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
"Parameter workspace must conform to the pattern " +
@@ -10987,53 +10398,96 @@ public MakeDirectory setWorkspace(java.lang.String workspace) {
return this;
}
+ /**
+ * Required. The file's full path including filename, relative to the workspace root.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String path;
+
+ /** Required. The file's full path including filename, relative to the workspace root.
+ */
+ public java.lang.String getPath() {
+ return path;
+ }
+
+ /**
+ * Required. The file's full path including filename, relative to the workspace root.
+ */
+ public ReadFile setPath(java.lang.String path) {
+ this.path = path;
+ return this;
+ }
+
+ /**
+ * Optional. The Git revision of the file to return. If left empty, the current contents
+ * of `path` will be returned.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String revision;
+
+ /** Optional. The Git revision of the file to return. If left empty, the current contents of `path`
+ will be returned.
+ */
+ public java.lang.String getRevision() {
+ return revision;
+ }
+
+ /**
+ * Optional. The Git revision of the file to return. If left empty, the current contents
+ * of `path` will be returned.
+ */
+ public ReadFile setRevision(java.lang.String revision) {
+ this.revision = revision;
+ return this;
+ }
+
@Override
- public MakeDirectory set(String parameterName, Object value) {
- return (MakeDirectory) super.set(parameterName, value);
+ public ReadFile set(String parameterName, Object value) {
+ return (ReadFile) super.set(parameterName, value);
}
}
/**
- * Moves a directory (inside a Workspace), and all of its contents, to a new location.
+ * Deletes a directory (inside a Workspace) and all of its contents.
*
- * Create a request for the method "workspaces.moveDirectory".
+ * Create a request for the method "workspaces.removeDirectory".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link MoveDirectory#execute()} method to invoke the remote operation.
+ * parameters, call the {@link RemoveDirectory#execute()} method to invoke the remote operation.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveDirectoryRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.RemoveDirectoryRequest}
* @return the request
*/
- public MoveDirectory moveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveDirectoryRequest content) throws java.io.IOException {
- MoveDirectory result = new MoveDirectory(workspace, content);
+ public RemoveDirectory removeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveDirectoryRequest content) throws java.io.IOException {
+ RemoveDirectory result = new RemoveDirectory(workspace, content);
initialize(result);
return result;
}
- public class MoveDirectory extends DataformRequest {
+ public class RemoveDirectory extends DataformRequest {
- private static final String REST_PATH = "v1/{+workspace}:moveDirectory";
+ private static final String REST_PATH = "v1/{+workspace}:removeDirectory";
private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Moves a directory (inside a Workspace), and all of its contents, to a new location.
+ * Deletes a directory (inside a Workspace) and all of its contents.
*
- * Create a request for the method "workspaces.moveDirectory".
+ * Create a request for the method "workspaces.removeDirectory".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link MoveDirectory#execute()} method to invoke the remote
- * operation. {@link MoveDirectory#initialize(com.google.api.client.googleapis.services.Abstra
- * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
+ * optional parameters, call the {@link RemoveDirectory#execute()} method to invoke the remote
+ * operation.
{@link RemoveDirectory#initialize(com.google.api.client.googleapis.services.Abst
+ * ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking
* the constructor.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveDirectoryRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.RemoveDirectoryRequest}
* @since 1.13
*/
- protected MoveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveDirectoryRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MoveDirectoryResponse.class);
+ protected RemoveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveDirectoryRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.RemoveDirectoryResponse.class);
this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
@@ -11043,58 +10497,58 @@ protected MoveDirectory(java.lang.String workspace, com.google.api.services.data
}
@Override
- public MoveDirectory set$Xgafv(java.lang.String $Xgafv) {
- return (MoveDirectory) super.set$Xgafv($Xgafv);
+ public RemoveDirectory set$Xgafv(java.lang.String $Xgafv) {
+ return (RemoveDirectory) super.set$Xgafv($Xgafv);
}
@Override
- public MoveDirectory setAccessToken(java.lang.String accessToken) {
- return (MoveDirectory) super.setAccessToken(accessToken);
+ public RemoveDirectory setAccessToken(java.lang.String accessToken) {
+ return (RemoveDirectory) super.setAccessToken(accessToken);
}
@Override
- public MoveDirectory setAlt(java.lang.String alt) {
- return (MoveDirectory) super.setAlt(alt);
+ public RemoveDirectory setAlt(java.lang.String alt) {
+ return (RemoveDirectory) super.setAlt(alt);
}
@Override
- public MoveDirectory setCallback(java.lang.String callback) {
- return (MoveDirectory) super.setCallback(callback);
+ public RemoveDirectory setCallback(java.lang.String callback) {
+ return (RemoveDirectory) super.setCallback(callback);
}
@Override
- public MoveDirectory setFields(java.lang.String fields) {
- return (MoveDirectory) super.setFields(fields);
+ public RemoveDirectory setFields(java.lang.String fields) {
+ return (RemoveDirectory) super.setFields(fields);
}
@Override
- public MoveDirectory setKey(java.lang.String key) {
- return (MoveDirectory) super.setKey(key);
+ public RemoveDirectory setKey(java.lang.String key) {
+ return (RemoveDirectory) super.setKey(key);
}
@Override
- public MoveDirectory setOauthToken(java.lang.String oauthToken) {
- return (MoveDirectory) super.setOauthToken(oauthToken);
+ public RemoveDirectory setOauthToken(java.lang.String oauthToken) {
+ return (RemoveDirectory) super.setOauthToken(oauthToken);
}
@Override
- public MoveDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (MoveDirectory) super.setPrettyPrint(prettyPrint);
+ public RemoveDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RemoveDirectory) super.setPrettyPrint(prettyPrint);
}
@Override
- public MoveDirectory setQuotaUser(java.lang.String quotaUser) {
- return (MoveDirectory) super.setQuotaUser(quotaUser);
+ public RemoveDirectory setQuotaUser(java.lang.String quotaUser) {
+ return (RemoveDirectory) super.setQuotaUser(quotaUser);
}
@Override
- public MoveDirectory setUploadType(java.lang.String uploadType) {
- return (MoveDirectory) super.setUploadType(uploadType);
+ public RemoveDirectory setUploadType(java.lang.String uploadType) {
+ return (RemoveDirectory) super.setUploadType(uploadType);
}
@Override
- public MoveDirectory setUploadProtocol(java.lang.String uploadProtocol) {
- return (MoveDirectory) super.setUploadProtocol(uploadProtocol);
+ public RemoveDirectory setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RemoveDirectory) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@@ -11108,7 +10562,7 @@ public java.lang.String getWorkspace() {
}
/** Required. The workspace's name. */
- public MoveDirectory setWorkspace(java.lang.String workspace) {
+ public RemoveDirectory setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
"Parameter workspace must conform to the pattern " +
@@ -11119,52 +10573,52 @@ public MoveDirectory setWorkspace(java.lang.String workspace) {
}
@Override
- public MoveDirectory set(String parameterName, Object value) {
- return (MoveDirectory) super.set(parameterName, value);
+ public RemoveDirectory set(String parameterName, Object value) {
+ return (RemoveDirectory) super.set(parameterName, value);
}
}
/**
- * Moves a file (inside a Workspace) to a new location.
+ * Deletes a file (inside a Workspace).
*
- * Create a request for the method "workspaces.moveFile".
+ * Create a request for the method "workspaces.removeFile".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link MoveFile#execute()} method to invoke the remote operation.
+ * parameters, call the {@link RemoveFile#execute()} method to invoke the remote operation.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveFileRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.RemoveFileRequest}
* @return the request
*/
- public MoveFile moveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveFileRequest content) throws java.io.IOException {
- MoveFile result = new MoveFile(workspace, content);
+ public RemoveFile removeFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveFileRequest content) throws java.io.IOException {
+ RemoveFile result = new RemoveFile(workspace, content);
initialize(result);
return result;
}
- public class MoveFile extends DataformRequest {
+ public class RemoveFile extends DataformRequest {
- private static final String REST_PATH = "v1/{+workspace}:moveFile";
+ private static final String REST_PATH = "v1/{+workspace}:removeFile";
private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Moves a file (inside a Workspace) to a new location.
+ * Deletes a file (inside a Workspace).
*
- * Create a request for the method "workspaces.moveFile".
+ * Create a request for the method "workspaces.removeFile".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link MoveFile#execute()} method to invoke the remote operation.
- * {@link
- * MoveFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link RemoveFile#execute()} method to invoke the remote
+ * operation.
{@link
+ * RemoveFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
* @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.MoveFileRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.RemoveFileRequest}
* @since 1.13
*/
- protected MoveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.MoveFileRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.MoveFileResponse.class);
+ protected RemoveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveFileRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.RemoveFileResponse.class);
this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
@@ -11174,58 +10628,58 @@ protected MoveFile(java.lang.String workspace, com.google.api.services.dataform.
}
@Override
- public MoveFile set$Xgafv(java.lang.String $Xgafv) {
- return (MoveFile) super.set$Xgafv($Xgafv);
+ public RemoveFile set$Xgafv(java.lang.String $Xgafv) {
+ return (RemoveFile) super.set$Xgafv($Xgafv);
}
@Override
- public MoveFile setAccessToken(java.lang.String accessToken) {
- return (MoveFile) super.setAccessToken(accessToken);
+ public RemoveFile setAccessToken(java.lang.String accessToken) {
+ return (RemoveFile) super.setAccessToken(accessToken);
}
@Override
- public MoveFile setAlt(java.lang.String alt) {
- return (MoveFile) super.setAlt(alt);
+ public RemoveFile setAlt(java.lang.String alt) {
+ return (RemoveFile) super.setAlt(alt);
}
@Override
- public MoveFile setCallback(java.lang.String callback) {
- return (MoveFile) super.setCallback(callback);
+ public RemoveFile setCallback(java.lang.String callback) {
+ return (RemoveFile) super.setCallback(callback);
}
@Override
- public MoveFile setFields(java.lang.String fields) {
- return (MoveFile) super.setFields(fields);
+ public RemoveFile setFields(java.lang.String fields) {
+ return (RemoveFile) super.setFields(fields);
}
@Override
- public MoveFile setKey(java.lang.String key) {
- return (MoveFile) super.setKey(key);
+ public RemoveFile setKey(java.lang.String key) {
+ return (RemoveFile) super.setKey(key);
}
@Override
- public MoveFile setOauthToken(java.lang.String oauthToken) {
- return (MoveFile) super.setOauthToken(oauthToken);
+ public RemoveFile setOauthToken(java.lang.String oauthToken) {
+ return (RemoveFile) super.setOauthToken(oauthToken);
}
@Override
- public MoveFile setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (MoveFile) super.setPrettyPrint(prettyPrint);
+ public RemoveFile setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RemoveFile) super.setPrettyPrint(prettyPrint);
}
@Override
- public MoveFile setQuotaUser(java.lang.String quotaUser) {
- return (MoveFile) super.setQuotaUser(quotaUser);
+ public RemoveFile setQuotaUser(java.lang.String quotaUser) {
+ return (RemoveFile) super.setQuotaUser(quotaUser);
}
@Override
- public MoveFile setUploadType(java.lang.String uploadType) {
- return (MoveFile) super.setUploadType(uploadType);
+ public RemoveFile setUploadType(java.lang.String uploadType) {
+ return (RemoveFile) super.setUploadType(uploadType);
}
@Override
- public MoveFile setUploadProtocol(java.lang.String uploadProtocol) {
- return (MoveFile) super.setUploadProtocol(uploadProtocol);
+ public RemoveFile setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RemoveFile) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@@ -11239,7 +10693,7 @@ public java.lang.String getWorkspace() {
}
/** Required. The workspace's name. */
- public MoveFile setWorkspace(java.lang.String workspace) {
+ public RemoveFile setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
"Parameter workspace must conform to the pattern " +
@@ -11250,51 +10704,52 @@ public MoveFile setWorkspace(java.lang.String workspace) {
}
@Override
- public MoveFile set(String parameterName, Object value) {
- return (MoveFile) super.set(parameterName, value);
+ public RemoveFile set(String parameterName, Object value) {
+ return (RemoveFile) super.set(parameterName, value);
}
}
/**
- * Pulls Git commits from the Repository's remote into a Workspace.
+ * Performs a Git reset for uncommitted files in a Workspace.
*
- * Create a request for the method "workspaces.pull".
+ * Create a request for the method "workspaces.reset".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Pull#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Reset#execute()} method to invoke the remote operation.
*
* @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.PullGitCommitsRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest}
* @return the request
*/
- public Pull pull(java.lang.String name, com.google.api.services.dataform.v1.model.PullGitCommitsRequest content) throws java.io.IOException {
- Pull result = new Pull(name, content);
+ public Reset reset(java.lang.String name, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest content) throws java.io.IOException {
+ Reset result = new Reset(name, content);
initialize(result);
return result;
}
- public class Pull extends DataformRequest {
+ public class Reset extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:pull";
+ private static final String REST_PATH = "v1/{+name}:reset";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Pulls Git commits from the Repository's remote into a Workspace.
+ * Performs a Git reset for uncommitted files in a Workspace.
*
- * Create a request for the method "workspaces.pull".
+ * Create a request for the method "workspaces.reset".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Pull#execute()} method to invoke the remote operation.
- * {@link Pull#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link Reset#execute()} method to invoke the remote operation.
+ * {@link
+ * Reset#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
* @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.PullGitCommitsRequest}
+ * @param content the {@link com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest}
* @since 1.13
*/
- protected Pull(java.lang.String name, com.google.api.services.dataform.v1.model.PullGitCommitsRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.PullGitCommitsResponse.class);
+ protected Reset(java.lang.String name, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesResponse.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -11304,58 +10759,58 @@ protected Pull(java.lang.String name, com.google.api.services.dataform.v1.model.
}
@Override
- public Pull set$Xgafv(java.lang.String $Xgafv) {
- return (Pull) super.set$Xgafv($Xgafv);
+ public Reset set$Xgafv(java.lang.String $Xgafv) {
+ return (Reset) super.set$Xgafv($Xgafv);
}
@Override
- public Pull setAccessToken(java.lang.String accessToken) {
- return (Pull) super.setAccessToken(accessToken);
+ public Reset setAccessToken(java.lang.String accessToken) {
+ return (Reset) super.setAccessToken(accessToken);
}
@Override
- public Pull setAlt(java.lang.String alt) {
- return (Pull) super.setAlt(alt);
+ public Reset setAlt(java.lang.String alt) {
+ return (Reset) super.setAlt(alt);
}
@Override
- public Pull setCallback(java.lang.String callback) {
- return (Pull) super.setCallback(callback);
+ public Reset setCallback(java.lang.String callback) {
+ return (Reset) super.setCallback(callback);
}
@Override
- public Pull setFields(java.lang.String fields) {
- return (Pull) super.setFields(fields);
+ public Reset setFields(java.lang.String fields) {
+ return (Reset) super.setFields(fields);
}
@Override
- public Pull setKey(java.lang.String key) {
- return (Pull) super.setKey(key);
+ public Reset setKey(java.lang.String key) {
+ return (Reset) super.setKey(key);
}
@Override
- public Pull setOauthToken(java.lang.String oauthToken) {
- return (Pull) super.setOauthToken(oauthToken);
+ public Reset setOauthToken(java.lang.String oauthToken) {
+ return (Reset) super.setOauthToken(oauthToken);
}
@Override
- public Pull setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Pull) super.setPrettyPrint(prettyPrint);
+ public Reset setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Reset) super.setPrettyPrint(prettyPrint);
}
@Override
- public Pull setQuotaUser(java.lang.String quotaUser) {
- return (Pull) super.setQuotaUser(quotaUser);
+ public Reset setQuotaUser(java.lang.String quotaUser) {
+ return (Reset) super.setQuotaUser(quotaUser);
}
@Override
- public Pull setUploadType(java.lang.String uploadType) {
- return (Pull) super.setUploadType(uploadType);
+ public Reset setUploadType(java.lang.String uploadType) {
+ return (Reset) super.setUploadType(uploadType);
}
@Override
- public Pull setUploadProtocol(java.lang.String uploadProtocol) {
- return (Pull) super.setUploadProtocol(uploadProtocol);
+ public Reset setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Reset) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@@ -11369,7 +10824,7 @@ public java.lang.String getName() {
}
/** Required. The workspace's name. */
- public Pull setName(java.lang.String name) {
+ public Reset setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -11380,2821 +10835,728 @@ public Pull setName(java.lang.String name) {
}
@Override
- public Pull set(String parameterName, Object value) {
- return (Pull) super.set(parameterName, value);
+ public Reset set(String parameterName, Object value) {
+ return (Reset) super.set(parameterName, value);
}
}
/**
- * Pushes Git commits from a Workspace to the Repository's remote.
+ * Finds the contents of a given Workspace directory by filter.
*
- * Create a request for the method "workspaces.push".
+ * Create a request for the method "workspaces.searchFiles".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Push#execute()} method to invoke the remote operation.
+ * parameters, call the {@link SearchFiles#execute()} method to invoke the remote operation.
*
- * @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.PushGitCommitsRequest}
+ * @param workspace Required. The workspace's name.
* @return the request
*/
- public Push push(java.lang.String name, com.google.api.services.dataform.v1.model.PushGitCommitsRequest content) throws java.io.IOException {
- Push result = new Push(name, content);
+ public SearchFiles searchFiles(java.lang.String workspace) throws java.io.IOException {
+ SearchFiles result = new SearchFiles(workspace);
initialize(result);
return result;
}
- public class Push extends DataformRequest {
+ public class SearchFiles extends DataformRequest {
- private static final String REST_PATH = "v1/{+name}:push";
+ private static final String REST_PATH = "v1/{+workspace}:searchFiles";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
/**
- * Pushes Git commits from a Workspace to the Repository's remote.
+ * Finds the contents of a given Workspace directory by filter.
*
- * Create a request for the method "workspaces.push".
+ * Create a request for the method "workspaces.searchFiles".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Push#execute()} method to invoke the remote operation.
- * {@link Push#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * optional parameters, call the {@link SearchFiles#execute()} method to invoke the remote
+ * operation.
{@link
+ * SearchFiles#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
* must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.PushGitCommitsRequest}
+ * @param workspace Required. The workspace's name.
* @since 1.13
*/
- protected Push(java.lang.String name, com.google.api.services.dataform.v1.model.PushGitCommitsRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.PushGitCommitsResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected SearchFiles(java.lang.String workspace) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.SearchFilesResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
}
@Override
- public Push set$Xgafv(java.lang.String $Xgafv) {
- return (Push) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Push setAccessToken(java.lang.String accessToken) {
- return (Push) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Push setAlt(java.lang.String alt) {
- return (Push) super.setAlt(alt);
+ public SearchFiles set$Xgafv(java.lang.String $Xgafv) {
+ return (SearchFiles) super.set$Xgafv($Xgafv);
}
@Override
- public Push setCallback(java.lang.String callback) {
- return (Push) super.setCallback(callback);
+ public SearchFiles setAccessToken(java.lang.String accessToken) {
+ return (SearchFiles) super.setAccessToken(accessToken);
}
@Override
- public Push setFields(java.lang.String fields) {
- return (Push) super.setFields(fields);
+ public SearchFiles setAlt(java.lang.String alt) {
+ return (SearchFiles) super.setAlt(alt);
}
@Override
- public Push setKey(java.lang.String key) {
- return (Push) super.setKey(key);
+ public SearchFiles setCallback(java.lang.String callback) {
+ return (SearchFiles) super.setCallback(callback);
}
@Override
- public Push setOauthToken(java.lang.String oauthToken) {
- return (Push) super.setOauthToken(oauthToken);
+ public SearchFiles setFields(java.lang.String fields) {
+ return (SearchFiles) super.setFields(fields);
}
@Override
- public Push setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Push) super.setPrettyPrint(prettyPrint);
+ public SearchFiles setKey(java.lang.String key) {
+ return (SearchFiles) super.setKey(key);
}
@Override
- public Push setQuotaUser(java.lang.String quotaUser) {
- return (Push) super.setQuotaUser(quotaUser);
+ public SearchFiles setOauthToken(java.lang.String oauthToken) {
+ return (SearchFiles) super.setOauthToken(oauthToken);
}
@Override
- public Push setUploadType(java.lang.String uploadType) {
- return (Push) super.setUploadType(uploadType);
+ public SearchFiles setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SearchFiles) super.setPrettyPrint(prettyPrint);
}
@Override
- public Push setUploadProtocol(java.lang.String uploadProtocol) {
- return (Push) super.setUploadProtocol(uploadProtocol);
+ public SearchFiles setQuotaUser(java.lang.String quotaUser) {
+ return (SearchFiles) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public SearchFiles setUploadType(java.lang.String uploadType) {
+ return (SearchFiles) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public SearchFiles setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SearchFiles) super.setUploadProtocol(uploadProtocol);
}
/** Required. The workspace's name. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String workspace;
/** Required. The workspace's name.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getWorkspace() {
+ return workspace;
}
/** Required. The workspace's name. */
- public Push setName(java.lang.String name) {
+ public SearchFiles setWorkspace(java.lang.String workspace) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
}
- this.name = name;
+ this.workspace = workspace;
return this;
}
- @Override
- public Push set(String parameterName, Object value) {
- return (Push) super.set(parameterName, value);
- }
- }
- /**
- * Returns the contents of a given Workspace directory.
- *
- * Create a request for the method "workspaces.queryDirectoryContents".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the remote
- * operation.
- *
- * @param workspace Required. The workspace's name.
- * @return the request
- */
- public QueryDirectoryContents queryDirectoryContents(java.lang.String workspace) throws java.io.IOException {
- QueryDirectoryContents result = new QueryDirectoryContents(workspace);
- initialize(result);
- return result;
- }
-
- public class QueryDirectoryContents extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:queryDirectoryContents";
+ /**
+ * Optional. Optional filter for the returned list in filtering format. Filtering is
+ * only currently supported on the `path` field. See https://google.aip.dev/160 for
+ * details.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ /** Optional. Optional filter for the returned list in filtering format. Filtering is only currently
+ supported on the `path` field. See https://google.aip.dev/160 for details.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
/**
- * Returns the contents of a given Workspace directory.
- *
- * Create a request for the method "workspaces.queryDirectoryContents".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link QueryDirectoryContents#execute()} method to invoke the
- * remote operation. {@link QueryDirectoryContents#initialize(com.google.api.client.googleapis
- * .services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @since 1.13
+ * Optional. Optional filter for the returned list in filtering format. Filtering is
+ * only currently supported on the `path` field. See https://google.aip.dev/160 for
+ * details.
*/
- protected QueryDirectoryContents(java.lang.String workspace) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryDirectoryContentsResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public QueryDirectoryContents set$Xgafv(java.lang.String $Xgafv) {
- return (QueryDirectoryContents) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public QueryDirectoryContents setAccessToken(java.lang.String accessToken) {
- return (QueryDirectoryContents) super.setAccessToken(accessToken);
- }
-
- @Override
- public QueryDirectoryContents setAlt(java.lang.String alt) {
- return (QueryDirectoryContents) super.setAlt(alt);
- }
-
- @Override
- public QueryDirectoryContents setCallback(java.lang.String callback) {
- return (QueryDirectoryContents) super.setCallback(callback);
- }
-
- @Override
- public QueryDirectoryContents setFields(java.lang.String fields) {
- return (QueryDirectoryContents) super.setFields(fields);
- }
-
- @Override
- public QueryDirectoryContents setKey(java.lang.String key) {
- return (QueryDirectoryContents) super.setKey(key);
- }
-
- @Override
- public QueryDirectoryContents setOauthToken(java.lang.String oauthToken) {
- return (QueryDirectoryContents) super.setOauthToken(oauthToken);
- }
-
- @Override
- public QueryDirectoryContents setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (QueryDirectoryContents) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public QueryDirectoryContents setQuotaUser(java.lang.String quotaUser) {
- return (QueryDirectoryContents) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public QueryDirectoryContents setUploadType(java.lang.String uploadType) {
- return (QueryDirectoryContents) super.setUploadType(uploadType);
- }
-
- @Override
- public QueryDirectoryContents setUploadProtocol(java.lang.String uploadProtocol) {
- return (QueryDirectoryContents) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public QueryDirectoryContents setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
+ public SearchFiles setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
}
/**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Maximum number of search results to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
*/
@com.google.api.client.util.Key
private java.lang.Integer pageSize;
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
- unspecified, the server will pick an appropriate default.
+ /** Optional. Maximum number of search results to return. The server may return fewer items than
+ requested. If unspecified, the server will pick an appropriate default.
*/
public java.lang.Integer getPageSize() {
return pageSize;
}
/**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
+ * Optional. Maximum number of search results to return. The server may return fewer
+ * items than requested. If unspecified, the server will pick an appropriate default.
*/
- public QueryDirectoryContents setPageSize(java.lang.Integer pageSize) {
+ public SearchFiles setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
- * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `QueryDirectoryContents`, with the exception of `page_size`, must match the call
- * that provided the page token.
+ * Optional. Page token received from a previous `SearchFilesRequest` call. Provide this
+ * to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `SearchFilesRequest`, with the exception of `page_size`, must match the call that
+ * provided the page token.
*/
@com.google.api.client.util.Key
private java.lang.String pageToken;
- /** Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the
- page token.
+ /** Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve
+ the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with
+ the exception of `page_size`, must match the call that provided the page token.
*/
public java.lang.String getPageToken() {
return pageToken;
}
/**
- * Optional. Page token received from a previous `QueryDirectoryContents` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided
- * to `QueryDirectoryContents`, with the exception of `page_size`, must match the call
- * that provided the page token.
+ * Optional. Page token received from a previous `SearchFilesRequest` call. Provide this
+ * to retrieve the subsequent page. When paginating, all other parameters provided to
+ * `SearchFilesRequest`, with the exception of `page_size`, must match the call that
+ * provided the page token.
*/
- public QueryDirectoryContents setPageToken(java.lang.String pageToken) {
+ public SearchFiles setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}
- /**
- * Optional. The directory's full path including directory name, relative to the
- * workspace root. If left unset, the workspace root is used.
- */
- @com.google.api.client.util.Key
- private java.lang.String path;
-
- /** Optional. The directory's full path including directory name, relative to the workspace root. If
- left unset, the workspace root is used.
- */
- public java.lang.String getPath() {
- return path;
- }
-
- /**
- * Optional. The directory's full path including directory name, relative to the
- * workspace root. If left unset, the workspace root is used.
- */
- public QueryDirectoryContents setPath(java.lang.String path) {
- this.path = path;
- return this;
- }
-
- /**
- * Optional. Specifies the metadata to return for each directory entry. If unspecified,
- * the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the
- * `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected
- * workspaces.
- */
- @com.google.api.client.util.Key
- private java.lang.String view;
-
- /** Optional. Specifies the metadata to return for each directory entry. If unspecified, the default is
- `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the `DIRECTORY_CONTENTS_VIEW_METADATA` view is not
- supported by CMEK-protected workspaces.
- */
- public java.lang.String getView() {
- return view;
- }
-
- /**
- * Optional. Specifies the metadata to return for each directory entry. If unspecified,
- * the default is `DIRECTORY_CONTENTS_VIEW_BASIC`. Currently the
- * `DIRECTORY_CONTENTS_VIEW_METADATA` view is not supported by CMEK-protected
- * workspaces.
- */
- public QueryDirectoryContents setView(java.lang.String view) {
- this.view = view;
- return this;
- }
-
- @Override
- public QueryDirectoryContents set(String parameterName, Object value) {
- return (QueryDirectoryContents) super.set(parameterName, value);
- }
- }
- /**
- * Returns the contents of a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.readFile".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
- *
- * @param workspace Required. The workspace's name.
- * @return the request
- */
- public ReadFile readFile(java.lang.String workspace) throws java.io.IOException {
- ReadFile result = new ReadFile(workspace);
- initialize(result);
- return result;
- }
-
- public class ReadFile extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:readFile";
-
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Returns the contents of a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.readFile".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link ReadFile#execute()} method to invoke the remote operation.
- * {@link
- * ReadFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @since 1.13
- */
- protected ReadFile(java.lang.String workspace) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.ReadFileResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public ReadFile set$Xgafv(java.lang.String $Xgafv) {
- return (ReadFile) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public ReadFile setAccessToken(java.lang.String accessToken) {
- return (ReadFile) super.setAccessToken(accessToken);
- }
-
- @Override
- public ReadFile setAlt(java.lang.String alt) {
- return (ReadFile) super.setAlt(alt);
- }
-
- @Override
- public ReadFile setCallback(java.lang.String callback) {
- return (ReadFile) super.setCallback(callback);
- }
-
- @Override
- public ReadFile setFields(java.lang.String fields) {
- return (ReadFile) super.setFields(fields);
- }
-
@Override
- public ReadFile setKey(java.lang.String key) {
- return (ReadFile) super.setKey(key);
- }
-
- @Override
- public ReadFile setOauthToken(java.lang.String oauthToken) {
- return (ReadFile) super.setOauthToken(oauthToken);
- }
-
- @Override
- public ReadFile setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (ReadFile) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public ReadFile setQuotaUser(java.lang.String quotaUser) {
- return (ReadFile) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public ReadFile setUploadType(java.lang.String uploadType) {
- return (ReadFile) super.setUploadType(uploadType);
- }
-
- @Override
- public ReadFile setUploadProtocol(java.lang.String uploadProtocol) {
- return (ReadFile) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public ReadFile setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
- }
-
- /**
- * Required. The file's full path including filename, relative to the workspace root.
- */
- @com.google.api.client.util.Key
- private java.lang.String path;
-
- /** Required. The file's full path including filename, relative to the workspace root.
- */
- public java.lang.String getPath() {
- return path;
- }
-
- /**
- * Required. The file's full path including filename, relative to the workspace root.
- */
- public ReadFile setPath(java.lang.String path) {
- this.path = path;
- return this;
- }
-
- /**
- * Optional. The Git revision of the file to return. If left empty, the current contents
- * of `path` will be returned.
- */
- @com.google.api.client.util.Key
- private java.lang.String revision;
-
- /** Optional. The Git revision of the file to return. If left empty, the current contents of `path`
- will be returned.
- */
- public java.lang.String getRevision() {
- return revision;
- }
-
- /**
- * Optional. The Git revision of the file to return. If left empty, the current contents
- * of `path` will be returned.
- */
- public ReadFile setRevision(java.lang.String revision) {
- this.revision = revision;
- return this;
- }
-
- @Override
- public ReadFile set(String parameterName, Object value) {
- return (ReadFile) super.set(parameterName, value);
- }
- }
- /**
- * Deletes a directory (inside a Workspace) and all of its contents.
- *
- * Create a request for the method "workspaces.removeDirectory".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link RemoveDirectory#execute()} method to invoke the remote operation.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.RemoveDirectoryRequest}
- * @return the request
- */
- public RemoveDirectory removeDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveDirectoryRequest content) throws java.io.IOException {
- RemoveDirectory result = new RemoveDirectory(workspace, content);
- initialize(result);
- return result;
- }
-
- public class RemoveDirectory extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:removeDirectory";
-
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Deletes a directory (inside a Workspace) and all of its contents.
- *
- * Create a request for the method "workspaces.removeDirectory".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link RemoveDirectory#execute()} method to invoke the remote
- * operation. {@link RemoveDirectory#initialize(com.google.api.client.googleapis.services.Abst
- * ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking
- * the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.RemoveDirectoryRequest}
- * @since 1.13
- */
- protected RemoveDirectory(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveDirectoryRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.RemoveDirectoryResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public RemoveDirectory set$Xgafv(java.lang.String $Xgafv) {
- return (RemoveDirectory) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public RemoveDirectory setAccessToken(java.lang.String accessToken) {
- return (RemoveDirectory) super.setAccessToken(accessToken);
- }
-
- @Override
- public RemoveDirectory setAlt(java.lang.String alt) {
- return (RemoveDirectory) super.setAlt(alt);
- }
-
- @Override
- public RemoveDirectory setCallback(java.lang.String callback) {
- return (RemoveDirectory) super.setCallback(callback);
- }
-
- @Override
- public RemoveDirectory setFields(java.lang.String fields) {
- return (RemoveDirectory) super.setFields(fields);
- }
-
- @Override
- public RemoveDirectory setKey(java.lang.String key) {
- return (RemoveDirectory) super.setKey(key);
- }
-
- @Override
- public RemoveDirectory setOauthToken(java.lang.String oauthToken) {
- return (RemoveDirectory) super.setOauthToken(oauthToken);
- }
-
- @Override
- public RemoveDirectory setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RemoveDirectory) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public RemoveDirectory setQuotaUser(java.lang.String quotaUser) {
- return (RemoveDirectory) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public RemoveDirectory setUploadType(java.lang.String uploadType) {
- return (RemoveDirectory) super.setUploadType(uploadType);
- }
-
- @Override
- public RemoveDirectory setUploadProtocol(java.lang.String uploadProtocol) {
- return (RemoveDirectory) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public RemoveDirectory setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
- }
-
- @Override
- public RemoveDirectory set(String parameterName, Object value) {
- return (RemoveDirectory) super.set(parameterName, value);
- }
- }
- /**
- * Deletes a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.removeFile".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link RemoveFile#execute()} method to invoke the remote operation.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.RemoveFileRequest}
- * @return the request
- */
- public RemoveFile removeFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveFileRequest content) throws java.io.IOException {
- RemoveFile result = new RemoveFile(workspace, content);
- initialize(result);
- return result;
- }
-
- public class RemoveFile extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:removeFile";
-
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Deletes a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.removeFile".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link RemoveFile#execute()} method to invoke the remote
- * operation. {@link
- * RemoveFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.RemoveFileRequest}
- * @since 1.13
- */
- protected RemoveFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.RemoveFileRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.RemoveFileResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public RemoveFile set$Xgafv(java.lang.String $Xgafv) {
- return (RemoveFile) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public RemoveFile setAccessToken(java.lang.String accessToken) {
- return (RemoveFile) super.setAccessToken(accessToken);
- }
-
- @Override
- public RemoveFile setAlt(java.lang.String alt) {
- return (RemoveFile) super.setAlt(alt);
- }
-
- @Override
- public RemoveFile setCallback(java.lang.String callback) {
- return (RemoveFile) super.setCallback(callback);
- }
-
- @Override
- public RemoveFile setFields(java.lang.String fields) {
- return (RemoveFile) super.setFields(fields);
- }
-
- @Override
- public RemoveFile setKey(java.lang.String key) {
- return (RemoveFile) super.setKey(key);
- }
-
- @Override
- public RemoveFile setOauthToken(java.lang.String oauthToken) {
- return (RemoveFile) super.setOauthToken(oauthToken);
- }
-
- @Override
- public RemoveFile setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RemoveFile) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public RemoveFile setQuotaUser(java.lang.String quotaUser) {
- return (RemoveFile) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public RemoveFile setUploadType(java.lang.String uploadType) {
- return (RemoveFile) super.setUploadType(uploadType);
- }
-
- @Override
- public RemoveFile setUploadProtocol(java.lang.String uploadProtocol) {
- return (RemoveFile) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public RemoveFile setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
- }
-
- @Override
- public RemoveFile set(String parameterName, Object value) {
- return (RemoveFile) super.set(parameterName, value);
- }
- }
- /**
- * Performs a Git reset for uncommitted files in a Workspace.
- *
- * Create a request for the method "workspaces.reset".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Reset#execute()} method to invoke the remote operation.
- *
- * @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest}
- * @return the request
- */
- public Reset reset(java.lang.String name, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest content) throws java.io.IOException {
- Reset result = new Reset(name, content);
- initialize(result);
- return result;
- }
-
- public class Reset extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}:reset";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Performs a Git reset for uncommitted files in a Workspace.
- *
- * Create a request for the method "workspaces.reset".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Reset#execute()} method to invoke the remote operation.
- * {@link
- * Reset#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest}
- * @since 1.13
- */
- protected Reset(java.lang.String name, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.ResetWorkspaceChangesResponse.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public Reset set$Xgafv(java.lang.String $Xgafv) {
- return (Reset) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Reset setAccessToken(java.lang.String accessToken) {
- return (Reset) super.setAccessToken(accessToken);
- }
-
- @Override
- public Reset setAlt(java.lang.String alt) {
- return (Reset) super.setAlt(alt);
- }
-
- @Override
- public Reset setCallback(java.lang.String callback) {
- return (Reset) super.setCallback(callback);
- }
-
- @Override
- public Reset setFields(java.lang.String fields) {
- return (Reset) super.setFields(fields);
- }
-
- @Override
- public Reset setKey(java.lang.String key) {
- return (Reset) super.setKey(key);
- }
-
- @Override
- public Reset setOauthToken(java.lang.String oauthToken) {
- return (Reset) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Reset setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Reset) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Reset setQuotaUser(java.lang.String quotaUser) {
- return (Reset) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Reset setUploadType(java.lang.String uploadType) {
- return (Reset) super.setUploadType(uploadType);
- }
-
- @Override
- public Reset setUploadProtocol(java.lang.String uploadProtocol) {
- return (Reset) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. The workspace's name. */
- public Reset setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Reset set(String parameterName, Object value) {
- return (Reset) super.set(parameterName, value);
- }
- }
- /**
- * Finds the contents of a given Workspace directory by filter.
- *
- * Create a request for the method "workspaces.searchFiles".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link SearchFiles#execute()} method to invoke the remote operation.
- *
- * @param workspace Required. The workspace's name.
- * @return the request
- */
- public SearchFiles searchFiles(java.lang.String workspace) throws java.io.IOException {
- SearchFiles result = new SearchFiles(workspace);
- initialize(result);
- return result;
- }
-
- public class SearchFiles extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:searchFiles";
-
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Finds the contents of a given Workspace directory by filter.
- *
- * Create a request for the method "workspaces.searchFiles".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link SearchFiles#execute()} method to invoke the remote
- * operation. {@link
- * SearchFiles#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @since 1.13
- */
- protected SearchFiles(java.lang.String workspace) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.SearchFilesResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public SearchFiles set$Xgafv(java.lang.String $Xgafv) {
- return (SearchFiles) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public SearchFiles setAccessToken(java.lang.String accessToken) {
- return (SearchFiles) super.setAccessToken(accessToken);
- }
-
- @Override
- public SearchFiles setAlt(java.lang.String alt) {
- return (SearchFiles) super.setAlt(alt);
- }
-
- @Override
- public SearchFiles setCallback(java.lang.String callback) {
- return (SearchFiles) super.setCallback(callback);
- }
-
- @Override
- public SearchFiles setFields(java.lang.String fields) {
- return (SearchFiles) super.setFields(fields);
- }
-
- @Override
- public SearchFiles setKey(java.lang.String key) {
- return (SearchFiles) super.setKey(key);
- }
-
- @Override
- public SearchFiles setOauthToken(java.lang.String oauthToken) {
- return (SearchFiles) super.setOauthToken(oauthToken);
- }
-
- @Override
- public SearchFiles setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SearchFiles) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public SearchFiles setQuotaUser(java.lang.String quotaUser) {
- return (SearchFiles) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public SearchFiles setUploadType(java.lang.String uploadType) {
- return (SearchFiles) super.setUploadType(uploadType);
- }
-
- @Override
- public SearchFiles setUploadProtocol(java.lang.String uploadProtocol) {
- return (SearchFiles) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public SearchFiles setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
- }
-
- /**
- * Optional. Optional filter for the returned list in filtering format. Filtering is
- * only currently supported on the `path` field. See https://google.aip.dev/160 for
- * details.
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Optional filter for the returned list in filtering format. Filtering is only currently
- supported on the `path` field. See https://google.aip.dev/160 for details.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /**
- * Optional. Optional filter for the returned list in filtering format. Filtering is
- * only currently supported on the `path` field. See https://google.aip.dev/160 for
- * details.
- */
- public SearchFiles setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. Maximum number of search results to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Maximum number of search results to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Maximum number of search results to return. The server may return fewer
- * items than requested. If unspecified, the server will pick an appropriate default.
- */
- public SearchFiles setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. Page token received from a previous `SearchFilesRequest` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `SearchFilesRequest`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve
- the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with
- the exception of `page_size`, must match the call that provided the page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. Page token received from a previous `SearchFilesRequest` call. Provide this
- * to retrieve the subsequent page. When paginating, all other parameters provided to
- * `SearchFilesRequest`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- public SearchFiles setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public SearchFiles set(String parameterName, Object value) {
- return (SearchFiles) super.set(parameterName, value);
- }
- }
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "workspaces.setIamPolicy".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @return the request
- */
- public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
- SetIamPolicy result = new SetIamPolicy(resource, content);
- initialize(result);
- return result;
- }
-
- public class SetIamPolicy extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
-
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- *
- * Create a request for the method "workspaces.setIamPolicy".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
- * @since 1.13
- */
- protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (SetIamPolicy) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public SetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (SetIamPolicy) super.setAccessToken(accessToken);
- }
-
- @Override
- public SetIamPolicy setAlt(java.lang.String alt) {
- return (SetIamPolicy) super.setAlt(alt);
- }
-
- @Override
- public SetIamPolicy setCallback(java.lang.String callback) {
- return (SetIamPolicy) super.setCallback(callback);
- }
-
- @Override
- public SetIamPolicy setFields(java.lang.String fields) {
- return (SetIamPolicy) super.setFields(fields);
- }
-
- @Override
- public SetIamPolicy setKey(java.lang.String key) {
- return (SetIamPolicy) super.setKey(key);
- }
-
- @Override
- public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (SetIamPolicy) super.setOauthToken(oauthToken);
- }
-
- @Override
- public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (SetIamPolicy) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public SetIamPolicy setUploadType(java.lang.String uploadType) {
- return (SetIamPolicy) super.setUploadType(uploadType);
- }
-
- @Override
- public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
-
- /** REQUIRED: The resource for which the policy is being specified. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
-
- /**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public SetIamPolicy setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.resource = resource;
- return this;
- }
-
- @Override
- public SetIamPolicy set(String parameterName, Object value) {
- return (SetIamPolicy) super.set(parameterName, value);
- }
- }
- /**
- * Returns permissions that a caller has on the specified resource. If the resource does not exist,
- * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
- * designed to be used for building permission-aware UIs and command-line tools, not for
- * authorization checking. This operation may "fail open" without warning.
- *
- * Create a request for the method "workspaces.testIamPermissions".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
- * @return the request
- */
- public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(resource, content);
- initialize(result);
- return result;
- }
-
- public class TestIamPermissions extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
-
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Returns permissions that a caller has on the specified resource. If the resource does not
- * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
- * operation is designed to be used for building permission-aware UIs and command-line tools, not
- * for authorization checking. This operation may "fail open" without warning.
- *
- * Create a request for the method "workspaces.testIamPermissions".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
- * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
- * @since 1.13
- */
- protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
- return (TestIamPermissions) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public TestIamPermissions setAccessToken(java.lang.String accessToken) {
- return (TestIamPermissions) super.setAccessToken(accessToken);
- }
-
- @Override
- public TestIamPermissions setAlt(java.lang.String alt) {
- return (TestIamPermissions) super.setAlt(alt);
- }
-
- @Override
- public TestIamPermissions setCallback(java.lang.String callback) {
- return (TestIamPermissions) super.setCallback(callback);
- }
-
- @Override
- public TestIamPermissions setFields(java.lang.String fields) {
- return (TestIamPermissions) super.setFields(fields);
- }
-
- @Override
- public TestIamPermissions setKey(java.lang.String key) {
- return (TestIamPermissions) super.setKey(key);
- }
-
- @Override
- public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
- return (TestIamPermissions) super.setOauthToken(oauthToken);
- }
-
- @Override
- public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
- return (TestIamPermissions) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public TestIamPermissions setUploadType(java.lang.String uploadType) {
- return (TestIamPermissions) super.setUploadType(uploadType);
- }
-
- @Override
- public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
- return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
-
- /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
-
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public TestIamPermissions setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.resource = resource;
- return this;
- }
-
- @Override
- public TestIamPermissions set(String parameterName, Object value) {
- return (TestIamPermissions) super.set(parameterName, value);
- }
- }
- /**
- * Writes to a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.writeFile".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link WriteFile#execute()} method to invoke the remote operation.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.WriteFileRequest}
- * @return the request
- */
- public WriteFile writeFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.WriteFileRequest content) throws java.io.IOException {
- WriteFile result = new WriteFile(workspace, content);
- initialize(result);
- return result;
- }
-
- public class WriteFile extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+workspace}:writeFile";
-
- private final java.util.regex.Pattern WORKSPACE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
-
- /**
- * Writes to a file (inside a Workspace).
- *
- * Create a request for the method "workspaces.writeFile".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link WriteFile#execute()} method to invoke the remote
- * operation. {@link
- * WriteFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param workspace Required. The workspace's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.WriteFileRequest}
- * @since 1.13
- */
- protected WriteFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.WriteFileRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WriteFileResponse.class);
- this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- }
-
- @Override
- public WriteFile set$Xgafv(java.lang.String $Xgafv) {
- return (WriteFile) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public WriteFile setAccessToken(java.lang.String accessToken) {
- return (WriteFile) super.setAccessToken(accessToken);
- }
-
- @Override
- public WriteFile setAlt(java.lang.String alt) {
- return (WriteFile) super.setAlt(alt);
- }
-
- @Override
- public WriteFile setCallback(java.lang.String callback) {
- return (WriteFile) super.setCallback(callback);
- }
-
- @Override
- public WriteFile setFields(java.lang.String fields) {
- return (WriteFile) super.setFields(fields);
- }
-
- @Override
- public WriteFile setKey(java.lang.String key) {
- return (WriteFile) super.setKey(key);
- }
-
- @Override
- public WriteFile setOauthToken(java.lang.String oauthToken) {
- return (WriteFile) super.setOauthToken(oauthToken);
- }
-
- @Override
- public WriteFile setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (WriteFile) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public WriteFile setQuotaUser(java.lang.String quotaUser) {
- return (WriteFile) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public WriteFile setUploadType(java.lang.String uploadType) {
- return (WriteFile) super.setUploadType(uploadType);
- }
-
- @Override
- public WriteFile setUploadProtocol(java.lang.String uploadProtocol) {
- return (WriteFile) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The workspace's name. */
- @com.google.api.client.util.Key
- private java.lang.String workspace;
-
- /** Required. The workspace's name.
- */
- public java.lang.String getWorkspace() {
- return workspace;
- }
-
- /** Required. The workspace's name. */
- public WriteFile setWorkspace(java.lang.String workspace) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
- "Parameter workspace must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- }
- this.workspace = workspace;
- return this;
- }
-
- @Override
- public WriteFile set(String parameterName, Object value) {
- return (WriteFile) super.set(parameterName, value);
- }
- }
-
- }
- }
- /**
- * An accessor for creating requests from the TeamFolders collection.
- *
- * The typical use is:
- *
- * {@code Dataform dataform = new Dataform(...);}
- * {@code Dataform.TeamFolders.List request = dataform.teamFolders().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public TeamFolders teamFolders() {
- return new TeamFolders();
- }
-
- /**
- * The "teamFolders" collection of methods.
- */
- public class TeamFolders {
-
- /**
- * Creates a new TeamFolder in a given project and location.
- *
- * Create a request for the method "teamFolders.create".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The location in which to create the TeamFolder. Must be in the format
- * `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.TeamFolder}
- * @return the request
- */
- public Create create(java.lang.String parent, com.google.api.services.dataform.v1.model.TeamFolder content) throws java.io.IOException {
- Create result = new Create(parent, content);
- initialize(result);
- return result;
- }
-
- public class Create extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+parent}/teamFolders";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
-
- /**
- * Creates a new TeamFolder in a given project and location.
- *
- * Create a request for the method "teamFolders.create".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
- * {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The location in which to create the TeamFolder. Must be in the format
- * `projects/locations`.
- * @param content the {@link com.google.api.services.dataform.v1.model.TeamFolder}
- * @since 1.13
- */
- protected Create(java.lang.String parent, com.google.api.services.dataform.v1.model.TeamFolder content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TeamFolder.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
- }
-
- @Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
- }
-
- @Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
- }
-
- @Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
- }
-
- @Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
- }
-
- @Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
- }
-
- @Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The location in which to create the TeamFolder. Must be in the format
- * `projects/locations`.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The location in which to create the TeamFolder. Must be in the format
- `projects/locations`.
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /**
- * Required. The location in which to create the TeamFolder. Must be in the format
- * `projects/locations`.
- */
- public Create setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
-
- @Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
- }
- }
- /**
- * Deletes a single TeamFolder.
- *
- * Create a request for the method "teamFolders.delete".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- *
- * @param name Required. The TeamFolder's name.
- * @return the request
- */
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
- initialize(result);
- return result;
- }
-
- public class Delete extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
-
- /**
- * Deletes a single TeamFolder.
- *
- * Create a request for the method "teamFolders.delete".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- * {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The TeamFolder's name.
- * @since 1.13
- */
- protected Delete(java.lang.String name) {
- super(Dataform.this, "DELETE", REST_PATH, null, com.google.api.services.dataform.v1.model.Empty.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- }
-
- @Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
- }
-
- @Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
- }
-
- @Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
- }
-
- @Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
- }
-
- @Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
- }
-
- @Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
- }
-
- @Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The TeamFolder's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The TeamFolder's name.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. The TeamFolder's name. */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
- /**
- * Deletes a TeamFolder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and
- * WorkflowConfigs).
- *
- * Create a request for the method "teamFolders.deleteTree".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link DeleteTree#execute()} method to invoke the remote operation.
- *
- * @param name Required. The TeamFolder's name. Format:
- * projects/{project}/locations/{location}/teamFolders/{team_folder}
- * @param content the {@link com.google.api.services.dataform.v1.model.DeleteTeamFolderTreeRequest}
- * @return the request
- */
- public DeleteTree deleteTree(java.lang.String name, com.google.api.services.dataform.v1.model.DeleteTeamFolderTreeRequest content) throws java.io.IOException {
- DeleteTree result = new DeleteTree(name, content);
- initialize(result);
- return result;
- }
-
- public class DeleteTree extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}:deleteTree";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
-
- /**
- * Deletes a TeamFolder with its contents (Folders, Repositories, Workspaces, ReleaseConfigs, and
- * WorkflowConfigs).
- *
- * Create a request for the method "teamFolders.deleteTree".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link DeleteTree#execute()} method to invoke the remote
- * operation. {@link
- * DeleteTree#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The TeamFolder's name. Format:
- * projects/{project}/locations/{location}/teamFolders/{team_folder}
- * @param content the {@link com.google.api.services.dataform.v1.model.DeleteTeamFolderTreeRequest}
- * @since 1.13
- */
- protected DeleteTree(java.lang.String name, com.google.api.services.dataform.v1.model.DeleteTeamFolderTreeRequest content) {
- super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- }
-
- @Override
- public DeleteTree set$Xgafv(java.lang.String $Xgafv) {
- return (DeleteTree) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public DeleteTree setAccessToken(java.lang.String accessToken) {
- return (DeleteTree) super.setAccessToken(accessToken);
- }
-
- @Override
- public DeleteTree setAlt(java.lang.String alt) {
- return (DeleteTree) super.setAlt(alt);
- }
-
- @Override
- public DeleteTree setCallback(java.lang.String callback) {
- return (DeleteTree) super.setCallback(callback);
- }
-
- @Override
- public DeleteTree setFields(java.lang.String fields) {
- return (DeleteTree) super.setFields(fields);
- }
-
- @Override
- public DeleteTree setKey(java.lang.String key) {
- return (DeleteTree) super.setKey(key);
- }
-
- @Override
- public DeleteTree setOauthToken(java.lang.String oauthToken) {
- return (DeleteTree) super.setOauthToken(oauthToken);
- }
-
- @Override
- public DeleteTree setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (DeleteTree) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public DeleteTree setQuotaUser(java.lang.String quotaUser) {
- return (DeleteTree) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public DeleteTree setUploadType(java.lang.String uploadType) {
- return (DeleteTree) super.setUploadType(uploadType);
- }
-
- @Override
- public DeleteTree setUploadProtocol(java.lang.String uploadProtocol) {
- return (DeleteTree) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The TeamFolder's name. Format:
- * projects/{project}/locations/{location}/teamFolders/{team_folder}
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The TeamFolder's name. Format:
- projects/{project}/locations/{location}/teamFolders/{team_folder}
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. The TeamFolder's name. Format:
- * projects/{project}/locations/{location}/teamFolders/{team_folder}
- */
- public DeleteTree setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public DeleteTree set(String parameterName, Object value) {
- return (DeleteTree) super.set(parameterName, value);
- }
- }
- /**
- * Fetches a single TeamFolder.
- *
- * Create a request for the method "teamFolders.get".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. The TeamFolder's name.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
-
- /**
- * Fetches a single TeamFolder.
- *
- * Create a request for the method "teamFolders.get".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The TeamFolder's name.
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.TeamFolder.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
-
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The TeamFolder's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The TeamFolder's name.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. The TeamFolder's name. */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
- * does not have a policy set.
- *
- * Create a request for the method "teamFolders.getIamPolicy".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
- *
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @return the request
- */
- public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
- GetIamPolicy result = new GetIamPolicy(resource);
- initialize(result);
- return result;
- }
-
- public class GetIamPolicy extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
-
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
-
- /**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists
- * and does not have a policy set.
- *
- * Create a request for the method "teamFolders.getIamPolicy".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @since 1.13
- */
- protected GetIamPolicy(java.lang.String resource) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (GetIamPolicy) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public GetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (GetIamPolicy) super.setAccessToken(accessToken);
- }
-
- @Override
- public GetIamPolicy setAlt(java.lang.String alt) {
- return (GetIamPolicy) super.setAlt(alt);
- }
-
- @Override
- public GetIamPolicy setCallback(java.lang.String callback) {
- return (GetIamPolicy) super.setCallback(callback);
- }
-
- @Override
- public GetIamPolicy setFields(java.lang.String fields) {
- return (GetIamPolicy) super.setFields(fields);
- }
-
- @Override
- public GetIamPolicy setKey(java.lang.String key) {
- return (GetIamPolicy) super.setKey(key);
- }
-
- @Override
- public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (GetIamPolicy) super.setOauthToken(oauthToken);
- }
-
- @Override
- public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (GetIamPolicy) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public GetIamPolicy setUploadType(java.lang.String uploadType) {
- return (GetIamPolicy) super.setUploadType(uploadType);
- }
-
- @Override
- public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
-
- /** REQUIRED: The resource for which the policy is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
-
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public GetIamPolicy setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
- this.resource = resource;
- return this;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- @com.google.api.client.util.Key("options.requestedPolicyVersion")
- private java.lang.Integer optionsRequestedPolicyVersion;
-
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
- and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
- conditional role bindings must specify version 3. Policies with no conditional role bindings may
- specify any valid value or leave the field unset. The policy in the response might use the policy
- version that you specified, or it might use a lower policy version. For example, if you specify
- version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
- which resources support conditions in their IAM policies, see the [IAM
- documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public java.lang.Integer getOptionsRequestedPolicyVersion() {
- return optionsRequestedPolicyVersion;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
- this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
- return this;
- }
-
- @Override
- public GetIamPolicy set(String parameterName, Object value) {
- return (GetIamPolicy) super.set(parameterName, value);
- }
- }
- /**
- * Updates a single TeamFolder.
- *
- * Create a request for the method "teamFolders.patch".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- *
- * @param name Identifier. The TeamFolder's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.TeamFolder}
- * @return the request
- */
- public Patch patch(java.lang.String name, com.google.api.services.dataform.v1.model.TeamFolder content) throws java.io.IOException {
- Patch result = new Patch(name, content);
- initialize(result);
- return result;
- }
-
- public class Patch extends DataformRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
-
+ public SearchFiles set(String parameterName, Object value) {
+ return (SearchFiles) super.set(parameterName, value);
+ }
+ }
/**
- * Updates a single TeamFolder.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "teamFolders.patch".
+ * Create a request for the method "workspaces.setIamPolicy".
*
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- * {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param name Identifier. The TeamFolder's name.
- * @param content the {@link com.google.api.services.dataform.v1.model.TeamFolder}
- * @since 1.13
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
+ * @return the request
*/
- protected Patch(java.lang.String name, com.google.api.services.dataform.v1.model.TeamFolder content) {
- super(Dataform.this, "PATCH", REST_PATH, content, com.google.api.services.dataform.v1.model.TeamFolder.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
- }
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
+ initialize(result);
+ return result;
}
- @Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
- }
+ public class SetIamPolicy extends DataformRequest {
- @Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
- }
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- @Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
- }
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- @Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
- }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+ *
+ * Create a request for the method "workspaces.setIamPolicy".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.SetIamPolicyRequest}
+ * @since 1.13
+ */
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.dataform.v1.model.SetIamPolicyRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ }
- @Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
- }
+ @Override
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
+ }
- @Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
- }
+ @Override
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
+ }
- @Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
- }
+ @Override
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
+ }
- @Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
+ }
- @Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
+ }
- @Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
- }
+ @Override
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
+ }
- @Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
+ }
- /** Identifier. The TeamFolder's name. */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ @Override
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
+ }
- /** Identifier. The TeamFolder's name.
- */
- public java.lang.String getName() {
- return name;
- }
+ @Override
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ }
- /** Identifier. The TeamFolder's name. */
- public Patch setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
+ @Override
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
- this.name = name;
- return this;
- }
- /**
- * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields
- * will be updated.
- */
- @com.google.api.client.util.Key
- private String updateMask;
+ @Override
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ }
- /** Optional. Specifies the fields to be updated in the Folder. If left unset, all fields will be
- updated.
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resource;
+
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
+ */
+ public java.lang.String getResource() {
+ return resource;
+ }
+
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public SetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ this.resource = resource;
+ return this;
+ }
+
+ @Override
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
+ *
+ * Create a request for the method "workspaces.testIamPermissions".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
+ *
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
+ * @return the request
*/
- public String getUpdateMask() {
- return updateMask;
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
+ initialize(result);
+ return result;
}
- /**
- * Optional. Specifies the fields to be updated in the Folder. If left unset, all fields
- * will be updated.
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
- return this;
- }
+ public class TestIamPermissions extends DataformRequest {
+
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
+
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+
+ /**
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
+ *
+ * Create a request for the method "workspaces.testIamPermissions".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
+ *
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.dataform.v1.model.TestIamPermissionsRequest}
+ * @since 1.13
+ */
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.dataform.v1.model.TestIamPermissionsRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ }
+
+ @Override
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
+ }
- @Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
- }
- }
- /**
- * Returns the contents of a given TeamFolder.
- *
- * Create a request for the method "teamFolders.queryContents".
- *
- * This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link QueryContents#execute()} method to invoke the remote operation.
- *
- * @param teamFolder Required. Name of the team_folder whose contents to list. Format: `projects/locations/teamFolders`.
- * @return the request
- */
- public QueryContents queryContents(java.lang.String teamFolder) throws java.io.IOException {
- QueryContents result = new QueryContents(teamFolder);
- initialize(result);
- return result;
- }
+ @Override
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
+ }
- public class QueryContents extends DataformRequest {
+ @Override
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
+ }
- private static final String REST_PATH = "v1/{+teamFolder}:queryContents";
+ @Override
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
+ }
- private final java.util.regex.Pattern TEAM_FOLDER_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
+ @Override
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
+ }
- /**
- * Returns the contents of a given TeamFolder.
- *
- * Create a request for the method "teamFolders.queryContents".
- *
- * This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link QueryContents#execute()} method to invoke the remote
- * operation. {@link QueryContents#initialize(com.google.api.client.googleapis.services.Abstra
- * ctGoogleClientRequest)} must be called to initialize this instance immediately after invoking
- * the constructor.
- *
- * @param teamFolder Required. Name of the team_folder whose contents to list. Format: `projects/locations/teamFolders`.
- * @since 1.13
- */
- protected QueryContents(java.lang.String teamFolder) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.QueryTeamFolderContentsResponse.class);
- this.teamFolder = com.google.api.client.util.Preconditions.checkNotNull(teamFolder, "Required parameter teamFolder must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(TEAM_FOLDER_PATTERN.matcher(teamFolder).matches(),
- "Parameter teamFolder must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
+ @Override
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
- }
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ @Override
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
+ }
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ @Override
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public QueryContents set$Xgafv(java.lang.String $Xgafv) {
- return (QueryContents) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ }
- @Override
- public QueryContents setAccessToken(java.lang.String accessToken) {
- return (QueryContents) super.setAccessToken(accessToken);
- }
+ @Override
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
+ }
- @Override
- public QueryContents setAlt(java.lang.String alt) {
- return (QueryContents) super.setAlt(alt);
- }
+ @Override
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public QueryContents setCallback(java.lang.String callback) {
- return (QueryContents) super.setCallback(callback);
- }
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resource;
- @Override
- public QueryContents setFields(java.lang.String fields) {
- return (QueryContents) super.setFields(fields);
- }
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
+ */
+ public java.lang.String getResource() {
+ return resource;
+ }
- @Override
- public QueryContents setKey(java.lang.String key) {
- return (QueryContents) super.setKey(key);
- }
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public TestIamPermissions setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ this.resource = resource;
+ return this;
+ }
- @Override
- public QueryContents setOauthToken(java.lang.String oauthToken) {
- return (QueryContents) super.setOauthToken(oauthToken);
+ @Override
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
+ }
}
-
- @Override
- public QueryContents setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (QueryContents) super.setPrettyPrint(prettyPrint);
+ /**
+ * Writes to a file (inside a Workspace).
+ *
+ * Create a request for the method "workspaces.writeFile".
+ *
+ * This request holds the parameters needed by the dataform server. After setting any optional
+ * parameters, call the {@link WriteFile#execute()} method to invoke the remote operation.
+ *
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WriteFileRequest}
+ * @return the request
+ */
+ public WriteFile writeFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.WriteFileRequest content) throws java.io.IOException {
+ WriteFile result = new WriteFile(workspace, content);
+ initialize(result);
+ return result;
}
- @Override
- public QueryContents setQuotaUser(java.lang.String quotaUser) {
- return (QueryContents) super.setQuotaUser(quotaUser);
- }
+ public class WriteFile extends DataformRequest {
- @Override
- public QueryContents setUploadType(java.lang.String uploadType) {
- return (QueryContents) super.setUploadType(uploadType);
- }
+ private static final String REST_PATH = "v1/{+workspace}:writeFile";
- @Override
- public QueryContents setUploadProtocol(java.lang.String uploadProtocol) {
- return (QueryContents) super.setUploadProtocol(uploadProtocol);
- }
+ private final java.util.regex.Pattern WORKSPACE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
- /**
- * Required. Name of the team_folder whose contents to list. Format:
- * `projects/locations/teamFolders`.
- */
- @com.google.api.client.util.Key
- private java.lang.String teamFolder;
+ /**
+ * Writes to a file (inside a Workspace).
+ *
+ * Create a request for the method "workspaces.writeFile".
+ *
+ * This request holds the parameters needed by the the dataform server. After setting any
+ * optional parameters, call the {@link WriteFile#execute()} method to invoke the remote
+ * operation. {@link
+ * WriteFile#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param workspace Required. The workspace's name.
+ * @param content the {@link com.google.api.services.dataform.v1.model.WriteFileRequest}
+ * @since 1.13
+ */
+ protected WriteFile(java.lang.String workspace, com.google.api.services.dataform.v1.model.WriteFileRequest content) {
+ super(Dataform.this, "POST", REST_PATH, content, com.google.api.services.dataform.v1.model.WriteFileResponse.class);
+ this.workspace = com.google.api.client.util.Preconditions.checkNotNull(workspace, "Required parameter workspace must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ }
- /** Required. Name of the team_folder whose contents to list. Format: `projects/locations/teamFolders`.
- */
- public java.lang.String getTeamFolder() {
- return teamFolder;
- }
+ @Override
+ public WriteFile set$Xgafv(java.lang.String $Xgafv) {
+ return (WriteFile) super.set$Xgafv($Xgafv);
+ }
- /**
- * Required. Name of the team_folder whose contents to list. Format:
- * `projects/locations/teamFolders`.
- */
- public QueryContents setTeamFolder(java.lang.String teamFolder) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(TEAM_FOLDER_PATTERN.matcher(teamFolder).matches(),
- "Parameter teamFolder must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
+ @Override
+ public WriteFile setAccessToken(java.lang.String accessToken) {
+ return (WriteFile) super.setAccessToken(accessToken);
}
- this.teamFolder = teamFolder;
- return this;
- }
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
+ @Override
+ public WriteFile setAlt(java.lang.String alt) {
+ return (WriteFile) super.setAlt(alt);
+ }
- /** Optional. Optional filtering for the returned list. Filtering is currently only supported on the
- `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public java.lang.String getFilter() {
- return filter;
- }
+ @Override
+ public WriteFile setCallback(java.lang.String callback) {
+ return (WriteFile) super.setCallback(callback);
+ }
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public QueryContents setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
+ @Override
+ public WriteFile setFields(java.lang.String fields) {
+ return (WriteFile) super.setFields(fields);
+ }
- /**
- * Optional. Field to additionally sort results by. Will order Folders before
- * Repositories, and then by `order_by` in ascending order. Supported keywords:
- * `display_name` (default), `create_time`, last_modified_time. Examples: -
- * `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ @Override
+ public WriteFile setKey(java.lang.String key) {
+ return (WriteFile) super.setKey(key);
+ }
- /** Optional. Field to additionally sort results by. Will order Folders before Repositories, and then
- by `order_by` in ascending order. Supported keywords: `display_name` (default), `create_time`,
- last_modified_time. Examples: - `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
+ @Override
+ public WriteFile setOauthToken(java.lang.String oauthToken) {
+ return (WriteFile) super.setOauthToken(oauthToken);
+ }
- /**
- * Optional. Field to additionally sort results by. Will order Folders before
- * Repositories, and then by `order_by` in ascending order. Supported keywords:
- * `display_name` (default), `create_time`, last_modified_time. Examples: -
- * `orderBy="display_name"` - `orderBy="display_name desc"`
- */
- public QueryContents setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
+ @Override
+ public WriteFile setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (WriteFile) super.setPrettyPrint(prettyPrint);
+ }
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ @Override
+ public WriteFile setQuotaUser(java.lang.String quotaUser) {
+ return (WriteFile) super.setQuotaUser(quotaUser);
+ }
- /** Optional. Maximum number of paths to return. The server may return fewer items than requested. If
- unspecified, the server will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
+ @Override
+ public WriteFile setUploadType(java.lang.String uploadType) {
+ return (WriteFile) super.setUploadType(uploadType);
+ }
- /**
- * Optional. Maximum number of paths to return. The server may return fewer items than
- * requested. If unspecified, the server will pick an appropriate default.
- */
- public QueryContents setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ @Override
+ public WriteFile setUploadProtocol(java.lang.String uploadProtocol) {
+ return (WriteFile) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Optional. Page token received from a previous `QueryTeamFolderContents` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryTeamFolderContents`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ /** Required. The workspace's name. */
+ @com.google.api.client.util.Key
+ private java.lang.String workspace;
- /** Optional. Page token received from a previous `QueryTeamFolderContents` call. Provide this to
- retrieve the subsequent page. When paginating, all other parameters provided to
- `QueryTeamFolderContents`, with the exception of `page_size`, must match the call that provided the
- page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ /** Required. The workspace's name.
+ */
+ public java.lang.String getWorkspace() {
+ return workspace;
+ }
- /**
- * Optional. Page token received from a previous `QueryTeamFolderContents` call. Provide
- * this to retrieve the subsequent page. When paginating, all other parameters provided to
- * `QueryTeamFolderContents`, with the exception of `page_size`, must match the call that
- * provided the page token.
- */
- public QueryContents setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ /** Required. The workspace's name. */
+ public WriteFile setWorkspace(java.lang.String workspace) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(WORKSPACE_PATTERN.matcher(workspace).matches(),
+ "Parameter workspace must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$");
+ }
+ this.workspace = workspace;
+ return this;
+ }
- @Override
- public QueryContents set(String parameterName, Object value) {
- return (QueryContents) super.set(parameterName, value);
+ @Override
+ public WriteFile set(String parameterName, Object value) {
+ return (WriteFile) super.set(parameterName, value);
+ }
}
+
}
+ }
+ /**
+ * An accessor for creating requests from the TeamFolders collection.
+ *
+ * The typical use is:
+ *
+ * {@code Dataform dataform = new Dataform(...);}
+ * {@code Dataform.TeamFolders.List request = dataform.teamFolders().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public TeamFolders teamFolders() {
+ return new TeamFolders();
+ }
+
+ /**
+ * The "teamFolders" collection of methods.
+ */
+ public class TeamFolders {
+
/**
- * Returns all TeamFolders in a given location that the caller has access to and match the provided
- * filter.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "teamFolders.search".
+ * Create a request for the method "teamFolders.getIamPolicy".
*
* This request holds the parameters needed by the dataform server. After setting any optional
- * parameters, call the {@link Search#execute()} method to invoke the remote operation.
+ * parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote operation.
*
- * @param location Required. Location in which to query TeamFolders. Format: `projects/locations`.
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Search search(java.lang.String location) throws java.io.IOException {
- Search result = new Search(location);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Search extends DataformRequest {
+ public class GetIamPolicy extends DataformRequest {
- private static final String REST_PATH = "v1/{+location}/teamFolders:search";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern LOCATION_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
/**
- * Returns all TeamFolders in a given location that the caller has access to and match the
- * provided filter.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "teamFolders.search".
+ * Create a request for the method "teamFolders.getIamPolicy".
*
* This request holds the parameters needed by the the dataform server. After setting any
- * optional parameters, call the {@link Search#execute()} method to invoke the remote operation.
- * {@link
- * Search#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param location Required. Location in which to query TeamFolders. Format: `projects/locations`.
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Search(java.lang.String location) {
- super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.SearchTeamFoldersResponse.class);
- this.location = com.google.api.client.util.Preconditions.checkNotNull(location, "Required parameter location must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Dataform.this, "GET", REST_PATH, null, com.google.api.services.dataform.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
- "Parameter location must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
}
}
@@ -14209,184 +11571,137 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public Search set$Xgafv(java.lang.String $Xgafv) {
- return (Search) super.set$Xgafv($Xgafv);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Search setAccessToken(java.lang.String accessToken) {
- return (Search) super.setAccessToken(accessToken);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Search setAlt(java.lang.String alt) {
- return (Search) super.setAlt(alt);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Search setCallback(java.lang.String callback) {
- return (Search) super.setCallback(callback);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Search setFields(java.lang.String fields) {
- return (Search) super.setFields(fields);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Search setKey(java.lang.String key) {
- return (Search) super.setKey(key);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Search setOauthToken(java.lang.String oauthToken) {
- return (Search) super.setOauthToken(oauthToken);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Search setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Search) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Search setQuotaUser(java.lang.String quotaUser) {
- return (Search) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public Search setUploadType(java.lang.String uploadType) {
- return (Search) super.setUploadType(uploadType);
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public Search setUploadProtocol(java.lang.String uploadProtocol) {
- return (Search) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. Location in which to query TeamFolders. Format: `projects/locations`. */
- @com.google.api.client.util.Key
- private java.lang.String location;
-
- /** Required. Location in which to query TeamFolders. Format: `projects/locations`.
- */
- public java.lang.String getLocation() {
- return location;
- }
-
- /** Required. Location in which to query TeamFolders. Format: `projects/locations`. */
- public Search setLocation(java.lang.String location) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(LOCATION_PATTERN.matcher(location).matches(),
- "Parameter location must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.location = location;
- return this;
- }
-
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Optional filtering for the returned list. Filtering is currently only supported on the
- `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /**
- * Optional. Optional filtering for the returned list. Filtering is currently only
- * supported on the `display_name` field. Example: - `filter="display_name="MyFolder""`
- */
- public Search setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /**
- * Optional. Field to additionally sort results by. Supported keywords: `display_name`
- * (default), `create_time`, `last_modified_time`. Examples: - `orderBy="display_name"` -
- * `orderBy="display_name desc"`
- */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. Field to additionally sort results by. Supported keywords: `display_name` (default),
- `create_time`, `last_modified_time`. Examples: - `orderBy="display_name"` - `orderBy="display_name
- desc"`
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /**
- * Optional. Field to additionally sort results by. Supported keywords: `display_name`
- * (default), `create_time`, `last_modified_time`. Examples: - `orderBy="display_name"` -
- * `orderBy="display_name desc"`
- */
- public Search setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. Maximum number of TeamFolders to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ private java.lang.String resource;
- /** Optional. Maximum number of TeamFolders to return. The server may return fewer items than
- requested. If unspecified, the server will pick an appropriate default.
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.Integer getPageSize() {
- return pageSize;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. Maximum number of TeamFolders to return. The server may return fewer items
- * than requested. If unspecified, the server will pick an appropriate default.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Search setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
+ public GetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
/**
- * Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `SearchTeamFolders`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
- /** Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to retrieve
- the subsequent page. When paginating, all other parameters provided to `SearchTeamFolders`, with
- the exception of `page_size`, must match the call that provided the page token.
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
}
/**
- * Optional. Page token received from a previous `SearchTeamFolders` call. Provide this to
- * retrieve the subsequent page. When paginating, all other parameters provided to
- * `SearchTeamFolders`, with the exception of `page_size`, must match the call that
- * provided the page token.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public Search setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Search set(String parameterName, Object value) {
- return (Search) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CommitLogEntry.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CommitLogEntry.java
index 029e5d0f1f0..84a4e463858 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CommitLogEntry.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CommitLogEntry.java
@@ -55,7 +55,7 @@ public final class CommitLogEntry extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String commitTime;
+ private java.lang.String commitTime;
/**
* The commit author for this commit log entry.
@@ -112,7 +112,7 @@ public CommitLogEntry setCommitSha(java.lang.String commitSha) {
* Commit timestamp.
* @return value or {@code null} for none
*/
- public String getCommitTime() {
+ public java.lang.String getCommitTime() {
return commitTime;
}
@@ -120,7 +120,7 @@ public String getCommitTime() {
* Commit timestamp.
* @param commitTime commitTime or {@code null} for none
*/
- public CommitLogEntry setCommitTime(String commitTime) {
+ public CommitLogEntry setCommitTime(java.lang.String commitTime) {
this.commitTime = commitTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CompilationResult.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CompilationResult.java
index 70d0c6ebf79..2d2e8de79e5 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CompilationResult.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/CompilationResult.java
@@ -55,7 +55,7 @@ public final class CompilationResult extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Only set if the repository has a KMS Key.
@@ -167,7 +167,7 @@ public CompilationResult setCompilationErrors(java.util.List c
* Output only. The timestamp of when the compilation result was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -175,7 +175,7 @@ public String getCreateTime() {
* Output only. The timestamp of when the compilation result was created.
* @param createTime createTime or {@code null} for none
*/
- public CompilationResult setCreateTime(String createTime) {
+ public CompilationResult setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/DirectoryEntry.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/DirectoryEntry.java
index 3010736510c..dbdadcd9ef7 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/DirectoryEntry.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/DirectoryEntry.java
@@ -43,13 +43,6 @@ public final class DirectoryEntry extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private java.lang.String file;
- /**
- * Entry with metadata.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private FilesystemEntryMetadata metadata;
-
/**
* A child directory in the directory.
* @return value or {@code null} for none
@@ -84,23 +77,6 @@ public DirectoryEntry setFile(java.lang.String file) {
return this;
}
- /**
- * Entry with metadata.
- * @return value or {@code null} for none
- */
- public FilesystemEntryMetadata getMetadata() {
- return metadata;
- }
-
- /**
- * Entry with metadata.
- * @param metadata metadata or {@code null} for none
- */
- public DirectoryEntry setMetadata(FilesystemEntryMetadata metadata) {
- this.metadata = metadata;
- return this;
- }
-
@Override
public DirectoryEntry set(String fieldName, Object value) {
return (DirectoryEntry) super.set(fieldName, value);
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Interval.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Interval.java
index 9ac076f188c..da8aabc3be3 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Interval.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Interval.java
@@ -38,7 +38,7 @@ public final class Interval extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval
@@ -46,14 +46,14 @@ public final class Interval extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will
* have to be before the end.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -62,7 +62,7 @@ public String getEndTime() {
* have to be before the end.
* @param endTime endTime or {@code null} for none
*/
- public Interval setEndTime(String endTime) {
+ public Interval setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -72,7 +72,7 @@ public Interval setEndTime(String endTime) {
* will have to be the same or after the start.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -81,7 +81,7 @@ public String getStartTime() {
* will have to be the same or after the start.
* @param startTime startTime or {@code null} for none
*/
- public Interval setStartTime(String startTime) {
+ public Interval setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/OperationMetadata.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/OperationMetadata.java
index 6c6307212a0..484bf444f58 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/OperationMetadata.java
@@ -50,14 +50,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Human-readable status of the operation, if any.
@@ -122,7 +122,7 @@ public OperationMetadata setCancelRequested(java.lang.Boolean cancelRequested) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -130,7 +130,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -139,7 +139,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -147,7 +147,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Repository.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Repository.java
index d143497a618..0ffdf83635f 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Repository.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Repository.java
@@ -29,21 +29,12 @@
@SuppressWarnings("javadoc")
public final class Repository extends com.google.api.client.json.GenericJson {
- /**
- * Optional. The name of the containing folder of the repository. The field is immutable and it
- * can be modified via a MoveRepository operation. Format: `projects/locations/folders`. or
- * `projects/locations/teamFolders`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String containingFolder;
-
/**
* Output only. The timestamp of when the repository was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. A data encryption state of a Git repository if this Repository is protected by a
@@ -123,15 +114,6 @@ public final class Repository extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Boolean setAuthenticatedUserAdmin;
- /**
- * Output only. The resource name of the TeamFolder that this Repository is associated with. This
- * should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If
- * this is not set, the Repository is not associated with a TeamFolder.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String teamFolderName;
-
/**
* Optional. If set, fields of `workspace_compilation_overrides` override the default compilation
* settings that are specified in dataform.json when creating workspace-scoped compilation
@@ -141,32 +123,11 @@ public final class Repository extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private WorkspaceCompilationOverrides workspaceCompilationOverrides;
- /**
- * Optional. The name of the containing folder of the repository. The field is immutable and it
- * can be modified via a MoveRepository operation. Format: `projects/locations/folders`. or
- * `projects/locations/teamFolders`.
- * @return value or {@code null} for none
- */
- public java.lang.String getContainingFolder() {
- return containingFolder;
- }
-
- /**
- * Optional. The name of the containing folder of the repository. The field is immutable and it
- * can be modified via a MoveRepository operation. Format: `projects/locations/folders`. or
- * `projects/locations/teamFolders`.
- * @param containingFolder containingFolder or {@code null} for none
- */
- public Repository setContainingFolder(java.lang.String containingFolder) {
- this.containingFolder = containingFolder;
- return this;
- }
-
/**
* Output only. The timestamp of when the repository was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -174,7 +135,7 @@ public String getCreateTime() {
* Output only. The timestamp of when the repository was created.
* @param createTime createTime or {@code null} for none
*/
- public Repository setCreateTime(String createTime) {
+ public Repository setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -365,27 +326,6 @@ public Repository setSetAuthenticatedUserAdmin(java.lang.Boolean setAuthenticate
return this;
}
- /**
- * Output only. The resource name of the TeamFolder that this Repository is associated with. This
- * should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If
- * this is not set, the Repository is not associated with a TeamFolder.
- * @return value or {@code null} for none
- */
- public java.lang.String getTeamFolderName() {
- return teamFolderName;
- }
-
- /**
- * Output only. The resource name of the TeamFolder that this Repository is associated with. This
- * should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If
- * this is not set, the Repository is not associated with a TeamFolder.
- * @param teamFolderName teamFolderName or {@code null} for none
- */
- public Repository setTeamFolderName(java.lang.String teamFolderName) {
- this.teamFolderName = teamFolderName;
- return this;
- }
-
/**
* Optional. If set, fields of `workspace_compilation_overrides` override the default compilation
* settings that are specified in dataform.json when creating workspace-scoped compilation
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledExecutionRecord.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledExecutionRecord.java
index c91701d59b8..fa9404a5425 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledExecutionRecord.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledExecutionRecord.java
@@ -42,7 +42,7 @@ public final class ScheduledExecutionRecord extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String executionTime;
+ private java.lang.String executionTime;
/**
* The name of the created workflow invocation, if one was successfully created. Must be in the
@@ -75,7 +75,7 @@ public ScheduledExecutionRecord setErrorStatus(Status errorStatus) {
* Output only. The timestamp of this execution attempt.
* @return value or {@code null} for none
*/
- public String getExecutionTime() {
+ public java.lang.String getExecutionTime() {
return executionTime;
}
@@ -83,7 +83,7 @@ public String getExecutionTime() {
* Output only. The timestamp of this execution attempt.
* @param executionTime executionTime or {@code null} for none
*/
- public ScheduledExecutionRecord setExecutionTime(String executionTime) {
+ public ScheduledExecutionRecord setExecutionTime(java.lang.String executionTime) {
this.executionTime = executionTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledReleaseRecord.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledReleaseRecord.java
index 75e35c16fef..b29b72d9e35 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledReleaseRecord.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/ScheduledReleaseRecord.java
@@ -50,7 +50,7 @@ public final class ScheduledReleaseRecord extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String releaseTime;
+ private java.lang.String releaseTime;
/**
* The name of the created compilation result, if one was successfully created. Must be in the
@@ -94,7 +94,7 @@ public ScheduledReleaseRecord setErrorStatus(Status errorStatus) {
* Output only. The timestamp of this release attempt.
* @return value or {@code null} for none
*/
- public String getReleaseTime() {
+ public java.lang.String getReleaseTime() {
return releaseTime;
}
@@ -102,7 +102,7 @@ public String getReleaseTime() {
* Output only. The timestamp of this release attempt.
* @param releaseTime releaseTime or {@code null} for none
*/
- public ScheduledReleaseRecord setReleaseTime(String releaseTime) {
+ public ScheduledReleaseRecord setReleaseTime(java.lang.String releaseTime) {
this.releaseTime = releaseTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java
index 2e1ac205669..bdfebe863d9 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/WorkflowConfig.java
@@ -34,7 +34,7 @@ public final class WorkflowConfig extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
@@ -110,13 +110,13 @@ public final class WorkflowConfig extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp of when the WorkflowConfig was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -124,7 +124,7 @@ public String getCreateTime() {
* Output only. The timestamp of when the WorkflowConfig was created.
* @param createTime createTime or {@code null} for none
*/
- public WorkflowConfig setCreateTime(String createTime) {
+ public WorkflowConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -283,7 +283,7 @@ public WorkflowConfig setTimeZone(java.lang.String timeZone) {
* Output only. The timestamp of when the WorkflowConfig was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -291,7 +291,7 @@ public String getUpdateTime() {
* Output only. The timestamp of when the WorkflowConfig was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public WorkflowConfig setUpdateTime(String updateTime) {
+ public WorkflowConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Workspace.java b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Workspace.java
index daef3fc4c84..03d1adb29ef 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Workspace.java
+++ b/clients/google-api-services-dataform/v1/2.0.0/com/google/api/services/dataform/v1/model/Workspace.java
@@ -34,7 +34,7 @@ public final class Workspace extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. A data encryption state of a Git repository if this Workspace is protected by a
@@ -44,14 +44,6 @@ public final class Workspace extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private DataEncryptionState dataEncryptionState;
- /**
- * Optional. If set to true, workspaces will not be moved if its linked Repository is moved.
- * Instead, it will be deleted.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean disableMoves;
-
/**
* Output only. All the metadata information that is used internally to serve the resource. For
* example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
@@ -79,7 +71,7 @@ public final class Workspace extends com.google.api.client.json.GenericJson {
* Output only. The timestamp of when the workspace was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -87,7 +79,7 @@ public String getCreateTime() {
* Output only. The timestamp of when the workspace was created.
* @param createTime createTime or {@code null} for none
*/
- public Workspace setCreateTime(String createTime) {
+ public Workspace setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -111,25 +103,6 @@ public Workspace setDataEncryptionState(DataEncryptionState dataEncryptionState)
return this;
}
- /**
- * Optional. If set to true, workspaces will not be moved if its linked Repository is moved.
- * Instead, it will be deleted.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getDisableMoves() {
- return disableMoves;
- }
-
- /**
- * Optional. If set to true, workspaces will not be moved if its linked Repository is moved.
- * Instead, it will be deleted.
- * @param disableMoves disableMoves or {@code null} for none
- */
- public Workspace setDisableMoves(java.lang.Boolean disableMoves) {
- this.disableMoves = disableMoves;
- return this;
- }
-
/**
* Output only. All the metadata information that is used internally to serve the resource. For
* example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
diff --git a/clients/google-api-services-dataform/v1/2.0.0/pom.xml b/clients/google-api-services-dataform/v1/2.0.0/pom.xml
index e2fb563c381..cd5ac9afb98 100644
--- a/clients/google-api-services-dataform/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-dataform/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-dataform
- v1-rev20260326-2.0.0
- Dataform API v1-rev20260326-2.0.0
+ v1-rev20260217-2.0.0
+ Dataform API v1-rev20260217-2.0.0
jar
2011
diff --git a/clients/google-api-services-datamanager/v1/2.0.0/README.md b/clients/google-api-services-datamanager/v1/2.0.0/README.md
index e527aad9a50..48615560001 100644
--- a/clients/google-api-services-datamanager/v1/2.0.0/README.md
+++ b/clients/google-api-services-datamanager/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-datamanager
- v1-rev20260321-2.0.0
+ v1-rev20260307-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-datamanager:v1-rev20260321-2.0.0'
+ implementation 'com.google.apis:google-api-services-datamanager:v1-rev20260307-2.0.0'
}
```
diff --git a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/DataManager.java b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/DataManager.java
index a682dae9e5a..d408726e442 100644
--- a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/DataManager.java
+++ b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/DataManager.java
@@ -373,7 +373,9 @@ public class PartnerLinks {
* following optional headers to define how the API authorizes access for the request: * `login-
* account`: (Optional) The resource name of the account where the Google Account of the credentials
* is a user. If not set, defaults to the account of the request. Format:
- * `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
+ * `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The
+ * resource name of the account with an established product link to the `login-account`. Format:
+ * `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
*
* Create a request for the method "partnerLinks.create".
*
@@ -403,7 +405,9 @@ public class Create extends DataManagerRequest experimenta
* Optional. The last time the event was updated.
* @return value or {@code null} for none
*/
- public String getLastUpdatedTimestamp() {
+ public java.lang.String getLastUpdatedTimestamp() {
return lastUpdatedTimestamp;
}
@@ -440,7 +440,7 @@ public String getLastUpdatedTimestamp() {
* Optional. The last time the event was updated.
* @param lastUpdatedTimestamp lastUpdatedTimestamp or {@code null} for none
*/
- public Event setLastUpdatedTimestamp(String lastUpdatedTimestamp) {
+ public Event setLastUpdatedTimestamp(java.lang.String lastUpdatedTimestamp) {
this.lastUpdatedTimestamp = lastUpdatedTimestamp;
return this;
}
diff --git a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserList.java b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserList.java
index 654bbb8d6ad..dbc976d623a 100644
--- a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserList.java
+++ b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserList.java
@@ -95,7 +95,7 @@ public final class UserList extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String membershipDuration;
+ private java.lang.String membershipDuration;
/**
* Optional. Membership status of this user list.
@@ -281,7 +281,7 @@ public UserList setIntegrationCode(java.lang.String integrationCode) {
* result in an INVALID_ARGUMENT error.
* @return value or {@code null} for none
*/
- public String getMembershipDuration() {
+ public java.lang.String getMembershipDuration() {
return membershipDuration;
}
@@ -291,7 +291,7 @@ public String getMembershipDuration() {
* result in an INVALID_ARGUMENT error.
* @param membershipDuration membershipDuration or {@code null} for none
*/
- public UserList setMembershipDuration(String membershipDuration) {
+ public UserList setMembershipDuration(java.lang.String membershipDuration) {
this.membershipDuration = membershipDuration;
return this;
}
diff --git a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserListLicensePricing.java b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserListLicensePricing.java
index 791b1387bfd..e4421a9e333 100644
--- a/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserListLicensePricing.java
+++ b/clients/google-api-services-datamanager/v1/2.0.0/com/google/api/services/datamanager/v1/model/UserListLicensePricing.java
@@ -65,7 +65,7 @@ public final class UserListLicensePricing extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is
@@ -97,7 +97,7 @@ public final class UserListLicensePricing extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The buyer approval state of this pricing. This field is read-only.
@@ -177,7 +177,7 @@ public UserListLicensePricing setCurrencyCode(java.lang.String currencyCode) {
* Optional. End time of the pricing.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -185,7 +185,7 @@ public String getEndTime() {
* Optional. End time of the pricing.
* @param endTime endTime or {@code null} for none
*/
- public UserListLicensePricing setEndTime(String endTime) {
+ public UserListLicensePricing setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -253,7 +253,7 @@ public UserListLicensePricing setPricingId(java.lang.Long pricingId) {
* Output only. Start time of the pricing.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -261,7 +261,7 @@ public String getStartTime() {
* Output only. Start time of the pricing.
* @param startTime startTime or {@code null} for none
*/
- public UserListLicensePricing setStartTime(String startTime) {
+ public UserListLicensePricing setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-datamanager/v1/2.0.0/pom.xml b/clients/google-api-services-datamanager/v1/2.0.0/pom.xml
index 148a26890bb..5c8365792b7 100644
--- a/clients/google-api-services-datamanager/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-datamanager/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-datamanager
- v1-rev20260321-2.0.0
- Data Manager API v1-rev20260321-2.0.0
+ v1-rev20260307-2.0.0
+ Data Manager API v1-rev20260307-2.0.0
jar
2011
diff --git a/clients/google-api-services-datastore/v1/2.0.0/README.md b/clients/google-api-services-datastore/v1/2.0.0/README.md
index 71349203f52..99a1eb87e67 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/README.md
+++ b/clients/google-api-services-datastore/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-datastore
- v1-rev20260323-2.0.0
+ v1-rev20260130-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-datastore:v1-rev20260323-2.0.0'
+ implementation 'com.google.apis:google-api-services-datastore:v1-rev20260130-2.0.0'
}
```
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/AggregationResultBatch.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/AggregationResultBatch.java
index 8da812a4d6a..6ec9b10684d 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/AggregationResultBatch.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/AggregationResultBatch.java
@@ -57,7 +57,7 @@ public final class AggregationResultBatch extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String readTime;
+ private java.lang.String readTime;
/**
* The aggregation results for this batch.
@@ -101,7 +101,7 @@ public AggregationResultBatch setMoreResults(java.lang.String moreResults) {
* for all preceding batches.
* @return value or {@code null} for none
*/
- public String getReadTime() {
+ public java.lang.String getReadTime() {
return readTime;
}
@@ -111,7 +111,7 @@ public String getReadTime() {
* for all preceding batches.
* @param readTime readTime or {@code null} for none
*/
- public AggregationResultBatch setReadTime(String readTime) {
+ public AggregationResultBatch setReadTime(java.lang.String readTime) {
this.readTime = readTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/CommitResponse.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/CommitResponse.java
index 8a22d027fa8..635b8efdc7c 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/CommitResponse.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/CommitResponse.java
@@ -34,7 +34,7 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String commitTime;
+ private java.lang.String commitTime;
/**
* The number of index entries updated during the commit, or zero if none were updated.
@@ -55,7 +55,7 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson
* The transaction commit timestamp. Not set for non-transactional commits.
* @return value or {@code null} for none
*/
- public String getCommitTime() {
+ public java.lang.String getCommitTime() {
return commitTime;
}
@@ -63,7 +63,7 @@ public String getCommitTime() {
* The transaction commit timestamp. Not set for non-transactional commits.
* @param commitTime commitTime or {@code null} for none
*/
- public CommitResponse setCommitTime(String commitTime) {
+ public CommitResponse setCommitTime(java.lang.String commitTime) {
this.commitTime = commitTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/EntityResult.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/EntityResult.java
index bc98d649498..7792facb5ce 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/EntityResult.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/EntityResult.java
@@ -35,7 +35,7 @@ public final class EntityResult extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* A cursor that points to the position after the result entity. Set only when the `EntityResult`
@@ -58,7 +58,7 @@ public final class EntityResult extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The version of the entity, a strictly positive number that monotonically increases with changes
@@ -75,7 +75,7 @@ public final class EntityResult extends com.google.api.client.json.GenericJson {
* entity is missing, this field will not be set.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -84,7 +84,7 @@ public String getCreateTime() {
* entity is missing, this field will not be set.
* @param createTime createTime or {@code null} for none
*/
- public EntityResult setCreateTime(String createTime) {
+ public EntityResult setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -160,7 +160,7 @@ public EntityResult setEntity(Entity entity) {
* this entity is missing, this field will not be set.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -169,7 +169,7 @@ public String getUpdateTime() {
* this entity is missing, this field will not be set.
* @param updateTime updateTime or {@code null} for none
*/
- public EntityResult setUpdateTime(String updateTime) {
+ public EntityResult setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ExecutionStats.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ExecutionStats.java
index d6d829f5683..a8f9318c592 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ExecutionStats.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ExecutionStats.java
@@ -44,7 +44,7 @@ public final class ExecutionStats extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String executionDuration;
+ private java.lang.String executionDuration;
/**
* Total billable read operations.
@@ -87,7 +87,7 @@ public ExecutionStats setDebugStats(java.util.Map debu
* Total time to execute the query in the backend.
* @return value or {@code null} for none
*/
- public String getExecutionDuration() {
+ public java.lang.String getExecutionDuration() {
return executionDuration;
}
@@ -95,7 +95,7 @@ public String getExecutionDuration() {
* Total time to execute the query in the backend.
* @param executionDuration executionDuration or {@code null} for none
*/
- public ExecutionStats setExecutionDuration(String executionDuration) {
+ public ExecutionStats setExecutionDuration(java.lang.String executionDuration) {
this.executionDuration = executionDuration;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1CommonMetadata.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1CommonMetadata.java
index b1b5a26d8c5..2eece6178b3 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1CommonMetadata.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1CommonMetadata.java
@@ -34,7 +34,7 @@ public final class GoogleDatastoreAdminV1CommonMetadata extends com.google.api.c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* The client-assigned labels which were provided when the operation was created. May also include
@@ -56,7 +56,7 @@ public final class GoogleDatastoreAdminV1CommonMetadata extends com.google.api.c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* The current state of the Operation.
@@ -69,7 +69,7 @@ public final class GoogleDatastoreAdminV1CommonMetadata extends com.google.api.c
* The time the operation ended, either successfully or otherwise.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -77,7 +77,7 @@ public String getEndTime() {
* The time the operation ended, either successfully or otherwise.
* @param endTime endTime or {@code null} for none
*/
- public GoogleDatastoreAdminV1CommonMetadata setEndTime(String endTime) {
+ public GoogleDatastoreAdminV1CommonMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -122,7 +122,7 @@ public GoogleDatastoreAdminV1CommonMetadata setOperationType(java.lang.String op
* The time that work began on the operation.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -130,7 +130,7 @@ public String getStartTime() {
* The time that work began on the operation.
* @param startTime startTime or {@code null} for none
*/
- public GoogleDatastoreAdminV1CommonMetadata setStartTime(String startTime) {
+ public GoogleDatastoreAdminV1CommonMetadata setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1beta1CommonMetadata.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1beta1CommonMetadata.java
index 1e4da9b1333..12bea66c5d0 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1beta1CommonMetadata.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/GoogleDatastoreAdminV1beta1CommonMetadata.java
@@ -34,7 +34,7 @@ public final class GoogleDatastoreAdminV1beta1CommonMetadata extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* The client-assigned labels which were provided when the operation was created. May also include
@@ -56,7 +56,7 @@ public final class GoogleDatastoreAdminV1beta1CommonMetadata extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* The current state of the Operation.
@@ -69,7 +69,7 @@ public final class GoogleDatastoreAdminV1beta1CommonMetadata extends com.google.
* The time the operation ended, either successfully or otherwise.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -77,7 +77,7 @@ public String getEndTime() {
* The time the operation ended, either successfully or otherwise.
* @param endTime endTime or {@code null} for none
*/
- public GoogleDatastoreAdminV1beta1CommonMetadata setEndTime(String endTime) {
+ public GoogleDatastoreAdminV1beta1CommonMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -122,7 +122,7 @@ public GoogleDatastoreAdminV1beta1CommonMetadata setOperationType(java.lang.Stri
* The time that work began on the operation.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -130,7 +130,7 @@ public String getStartTime() {
* The time that work began on the operation.
* @param startTime startTime or {@code null} for none
*/
- public GoogleDatastoreAdminV1beta1CommonMetadata setStartTime(String startTime) {
+ public GoogleDatastoreAdminV1beta1CommonMetadata setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/LookupResponse.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/LookupResponse.java
index 182499cd168..54138856429 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/LookupResponse.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/LookupResponse.java
@@ -76,7 +76,7 @@ public final class LookupResponse extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String readTime;
+ private java.lang.String readTime;
/**
* The identifier of the transaction that was started as part of this Lookup request. Set only
@@ -147,7 +147,7 @@ public LookupResponse setMissing(java.util.List missing) {
* The time at which these entities were read or found missing.
* @return value or {@code null} for none
*/
- public String getReadTime() {
+ public java.lang.String getReadTime() {
return readTime;
}
@@ -155,7 +155,7 @@ public String getReadTime() {
* The time at which these entities were read or found missing.
* @param readTime readTime or {@code null} for none
*/
- public LookupResponse setReadTime(String readTime) {
+ public LookupResponse setReadTime(java.lang.String readTime) {
this.readTime = readTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Mutation.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Mutation.java
index 8d75090de1b..b2238cf1b38 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Mutation.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Mutation.java
@@ -93,7 +93,7 @@ public final class Mutation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The entity to upsert. The entity may or may not already exist. The entity key's final path
@@ -245,7 +245,7 @@ public Mutation setUpdate(Entity update) {
* the current update time on the server, the mutation conflicts.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -254,7 +254,7 @@ public String getUpdateTime() {
* the current update time on the server, the mutation conflicts.
* @param updateTime updateTime or {@code null} for none
*/
- public Mutation setUpdateTime(String updateTime) {
+ public Mutation setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/MutationResult.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/MutationResult.java
index 734d65d8616..f99b222a64f 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/MutationResult.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/MutationResult.java
@@ -42,7 +42,7 @@ public final class MutationResult extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The automatically allocated key. Set only when the mutation allocated a key.
@@ -65,7 +65,7 @@ public final class MutationResult extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The version of the entity on the server after processing the mutation. If the mutation doesn't
@@ -100,7 +100,7 @@ public MutationResult setConflictDetected(java.lang.Boolean conflictDetected) {
* The create time of the entity. This field will not be set after a 'delete'.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -108,7 +108,7 @@ public String getCreateTime() {
* The create time of the entity. This field will not be set after a 'delete'.
* @param createTime createTime or {@code null} for none
*/
- public MutationResult setCreateTime(String createTime) {
+ public MutationResult setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -153,7 +153,7 @@ public MutationResult setTransformResults(java.util.List transformResults
* current entity. This field will not be set after a 'delete'.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -163,7 +163,7 @@ public String getUpdateTime() {
* current entity. This field will not be set after a 'delete'.
* @param updateTime updateTime or {@code null} for none
*/
- public MutationResult setUpdateTime(String updateTime) {
+ public MutationResult setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/QueryResultBatch.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/QueryResultBatch.java
index f4d971b0f0b..342bce36184 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/QueryResultBatch.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/QueryResultBatch.java
@@ -73,7 +73,7 @@ public final class QueryResultBatch extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String readTime;
+ private java.lang.String readTime;
/**
* A cursor that points to the position after the last skipped result. Will be set when
@@ -207,7 +207,7 @@ public QueryResultBatch setMoreResults(java.lang.String moreResults) {
* Cloud Datastore.
* @return value or {@code null} for none
*/
- public String getReadTime() {
+ public java.lang.String getReadTime() {
return readTime;
}
@@ -220,7 +220,7 @@ public String getReadTime() {
* Cloud Datastore.
* @param readTime readTime or {@code null} for none
*/
- public QueryResultBatch setReadTime(String readTime) {
+ public QueryResultBatch setReadTime(java.lang.String readTime) {
this.readTime = readTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOnly.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOnly.java
index e38d0ad425a..87596c27a6d 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOnly.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOnly.java
@@ -36,7 +36,7 @@ public final class ReadOnly extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String readTime;
+ private java.lang.String readTime;
/**
* Reads entities at the given time. This must be a microsecond precision timestamp within the
@@ -44,7 +44,7 @@ public final class ReadOnly extends com.google.api.client.json.GenericJson {
* timestamp within the past 7 days.
* @return value or {@code null} for none
*/
- public String getReadTime() {
+ public java.lang.String getReadTime() {
return readTime;
}
@@ -54,7 +54,7 @@ public String getReadTime() {
* timestamp within the past 7 days.
* @param readTime readTime or {@code null} for none
*/
- public ReadOnly setReadTime(String readTime) {
+ public ReadOnly setReadTime(java.lang.String readTime) {
this.readTime = readTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOptions.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOptions.java
index 6633492540c..2beb9f617c1 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOptions.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/ReadOptions.java
@@ -53,7 +53,7 @@ public final class ReadOptions extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String readTime;
+ private java.lang.String readTime;
/**
* The identifier of the transaction in which to read. A transaction identifier is returned by a
@@ -108,7 +108,7 @@ public ReadOptions setReadConsistency(java.lang.String readConsistency) {
* past 7 days.
* @return value or {@code null} for none
*/
- public String getReadTime() {
+ public java.lang.String getReadTime() {
return readTime;
}
@@ -119,7 +119,7 @@ public String getReadTime() {
* past 7 days.
* @param readTime readTime or {@code null} for none
*/
- public ReadOptions setReadTime(String readTime) {
+ public ReadOptions setReadTime(java.lang.String readTime) {
this.readTime = readTime;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Value.java b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Value.java
index 4d17167ce20..dba2e4ce478 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Value.java
+++ b/clients/google-api-services-datastore/v1/2.0.0/com/google/api/services/datastore/v1/model/Value.java
@@ -123,7 +123,7 @@ public final class Value extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timestampValue;
+ private java.lang.String timestampValue;
/**
* An array value. Cannot contain another array value. A `Value` instance that sets field
@@ -372,7 +372,7 @@ public Value setStringValue(java.lang.String stringValue) {
* precision is rounded down.
* @return value or {@code null} for none
*/
- public String getTimestampValue() {
+ public java.lang.String getTimestampValue() {
return timestampValue;
}
@@ -381,7 +381,7 @@ public String getTimestampValue() {
* precision is rounded down.
* @param timestampValue timestampValue or {@code null} for none
*/
- public Value setTimestampValue(String timestampValue) {
+ public Value setTimestampValue(java.lang.String timestampValue) {
this.timestampValue = timestampValue;
return this;
}
diff --git a/clients/google-api-services-datastore/v1/2.0.0/pom.xml b/clients/google-api-services-datastore/v1/2.0.0/pom.xml
index a8845825f3a..c9c5c90cd22 100644
--- a/clients/google-api-services-datastore/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-datastore/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-datastore
- v1-rev20260323-2.0.0
- Cloud Datastore API v1-rev20260323-2.0.0
+ v1-rev20260130-2.0.0
+ Cloud Datastore API v1-rev20260130-2.0.0
jar
2011
diff --git a/clients/google-api-services-datastream/v1/2.0.0/README.md b/clients/google-api-services-datastream/v1/2.0.0/README.md
index 9454824badd..65d8a242f5d 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/README.md
+++ b/clients/google-api-services-datastream/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-datastream
- v1-rev20260321-2.0.0
+ v1-rev20260204-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-datastream:v1-rev20260321-2.0.0'
+ implementation 'com.google.apis:google-api-services-datastream:v1-rev20260204-2.0.0'
}
```
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java
index befe4969f57..a1545a1dc71 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/Datastream.java
@@ -499,14 +499,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -530,15 +526,10 @@ public class List extends DatastreamRequest errors) {
* Output only. Backfill job's end time.
* @return value or {@code null} for none
*/
- public String getLastEndTime() {
+ public java.lang.String getLastEndTime() {
return lastEndTime;
}
@@ -93,7 +93,7 @@ public String getLastEndTime() {
* Output only. Backfill job's end time.
* @param lastEndTime lastEndTime or {@code null} for none
*/
- public BackfillJob setLastEndTime(String lastEndTime) {
+ public BackfillJob setLastEndTime(java.lang.String lastEndTime) {
this.lastEndTime = lastEndTime;
return this;
}
@@ -102,7 +102,7 @@ public BackfillJob setLastEndTime(String lastEndTime) {
* Output only. Backfill job's start time.
* @return value or {@code null} for none
*/
- public String getLastStartTime() {
+ public java.lang.String getLastStartTime() {
return lastStartTime;
}
@@ -110,7 +110,7 @@ public String getLastStartTime() {
* Output only. Backfill job's start time.
* @param lastStartTime lastStartTime or {@code null} for none
*/
- public BackfillJob setLastStartTime(String lastStartTime) {
+ public BackfillJob setLastStartTime(java.lang.String lastStartTime) {
this.lastStartTime = lastStartTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/BigQueryDestinationConfig.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/BigQueryDestinationConfig.java
index c686b99cdf2..d4f9e4d1632 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/BigQueryDestinationConfig.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/BigQueryDestinationConfig.java
@@ -51,7 +51,7 @@ public final class BigQueryDestinationConfig extends com.google.api.client.json.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String dataFreshness;
+ private java.lang.String dataFreshness;
/**
* The standard mode
@@ -115,7 +115,7 @@ public BigQueryDestinationConfig setBlmtConfig(BlmtConfig blmtConfig) {
* cost.
* @return value or {@code null} for none
*/
- public String getDataFreshness() {
+ public java.lang.String getDataFreshness() {
return dataFreshness;
}
@@ -126,7 +126,7 @@ public String getDataFreshness() {
* cost.
* @param dataFreshness dataFreshness or {@code null} for none
*/
- public BigQueryDestinationConfig setDataFreshness(String dataFreshness) {
+ public BigQueryDestinationConfig setDataFreshness(java.lang.String dataFreshness) {
this.dataFreshness = dataFreshness;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/ConnectionProfile.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/ConnectionProfile.java
index ba5e36b5fc5..7c155b6a2cd 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/ConnectionProfile.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/ConnectionProfile.java
@@ -41,7 +41,7 @@ public final class ConnectionProfile extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Display name.
@@ -160,7 +160,7 @@ public final class ConnectionProfile extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Profile for connecting to a BigQuery destination.
@@ -183,7 +183,7 @@ public ConnectionProfile setBigqueryProfile(BigQueryProfile bigqueryProfile) {
* Output only. The create time of the resource.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -191,7 +191,7 @@ public String getCreateTime() {
* Output only. The create time of the resource.
* @param createTime createTime or {@code null} for none
*/
- public ConnectionProfile setCreateTime(String createTime) {
+ public ConnectionProfile setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -472,7 +472,7 @@ public ConnectionProfile setStaticServiceIpConnectivity(StaticServiceIpConnectiv
* Output only. The update time of the resource.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -480,7 +480,7 @@ public String getUpdateTime() {
* Output only. The update time of the resource.
* @param updateTime updateTime or {@code null} for none
*/
- public ConnectionProfile setUpdateTime(String updateTime) {
+ public ConnectionProfile setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Error.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Error.java
index b5285a8c2fe..dd658a529a9 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Error.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Error.java
@@ -41,7 +41,7 @@ public final class Error extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String errorTime;
+ private java.lang.String errorTime;
/**
* A unique identifier for this specific error, allowing it to be traced throughout the system in
@@ -86,7 +86,7 @@ public Error setDetails(java.util.Map details) {
* The time when the error occurred.
* @return value or {@code null} for none
*/
- public String getErrorTime() {
+ public java.lang.String getErrorTime() {
return errorTime;
}
@@ -94,7 +94,7 @@ public String getErrorTime() {
* The time when the error occurred.
* @param errorTime errorTime or {@code null} for none
*/
- public Error setErrorTime(String errorTime) {
+ public Error setErrorTime(java.lang.String errorTime) {
this.errorTime = errorTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/FieldViolation.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/FieldViolation.java
index 57dfa6d0256..36a8f030c46 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/FieldViolation.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/FieldViolation.java
@@ -43,11 +43,11 @@ public final class FieldViolation extends com.google.api.client.json.GenericJson
* = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated
* EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the
* following values: * `full_name` for a violation in the `full_name` value *
- * `email_addresses[0].email` for a violation in the `email` field of the first `email_addresses`
- * message * `email_addresses[2].type[1]` for a violation in the second `type` value in the third
+ * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses`
+ * message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third
* `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a
- * violation in the `fullName` value * `emailAddresses[0].email` for a violation in the `email`
- * field of the first `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in
+ * violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email`
+ * field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in
* the second `type` value in the third `emailAddresses` message.
* The value may be {@code null}.
*/
@@ -96,11 +96,11 @@ public FieldViolation setDescription(java.lang.String description) {
* = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated
* EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the
* following values: * `full_name` for a violation in the `full_name` value *
- * `email_addresses[0].email` for a violation in the `email` field of the first `email_addresses`
- * message * `email_addresses[2].type[1]` for a violation in the second `type` value in the third
+ * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses`
+ * message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third
* `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a
- * violation in the `fullName` value * `emailAddresses[0].email` for a violation in the `email`
- * field of the first `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in
+ * violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email`
+ * field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in
* the second `type` value in the third `emailAddresses` message.
* @return value or {@code null} for none
*/
@@ -115,11 +115,11 @@ public java.lang.String getField() {
* = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated
* EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the
* following values: * `full_name` for a violation in the `full_name` value *
- * `email_addresses[0].email` for a violation in the `email` field of the first `email_addresses`
- * message * `email_addresses[2].type[1]` for a violation in the second `type` value in the third
+ * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses`
+ * message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third
* `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a
- * violation in the `fullName` value * `emailAddresses[0].email` for a violation in the `email`
- * field of the first `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in
+ * violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email`
+ * field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in
* the second `type` value in the third `emailAddresses` message.
* @param field field or {@code null} for none
*/
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/GcsDestinationConfig.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/GcsDestinationConfig.java
index 934b128ed7d..ec637d7c595 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/GcsDestinationConfig.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/GcsDestinationConfig.java
@@ -42,7 +42,7 @@ public final class GcsDestinationConfig extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String fileRotationInterval;
+ private java.lang.String fileRotationInterval;
/**
* The maximum file size to be saved in the bucket.
@@ -87,7 +87,7 @@ public GcsDestinationConfig setAvroFileFormat(AvroFileFormat avroFileFormat) {
* created. Values within the range of 15-60 seconds are allowed.
* @return value or {@code null} for none
*/
- public String getFileRotationInterval() {
+ public java.lang.String getFileRotationInterval() {
return fileRotationInterval;
}
@@ -96,7 +96,7 @@ public String getFileRotationInterval() {
* created. Values within the range of 15-60 seconds are allowed.
* @param fileRotationInterval fileRotationInterval or {@code null} for none
*/
- public GcsDestinationConfig setFileRotationInterval(String fileRotationInterval) {
+ public GcsDestinationConfig setFileRotationInterval(java.lang.String fileRotationInterval) {
this.fileRotationInterval = fileRotationInterval;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MongodbChangeStreamPosition.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MongodbChangeStreamPosition.java
index ea8085d2638..3c3b4c73c01 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MongodbChangeStreamPosition.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/MongodbChangeStreamPosition.java
@@ -34,13 +34,13 @@ public final class MongodbChangeStreamPosition extends com.google.api.client.jso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Required. The timestamp to start change stream from.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -48,7 +48,7 @@ public String getStartTime() {
* Required. The timestamp to start change stream from.
* @param startTime startTime or {@code null} for none
*/
- public MongodbChangeStreamPosition setStartTime(String startTime) {
+ public MongodbChangeStreamPosition setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OperationMetadata.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OperationMetadata.java
index 17311f9bf34..f00a11e4f8a 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/OperationMetadata.java
@@ -41,14 +41,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -108,7 +108,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -116,7 +116,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -125,7 +125,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -133,7 +133,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/PrivateConnection.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/PrivateConnection.java
index d49e5818e49..bb5f9d4ab1a 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/PrivateConnection.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/PrivateConnection.java
@@ -35,7 +35,7 @@ public final class PrivateConnection extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Display name.
@@ -98,7 +98,7 @@ public final class PrivateConnection extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* VPC Peering Config.
@@ -111,7 +111,7 @@ public final class PrivateConnection extends com.google.api.client.json.GenericJ
* Output only. The create time of the resource.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -119,7 +119,7 @@ public String getCreateTime() {
* Output only. The create time of the resource.
* @param createTime createTime or {@code null} for none
*/
- public PrivateConnection setCreateTime(String createTime) {
+ public PrivateConnection setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -264,7 +264,7 @@ public PrivateConnection setState(java.lang.String state) {
* Output only. The update time of the resource.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -272,7 +272,7 @@ public String getUpdateTime() {
* Output only. The update time of the resource.
* @param updateTime updateTime or {@code null} for none
*/
- public PrivateConnection setUpdateTime(String updateTime) {
+ public PrivateConnection setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/RetryInfo.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/RetryInfo.java
index 6d85ebbfd55..59ddf324084 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/RetryInfo.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/RetryInfo.java
@@ -40,13 +40,13 @@ public final class RetryInfo extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String retryDelay;
+ private java.lang.String retryDelay;
/**
* Clients should wait at least this long between retrying the same request.
* @return value or {@code null} for none
*/
- public String getRetryDelay() {
+ public java.lang.String getRetryDelay() {
return retryDelay;
}
@@ -54,7 +54,7 @@ public String getRetryDelay() {
* Clients should wait at least this long between retrying the same request.
* @param retryDelay retryDelay or {@code null} for none
*/
- public RetryInfo setRetryDelay(String retryDelay) {
+ public RetryInfo setRetryDelay(java.lang.String retryDelay) {
this.retryDelay = retryDelay;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Route.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Route.java
index 4c7309afb03..aeb8f60f8c1 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Route.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Route.java
@@ -35,7 +35,7 @@ public final class Route extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Destination address for connection
@@ -77,13 +77,13 @@ public final class Route extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The create time of the resource.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -91,7 +91,7 @@ public String getCreateTime() {
* Output only. The create time of the resource.
* @param createTime createTime or {@code null} for none
*/
- public Route setCreateTime(String createTime) {
+ public Route setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -185,7 +185,7 @@ public Route setName(java.lang.String name) {
* Output only. The update time of the resource.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -193,7 +193,7 @@ public String getUpdateTime() {
* Output only. The update time of the resource.
* @param updateTime updateTime or {@code null} for none
*/
- public Route setUpdateTime(String updateTime) {
+ public Route setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/SalesforceSourceConfig.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/SalesforceSourceConfig.java
index 49de1d559c8..130aa0d75e7 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/SalesforceSourceConfig.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/SalesforceSourceConfig.java
@@ -49,7 +49,7 @@ public final class SalesforceSourceConfig extends com.google.api.client.json.Gen
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String pollingInterval;
+ private java.lang.String pollingInterval;
/**
* The Salesforce objects to exclude from the stream.
@@ -90,7 +90,7 @@ public SalesforceSourceConfig setIncludeObjects(SalesforceOrg includeObjects) {
* for each object. The duration must be from `5 minutes` to `24 hours`, inclusive.
* @return value or {@code null} for none
*/
- public String getPollingInterval() {
+ public java.lang.String getPollingInterval() {
return pollingInterval;
}
@@ -99,7 +99,7 @@ public String getPollingInterval() {
* for each object. The duration must be from `5 minutes` to `24 hours`, inclusive.
* @param pollingInterval pollingInterval or {@code null} for none
*/
- public SalesforceSourceConfig setPollingInterval(String pollingInterval) {
+ public SalesforceSourceConfig setPollingInterval(java.lang.String pollingInterval) {
this.pollingInterval = pollingInterval;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java
index 657d95f132b..be041b063b6 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/Stream.java
@@ -49,7 +49,7 @@ public final class Stream extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the
@@ -100,7 +100,7 @@ public final class Stream extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRecoveryTime;
+ private java.lang.String lastRecoveryTime;
/**
* Output only. Identifier. The stream's name.
@@ -155,7 +155,7 @@ public final class Stream extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Automatically backfill objects included in the stream source configuration. Specific objects
@@ -197,7 +197,7 @@ public Stream setBackfillNone(BackfillNoneStrategy backfillNone) {
* Output only. The creation time of the stream.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -205,7 +205,7 @@ public String getCreateTime() {
* Output only. The creation time of the stream.
* @param createTime createTime or {@code null} for none
*/
- public Stream setCreateTime(String createTime) {
+ public Stream setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -304,7 +304,7 @@ public Stream setLabels(java.util.Map labels) {
* currently experimental.
* @return value or {@code null} for none
*/
- public String getLastRecoveryTime() {
+ public java.lang.String getLastRecoveryTime() {
return lastRecoveryTime;
}
@@ -313,7 +313,7 @@ public String getLastRecoveryTime() {
* currently experimental.
* @param lastRecoveryTime lastRecoveryTime or {@code null} for none
*/
- public Stream setLastRecoveryTime(String lastRecoveryTime) {
+ public Stream setLastRecoveryTime(java.lang.String lastRecoveryTime) {
this.lastRecoveryTime = lastRecoveryTime;
return this;
}
@@ -424,7 +424,7 @@ public Stream setState(java.lang.String state) {
* Output only. The last update time of the stream.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -432,7 +432,7 @@ public String getUpdateTime() {
* Output only. The last update time of the stream.
* @param updateTime updateTime or {@code null} for none
*/
- public Stream setUpdateTime(String updateTime) {
+ public Stream setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/StreamObject.java b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/StreamObject.java
index a1cbc57848f..88c7322a74c 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/StreamObject.java
+++ b/clients/google-api-services-datastream/v1/2.0.0/com/google/api/services/datastream/v1/model/StreamObject.java
@@ -41,7 +41,7 @@ public final class StreamObject extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The customization rules for the object. These rules are derived from the parent
@@ -96,7 +96,7 @@ public final class StreamObject extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The latest backfill job that was initiated for the stream object.
@@ -119,7 +119,7 @@ public StreamObject setBackfillJob(BackfillJob backfillJob) {
* Output only. The creation time of the object.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -127,7 +127,7 @@ public String getCreateTime() {
* Output only. The creation time of the object.
* @param createTime createTime or {@code null} for none
*/
- public StreamObject setCreateTime(String createTime) {
+ public StreamObject setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -223,7 +223,7 @@ public StreamObject setSourceObject(SourceObjectIdentifier sourceObject) {
* Output only. The last update time of the object.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -231,7 +231,7 @@ public String getUpdateTime() {
* Output only. The last update time of the object.
* @param updateTime updateTime or {@code null} for none
*/
- public StreamObject setUpdateTime(String updateTime) {
+ public StreamObject setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-datastream/v1/2.0.0/pom.xml b/clients/google-api-services-datastream/v1/2.0.0/pom.xml
index dbd875440ec..27dea094e87 100644
--- a/clients/google-api-services-datastream/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-datastream/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-datastream
- v1-rev20260321-2.0.0
- Datastream API v1-rev20260321-2.0.0
+ v1-rev20260204-2.0.0
+ Datastream API v1-rev20260204-2.0.0
jar
2011
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/README.md b/clients/google-api-services-firebaseappcheck/v1/2.0.0/README.md
index 410946a293d..96d4ebd9f57 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/README.md
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-firebaseappcheck
- v1-rev20260403-2.0.0
+ v1-rev20260207-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-firebaseappcheck:v1-rev20260403-2.0.0'
+ implementation 'com.google.apis:google-api-services-firebaseappcheck:v1-rev20260207-2.0.0'
}
```
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/Firebaseappcheck.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/Firebaseappcheck.java
index 17cda8aa093..0377d516057 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/Firebaseappcheck.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/Firebaseappcheck.java
@@ -3179,12 +3179,12 @@ public Patch setName(java.lang.String name) {
* Example: `token_ttl`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the AppAttestConfig to update. Example:
`token_ttl`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -3192,7 +3192,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the AppAttestConfig to update.
* Example: `token_ttl`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -3507,40 +3507,6 @@ public Delete setName(java.lang.String name) {
return this;
}
- /**
- * Optional. The checksum to be validated against the current DebugToken, to ensure the
- * client has an up-to-date value before proceeding. This checksum is computed by the
- * server based on the values of fields in the DebugToken object, and can be obtained from
- * the DebugToken object received from the last CreateDebugToken, GetDebugToken,
- * ListDebugTokens, or UpdateDebugToken call. This etag is strongly validated as defined
- * by RFC 7232.
- */
- @com.google.api.client.util.Key
- private java.lang.String etag;
-
- /** Optional. The checksum to be validated against the current DebugToken, to ensure the client has an
- up-to-date value before proceeding. This checksum is computed by the server based on the values of
- fields in the DebugToken object, and can be obtained from the DebugToken object received from the
- last CreateDebugToken, GetDebugToken, ListDebugTokens, or UpdateDebugToken call. This etag is
- strongly validated as defined by RFC 7232.
- */
- public java.lang.String getEtag() {
- return etag;
- }
-
- /**
- * Optional. The checksum to be validated against the current DebugToken, to ensure the
- * client has an up-to-date value before proceeding. This checksum is computed by the
- * server based on the values of fields in the DebugToken object, and can be obtained from
- * the DebugToken object received from the last CreateDebugToken, GetDebugToken,
- * ListDebugTokens, or UpdateDebugToken call. This etag is strongly validated as defined
- * by RFC 7232.
- */
- public Delete setEtag(java.lang.String etag) {
- this.etag = etag;
- return this;
- }
-
@Override
public Delete set(String parameterName, Object value) {
return (Delete) super.set(parameterName, value);
@@ -4044,12 +4010,12 @@ public Patch setName(java.lang.String name) {
* Example: `display_name`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the DebugToken to update. Example:
`display_name`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -4057,7 +4023,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the DebugToken to update.
* Example: `display_name`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -4563,12 +4529,12 @@ public Patch setName(java.lang.String name) {
* Example: `key_id,private_key`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the DeviceCheckConfig to update. Example:
`key_id,private_key`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -4576,7 +4542,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the DeviceCheckConfig to update.
* Example: `key_id,private_key`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -5076,12 +5042,12 @@ public Patch setName(java.lang.String name) {
* update. Example: `token_ttl`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the PlayIntegrityConfig to update. Example:
`token_ttl`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -5089,7 +5055,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the PlayIntegrityConfig to
* update. Example: `token_ttl`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -5595,12 +5561,12 @@ public Patch setName(java.lang.String name) {
* update. Example: `site_key`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the RecaptchaEnterpriseConfig to update.
Example: `site_key`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -5608,7 +5574,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the RecaptchaEnterpriseConfig to
* update. Example: `site_key`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -6114,12 +6080,12 @@ public Patch setName(java.lang.String name) {
* Example: `site_secret`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the RecaptchaV3Config to update. Example:
`site_secret`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -6127,7 +6093,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the RecaptchaV3Config to update.
* Example: `site_secret`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -6627,12 +6593,12 @@ public Patch setName(java.lang.String name) {
* Example: `token_ttl`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the SafetyNetConfig to update. Example:
`token_ttl`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -6640,7 +6606,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the SafetyNetConfig to update.
* Example: `token_ttl`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -7360,12 +7326,12 @@ public Patch setName(java.lang.String name) {
* `enforcement_mode`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the Service to update. Example:
`enforcement_mode`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -7373,7 +7339,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the Service to update. Example:
* `enforcement_mode`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -8452,12 +8418,12 @@ public Patch setName(java.lang.String name) {
* Example: `enforcement_mode`.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example:
`enforcement_mode`.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -8465,7 +8431,7 @@ public String getUpdateMask() {
* Required. A comma-separated list of names of fields in the ResourcePolicy to update.
* Example: `enforcement_mode`.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppAttestConfig.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppAttestConfig.java
index d09d0dead81..a81774f351a 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppAttestConfig.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppAttestConfig.java
@@ -50,7 +50,7 @@ public final class GoogleFirebaseAppcheckV1AppAttestConfig extends com.google.ap
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Required. The relative resource name of the App Attest configuration object, in the format: ```
@@ -77,7 +77,7 @@ public GoogleFirebaseAppcheckV1AppAttestConfig setName(java.lang.String name) {
* inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -87,7 +87,7 @@ public String getTokenTtl() {
* inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1AppAttestConfig setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1AppAttestConfig setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppCheckToken.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppCheckToken.java
index 5c80779e75d..fb98b490619 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppCheckToken.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1AppCheckToken.java
@@ -49,7 +49,7 @@ public final class GoogleFirebaseAppcheckV1AppCheckToken extends com.google.api.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* The App Check token. App Check tokens are signed [JWTs](https://tools.ietf.org/html/rfc7519)
@@ -82,7 +82,7 @@ public GoogleFirebaseAppcheckV1AppCheckToken setToken(java.lang.String token) {
* accurately measure a duration.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -92,7 +92,7 @@ public String getTtl() {
* accurately measure a duration.
* @param ttl ttl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1AppCheckToken setTtl(String ttl) {
+ public GoogleFirebaseAppcheckV1AppCheckToken setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest.java
index a3624d978a9..633fa717fc9 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest.java
@@ -46,7 +46,7 @@ public final class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest ex
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The request messages specifying the ResourcePolicy objects to update. A maximum of
@@ -74,7 +74,7 @@ public GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest setRequests(ja
* no updates will be committed.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -85,7 +85,7 @@ public String getUpdateMask() {
* no updates will be committed.
* @param updateMask updateMask or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest setUpdateMask(String updateMask) {
+ public GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateServicesRequest.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateServicesRequest.java
index 4f509577f61..a5eb735a294 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateServicesRequest.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1BatchUpdateServicesRequest.java
@@ -46,7 +46,7 @@ public final class GoogleFirebaseAppcheckV1BatchUpdateServicesRequest extends co
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The request messages specifying the Services to update. A maximum of 100 objects can
@@ -74,7 +74,7 @@ public GoogleFirebaseAppcheckV1BatchUpdateServicesRequest setRequests(java.util.
* committed.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -85,7 +85,7 @@ public String getUpdateMask() {
* committed.
* @param updateMask updateMask or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1BatchUpdateServicesRequest setUpdateMask(String updateMask) {
+ public GoogleFirebaseAppcheckV1BatchUpdateServicesRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DebugToken.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DebugToken.java
index 2908790767c..387425e1220 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DebugToken.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DebugToken.java
@@ -39,15 +39,6 @@ public final class GoogleFirebaseAppcheckV1DebugToken extends com.google.api.cli
@com.google.api.client.util.Key
private java.lang.String displayName;
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String etag;
-
/**
* Required. The relative resource name of the debug token, in the format: ```
* projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
@@ -72,7 +63,7 @@ public final class GoogleFirebaseAppcheckV1DebugToken extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. A human readable display name used to identify this debug token.
@@ -91,27 +82,6 @@ public GoogleFirebaseAppcheckV1DebugToken setDisplayName(java.lang.String displa
return this;
}
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * @return value or {@code null} for none
- */
- public java.lang.String getEtag() {
- return etag;
- }
-
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * @param etag etag or {@code null} for none
- */
- public GoogleFirebaseAppcheckV1DebugToken setEtag(java.lang.String etag) {
- this.etag = etag;
- return this;
- }
-
/**
* Required. The relative resource name of the debug token, in the format: ```
* projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```
@@ -160,7 +130,7 @@ public GoogleFirebaseAppcheckV1DebugToken setToken(java.lang.String token) {
* Output only. Timestamp when this debug token was most recently updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -168,7 +138,7 @@ public String getUpdateTime() {
* Output only. Timestamp when this debug token was most recently updated.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1DebugToken setUpdateTime(String updateTime) {
+ public GoogleFirebaseAppcheckV1DebugToken setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DeviceCheckConfig.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DeviceCheckConfig.java
index 51329e818f7..08dbd8a0fe5 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DeviceCheckConfig.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1DeviceCheckConfig.java
@@ -75,7 +75,7 @@ public final class GoogleFirebaseAppcheckV1DeviceCheckConfig extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Required. The key identifier of a private key enabled with DeviceCheck, created in your Apple
@@ -161,7 +161,7 @@ public GoogleFirebaseAppcheckV1DeviceCheckConfig setPrivateKeySet(java.lang.Bool
* inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -171,7 +171,7 @@ public String getTokenTtl() {
* inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1DeviceCheckConfig setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1DeviceCheckConfig setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.java
index e143536a67c..750a7a0fd5c 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.java
@@ -44,7 +44,7 @@ public final class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse ex
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* A one-time use challenge for the client to pass to the App Attest API.
@@ -97,7 +97,7 @@ public GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse encodeChalleng
* still able to accurately measure a duration.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -107,7 +107,7 @@ public String getTtl() {
* still able to accurately measure a duration.
* @param ttl ttl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse setTtl(String ttl) {
+ public GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.java
index fd0d17d1f08..9e60ee5047a 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.java
@@ -45,7 +45,7 @@ public final class GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRespons
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* A one-time use [challenge](https://developer.android.com/google/play/integrity/verdict#protect-
@@ -72,7 +72,7 @@ public GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse setChallen
* still able to accurately measure a duration.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -82,7 +82,7 @@ public String getTtl() {
* still able to accurately measure a duration.
* @param ttl ttl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse setTtl(String ttl) {
+ public GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1PlayIntegrityConfig.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1PlayIntegrityConfig.java
index 6e4e8df107b..848db9a5c8e 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1PlayIntegrityConfig.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1PlayIntegrityConfig.java
@@ -91,7 +91,7 @@ public final class GoogleFirebaseAppcheckV1PlayIntegrityConfig extends com.googl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Specifies account requirements for Android devices running your app. These settings correspond
@@ -209,7 +209,7 @@ public GoogleFirebaseAppcheckV1PlayIntegrityConfig setName(java.lang.String name
* inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -219,7 +219,7 @@ public String getTokenTtl() {
* inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1PlayIntegrityConfig setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1PlayIntegrityConfig setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.java
index 2a920c8bd8d..a7d025c96f4 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.java
@@ -68,7 +68,7 @@ public final class GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig extends com
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the
@@ -143,7 +143,7 @@ public GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig setSiteKey(java.lang.St
* days, inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -153,7 +153,7 @@ public String getTokenTtl() {
* days, inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaV3Config.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaV3Config.java
index a25b6f7ab73..993c273a81f 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaV3Config.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1RecaptchaV3Config.java
@@ -72,7 +72,7 @@ public final class GoogleFirebaseAppcheckV1RecaptchaV3Config extends com.google.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Specifies a minimum score required for a reCAPTCHA token to be considered valid. If its score
@@ -158,7 +158,7 @@ public GoogleFirebaseAppcheckV1RecaptchaV3Config setSiteSecretSet(java.lang.Bool
* inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -168,7 +168,7 @@ public String getTokenTtl() {
* inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1RecaptchaV3Config setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1RecaptchaV3Config setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1ResourcePolicy.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1ResourcePolicy.java
index ad3e9bafe0a..c09e896a310 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1ResourcePolicy.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1ResourcePolicy.java
@@ -78,7 +78,7 @@ public final class GoogleFirebaseAppcheckV1ResourcePolicy extends com.google.api
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. The App Check enforcement mode for this resource. This will override the App Check
@@ -179,7 +179,7 @@ public GoogleFirebaseAppcheckV1ResourcePolicy setTargetResource(java.lang.String
* updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -188,7 +188,7 @@ public String getUpdateTime() {
* updated.
* @param updateTime updateTime or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1ResourcePolicy setUpdateTime(String updateTime) {
+ public GoogleFirebaseAppcheckV1ResourcePolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1SafetyNetConfig.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1SafetyNetConfig.java
index 8f21b3097f2..1d0fa58a4dc 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1SafetyNetConfig.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1SafetyNetConfig.java
@@ -49,7 +49,7 @@ public final class GoogleFirebaseAppcheckV1SafetyNetConfig extends com.google.ap
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String tokenTtl;
+ private java.lang.String tokenTtl;
/**
* Required. The relative resource name of the SafetyNet configuration object, in the format: ```
@@ -76,7 +76,7 @@ public GoogleFirebaseAppcheckV1SafetyNetConfig setName(java.lang.String name) {
* inclusive.
* @return value or {@code null} for none
*/
- public String getTokenTtl() {
+ public java.lang.String getTokenTtl() {
return tokenTtl;
}
@@ -86,7 +86,7 @@ public String getTokenTtl() {
* inclusive.
* @param tokenTtl tokenTtl or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1SafetyNetConfig setTokenTtl(String tokenTtl) {
+ public GoogleFirebaseAppcheckV1SafetyNetConfig setTokenTtl(java.lang.String tokenTtl) {
this.tokenTtl = tokenTtl;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1Service.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1Service.java
index a8d12626944..aa6af112c3e 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1Service.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1Service.java
@@ -37,15 +37,6 @@ public final class GoogleFirebaseAppcheckV1Service extends com.google.api.client
@com.google.api.client.util.Key
private java.lang.String enforcementMode;
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String etag;
-
/**
* Required. The relative resource name of the service configuration object, in the format: ```
* projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be
@@ -58,27 +49,6 @@ public final class GoogleFirebaseAppcheckV1Service extends com.google.api.client
@com.google.api.client.util.Key
private java.lang.String name;
- /**
- * Optional. The replay protection enforcement mode for this service. Note that this field cannot
- * be set to a level higher than the overall App Check enforcement mode. For example, if the
- * overall App Check enforcement mode is set to `UNENFORCED`, this field cannot be set to
- * `ENFORCED`. In order to enforce replay protection, you must first enforce App Check. An HTTP
- * 400 error will be returned in this case. By default, this field is set to `OFF`. Setting this
- * field to `UNENFORCED` or `ENFORCED` is considered opting into replay protection. Once opted in,
- * requests to your protected services may experience higher latency. To opt out of replay
- * protection after opting in, set this field to `OFF`.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String replayProtection;
-
- /**
- * Output only. Timestamp when this service configuration object was most recently updated.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private String updateTime;
-
/**
* Required. The App Check enforcement mode for this service.
* @return value or {@code null} for none
@@ -96,27 +66,6 @@ public GoogleFirebaseAppcheckV1Service setEnforcementMode(java.lang.String enfor
return this;
}
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * @return value or {@code null} for none
- */
- public java.lang.String getEtag() {
- return etag;
- }
-
- /**
- * Optional. This checksum is computed by the server based on the value of other fields, and may
- * be sent on update and delete requests to ensure the client has an up-to-date value before
- * proceeding. This etag is strongly validated as defined by RFC 7232.
- * @param etag etag or {@code null} for none
- */
- public GoogleFirebaseAppcheckV1Service setEtag(java.lang.String etag) {
- this.etag = etag;
- return this;
- }
-
/**
* Required. The relative resource name of the service configuration object, in the format: ```
* projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be
@@ -144,54 +93,6 @@ public GoogleFirebaseAppcheckV1Service setName(java.lang.String name) {
return this;
}
- /**
- * Optional. The replay protection enforcement mode for this service. Note that this field cannot
- * be set to a level higher than the overall App Check enforcement mode. For example, if the
- * overall App Check enforcement mode is set to `UNENFORCED`, this field cannot be set to
- * `ENFORCED`. In order to enforce replay protection, you must first enforce App Check. An HTTP
- * 400 error will be returned in this case. By default, this field is set to `OFF`. Setting this
- * field to `UNENFORCED` or `ENFORCED` is considered opting into replay protection. Once opted in,
- * requests to your protected services may experience higher latency. To opt out of replay
- * protection after opting in, set this field to `OFF`.
- * @return value or {@code null} for none
- */
- public java.lang.String getReplayProtection() {
- return replayProtection;
- }
-
- /**
- * Optional. The replay protection enforcement mode for this service. Note that this field cannot
- * be set to a level higher than the overall App Check enforcement mode. For example, if the
- * overall App Check enforcement mode is set to `UNENFORCED`, this field cannot be set to
- * `ENFORCED`. In order to enforce replay protection, you must first enforce App Check. An HTTP
- * 400 error will be returned in this case. By default, this field is set to `OFF`. Setting this
- * field to `UNENFORCED` or `ENFORCED` is considered opting into replay protection. Once opted in,
- * requests to your protected services may experience higher latency. To opt out of replay
- * protection after opting in, set this field to `OFF`.
- * @param replayProtection replayProtection or {@code null} for none
- */
- public GoogleFirebaseAppcheckV1Service setReplayProtection(java.lang.String replayProtection) {
- this.replayProtection = replayProtection;
- return this;
- }
-
- /**
- * Output only. Timestamp when this service configuration object was most recently updated.
- * @return value or {@code null} for none
- */
- public String getUpdateTime() {
- return updateTime;
- }
-
- /**
- * Output only. Timestamp when this service configuration object was most recently updated.
- * @param updateTime updateTime or {@code null} for none
- */
- public GoogleFirebaseAppcheckV1Service setUpdateTime(String updateTime) {
- this.updateTime = updateTime;
- return this;
- }
-
@Override
public GoogleFirebaseAppcheckV1Service set(String fieldName, Object value) {
return (GoogleFirebaseAppcheckV1Service) super.set(fieldName, value);
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.java
index a3f54480e48..dd322a4432c 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest.java
@@ -48,7 +48,7 @@ public final class GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest extends c
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The ResourcePolicy to update. The ResourcePolicy's `name` field is used to identify
@@ -80,7 +80,7 @@ public GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest setResourcePolicy(Goo
* `enforcement_mode`.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -89,7 +89,7 @@ public String getUpdateMask() {
* `enforcement_mode`.
* @param updateMask updateMask or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest setUpdateMask(String updateMask) {
+ public GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateServiceRequest.java b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateServiceRequest.java
index 750c47099b2..e796fd9c30c 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateServiceRequest.java
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/com/google/api/services/firebaseappcheck/v1/model/GoogleFirebaseAppcheckV1UpdateServiceRequest.java
@@ -49,7 +49,7 @@ public final class GoogleFirebaseAppcheckV1UpdateServiceRequest extends com.goog
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The Service to update. The Service's `name` field is used to identify the Service to
@@ -83,7 +83,7 @@ public GoogleFirebaseAppcheckV1UpdateServiceRequest setService(GoogleFirebaseApp
* `enforcement_mode`.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -92,7 +92,7 @@ public String getUpdateMask() {
* `enforcement_mode`.
* @param updateMask updateMask or {@code null} for none
*/
- public GoogleFirebaseAppcheckV1UpdateServiceRequest setUpdateMask(String updateMask) {
+ public GoogleFirebaseAppcheckV1UpdateServiceRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-firebaseappcheck/v1/2.0.0/pom.xml b/clients/google-api-services-firebaseappcheck/v1/2.0.0/pom.xml
index a8de2585baf..8aaee5f7e62 100644
--- a/clients/google-api-services-firebaseappcheck/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-firebaseappcheck/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-firebaseappcheck
- v1-rev20260403-2.0.0
- Firebase App Check API v1-rev20260403-2.0.0
+ v1-rev20260207-2.0.0
+ Firebase App Check API v1-rev20260207-2.0.0
jar
2011
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/README.md b/clients/google-api-services-firebaseapphosting/v1/2.0.0/README.md
index 976e20445d3..db690656dee 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/README.md
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-firebaseapphosting
- v1-rev20260319-2.0.0
+ v1-rev20260305-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-firebaseapphosting:v1-rev20260319-2.0.0'
+ implementation 'com.google.apis:google-api-services-firebaseapphosting:v1-rev20260305-2.0.0'
}
```
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/FirebaseAppHosting.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/FirebaseAppHosting.java
index 938b67d3eaa..8f4db32cfbe 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/FirebaseAppHosting.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/FirebaseAppHosting.java
@@ -313,14 +313,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -344,15 +340,10 @@ public class List extends FirebaseAppHostingRequest annotations
* Output only. Time at which the domain was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -161,7 +161,7 @@ public String getCreateTime() {
* Output only. Time at which the domain was created.
* @param createTime createTime or {@code null} for none
*/
- public Domain setCreateTime(String createTime) {
+ public Domain setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -189,7 +189,7 @@ public Domain setCustomDomainStatus(CustomDomainStatus customDomainStatus) {
* Output only. Time at which the domain was deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -197,7 +197,7 @@ public String getDeleteTime() {
* Output only. Time at which the domain was deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public Domain setDeleteTime(String deleteTime) {
+ public Domain setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -365,7 +365,7 @@ public Domain setUid(java.lang.String uid) {
* Output only. Time at which the domain was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -373,7 +373,7 @@ public String getUpdateTime() {
* Output only. Time at which the domain was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Domain setUpdateTime(String updateTime) {
+ public Domain setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/DomainOperationMetadata.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/DomainOperationMetadata.java
index ef4a0773747..3101febe1fb 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/DomainOperationMetadata.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/DomainOperationMetadata.java
@@ -42,7 +42,7 @@ public final class DomainOperationMetadata extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Additional metadata for operations on custom domains.
@@ -56,7 +56,7 @@ public final class DomainOperationMetadata extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -109,7 +109,7 @@ public DomainOperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -117,7 +117,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public DomainOperationMetadata setCreateTime(String createTime) {
+ public DomainOperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -143,7 +143,7 @@ public DomainOperationMetadata setCustomDomainOperationMetadata(CustomDomainOper
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -151,7 +151,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public DomainOperationMetadata setEndTime(String endTime) {
+ public DomainOperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/OperationMetadata.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/OperationMetadata.java
index 14b86aef021..4b7c96b99fe 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/OperationMetadata.java
@@ -42,14 +42,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -102,7 +102,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -119,7 +119,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -127,7 +127,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Rollout.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Rollout.java
index 751d4752eb9..800cb4a2fe6 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Rollout.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Rollout.java
@@ -51,14 +51,14 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Time at which the rollout was deleted.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Optional. Human-readable name. 63 character limit.
@@ -124,7 +124,7 @@ public final class Rollout extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Unstructured key value map that may be set by external tools to store and arbitrary
@@ -168,7 +168,7 @@ public Rollout setBuild(java.lang.String build) {
* Output only. Time at which the rollout was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -176,7 +176,7 @@ public String getCreateTime() {
* Output only. Time at which the rollout was created.
* @param createTime createTime or {@code null} for none
*/
- public Rollout setCreateTime(String createTime) {
+ public Rollout setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -185,7 +185,7 @@ public Rollout setCreateTime(String createTime) {
* Output only. Time at which the rollout was deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -193,7 +193,7 @@ public String getDeleteTime() {
* Output only. Time at which the rollout was deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public Rollout setDeleteTime(String deleteTime) {
+ public Rollout setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -344,7 +344,7 @@ public Rollout setUid(java.lang.String uid) {
* Output only. Time at which the rollout was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -352,7 +352,7 @@ public String getUpdateTime() {
* Output only. Time at which the rollout was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Rollout setUpdateTime(String updateTime) {
+ public Rollout setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/RolloutPolicy.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/RolloutPolicy.java
index ecc51b82362..bcd7e722240 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/RolloutPolicy.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/RolloutPolicy.java
@@ -51,7 +51,7 @@ public final class RolloutPolicy extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String disabledTime;
+ private java.lang.String disabledTime;
/**
* Optional. A list of file paths patterns to exclude from triggering a rollout. Patterns in this
@@ -127,7 +127,7 @@ public RolloutPolicy setDisabled(java.lang.Boolean disabled) {
* Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.
* @return value or {@code null} for none
*/
- public String getDisabledTime() {
+ public java.lang.String getDisabledTime() {
return disabledTime;
}
@@ -135,7 +135,7 @@ public String getDisabledTime() {
* Output only. If `disabled` is set, the time at which the automatic rollouts were disabled.
* @param disabledTime disabledTime or {@code null} for none
*/
- public RolloutPolicy setDisabledTime(String disabledTime) {
+ public RolloutPolicy setDisabledTime(java.lang.String disabledTime) {
this.disabledTime = disabledTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Traffic.java b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Traffic.java
index e76c1699dbe..82ea32c0453 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Traffic.java
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/com/google/api/services/firebaseapphosting/v1/model/Traffic.java
@@ -43,7 +43,7 @@ public final class Traffic extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Current state of traffic allocation for the backend. When setting `target`, this
@@ -111,7 +111,7 @@ public final class Traffic extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Unstructured key value map that may be set by external tools to store and arbitrary
@@ -136,7 +136,7 @@ public Traffic setAnnotations(java.util.Map annotation
* Output only. Time at which the backend was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -144,7 +144,7 @@ public String getCreateTime() {
* Output only. Time at which the backend was created.
* @param createTime createTime or {@code null} for none
*/
- public Traffic setCreateTime(String createTime) {
+ public Traffic setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -299,7 +299,7 @@ public Traffic setUid(java.lang.String uid) {
* Output only. Time at which the backend was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -307,7 +307,7 @@ public String getUpdateTime() {
* Output only. Time at which the backend was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Traffic setUpdateTime(String updateTime) {
+ public Traffic setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebaseapphosting/v1/2.0.0/pom.xml b/clients/google-api-services-firebaseapphosting/v1/2.0.0/pom.xml
index 72b43ae8dc9..d3cd8f1105c 100644
--- a/clients/google-api-services-firebaseapphosting/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-firebaseapphosting/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-firebaseapphosting
- v1-rev20260319-2.0.0
- Firebase App Hosting API v1-rev20260319-2.0.0
+ v1-rev20260305-2.0.0
+ Firebase App Hosting API v1-rev20260305-2.0.0
jar
2011
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md b/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md
index 4c1ff4b83ab..d3edb1232cf 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-firebasedataconnect
- v1-rev20260322-2.0.0
+ v1-rev20260301-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260322-2.0.0'
+ implementation 'com.google.apis:google-api-services-firebasedataconnect:v1-rev20260301-2.0.0'
}
```
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java
index e0f6023bc7a..dc2d0d08623 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/FirebaseDataConnect.java
@@ -313,14 +313,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -344,15 +340,10 @@ public class List extends FirebaseDataConnectRequest entit
* The server-suggested duration before data under path is considered stale.
* @return value or {@code null} for none
*/
- public String getMaxAge() {
+ public java.lang.String getMaxAge() {
return maxAge;
}
@@ -109,7 +109,7 @@ public String getMaxAge() {
* The server-suggested duration before data under path is considered stale.
* @param maxAge maxAge or {@code null} for none
*/
- public DataConnectProperties setMaxAge(String maxAge) {
+ public DataConnectProperties setMaxAge(java.lang.String maxAge) {
this.maxAge = maxAge;
return this;
}
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/HttpGraphql.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/HttpGraphql.java
index ff8b816a917..207f5798f91 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/HttpGraphql.java
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/HttpGraphql.java
@@ -35,7 +35,7 @@ public final class HttpGraphql extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Required. The endpoint of the HTTP GraphQL server.
@@ -48,7 +48,7 @@ public final class HttpGraphql extends com.google.api.client.json.GenericJson {
* Optional. Timeout duration for the HTTP request.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -56,7 +56,7 @@ public String getTimeout() {
* Optional. Timeout duration for the HTTP request.
* @param timeout timeout or {@code null} for none
*/
- public HttpGraphql setTimeout(String timeout) {
+ public HttpGraphql setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/OperationMetadata.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/OperationMetadata.java
index e3c39b83976..e44b83d894a 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/OperationMetadata.java
@@ -47,14 +47,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -107,7 +107,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -115,7 +115,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -124,7 +124,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -132,7 +132,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Schema.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Schema.java
index c84b1142376..ebf16379ec0 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Schema.java
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Schema.java
@@ -42,7 +42,7 @@ public final class Schema extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. The data sources linked in the schema.
@@ -116,7 +116,7 @@ public final class Schema extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Stores small amounts of arbitrary data.
@@ -139,7 +139,7 @@ public Schema setAnnotations(java.util.Map annotations
* Output only. [Output only] Create time stamp.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -147,7 +147,7 @@ public String getCreateTime() {
* Output only. [Output only] Create time stamp.
* @param createTime createTime or {@code null} for none
*/
- public Schema setCreateTime(String createTime) {
+ public Schema setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -302,7 +302,7 @@ public Schema setUid(java.lang.String uid) {
* Output only. [Output only] Update time stamp.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -310,7 +310,7 @@ public String getUpdateTime() {
* Output only. [Output only] Update time stamp.
* @param updateTime updateTime or {@code null} for none
*/
- public Schema setUpdateTime(String updateTime) {
+ public Schema setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Service.java b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Service.java
index 75a02c60450..28ff9f45ed5 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Service.java
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/com/google/api/services/firebasedataconnect/v1/model/Service.java
@@ -42,7 +42,7 @@ public final class Service extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Mutable human-readable name. 63 character limit.
@@ -96,7 +96,7 @@ public final class Service extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Stores small amounts of arbitrary data.
@@ -119,7 +119,7 @@ public Service setAnnotations(java.util.Map annotation
* Output only. [Output only] Create time stamp.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -127,7 +127,7 @@ public String getCreateTime() {
* Output only. [Output only] Create time stamp.
* @param createTime createTime or {@code null} for none
*/
- public Service setCreateTime(String createTime) {
+ public Service setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -248,7 +248,7 @@ public Service setUid(java.lang.String uid) {
* Output only. [Output only] Update time stamp.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -256,7 +256,7 @@ public String getUpdateTime() {
* Output only. [Output only] Update time stamp.
* @param updateTime updateTime or {@code null} for none
*/
- public Service setUpdateTime(String updateTime) {
+ public Service setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml b/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml
index f903e5f3786..4fda2344e92 100644
--- a/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-firebasedataconnect/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-firebasedataconnect
- v1-rev20260322-2.0.0
- Firebase Data Connect API v1-rev20260322-2.0.0
+ v1-rev20260301-2.0.0
+ Firebase Data Connect API v1-rev20260301-2.0.0
jar
2011
diff --git a/clients/google-api-services-firebasedynamiclinks/v1/2.0.0/com/google/api/services/firebasedynamiclinks/v1/model/ManagedShortLink.java b/clients/google-api-services-firebasedynamiclinks/v1/2.0.0/com/google/api/services/firebasedynamiclinks/v1/model/ManagedShortLink.java
index 288b970a8d9..841cc0595c1 100644
--- a/clients/google-api-services-firebasedynamiclinks/v1/2.0.0/com/google/api/services/firebasedynamiclinks/v1/model/ManagedShortLink.java
+++ b/clients/google-api-services-firebasedynamiclinks/v1/2.0.0/com/google/api/services/firebasedynamiclinks/v1/model/ManagedShortLink.java
@@ -35,7 +35,7 @@ public final class ManagedShortLink extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String creationTime;
+ private java.lang.String creationTime;
/**
* Attributes that have been flagged about this short url.
@@ -76,7 +76,7 @@ public final class ManagedShortLink extends com.google.api.client.json.GenericJs
* Creation timestamp of the short link.
* @return value or {@code null} for none
*/
- public String getCreationTime() {
+ public java.lang.String getCreationTime() {
return creationTime;
}
@@ -84,7 +84,7 @@ public String getCreationTime() {
* Creation timestamp of the short link.
* @param creationTime creationTime or {@code null} for none
*/
- public ManagedShortLink setCreationTime(String creationTime) {
+ public ManagedShortLink setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
return this;
}
diff --git a/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/DnsUpdates.java b/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/DnsUpdates.java
index 7ae992746cb..e0072c43292 100644
--- a/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/DnsUpdates.java
+++ b/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/DnsUpdates.java
@@ -37,7 +37,7 @@ public final class DnsUpdates extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String checkTime;
+ private java.lang.String checkTime;
/**
* The set of DNS records Hosting needs to serve secure content on the domain.
@@ -69,7 +69,7 @@ public final class DnsUpdates extends com.google.api.client.json.GenericJson {
* The last time Hosting checked your custom domain's DNS records.
* @return value or {@code null} for none
*/
- public String getCheckTime() {
+ public java.lang.String getCheckTime() {
return checkTime;
}
@@ -77,7 +77,7 @@ public String getCheckTime() {
* The last time Hosting checked your custom domain's DNS records.
* @param checkTime checkTime or {@code null} for none
*/
- public DnsUpdates setCheckTime(String checkTime) {
+ public DnsUpdates setCheckTime(java.lang.String checkTime) {
this.checkTime = checkTime;
return this;
}
diff --git a/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/HttpUpdate.java b/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/HttpUpdate.java
index db46fa187d3..492cf774122 100644
--- a/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/HttpUpdate.java
+++ b/clients/google-api-services-firebasehosting/v1/2.0.0/com/google/api/services/firebasehosting/v1/model/HttpUpdate.java
@@ -58,7 +58,7 @@ public final class HttpUpdate extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastCheckTime;
+ private java.lang.String lastCheckTime;
/**
* Output only. The path to the file.
@@ -126,7 +126,7 @@ public HttpUpdate setDiscovered(java.lang.String discovered) {
* Output only. The last time Hosting systems checked for the file contents.
* @return value or {@code null} for none
*/
- public String getLastCheckTime() {
+ public java.lang.String getLastCheckTime() {
return lastCheckTime;
}
@@ -134,7 +134,7 @@ public String getLastCheckTime() {
* Output only. The last time Hosting systems checked for the file contents.
* @param lastCheckTime lastCheckTime or {@code null} for none
*/
- public HttpUpdate setLastCheckTime(String lastCheckTime) {
+ public HttpUpdate setLastCheckTime(java.lang.String lastCheckTime) {
this.lastCheckTime = lastCheckTime;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/FormResponse.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/FormResponse.java
index 31b8bb85022..5644f3197ba 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/FormResponse.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/FormResponse.java
@@ -47,7 +47,7 @@ public final class FormResponse extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The form ID.
@@ -62,7 +62,7 @@ public final class FormResponse extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastSubmittedTime;
+ private java.lang.String lastSubmittedTime;
/**
* Output only. The email address (if collected) for the respondent.
@@ -108,7 +108,7 @@ public FormResponse setAnswers(java.util.Map answers) {
* Output only. Timestamp for the first time the response was submitted.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -116,7 +116,7 @@ public String getCreateTime() {
* Output only. Timestamp for the first time the response was submitted.
* @param createTime createTime or {@code null} for none
*/
- public FormResponse setCreateTime(String createTime) {
+ public FormResponse setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -143,7 +143,7 @@ public FormResponse setFormId(java.lang.String formId) {
* changes to grades.
* @return value or {@code null} for none
*/
- public String getLastSubmittedTime() {
+ public java.lang.String getLastSubmittedTime() {
return lastSubmittedTime;
}
@@ -152,7 +152,7 @@ public String getLastSubmittedTime() {
* changes to grades.
* @param lastSubmittedTime lastSubmittedTime or {@code null} for none
*/
- public FormResponse setLastSubmittedTime(String lastSubmittedTime) {
+ public FormResponse setLastSubmittedTime(java.lang.String lastSubmittedTime) {
this.lastSubmittedTime = lastSubmittedTime;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/SetPublishSettingsRequest.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/SetPublishSettingsRequest.java
index 50fa0593bc4..acfac82ef7e 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/SetPublishSettingsRequest.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/SetPublishSettingsRequest.java
@@ -43,7 +43,7 @@ public final class SetPublishSettingsRequest extends com.google.api.client.json.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The desired publish settings to apply to the form.
@@ -68,7 +68,7 @@ public SetPublishSettingsRequest setPublishSettings(PublishSettings publishSetti
* or replaces all `publish_settings` fields.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -78,7 +78,7 @@ public String getUpdateMask() {
* or replaces all `publish_settings` fields.
* @param updateMask updateMask or {@code null} for none
*/
- public SetPublishSettingsRequest setUpdateMask(String updateMask) {
+ public SetPublishSettingsRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateFormInfoRequest.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateFormInfoRequest.java
index 0f00d77a520..6cfb766bf37 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateFormInfoRequest.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateFormInfoRequest.java
@@ -43,7 +43,7 @@ public final class UpdateFormInfoRequest extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* The info to update.
@@ -68,7 +68,7 @@ public UpdateFormInfoRequest setInfo(Info info) {
* for updating every field.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -78,7 +78,7 @@ public String getUpdateMask() {
* for updating every field.
* @param updateMask updateMask or {@code null} for none
*/
- public UpdateFormInfoRequest setUpdateMask(String updateMask) {
+ public UpdateFormInfoRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateItemRequest.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateItemRequest.java
index 1de07addfa4..e147f1e1b5c 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateItemRequest.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateItemRequest.java
@@ -52,7 +52,7 @@ public final class UpdateItemRequest extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. New values for the item. Note that item and question IDs are used if they are
@@ -100,7 +100,7 @@ public UpdateItemRequest setLocation(Location location) {
* Required. Only values named in this mask are changed.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -108,7 +108,7 @@ public String getUpdateMask() {
* Required. Only values named in this mask are changed.
* @param updateMask updateMask or {@code null} for none
*/
- public UpdateItemRequest setUpdateMask(String updateMask) {
+ public UpdateItemRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateSettingsRequest.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateSettingsRequest.java
index ac4056a7c0b..7985a85ddea 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateSettingsRequest.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/UpdateSettingsRequest.java
@@ -43,7 +43,7 @@ public final class UpdateSettingsRequest extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* Required. The settings to update with.
@@ -68,7 +68,7 @@ public UpdateSettingsRequest setSettings(FormSettings settings) {
* hand for updating every field.
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -78,7 +78,7 @@ public String getUpdateMask() {
* hand for updating every field.
* @param updateMask updateMask or {@code null} for none
*/
- public UpdateSettingsRequest setUpdateMask(String updateMask) {
+ public UpdateSettingsRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/Watch.java b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/Watch.java
index 861ac7270fa..4561c800bdb 100644
--- a/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/Watch.java
+++ b/clients/google-api-services-forms/v1/2.0.0/com/google/api/services/forms/v1/model/Watch.java
@@ -40,7 +40,7 @@ public final class Watch extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The most recent error type for an attempted delivery. To begin watching the form
@@ -63,7 +63,7 @@ public final class Watch extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Output only. The ID of this watch. See notes on CreateWatchRequest.watch_id.
@@ -91,7 +91,7 @@ public final class Watch extends com.google.api.client.json.GenericJson {
* Output only. Timestamp of when this was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Output only. Timestamp of when this was created.
* @param createTime createTime or {@code null} for none
*/
- public Watch setCreateTime(String createTime) {
+ public Watch setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -145,7 +145,7 @@ public Watch setEventType(java.lang.String eventType) {
* days in the future.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -154,7 +154,7 @@ public String getExpireTime() {
* days in the future.
* @param expireTime expireTime or {@code null} for none
*/
- public Watch setExpireTime(String expireTime) {
+ public Watch setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/README.md b/clients/google-api-services-healthcare/v1/2.0.0/README.md
index 01a94cc4224..9f375a7d98b 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/README.md
+++ b/clients/google-api-services-healthcare/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-healthcare
- v1-rev20260331-2.0.0
+ v1-rev20260128-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-healthcare:v1-rev20260331-2.0.0'
+ implementation 'com.google.apis:google-api-services-healthcare:v1-rev20260128-2.0.0'
}
```
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/CloudHealthcare.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/CloudHealthcare.java
index 4d5f8556bb3..e5a38ca2df6 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/CloudHealthcare.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/CloudHealthcare.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends CloudHealthcareRequest
* Output only. The timestamp that the revision was created.
* @return value or {@code null} for none
*/
- public String getRevisionCreateTime() {
+ public java.lang.String getRevisionCreateTime() {
return revisionCreateTime;
}
@@ -231,7 +231,7 @@ public String getRevisionCreateTime() {
* Output only. The timestamp that the revision was created.
* @param revisionCreateTime revisionCreateTime or {@code null} for none
*/
- public Consent setRevisionCreateTime(String revisionCreateTime) {
+ public Consent setRevisionCreateTime(java.lang.String revisionCreateTime) {
this.revisionCreateTime = revisionCreateTime;
return this;
}
@@ -278,7 +278,7 @@ public Consent setState(java.lang.String state) {
* Input only. The time to live for this Consent from when it is created.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -286,7 +286,7 @@ public String getTtl() {
* Input only. The time to live for this Consent from when it is created.
* @param ttl ttl or {@code null} for none
*/
- public Consent setTtl(String ttl) {
+ public Consent setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ConsentStore.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ConsentStore.java
index a7c47cc4490..045cceec6cd 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ConsentStore.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ConsentStore.java
@@ -35,7 +35,7 @@ public final class ConsentStore extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String defaultConsentTtl;
+ private java.lang.String defaultConsentTtl;
/**
* Optional. If `true`, UpdateConsent creates the Consent if it does not already exist. If
@@ -72,7 +72,7 @@ public final class ConsentStore extends com.google.api.client.json.GenericJson {
* Updating this field will not affect the expiration time of existing consents.
* @return value or {@code null} for none
*/
- public String getDefaultConsentTtl() {
+ public java.lang.String getDefaultConsentTtl() {
return defaultConsentTtl;
}
@@ -81,7 +81,7 @@ public String getDefaultConsentTtl() {
* Updating this field will not affect the expiration time of existing consents.
* @param defaultConsentTtl defaultConsentTtl or {@code null} for none
*/
- public ConsentStore setDefaultConsentTtl(String defaultConsentTtl) {
+ public ConsentStore setDefaultConsentTtl(java.lang.String defaultConsentTtl) {
this.defaultConsentTtl = defaultConsentTtl;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExplainDataAccessConsentInfo.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExplainDataAccessConsentInfo.java
index 4ab30bc1947..e76e146636b 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExplainDataAccessConsentInfo.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExplainDataAccessConsentInfo.java
@@ -51,7 +51,7 @@ public final class ExplainDataAccessConsentInfo extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String enforcementTime;
+ private java.lang.String enforcementTime;
/**
* A list of all the matching accessor scopes of this consent policy that enforced
@@ -134,7 +134,7 @@ public ExplainDataAccessConsentInfo setConsentResource(java.lang.String consentR
* Last enforcement timestamp of this consent resource.
* @return value or {@code null} for none
*/
- public String getEnforcementTime() {
+ public java.lang.String getEnforcementTime() {
return enforcementTime;
}
@@ -142,7 +142,7 @@ public String getEnforcementTime() {
* Last enforcement timestamp of this consent resource.
* @param enforcementTime enforcementTime or {@code null} for none
*/
- public ExplainDataAccessConsentInfo setEnforcementTime(String enforcementTime) {
+ public ExplainDataAccessConsentInfo setEnforcementTime(java.lang.String enforcementTime) {
this.enforcementTime = enforcementTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExportMessagesRequest.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExportMessagesRequest.java
index 4d593a3af48..b138f8e66ad 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExportMessagesRequest.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/ExportMessagesRequest.java
@@ -38,7 +38,7 @@ public final class ExportMessagesRequest extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Restricts messages exported to those matching a filter, only applicable to PubsubDestination
@@ -100,7 +100,7 @@ public final class ExportMessagesRequest extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/public_temp_2E58
@@ -110,7 +110,7 @@ public final class ExportMessagesRequest extends com.google.api.client.json.Gene
* (exclusive) are exported.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -122,7 +122,7 @@ public String getEndTime() {
* (exclusive) are exported.
* @param endTime endTime or {@code null} for none
*/
- public ExportMessagesRequest setEndTime(String endTime) {
+ public ExportMessagesRequest setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -246,7 +246,7 @@ public ExportMessagesRequest setPubsubDestination(PubsubDestination pubsubDestin
* (exclusive) are exported.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -258,7 +258,7 @@ public String getStartTime() {
* (exclusive) are exported.
* @param startTime startTime or {@code null} for none
*/
- public ExportMessagesRequest setStartTime(String startTime) {
+ public ExportMessagesRequest setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Message.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Message.java
index 15780f6b920..7007569e904 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Message.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Message.java
@@ -35,7 +35,7 @@ public final class Message extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Raw message bytes.
@@ -105,13 +105,13 @@ public final class Message extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String sendTime;
+ private java.lang.String sendTime;
/**
* Output only. The datetime when the message was created. Set by the server.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -119,7 +119,7 @@ public String getCreateTime() {
* Output only. The datetime when the message was created. Set by the server.
* @param createTime createTime or {@code null} for none
*/
- public Message setCreateTime(String createTime) {
+ public Message setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -306,7 +306,7 @@ public Message setSendFacility(java.lang.String sendFacility) {
* Output only. The datetime the sending application sent this message. MSH-7.
* @return value or {@code null} for none
*/
- public String getSendTime() {
+ public java.lang.String getSendTime() {
return sendTime;
}
@@ -314,7 +314,7 @@ public String getSendTime() {
* Output only. The datetime the sending application sent this message. MSH-7.
* @param sendTime sendTime or {@code null} for none
*/
- public Message setSendTime(String sendTime) {
+ public Message setSendTime(java.lang.String sendTime) {
this.sendTime = sendTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/OperationMetadata.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/OperationMetadata.java
index 295616fa9ec..e225fcae8c7 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/OperationMetadata.java
@@ -55,14 +55,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The time at which execution was completed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* A link to audit and error logs in the log viewer. Error logs are generated only by some
@@ -126,7 +126,7 @@ public OperationMetadata setCounter(ProgressCounter counter) {
* The time at which the operation was created by the API.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -134,7 +134,7 @@ public String getCreateTime() {
* The time at which the operation was created by the API.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -143,7 +143,7 @@ public OperationMetadata setCreateTime(String createTime) {
* The time at which execution was completed.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -151,7 +151,7 @@ public String getEndTime() {
* The time at which execution was completed.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackFhirResourcesRequest.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackFhirResourcesRequest.java
index bb3f7d41cad..9feda5407a5 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackFhirResourcesRequest.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackFhirResourcesRequest.java
@@ -77,7 +77,7 @@ public final class RollbackFhirResourcesRequest extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String rollbackTime;
+ private java.lang.String rollbackTime;
/**
* Optional. If specified, revert only resources of these types
@@ -194,7 +194,7 @@ public RollbackFhirResourcesRequest setResultGcsBucket(java.lang.String resultGc
* Required. Time point to rollback to.
* @return value or {@code null} for none
*/
- public String getRollbackTime() {
+ public java.lang.String getRollbackTime() {
return rollbackTime;
}
@@ -202,7 +202,7 @@ public String getRollbackTime() {
* Required. Time point to rollback to.
* @param rollbackTime rollbackTime or {@code null} for none
*/
- public RollbackFhirResourcesRequest setRollbackTime(String rollbackTime) {
+ public RollbackFhirResourcesRequest setRollbackTime(java.lang.String rollbackTime) {
this.rollbackTime = rollbackTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackHl7V2MessagesRequest.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackHl7V2MessagesRequest.java
index e6e0a25410a..1997f7bbf72 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackHl7V2MessagesRequest.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/RollbackHl7V2MessagesRequest.java
@@ -77,7 +77,7 @@ public final class RollbackHl7V2MessagesRequest extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String rollbackTime;
+ private java.lang.String rollbackTime;
/**
* Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
@@ -187,7 +187,7 @@ public RollbackHl7V2MessagesRequest setResultGcsBucket(java.lang.String resultGc
* Required. Times point to rollback to.
* @return value or {@code null} for none
*/
- public String getRollbackTime() {
+ public java.lang.String getRollbackTime() {
return rollbackTime;
}
@@ -195,7 +195,7 @@ public String getRollbackTime() {
* Required. Times point to rollback to.
* @param rollbackTime rollbackTime or {@code null} for none
*/
- public RollbackHl7V2MessagesRequest setRollbackTime(String rollbackTime) {
+ public RollbackHl7V2MessagesRequest setRollbackTime(java.lang.String rollbackTime) {
this.rollbackTime = rollbackTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/SetIamPolicyRequest.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/SetIamPolicyRequest.java
index 989d987c3a5..9d69b83052d 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/SetIamPolicyRequest.java
@@ -45,7 +45,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -74,7 +74,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -84,7 +84,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Signature.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Signature.java
index cdeab65e61a..efdb9079f34 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Signature.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/Signature.java
@@ -49,7 +49,7 @@ public final class Signature extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String signatureTime;
+ private java.lang.String signatureTime;
/**
* Required. User's UUID provided by the client.
@@ -98,7 +98,7 @@ public Signature setMetadata(java.util.Map metadata) {
* Optional. Timestamp of the signature.
* @return value or {@code null} for none
*/
- public String getSignatureTime() {
+ public java.lang.String getSignatureTime() {
return signatureTime;
}
@@ -106,7 +106,7 @@ public String getSignatureTime() {
* Optional. Timestamp of the signature.
* @param signatureTime signatureTime or {@code null} for none
*/
- public Signature setSignatureTime(String signatureTime) {
+ public Signature setSignatureTime(java.lang.String signatureTime) {
this.signatureTime = signatureTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/UserDataMapping.java b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/UserDataMapping.java
index c5af16b5481..f1cbab26c56 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/UserDataMapping.java
+++ b/clients/google-api-services-healthcare/v1/2.0.0/com/google/api/services/healthcare/v1/model/UserDataMapping.java
@@ -34,7 +34,7 @@ public final class UserDataMapping extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String archiveTime;
+ private java.lang.String archiveTime;
/**
* Output only. Indicates whether this mapping is archived.
@@ -86,7 +86,7 @@ public final class UserDataMapping extends com.google.api.client.json.GenericJso
* Output only. Indicates the time when this mapping was archived.
* @return value or {@code null} for none
*/
- public String getArchiveTime() {
+ public java.lang.String getArchiveTime() {
return archiveTime;
}
@@ -94,7 +94,7 @@ public String getArchiveTime() {
* Output only. Indicates the time when this mapping was archived.
* @param archiveTime archiveTime or {@code null} for none
*/
- public UserDataMapping setArchiveTime(String archiveTime) {
+ public UserDataMapping setArchiveTime(java.lang.String archiveTime) {
this.archiveTime = archiveTime;
return this;
}
diff --git a/clients/google-api-services-healthcare/v1/2.0.0/pom.xml b/clients/google-api-services-healthcare/v1/2.0.0/pom.xml
index e80f96eb3d7..1065b619e33 100644
--- a/clients/google-api-services-healthcare/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-healthcare/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-healthcare
- v1-rev20260331-2.0.0
- Cloud Healthcare API v1-rev20260331-2.0.0
+ v1-rev20260128-2.0.0
+ Cloud Healthcare API v1-rev20260128-2.0.0
jar
2011
diff --git a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1BookingLead.java b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1BookingLead.java
index 4869a92954a..d342cdec855 100644
--- a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1BookingLead.java
+++ b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1BookingLead.java
@@ -34,7 +34,7 @@ public final class GoogleAdsHomeservicesLocalservicesV1BookingLead extends com.g
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String bookingAppointmentTimestamp;
+ private java.lang.String bookingAppointmentTimestamp;
/**
* Consumer email associated with the booking lead.
@@ -68,7 +68,7 @@ public final class GoogleAdsHomeservicesLocalservicesV1BookingLead extends com.g
* Timestamp of when service is provided by advertiser.
* @return value or {@code null} for none
*/
- public String getBookingAppointmentTimestamp() {
+ public java.lang.String getBookingAppointmentTimestamp() {
return bookingAppointmentTimestamp;
}
@@ -76,7 +76,7 @@ public String getBookingAppointmentTimestamp() {
* Timestamp of when service is provided by advertiser.
* @param bookingAppointmentTimestamp bookingAppointmentTimestamp or {@code null} for none
*/
- public GoogleAdsHomeservicesLocalservicesV1BookingLead setBookingAppointmentTimestamp(String bookingAppointmentTimestamp) {
+ public GoogleAdsHomeservicesLocalservicesV1BookingLead setBookingAppointmentTimestamp(java.lang.String bookingAppointmentTimestamp) {
this.bookingAppointmentTimestamp = bookingAppointmentTimestamp;
return this;
}
diff --git a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.java b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.java
index f5bb3fafa8c..86acedcce5b 100644
--- a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.java
+++ b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.java
@@ -105,7 +105,7 @@ public final class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport extend
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String leadCreationTimestamp;
+ private java.lang.String leadCreationTimestamp;
/**
* Deprecated in favor of google_ads_lead_id. Unique identifier of a Detailed Lead Report.
@@ -323,7 +323,7 @@ public GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport setLeadCategory(ja
* Timestamp of when the lead was created.
* @return value or {@code null} for none
*/
- public String getLeadCreationTimestamp() {
+ public java.lang.String getLeadCreationTimestamp() {
return leadCreationTimestamp;
}
@@ -331,7 +331,7 @@ public String getLeadCreationTimestamp() {
* Timestamp of when the lead was created.
* @param leadCreationTimestamp leadCreationTimestamp or {@code null} for none
*/
- public GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport setLeadCreationTimestamp(String leadCreationTimestamp) {
+ public GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport setLeadCreationTimestamp(java.lang.String leadCreationTimestamp) {
this.leadCreationTimestamp = leadCreationTimestamp;
return this;
}
diff --git a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1PhoneLead.java b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1PhoneLead.java
index f6340442466..611c509291f 100644
--- a/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1PhoneLead.java
+++ b/clients/google-api-services-localservices/v1/2.0.0/com/google/api/services/localservices/v1/model/GoogleAdsHomeservicesLocalservicesV1PhoneLead.java
@@ -34,14 +34,14 @@ public final class GoogleAdsHomeservicesLocalservicesV1PhoneLead extends com.goo
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String chargedCallTimestamp;
+ private java.lang.String chargedCallTimestamp;
/**
* Duration of the charged phone call in seconds.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String chargedConnectedCallDurationSeconds;
+ private java.lang.String chargedConnectedCallDurationSeconds;
/**
* Consumer phone number associated with the phone lead.
@@ -54,7 +54,7 @@ public final class GoogleAdsHomeservicesLocalservicesV1PhoneLead extends com.goo
* Timestamp of the phone call which resulted in a charged phone lead.
* @return value or {@code null} for none
*/
- public String getChargedCallTimestamp() {
+ public java.lang.String getChargedCallTimestamp() {
return chargedCallTimestamp;
}
@@ -62,7 +62,7 @@ public String getChargedCallTimestamp() {
* Timestamp of the phone call which resulted in a charged phone lead.
* @param chargedCallTimestamp chargedCallTimestamp or {@code null} for none
*/
- public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedCallTimestamp(String chargedCallTimestamp) {
+ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedCallTimestamp(java.lang.String chargedCallTimestamp) {
this.chargedCallTimestamp = chargedCallTimestamp;
return this;
}
@@ -71,7 +71,7 @@ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedCallTimestamp(Str
* Duration of the charged phone call in seconds.
* @return value or {@code null} for none
*/
- public String getChargedConnectedCallDurationSeconds() {
+ public java.lang.String getChargedConnectedCallDurationSeconds() {
return chargedConnectedCallDurationSeconds;
}
@@ -79,7 +79,7 @@ public String getChargedConnectedCallDurationSeconds() {
* Duration of the charged phone call in seconds.
* @param chargedConnectedCallDurationSeconds chargedConnectedCallDurationSeconds or {@code null} for none
*/
- public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedConnectedCallDurationSeconds(String chargedConnectedCallDurationSeconds) {
+ public GoogleAdsHomeservicesLocalservicesV1PhoneLead setChargedConnectedCallDurationSeconds(java.lang.String chargedConnectedCallDurationSeconds) {
this.chargedConnectedCallDurationSeconds = chargedConnectedCallDurationSeconds;
return this;
}
diff --git a/clients/google-api-services-managedkafka/v1/2.0.0/README.md b/clients/google-api-services-managedkafka/v1/2.0.0/README.md
index 7701412d5f8..ef112c8b04f 100644
--- a/clients/google-api-services-managedkafka/v1/2.0.0/README.md
+++ b/clients/google-api-services-managedkafka/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-managedkafka
- v1-rev20260319-2.0.0
+ v1-rev20260129-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-managedkafka:v1-rev20260319-2.0.0'
+ implementation 'com.google.apis:google-api-services-managedkafka:v1-rev20260129-2.0.0'
}
```
diff --git a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/ManagedKafka.java b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/ManagedKafka.java
index 7c0a8767196..2ae9526909d 100644
--- a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/ManagedKafka.java
+++ b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/ManagedKafka.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends ManagedKafkaRequest config)
* Output only. The time when the cluster was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -159,7 +159,7 @@ public String getCreateTime() {
* Output only. The time when the cluster was created.
* @param createTime createTime or {@code null} for none
*/
- public ConnectCluster setCreateTime(String createTime) {
+ public ConnectCluster setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -293,7 +293,7 @@ public ConnectCluster setState(java.lang.String state) {
* Output only. The time when the cluster was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -301,7 +301,7 @@ public String getUpdateTime() {
* Output only. The time when the cluster was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ConnectCluster setUpdateTime(String updateTime) {
+ public ConnectCluster setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/OperationMetadata.java b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/OperationMetadata.java
index ed9de210796..d18862df7c4 100644
--- a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/OperationMetadata.java
@@ -42,14 +42,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -102,7 +102,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -119,7 +119,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -127,7 +127,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/TaskRetryPolicy.java b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/TaskRetryPolicy.java
index 73a2d36527e..d44e17bdd76 100644
--- a/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/TaskRetryPolicy.java
+++ b/clients/google-api-services-managedkafka/v1/2.0.0/com/google/api/services/managedkafka/v1/model/TaskRetryPolicy.java
@@ -43,7 +43,7 @@ public final class TaskRetryPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String maximumBackoff;
+ private java.lang.String maximumBackoff;
/**
* Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower
@@ -51,7 +51,7 @@ public final class TaskRetryPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String minimumBackoff;
+ private java.lang.String minimumBackoff;
/**
* Optional. If true, task retry is disabled.
@@ -65,7 +65,7 @@ public final class TaskRetryPolicy extends com.google.api.client.json.GenericJso
* bound for the backoff delay.
* @return value or {@code null} for none
*/
- public String getMaximumBackoff() {
+ public java.lang.String getMaximumBackoff() {
return maximumBackoff;
}
@@ -74,7 +74,7 @@ public String getMaximumBackoff() {
* bound for the backoff delay.
* @param maximumBackoff maximumBackoff or {@code null} for none
*/
- public TaskRetryPolicy setMaximumBackoff(String maximumBackoff) {
+ public TaskRetryPolicy setMaximumBackoff(java.lang.String maximumBackoff) {
this.maximumBackoff = maximumBackoff;
return this;
}
@@ -84,7 +84,7 @@ public TaskRetryPolicy setMaximumBackoff(String maximumBackoff) {
* bound for the backoff delay.
* @return value or {@code null} for none
*/
- public String getMinimumBackoff() {
+ public java.lang.String getMinimumBackoff() {
return minimumBackoff;
}
@@ -93,7 +93,7 @@ public String getMinimumBackoff() {
* bound for the backoff delay.
* @param minimumBackoff minimumBackoff or {@code null} for none
*/
- public TaskRetryPolicy setMinimumBackoff(String minimumBackoff) {
+ public TaskRetryPolicy setMinimumBackoff(java.lang.String minimumBackoff) {
this.minimumBackoff = minimumBackoff;
return this;
}
diff --git a/clients/google-api-services-managedkafka/v1/2.0.0/pom.xml b/clients/google-api-services-managedkafka/v1/2.0.0/pom.xml
index 396f9d9bf10..76741856b1d 100644
--- a/clients/google-api-services-managedkafka/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-managedkafka/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-managedkafka
- v1-rev20260319-2.0.0
- Managed Service for Apache Kafka API v1-rev20260319-2.0.0
+ v1-rev20260129-2.0.0
+ Managed Service for Apache Kafka API v1-rev20260129-2.0.0
jar
2011
diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/ManufacturerCenter.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/ManufacturerCenter.java
index 7368f81d002..e0ac80288bc 100644
--- a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/ManufacturerCenter.java
+++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/ManufacturerCenter.java
@@ -838,13 +838,13 @@ public Patch setName(java.lang.String name) {
* Setting any other values will returns UNIMPLEMENTED error.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. The list of fields to update according to aip.dev/134. However, only full update is
supported as of right now. Therefore, it can be either ignored or set to "*". Setting any other
values will returns UNIMPLEMENTED error.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -853,7 +853,7 @@ public String getUpdateMask() {
* update is supported as of right now. Therefore, it can be either ignored or set to "*".
* Setting any other values will returns UNIMPLEMENTED error.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Issue.java b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Issue.java
index bd9b856c9f9..47c6c6c3af5 100644
--- a/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Issue.java
+++ b/clients/google-api-services-manufacturers/v1/2.0.0/com/google/api/services/manufacturers/v1/model/Issue.java
@@ -79,7 +79,7 @@ public final class Issue extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timestamp;
+ private java.lang.String timestamp;
/**
* Short title describing the nature of the issue.
@@ -206,7 +206,7 @@ public Issue setSeverity(java.lang.String severity) {
* The timestamp when this issue appeared.
* @return value or {@code null} for none
*/
- public String getTimestamp() {
+ public java.lang.String getTimestamp() {
return timestamp;
}
@@ -214,7 +214,7 @@ public String getTimestamp() {
* The timestamp when this issue appeared.
* @param timestamp timestamp or {@code null} for none
*/
- public Issue setTimestamp(String timestamp) {
+ public Issue setTimestamp(java.lang.String timestamp) {
this.timestamp = timestamp;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/README.md b/clients/google-api-services-monitoring/v1/2.0.0/README.md
index 07b7a08ea13..32455da809b 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/README.md
+++ b/clients/google-api-services-monitoring/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-monitoring
- v1-rev20260402-2.0.0
+ v1-rev20260302-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260402-2.0.0'
+ implementation 'com.google.apis:google-api-services-monitoring:v1-rev20260302-2.0.0'
}
```
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Aggregation.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Aggregation.java
index 1dde746c143..da35a7b2529 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Aggregation.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Aggregation.java
@@ -55,7 +55,7 @@ public final class Aggregation extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String alignmentPeriod;
+ private java.lang.String alignmentPeriod;
/**
* The reduction operation to be used to combine time series into a single time series, where the
@@ -111,7 +111,7 @@ public final class Aggregation extends com.google.api.client.json.GenericJson {
* ignored.The maximum value of the alignment_period is 2 years, or 104 weeks.
* @return value or {@code null} for none
*/
- public String getAlignmentPeriod() {
+ public java.lang.String getAlignmentPeriod() {
return alignmentPeriod;
}
@@ -124,7 +124,7 @@ public String getAlignmentPeriod() {
* ignored.The maximum value of the alignment_period is 2 years, or 104 weeks.
* @param alignmentPeriod alignmentPeriod or {@code null} for none
*/
- public Aggregation setAlignmentPeriod(String alignmentPeriod) {
+ public Aggregation setAlignmentPeriod(java.lang.String alignmentPeriod) {
this.alignmentPeriod = alignmentPeriod;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/DataSet.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/DataSet.java
index 2c79d2df185..f89432c8e87 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/DataSet.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/DataSet.java
@@ -66,16 +66,13 @@ public final class DataSet extends com.google.api.client.json.GenericJson {
/**
* Optional. The lower bound on data point frequency for this data set, implemented by specifying
- * the minimum alignment period to use in a time series query. For example, if the data is
+ * the minimum alignment period to use in a time series query For example, if the data is
* published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It
- * would not make sense to fetch and align data at one minute intervals.For PromQL queries, this
- * field is used to set the minimum interval for the query step, controlling data granularity.
- * Larger values can improve performance on long time ranges. See Querying Basics and Range
- * Queries for more details on the PromQL step.
+ * would not make sense to fetch and align data at one minute intervals.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String minAlignmentPeriod;
+ private java.lang.String minAlignmentPeriod;
/**
* How this data should be plotted on the chart.
@@ -183,29 +180,23 @@ public DataSet setMeasures(java.util.List measures) {
/**
* Optional. The lower bound on data point frequency for this data set, implemented by specifying
- * the minimum alignment period to use in a time series query. For example, if the data is
+ * the minimum alignment period to use in a time series query For example, if the data is
* published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It
- * would not make sense to fetch and align data at one minute intervals.For PromQL queries, this
- * field is used to set the minimum interval for the query step, controlling data granularity.
- * Larger values can improve performance on long time ranges. See Querying Basics and Range
- * Queries for more details on the PromQL step.
+ * would not make sense to fetch and align data at one minute intervals.
* @return value or {@code null} for none
*/
- public String getMinAlignmentPeriod() {
+ public java.lang.String getMinAlignmentPeriod() {
return minAlignmentPeriod;
}
/**
* Optional. The lower bound on data point frequency for this data set, implemented by specifying
- * the minimum alignment period to use in a time series query. For example, if the data is
+ * the minimum alignment period to use in a time series query For example, if the data is
* published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It
- * would not make sense to fetch and align data at one minute intervals.For PromQL queries, this
- * field is used to set the minimum interval for the query step, controlling data granularity.
- * Larger values can improve performance on long time ranges. See Querying Basics and Range
- * Queries for more details on the PromQL step.
+ * would not make sense to fetch and align data at one minute intervals.
* @param minAlignmentPeriod minAlignmentPeriod or {@code null} for none
*/
- public DataSet setMinAlignmentPeriod(String minAlignmentPeriod) {
+ public DataSet setMinAlignmentPeriod(java.lang.String minAlignmentPeriod) {
this.minAlignmentPeriod = minAlignmentPeriod;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Dimension.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Dimension.java
index d73c4d523fb..469b8199543 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Dimension.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Dimension.java
@@ -98,7 +98,7 @@ public final class Dimension extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeBinSize;
+ private java.lang.String timeBinSize;
/**
* Required. For widgets that use SQL queries, set the value to the name of the column in the
@@ -249,7 +249,7 @@ public Dimension setSortOrder(java.lang.String sortOrder) {
* multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.
* @return value or {@code null} for none
*/
- public String getTimeBinSize() {
+ public java.lang.String getTimeBinSize() {
return timeBinSize;
}
@@ -259,7 +259,7 @@ public String getTimeBinSize() {
* multiple of 1 day. If column_type is TIME, this must be less than or equal to 24 hours.
* @param timeBinSize timeBinSize or {@code null} for none
*/
- public Dimension setTimeBinSize(String timeBinSize) {
+ public Dimension setTimeBinSize(java.lang.String timeBinSize) {
this.timeBinSize = timeBinSize;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Interval.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Interval.java
index 4927a803b77..83269211eff 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Interval.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/Interval.java
@@ -38,7 +38,7 @@ public final class Interval extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. Inclusive start of the interval.If specified, a Timestamp matching this interval will
@@ -46,14 +46,14 @@ public final class Interval extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. Exclusive end of the interval.If specified, a Timestamp matching this interval will
* have to be before the end.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -62,7 +62,7 @@ public String getEndTime() {
* have to be before the end.
* @param endTime endTime or {@code null} for none
*/
- public Interval setEndTime(String endTime) {
+ public Interval setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -72,7 +72,7 @@ public Interval setEndTime(String endTime) {
* have to be the same or after the start.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -81,7 +81,7 @@ public String getStartTime() {
* have to be the same or after the start.
* @param startTime startTime or {@code null} for none
*/
- public Interval setStartTime(String startTime) {
+ public Interval setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MetricsScope.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MetricsScope.java
index d2acffe5d5e..af405ecc14a 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MetricsScope.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MetricsScope.java
@@ -36,7 +36,7 @@ public final class MetricsScope extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The list of projects monitored by this Metrics Scope.
@@ -60,13 +60,13 @@ public final class MetricsScope extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time when this Metrics Scope was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -74,7 +74,7 @@ public String getCreateTime() {
* Output only. The time when this Metrics Scope was created.
* @param createTime createTime or {@code null} for none
*/
- public MetricsScope setCreateTime(String createTime) {
+ public MetricsScope setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -123,7 +123,7 @@ public MetricsScope setName(java.lang.String name) {
* Output only. The time when this Metrics Scope record was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -131,7 +131,7 @@ public String getUpdateTime() {
* Output only. The time when this Metrics Scope record was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public MetricsScope setUpdateTime(String updateTime) {
+ public MetricsScope setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MonitoredProject.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MonitoredProject.java
index 5b59c707d54..ca2ea4a5d34 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MonitoredProject.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/MonitoredProject.java
@@ -35,7 +35,7 @@ public final class MonitoredProject extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Set if the project has been tombstoned by the user.
@@ -58,7 +58,7 @@ public final class MonitoredProject extends com.google.api.client.json.GenericJs
* Output only. The time when this MonitoredProject was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -66,7 +66,7 @@ public String getCreateTime() {
* Output only. The time when this MonitoredProject was created.
* @param createTime createTime or {@code null} for none
*/
- public MonitoredProject setCreateTime(String createTime) {
+ public MonitoredProject setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/OperationMetadata.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/OperationMetadata.java
index a7a5ade6ca8..3d645d5cf64 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/OperationMetadata.java
@@ -34,7 +34,7 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Current state of the batch operation.
@@ -48,13 +48,13 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The time when the batch request was received.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -62,7 +62,7 @@ public String getCreateTime() {
* The time when the batch request was received.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -88,7 +88,7 @@ public OperationMetadata setState(java.lang.String state) {
* The time when the operation result was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -96,7 +96,7 @@ public String getUpdateTime() {
* The time when the operation result was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public OperationMetadata setUpdateTime(String updateTime) {
+ public OperationMetadata setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/PieChartDataSet.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/PieChartDataSet.java
index 8f8b33764d7..f586a506cf2 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/PieChartDataSet.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/PieChartDataSet.java
@@ -64,7 +64,7 @@ public final class PieChartDataSet extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String minAlignmentPeriod;
+ private java.lang.String minAlignmentPeriod;
/**
* Optional. A template for the name of the slice. This name will be displayed in the legend and
@@ -126,7 +126,7 @@ public PieChartDataSet setMeasures(java.util.List measures) {
* would not make sense to fetch and align data at one minute intervals.
* @return value or {@code null} for none
*/
- public String getMinAlignmentPeriod() {
+ public java.lang.String getMinAlignmentPeriod() {
return minAlignmentPeriod;
}
@@ -137,7 +137,7 @@ public String getMinAlignmentPeriod() {
* would not make sense to fetch and align data at one minute intervals.
* @param minAlignmentPeriod minAlignmentPeriod or {@code null} for none
*/
- public PieChartDataSet setMinAlignmentPeriod(String minAlignmentPeriod) {
+ public PieChartDataSet setMinAlignmentPeriod(java.lang.String minAlignmentPeriod) {
this.minAlignmentPeriod = minAlignmentPeriod;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/SparkChartView.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/SparkChartView.java
index 0d0d27afab8..cc309c22d9c 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/SparkChartView.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/SparkChartView.java
@@ -35,14 +35,11 @@ public final class SparkChartView extends com.google.api.client.json.GenericJson
* The lower bound on data point frequency in the chart implemented by specifying the minimum
* alignment period to use in a time series query. For example, if the data is published once
* every 10 minutes it would not make sense to fetch and align data at one minute intervals. This
- * field is optional and exists only as a hint.For PromQL queries, this field is used to set the
- * minimum interval for the query step, controlling data granularity. Larger values can improve
- * performance on long time ranges. See Querying Basics and Range Queries for more details on the
- * PromQL step.
+ * field is optional and exists only as a hint.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String minAlignmentPeriod;
+ private java.lang.String minAlignmentPeriod;
/**
* Required. The type of sparkchart to show in this chartView.
@@ -55,13 +52,10 @@ public final class SparkChartView extends com.google.api.client.json.GenericJson
* The lower bound on data point frequency in the chart implemented by specifying the minimum
* alignment period to use in a time series query. For example, if the data is published once
* every 10 minutes it would not make sense to fetch and align data at one minute intervals. This
- * field is optional and exists only as a hint.For PromQL queries, this field is used to set the
- * minimum interval for the query step, controlling data granularity. Larger values can improve
- * performance on long time ranges. See Querying Basics and Range Queries for more details on the
- * PromQL step.
+ * field is optional and exists only as a hint.
* @return value or {@code null} for none
*/
- public String getMinAlignmentPeriod() {
+ public java.lang.String getMinAlignmentPeriod() {
return minAlignmentPeriod;
}
@@ -69,13 +63,10 @@ public String getMinAlignmentPeriod() {
* The lower bound on data point frequency in the chart implemented by specifying the minimum
* alignment period to use in a time series query. For example, if the data is published once
* every 10 minutes it would not make sense to fetch and align data at one minute intervals. This
- * field is optional and exists only as a hint.For PromQL queries, this field is used to set the
- * minimum interval for the query step, controlling data granularity. Larger values can improve
- * performance on long time ranges. See Querying Basics and Range Queries for more details on the
- * PromQL step.
+ * field is optional and exists only as a hint.
* @param minAlignmentPeriod minAlignmentPeriod or {@code null} for none
*/
- public SparkChartView setMinAlignmentPeriod(String minAlignmentPeriod) {
+ public SparkChartView setMinAlignmentPeriod(java.lang.String minAlignmentPeriod) {
this.minAlignmentPeriod = minAlignmentPeriod;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/TableDataSet.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/TableDataSet.java
index f6493f98289..c36271cbb45 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/TableDataSet.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/TableDataSet.java
@@ -37,7 +37,7 @@ public final class TableDataSet extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String minAlignmentPeriod;
+ private java.lang.String minAlignmentPeriod;
/**
* Optional. Table display options for configuring how the table is rendered.
@@ -69,7 +69,7 @@ public final class TableDataSet extends com.google.api.client.json.GenericJson {
* would not make sense to fetch and align data at one minute intervals.
* @return value or {@code null} for none
*/
- public String getMinAlignmentPeriod() {
+ public java.lang.String getMinAlignmentPeriod() {
return minAlignmentPeriod;
}
@@ -80,7 +80,7 @@ public String getMinAlignmentPeriod() {
* would not make sense to fetch and align data at one minute intervals.
* @param minAlignmentPeriod minAlignmentPeriod or {@code null} for none
*/
- public TableDataSet setMinAlignmentPeriod(String minAlignmentPeriod) {
+ public TableDataSet setMinAlignmentPeriod(java.lang.String minAlignmentPeriod) {
this.minAlignmentPeriod = minAlignmentPeriod;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/XyChart.java b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/XyChart.java
index 0227ce5063b..8045c03acdf 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/XyChart.java
+++ b/clients/google-api-services-monitoring/v1/2.0.0/com/google/api/services/monitoring/v1/model/XyChart.java
@@ -69,7 +69,7 @@ public final class XyChart extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeshiftDuration;
+ private java.lang.String timeshiftDuration;
/**
* The properties applied to the x-axis.
@@ -149,7 +149,7 @@ public XyChart setThresholds(java.util.List thresholds) {
* positive, and it can only be applied to charts with data sets of LINE plot type.
* @return value or {@code null} for none
*/
- public String getTimeshiftDuration() {
+ public java.lang.String getTimeshiftDuration() {
return timeshiftDuration;
}
@@ -159,7 +159,7 @@ public String getTimeshiftDuration() {
* positive, and it can only be applied to charts with data sets of LINE plot type.
* @param timeshiftDuration timeshiftDuration or {@code null} for none
*/
- public XyChart setTimeshiftDuration(String timeshiftDuration) {
+ public XyChart setTimeshiftDuration(java.lang.String timeshiftDuration) {
this.timeshiftDuration = timeshiftDuration;
return this;
}
diff --git a/clients/google-api-services-monitoring/v1/2.0.0/pom.xml b/clients/google-api-services-monitoring/v1/2.0.0/pom.xml
index 5f7a63c5446..2aa94752d77 100644
--- a/clients/google-api-services-monitoring/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-monitoring/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-monitoring
- v1-rev20260402-2.0.0
- Cloud Monitoring API v1-rev20260402-2.0.0
+ v1-rev20260302-2.0.0
+ Cloud Monitoring API v1-rev20260302-2.0.0
jar
2011
diff --git a/clients/google-api-services-mybusinessverifications/v1/2.0.0/com/google/api/services/mybusinessverifications/v1/model/Verification.java b/clients/google-api-services-mybusinessverifications/v1/2.0.0/com/google/api/services/mybusinessverifications/v1/model/Verification.java
index 848a478d07e..70b28341338 100644
--- a/clients/google-api-services-mybusinessverifications/v1/2.0.0/com/google/api/services/mybusinessverifications/v1/model/Verification.java
+++ b/clients/google-api-services-mybusinessverifications/v1/2.0.0/com/google/api/services/mybusinessverifications/v1/model/Verification.java
@@ -42,7 +42,7 @@ public final class Verification extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The method of the verification.
@@ -86,7 +86,7 @@ public Verification setAnnouncement(java.lang.String announcement) {
* The timestamp when the verification is requested.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -94,7 +94,7 @@ public String getCreateTime() {
* The timestamp when the verification is requested.
* @param createTime createTime or {@code null} for none
*/
- public Verification setCreateTime(String createTime) {
+ public Verification setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md b/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
index cc47a2a29c1..3fa04b81948 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-networkconnectivity
- v1-rev20260326-2.0.0
+ v1-rev20260309-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20260326-2.0.0'
+ implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20260309-2.0.0'
}
```
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java
index e287088239f..6ee6502e6a0 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java
@@ -461,14 +461,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -492,15 +488,10 @@ public class List extends NetworkconnectivityRequestThe typical use is:
*
* {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.RemoteTransportProfiles.List request = networkconnectivity.remoteTransportProfiles().list(parameters ...)}
+ * {@code Networkconnectivity.ServiceClasses.List request = networkconnectivity.serviceClasses().list(parameters ...)}
*
*
* @return the resource collection
*/
- public RemoteTransportProfiles remoteTransportProfiles() {
- return new RemoteTransportProfiles();
+ public ServiceClasses serviceClasses() {
+ return new ServiceClasses();
}
/**
- * The "remoteTransportProfiles" collection of methods.
+ * The "serviceClasses" collection of methods.
*/
- public class RemoteTransportProfiles {
+ public class ServiceClasses {
/**
- * Gets details of a single RemoteTransportProfile.
+ * Deletes a single ServiceClass.
*
- * Create a request for the method "remoteTransportProfiles.get".
+ * Create a request for the method "serviceClasses.delete".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. Name of the resource.
+ * @param name Required. The name of the ServiceClass to delete.
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class Get extends NetworkconnectivityRequest {
+ public class Delete extends NetworkconnectivityRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/remoteTransportProfiles/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Gets details of a single RemoteTransportProfile.
+ * Deletes a single ServiceClass.
*
- * Create a request for the method "remoteTransportProfiles.get".
+ * Create a request for the method "serviceClasses.delete".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
+ * operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Name of the resource.
+ * @param name Required. The name of the ServiceClass to delete.
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.RemoteTransportProfile.class);
+ protected Delete(java.lang.String name) {
+ super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/remoteTransportProfiles/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Name of the resource. */
+ /** Required. The name of the ServiceClass to delete. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Name of the resource.
+ /** Required. The name of the ServiceClass to delete.
*/
public java.lang.String getName() {
return name;
}
- /** Required. Name of the resource. */
- public Get setName(java.lang.String name) {
+ /** Required. The name of the ServiceClass to delete. */
+ public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/remoteTransportProfiles/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
this.name = name;
return this;
}
+ /**
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
+ ensure the client has an up-to-date value before proceeding.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ public Delete setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
+ must retry your request, the server will know to ignore the request if it has already been
+ completed. The server will guarantee that for at least 60 minutes after the first request. For
+ example, consider a situation where you make an initial request and the request times out. If you
+ make the request again with the same request ID, the server can check if original operation with
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
}
}
/**
- * Lists RemoteTransportProfiles in a given project and location.
+ * Gets details of a single ServiceClass.
*
- * Create a request for the method "remoteTransportProfiles.list".
+ * Create a request for the method "serviceClasses.get".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param parent Required. Parent value for ListRemoteTransportProfilesRequest.
+ * @param name Required. Name of the ServiceClass to get.
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class List extends NetworkconnectivityRequest {
+ public class Get extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/remoteTransportProfiles";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Lists RemoteTransportProfiles in a given project and location.
+ * Gets details of a single ServiceClass.
*
- * Create a request for the method "remoteTransportProfiles.list".
+ * Create a request for the method "serviceClasses.get".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
* {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. Parent value for ListRemoteTransportProfilesRequest.
+ * @param name Required. Name of the ServiceClass to get.
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListRemoteTransportProfilesResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected Get(java.lang.String name) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceClass.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
}
@@ -12506,511 +12553,283 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Parent value for ListRemoteTransportProfilesRequest. */
+ /** Required. Name of the ServiceClass to get. */
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String name;
- /** Required. Parent value for ListRemoteTransportProfilesRequest.
+ /** Required. Name of the ServiceClass to get.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getName() {
+ return name;
}
- /** Required. Parent value for ListRemoteTransportProfilesRequest. */
- public List setParent(java.lang.String parent) {
+ /** Required. Name of the ServiceClass to get. */
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
- this.parent = parent;
- return this;
- }
-
- /** Optional. Filtering results. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Filtering results.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** Optional. Filtering results. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /** Optional. Hint for how to order the results. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Optional. Hint for how to order the results.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /** Optional. Hint for how to order the results. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
-
- /**
- * Optional. Requested page size. Server may return fewer items than requested. If
- * unspecified, server will pick an appropriate default.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server
- will pick an appropriate default.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. Requested page size. Server may return fewer items than requested. If
- * unspecified, server will pick an appropriate default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /** Optional. A token identifying a page of results the server should return. */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. A token identifying a page of results the server should return.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /** Optional. A token identifying a page of results the server should return. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ this.name = name;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the ServiceClasses collection.
- *
- * The typical use is:
- *
- * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.ServiceClasses.List request = networkconnectivity.serviceClasses().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ServiceClasses serviceClasses() {
- return new ServiceClasses();
- }
-
- /**
- * The "serviceClasses" collection of methods.
- */
- public class ServiceClasses {
-
/**
- * Deletes a single ServiceClass.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "serviceClasses.delete".
+ * Create a request for the method "serviceClasses.getIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param name Required. The name of the ServiceClass to delete.
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Delete extends NetworkconnectivityRequest {
+ public class GetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Deletes a single ServiceClass.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "serviceClasses.delete".
+ * Create a request for the method "serviceClasses.getIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
+ * any optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
* operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The name of the ServiceClass to delete.
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
}
- /** Required. The name of the ServiceClass to delete. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The name of the ServiceClass to delete.
- */
- public java.lang.String getName() {
- return name;
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
}
- /** Required. The name of the ServiceClass to delete. */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
- }
- this.name = name;
- return this;
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String etag;
+ private java.lang.String resource;
- /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
- ensure the client has an up-to-date value before proceeding.
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getEtag() {
- return etag;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Delete setEtag(java.lang.String etag) {
- this.etag = etag;
+ public GetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- @com.google.api.client.util.Key
- private java.lang.String requestId;
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes after the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
}
- }
- /**
- * Gets details of a single ServiceClass.
- *
- * Create a request for the method "serviceClasses.get".
- *
- * This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. Name of the ServiceClass to get.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends NetworkconnectivityRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Gets details of a single ServiceClass.
- *
- * Create a request for the method "serviceClasses.get".
- *
- * This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Name of the ServiceClass to get.
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceClass.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
-
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. Name of the ServiceClass to get. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Name of the ServiceClass to get.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. Name of the ServiceClass to get. */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
- }
- this.name = name;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
@@ -13406,14 +13225,14 @@ public Patch setRequestId(java.lang.String requestId) {
* the mask. If the user does not provide a mask then all fields will be overwritten.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource
by the update. The fields specified in the update_mask are relative to the resource, not the full
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
all fields will be overwritten.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -13423,7 +13242,7 @@ public String getUpdateMask() {
* relative to the resource, not the full request. A field will be overwritten if it is in
* the mask. If the user does not provide a mask then all fields will be overwritten.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -13433,383 +13252,460 @@ public Patch set(String parameterName, Object value) {
return (Patch) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the ServiceConnectionMaps collection.
- *
- * The typical use is:
- *
- * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.ServiceConnectionMaps.List request = networkconnectivity.serviceConnectionMaps().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ServiceConnectionMaps serviceConnectionMaps() {
- return new ServiceConnectionMaps();
- }
-
- /**
- * The "serviceConnectionMaps" collection of methods.
- */
- public class ServiceConnectionMaps {
-
/**
- * Creates a new ServiceConnectionMap in a given project and location.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "serviceConnectionMaps.create".
+ * Create a request for the method "serviceClasses.setIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
- * east1
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
initialize(result);
return result;
}
- public class Create extends NetworkconnectivityRequest {
+ public class SetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/serviceConnectionMaps";
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Creates a new ServiceConnectionMap in a given project and location.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "serviceConnectionMaps.create".
+ * Create a request for the method "serviceClasses.setIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Create#execute()} method to invoke the remote
+ * any optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
* operation. {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
- * east1
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) {
- super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The parent resource's name of the ServiceConnectionMap. ex.
- * projects/123/locations/us-east1
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String resource;
- /** Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
- east1
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Required. The parent resource's name of the ServiceConnectionMap. ex.
- * projects/123/locations/us-east1
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Create setParent(java.lang.String parent) {
+ public SetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
- this.parent = parent;
- return this;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public Create setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- /**
- * Optional. Resource ID (i.e. 'foo' in
- * '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
- * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
- * provided, one will be generated.
- */
- @com.google.api.client.util.Key
- private java.lang.String serviceConnectionMapId;
-
- /** Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
- https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one
- will be generated.
- */
- public java.lang.String getServiceConnectionMapId() {
- return serviceConnectionMapId;
- }
-
- /**
- * Optional. Resource ID (i.e. 'foo' in
- * '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
- * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
- * provided, one will be generated.
- */
- public Create setServiceConnectionMapId(java.lang.String serviceConnectionMapId) {
- this.serviceConnectionMapId = serviceConnectionMapId;
+ this.resource = resource;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Deletes a single ServiceConnectionMap.
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "serviceConnectionMaps.delete".
+ * Create a request for the method "serviceClasses.testIamPermissions".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation.
*
- * @param name Required. The name of the ServiceConnectionMap to delete.
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
initialize(result);
return result;
}
- public class Delete extends NetworkconnectivityRequest {
+ public class TestIamPermissions extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
/**
- * Deletes a single ServiceConnectionMap.
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "serviceConnectionMaps.delete".
+ * Create a request for the method "serviceClasses.testIamPermissions".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
- * operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the
+ * remote operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.ser
+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
- * @param name Required. The name of the ServiceConnectionMap to delete.
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The name of the ServiceConnectionMap to delete. */
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. The name of the ServiceConnectionMap to delete.
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Required. The name of the ServiceConnectionMap to delete. */
- public Delete setName(java.lang.String name) {
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public TestIamPermissions setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceClasses/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
+ @Override
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
+ }
+ }
+
+ }
+ /**
+ * An accessor for creating requests from the ServiceConnectionMaps collection.
+ *
+ * The typical use is:
+ *
+ * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
+ * {@code Networkconnectivity.ServiceConnectionMaps.List request = networkconnectivity.serviceConnectionMaps().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public ServiceConnectionMaps serviceConnectionMaps() {
+ return new ServiceConnectionMaps();
+ }
+
+ /**
+ * The "serviceConnectionMaps" collection of methods.
+ */
+ public class ServiceConnectionMaps {
+
+ /**
+ * Creates a new ServiceConnectionMap in a given project and location.
+ *
+ * Create a request for the method "serviceConnectionMaps.create".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
+ * east1
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends NetworkconnectivityRequest {
+
+ private static final String REST_PATH = "v1/{+parent}/serviceConnectionMaps";
+
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+
/**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
+ * Creates a new ServiceConnectionMap in a given project and location.
+ *
+ * Create a request for the method "serviceConnectionMaps.create".
+ *
+ * This request holds the parameters needed by the the networkconnectivity server. After setting
+ * any optional parameters, call the {@link Create#execute()} method to invoke the remote
+ * operation. {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
+ * east1
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @since 1.13
+ */
+ protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
+ }
+ }
+
+ @Override
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
+ }
+
+ @Override
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
+ }
+
+ @Override
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
+ }
+
+ @Override
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
+ }
+
+ @Override
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The parent resource's name of the ServiceConnectionMap. ex.
+ * projects/123/locations/us-east1
*/
@com.google.api.client.util.Key
- private java.lang.String etag;
+ private java.lang.String parent;
- /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
- ensure the client has an up-to-date value before proceeding.
+ /** Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-
+ east1
*/
- public java.lang.String getEtag() {
- return etag;
+ public java.lang.String getParent() {
+ return parent;
}
/**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
+ * Required. The parent resource's name of the ServiceConnectionMap. ex.
+ * projects/123/locations/us-east1
*/
- public Delete setEtag(java.lang.String etag) {
- this.etag = etag;
+ public Create setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
+ }
+ this.parent = parent;
return this;
}
@@ -13817,7 +13713,7 @@ public Delete setEtag(java.lang.String etag) {
* Optional. An optional request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the request if it
* has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
+ * since the first request. For example, consider a situation where you make an initial
* request and the request times out. If you make the request again with the same request
* ID, the server can check if original operation with the same request ID was received,
* and if so, will ignore the second request. This prevents clients from accidentally
@@ -13829,7 +13725,7 @@ public Delete setEtag(java.lang.String etag) {
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes after the first request. For
+ completed. The server will guarantee that for at least 60 minutes since the first request. For
example, consider a situation where you make an initial request and the request times out. If you
make the request again with the same request ID, the server can check if original operation with
the same request ID was received, and if so, will ignore the second request. This prevents clients
@@ -13844,41 +13740,69 @@ public java.lang.String getRequestId() {
* Optional. An optional request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the request if it
* has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
+ * since the first request. For example, consider a situation where you make an initial
* request and the request times out. If you make the request again with the same request
* ID, the server can check if original operation with the same request ID was received,
* and if so, will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the exception
* that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
- public Delete setRequestId(java.lang.String requestId) {
+ public Create setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
+ /**
+ * Optional. Resource ID (i.e. 'foo' in
+ * '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
+ * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
+ * provided, one will be generated.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceConnectionMapId;
+
+ /** Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
+ https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one
+ will be generated.
+ */
+ public java.lang.String getServiceConnectionMapId() {
+ return serviceConnectionMapId;
+ }
+
+ /**
+ * Optional. Resource ID (i.e. 'foo' in
+ * '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See
+ * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
+ * provided, one will be generated.
+ */
+ public Create setServiceConnectionMapId(java.lang.String serviceConnectionMapId) {
+ this.serviceConnectionMapId = serviceConnectionMapId;
+ return this;
+ }
+
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
}
}
/**
- * Gets details of a single ServiceConnectionMap.
+ * Deletes a single ServiceConnectionMap.
*
- * Create a request for the method "serviceConnectionMaps.get".
+ * Create a request for the method "serviceConnectionMaps.delete".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. Name of the ServiceConnectionMap to get.
+ * @param name Required. The name of the ServiceConnectionMap to delete.
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class Get extends NetworkconnectivityRequest {
+ public class Delete extends NetworkconnectivityRequest {
private static final String REST_PATH = "v1/{+name}";
@@ -13886,21 +13810,21 @@ public class Get extends NetworkconnectivityRequest {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
+ * operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Name of the ServiceConnectionMap to get.
+ * @param name Required. The name of the ServiceConnectionMap to delete.
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap.class);
+ protected Delete(java.lang.String name) {
+ super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -13910,82 +13834,72 @@ protected Get(java.lang.String name) {
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Name of the ServiceConnectionMap to get. */
+ /** Required. The name of the ServiceConnectionMap to delete. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Name of the ServiceConnectionMap to get.
+ /** Required. The name of the ServiceConnectionMap to delete.
*/
public java.lang.String getName() {
return name;
}
- /** Required. Name of the ServiceConnectionMap to get. */
- public Get setName(java.lang.String name) {
+ /** Required. The name of the ServiceConnectionMap to delete. */
+ public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -13995,56 +13909,122 @@ public Get setName(java.lang.String name) {
return this;
}
+ /**
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
+ ensure the client has an up-to-date value before proceeding.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ public Delete setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
+ must retry your request, the server will know to ignore the request if it has already been
+ completed. The server will guarantee that for at least 60 minutes after the first request. For
+ example, consider a situation where you make an initial request and the request times out. If you
+ make the request again with the same request ID, the server can check if original operation with
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
}
}
/**
- * Lists ServiceConnectionMaps in a given project and location.
+ * Gets details of a single ServiceConnectionMap.
*
- * Create a request for the method "serviceConnectionMaps.list".
+ * Create a request for the method "serviceConnectionMaps.get".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @param name Required. Name of the ServiceConnectionMap to get.
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class List extends NetworkconnectivityRequest {
+ public class Get extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/serviceConnectionMaps";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
/**
- * Lists ServiceConnectionMaps in a given project and location.
+ * Gets details of a single ServiceConnectionMap.
*
- * Create a request for the method "serviceConnectionMaps.list".
+ * Create a request for the method "serviceConnectionMaps.get".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
* {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @param name Required. Name of the ServiceConnectionMap to get.
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionMapsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected Get(java.lang.String name) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
}
}
@@ -14059,367 +14039,1005 @@ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws
}
@Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
+ /** Required. Name of the ServiceConnectionMap to get. */
@com.google.api.client.util.Key
- private java.lang.String parent;
+ private java.lang.String name;
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1
+ /** Required. Name of the ServiceConnectionMap to get.
*/
- public java.lang.String getParent() {
- return parent;
+ public java.lang.String getName() {
+ return name;
}
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
- public List setParent(java.lang.String parent) {
+ /** Required. Name of the ServiceConnectionMap to get. */
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
}
- this.parent = parent;
+ this.name = name;
return this;
}
- /** A filter expression that filters the results listed in the response. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** A filter expression that filters the results listed in the response.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** A filter expression that filters the results listed in the response. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /** Sort the results by a certain order. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Sort the results by a certain order.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
-
- /** Sort the results by a certain order. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
-
- /** The maximum number of results per page that should be returned. */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** The maximum number of results per page that should be returned.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /** The maximum number of results per page that should be returned. */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /** The page token. */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** The page token.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /** The page token. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Updates the parameters of a single ServiceConnectionMap.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "serviceConnectionMaps.patch".
+ * Create a request for the method "serviceConnectionMaps.getIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param name Immutable. The name of a ServiceConnectionMap. Format:
- * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
- * See: https://google.aip.dev/122#fields-representing-resource-names
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Patch extends NetworkconnectivityRequest {
+ public class GetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
/**
- * Updates the parameters of a single ServiceConnectionMap.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "serviceConnectionMaps.patch".
+ * Create a request for the method "serviceConnectionMaps.getIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
+ * any optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
* operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Immutable. The name of a ServiceConnectionMap. Format:
- * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
- * See: https://google.aip.dev/122#fields-representing-resource-names
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) {
- super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Immutable. The name of a ServiceConnectionMap. Format:
- * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
- * See: https://google.aip.dev/122#fields-representing-resource-names
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Immutable. The name of a ServiceConnectionMap. Format:
- projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See:
- https://google.aip.dev/122#fields-representing-resource-names
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Immutable. The name of a ServiceConnectionMap. Format:
- * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
- * See: https://google.aip.dev/122#fields-representing-resource-names
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Patch setName(java.lang.String name) {
+ public GetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- @com.google.api.client.util.Key
- private java.lang.String requestId;
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public Patch setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
+ return this;
+ }
+
+ @Override
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists ServiceConnectionMaps in a given project and location.
+ *
+ * Create a request for the method "serviceConnectionMaps.list".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @return the request
+ */
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends NetworkconnectivityRequest {
+
+ private static final String REST_PATH = "v1/{+parent}/serviceConnectionMaps";
+
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+
+ /**
+ * Lists ServiceConnectionMaps in a given project and location.
+ *
+ * Create a request for the method "serviceConnectionMaps.list".
+ *
+ * This request holds the parameters needed by the the networkconnectivity server. After setting
+ * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionMapsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
+
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1
+ */
+ public java.lang.String getParent() {
+ return parent;
+ }
+
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
+ }
+
+ /** A filter expression that filters the results listed in the response. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters the results listed in the response.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /** A filter expression that filters the results listed in the response. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /** Sort the results by a certain order. */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sort the results by a certain order.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /** Sort the results by a certain order. */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /** The maximum number of results per page that should be returned. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** The maximum number of results per page that should be returned.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /** The maximum number of results per page that should be returned. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /** The page token. */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** The page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /** The page token. */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Updates the parameters of a single ServiceConnectionMap.
+ *
+ * Create a request for the method "serviceConnectionMaps.patch".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ *
+ * @param name Immutable. The name of a ServiceConnectionMap. Format:
+ * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
+ * See: https://google.aip.dev/122#fields-representing-resource-names
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @return the request
+ */
+ public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Patch extends NetworkconnectivityRequest {
+
+ private static final String REST_PATH = "v1/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+
+ /**
+ * Updates the parameters of a single ServiceConnectionMap.
+ *
+ * Create a request for the method "serviceConnectionMaps.patch".
+ *
+ * This request holds the parameters needed by the the networkconnectivity server. After setting
+ * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
+ * operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Immutable. The name of a ServiceConnectionMap. Format:
+ * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
+ * See: https://google.aip.dev/122#fields-representing-resource-names
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap}
+ * @since 1.13
+ */
+ protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionMap content) {
+ super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ }
+
+ @Override
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
+ }
+
+ @Override
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
+ }
+
+ @Override
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
+ }
+
+ @Override
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
+ }
+
+ @Override
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Immutable. The name of a ServiceConnectionMap. Format:
+ * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
+ * See: https://google.aip.dev/122#fields-representing-resource-names
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Immutable. The name of a ServiceConnectionMap. Format:
+ projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See:
+ https://google.aip.dev/122#fields-representing-resource-names
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Immutable. The name of a ServiceConnectionMap. Format:
+ * projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map}
+ * See: https://google.aip.dev/122#fields-representing-resource-names
+ */
+ public Patch setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * since the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
+ must retry your request, the server will know to ignore the request if it has already been
+ completed. The server will guarantee that for at least 60 minutes since the first request. For
+ example, consider a situation where you make an initial request and the request times out. If you
+ make the request again with the same request ID, the server can check if original operation with
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * since the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ */
+ public Patch setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /**
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * ServiceConnectionMap resource by the update. The fields specified in the update_mask
+ * are relative to the resource, not the full request. A field will be overwritten if it
+ * is in the mask. If the user does not provide a mask then all fields will be
+ * overwritten.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap
+ resource by the update. The fields specified in the update_mask are relative to the resource, not
+ the full request. A field will be overwritten if it is in the mask. If the user does not provide a
+ mask then all fields will be overwritten.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /**
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * ServiceConnectionMap resource by the update. The fields specified in the update_mask
+ * are relative to the resource, not the full request. A field will be overwritten if it
+ * is in the mask. If the user does not provide a mask then all fields will be
+ * overwritten.
+ */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
+ @Override
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+ *
+ * Create a request for the method "serviceConnectionMaps.setIamPolicy".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
+ * @return the request
+ */
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
+ initialize(result);
+ return result;
+ }
+
+ public class SetIamPolicy extends NetworkconnectivityRequest {
+
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
+
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+
+ /**
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+ *
+ * Create a request for the method "serviceConnectionMaps.setIamPolicy".
+ *
+ * This request holds the parameters needed by the the networkconnectivity server. After setting
+ * any optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
+ * @since 1.13
+ */
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ }
+
+ @Override
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
+ }
+
+ @Override
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
+ }
+
+ @Override
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
+ }
+
+ @Override
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
+ }
+
+ @Override
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resource;
+
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
+ */
+ public java.lang.String getResource() {
+ return resource;
+ }
+
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public SetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ this.resource = resource;
+ return this;
+ }
+
+ @Override
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
+ *
+ * Create a request for the method "serviceConnectionMaps.testIamPermissions".
+ *
+ * This request holds the parameters needed by the networkconnectivity server. After setting any
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
+ * @return the request
+ */
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
+ initialize(result);
+ return result;
+ }
+
+ public class TestIamPermissions extends NetworkconnectivityRequest {
+
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
+
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+
+ /**
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
+ *
+ * Create a request for the method "serviceConnectionMaps.testIamPermissions".
+ *
+ * This request holds the parameters needed by the the networkconnectivity server. After setting
+ * any optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the
+ * remote operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.ser
+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
+ *
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
+ * @since 1.13
+ */
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ }
+
+ @Override
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
+ }
+
+ @Override
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
+ }
+
+ @Override
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
+ }
+
+ @Override
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
+ }
+
+ @Override
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the
- * ServiceConnectionMap resource by the update. The fields specified in the update_mask
- * are relative to the resource, not the full request. A field will be overwritten if it
- * is in the mask. If the user does not provide a mask then all fields will be
- * overwritten.
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String resource;
- /** Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap
- resource by the update. The fields specified in the update_mask are relative to the resource, not
- the full request. A field will be overwritten if it is in the mask. If the user does not provide a
- mask then all fields will be overwritten.
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the
- * ServiceConnectionMap resource by the update. The fields specified in the update_mask
- * are relative to the resource, not the full request. A field will be overwritten if it
- * is in the mask. If the user does not provide a mask then all fields will be
- * overwritten.
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ public TestIamPermissions setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionMaps/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
}
@@ -15004,564 +15622,315 @@ public Get setAccessToken(java.lang.String accessToken) {
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. Name of the ServiceConnectionPolicy to get. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Name of the ServiceConnectionPolicy to get.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. Name of the ServiceConnectionPolicy to get. */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Lists ServiceConnectionPolicies in a given project and location.
- *
- * Create a request for the method "serviceConnectionPolicies.list".
- *
- * This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
- }
-
- public class List extends NetworkconnectivityRequest {
-
- private static final String REST_PATH = "v1/{+parent}/serviceConnectionPolicies";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
-
- /**
- * Lists ServiceConnectionPolicies in a given project and location.
- *
- * Create a request for the method "serviceConnectionPolicies.list".
- *
- * This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionPoliciesResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
-
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
-
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
-
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
-
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
- /** A filter expression that filters the results listed in the response. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** A filter expression that filters the results listed in the response.
- */
- public java.lang.String getFilter() {
- return filter;
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
- /** A filter expression that filters the results listed in the response. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
- /** Sort the results by a certain order. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
- /** Sort the results by a certain order.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
- /** Sort the results by a certain order. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
- /** The maximum number of results per page that should be returned. */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
- /** The maximum number of results per page that should be returned.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
- /** The maximum number of results per page that should be returned. */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /** The page token. */
+ /** Required. Name of the ServiceConnectionPolicy to get. */
@com.google.api.client.util.Key
- private java.lang.String pageToken;
+ private java.lang.String name;
- /** The page token.
+ /** Required. Name of the ServiceConnectionPolicy to get.
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.String getName() {
+ return name;
}
- /** The page token. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ /** Required. Name of the ServiceConnectionPolicy to get. */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
+ }
+ this.name = name;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Updates the parameters of a single ServiceConnectionPolicy.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "serviceConnectionPolicies.patch".
+ * Create a request for the method "serviceConnectionPolicies.getIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param name Immutable. The name of a ServiceConnectionPolicy. Format:
- * projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_poli
- * cy} See: https://google.aip.dev/122#fields-representing-resource-names
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Patch extends NetworkconnectivityRequest {
+ public class GetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
/**
- * Updates the parameters of a single ServiceConnectionPolicy.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "serviceConnectionPolicies.patch".
+ * Create a request for the method "serviceConnectionPolicies.getIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
+ * any optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
* operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Immutable. The name of a ServiceConnectionPolicy. Format:
- * projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_poli
- * cy} See: https://google.aip.dev/122#fields-representing-resource-names
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy content) {
- super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
}
- /**
- * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/
- * {location}/serviceConnectionPolicies/{service_connection_policy} See:
- * https://google.aip.dev/122#fields-representing-resource-names
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Immutable. The name of a ServiceConnectionPolicy. Format:
- projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See:
- https://google.aip.dev/122#fields-representing-resource-names
- */
- public java.lang.String getName() {
- return name;
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
}
- /**
- * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/
- * {location}/serviceConnectionPolicies/{service_connection_policy} See:
- * https://google.aip.dev/122#fields-representing-resource-names
- */
- public Patch setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
- }
- this.name = name;
- return this;
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String requestId;
+ private java.lang.String resource;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ public java.lang.String getResource() {
+ return resource;
+ }
+
+ /**
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Patch setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ public GetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the
- * ServiceConnectionPolicy resource by the update. The fields specified in the update_mask
- * are relative to the resource, not the full request. A field will be overwritten if it
- * is in the mask. If the user does not provide a mask then all fields will be
- * overwritten.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- @com.google.api.client.util.Key
- private String updateMask;
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
- /** Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy
- resource by the update. The fields specified in the update_mask are relative to the resource, not
- the full request. A field will be overwritten if it is in the mask. If the user does not provide a
- mask then all fields will be overwritten.
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the
- * ServiceConnectionPolicy resource by the update. The fields specified in the update_mask
- * are relative to the resource, not the full request. A field will be overwritten if it
- * is in the mask. If the user does not provide a mask then all fields will be
- * overwritten.
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the ServiceConnectionTokens collection.
- *
- * The typical use is:
- *
- * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.ServiceConnectionTokens.List request = networkconnectivity.serviceConnectionTokens().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public ServiceConnectionTokens serviceConnectionTokens() {
- return new ServiceConnectionTokens();
- }
-
- /**
- * The "serviceConnectionTokens" collection of methods.
- */
- public class ServiceConnectionTokens {
-
/**
- * Creates a new ServiceConnectionToken in a given project and location.
+ * Lists ServiceConnectionPolicies in a given project and location.
*
- * Create a request for the method "serviceConnectionTokens.create".
+ * Create a request for the method "serviceConnectionPolicies.list".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
- * east1
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken}
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Create extends NetworkconnectivityRequest {
+ public class List extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/serviceConnectionTokens";
+ private static final String REST_PATH = "v1/{+parent}/serviceConnectionPolicies";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Creates a new ServiceConnectionToken in a given project and location.
+ * Lists ServiceConnectionPolicies in a given project and location.
*
- * Create a request for the method "serviceConnectionTokens.create".
+ * Create a request for the method "serviceConnectionPolicies.list".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Create#execute()} method to invoke the remote
- * operation. {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
- * east1
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken}
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken content) {
- super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ protected List(java.lang.String parent) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionPoliciesResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -15571,79 +15940,82 @@ protected Create(java.lang.String parent, com.google.api.services.networkconnect
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
}
- /**
- * Required. The parent resource's name of the ServiceConnectionToken. ex.
- * projects/123/locations/us-east1
- */
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
- east1
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1
*/
public java.lang.String getParent() {
return parent;
}
- /**
- * Required. The parent resource's name of the ServiceConnectionToken. ex.
- * projects/123/locations/us-east1
- */
- public Create setParent(java.lang.String parent) {
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
"Parameter parent must conform to the pattern " +
@@ -15653,234 +16025,220 @@ public Create setParent(java.lang.String parent) {
return this;
}
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** A filter expression that filters the results listed in the response. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters the results listed in the response.
*/
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /** A filter expression that filters the results listed in the response. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /** Sort the results by a certain order. */
@com.google.api.client.util.Key
- private java.lang.String requestId;
+ private java.lang.String orderBy;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Sort the results by a certain order.
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.String getOrderBy() {
+ return orderBy;
}
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Sort the results by a certain order. */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /** The maximum number of results per page that should be returned. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** The maximum number of results per page that should be returned.
*/
- public Create setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /** The maximum number of results per page that should be returned. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
return this;
}
- /**
- * Optional. Resource ID (i.e. 'foo' in
- * '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See
- * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
- * provided, one will be generated.
- */
+ /** The page token. */
@com.google.api.client.util.Key
- private java.lang.String serviceConnectionTokenId;
+ private java.lang.String pageToken;
- /** Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo')
- See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided,
- one will be generated.
+ /** The page token.
*/
- public java.lang.String getServiceConnectionTokenId() {
- return serviceConnectionTokenId;
+ public java.lang.String getPageToken() {
+ return pageToken;
}
- /**
- * Optional. Resource ID (i.e. 'foo' in
- * '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See
- * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
- * provided, one will be generated.
- */
- public Create setServiceConnectionTokenId(java.lang.String serviceConnectionTokenId) {
- this.serviceConnectionTokenId = serviceConnectionTokenId;
+ /** The page token. */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Deletes a single ServiceConnectionToken.
+ * Updates the parameters of a single ServiceConnectionPolicy.
*
- * Create a request for the method "serviceConnectionTokens.delete".
+ * Create a request for the method "serviceConnectionPolicies.patch".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
- * @param name Required. The name of the ServiceConnectionToken to delete.
+ * @param name Immutable. The name of a ServiceConnectionPolicy. Format:
+ * projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_poli
+ * cy} See: https://google.aip.dev/122#fields-representing-resource-names
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy}
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
initialize(result);
return result;
}
- public class Delete extends NetworkconnectivityRequest {
+ public class Patch extends NetworkconnectivityRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
/**
- * Deletes a single ServiceConnectionToken.
+ * Updates the parameters of a single ServiceConnectionPolicy.
*
- * Create a request for the method "serviceConnectionTokens.delete".
+ * Create a request for the method "serviceConnectionPolicies.patch".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
+ * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
* operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The name of the ServiceConnectionToken to delete.
+ * @param name Immutable. The name of a ServiceConnectionPolicy. Format:
+ * projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_poli
+ * cy} See: https://google.aip.dev/122#fields-representing-resource-names
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy}
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionPolicy content) {
+ super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The name of the ServiceConnectionToken to delete. */
+ /**
+ * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/
+ * {location}/serviceConnectionPolicies/{service_connection_policy} See:
+ * https://google.aip.dev/122#fields-representing-resource-names
+ */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The name of the ServiceConnectionToken to delete.
+ /** Immutable. The name of a ServiceConnectionPolicy. Format:
+ projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See:
+ https://google.aip.dev/122#fields-representing-resource-names
*/
public java.lang.String getName() {
return name;
}
- /** Required. The name of the ServiceConnectionToken to delete. */
- public Delete setName(java.lang.String name) {
+ /**
+ * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/
+ * {location}/serviceConnectionPolicies/{service_connection_policy} See:
+ * https://google.aip.dev/122#fields-representing-resource-names
+ */
+ public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
this.name = name;
return this;
}
- /**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
- */
- @com.google.api.client.util.Key
- private java.lang.String etag;
-
- /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
- ensure the client has an up-to-date value before proceeding.
- */
- public java.lang.String getEtag() {
- return etag;
- }
-
- /**
- * Optional. The etag is computed by the server, and may be sent on update and delete
- * requests to ensure the client has an up-to-date value before proceeding.
- */
- public Delete setEtag(java.lang.String etag) {
- this.etag = etag;
- return this;
- }
-
/**
* Optional. An optional request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the request if it
* has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
+ * since the first request. For example, consider a situation where you make an initial
* request and the request times out. If you make the request again with the same request
* ID, the server can check if original operation with the same request ID was received,
* and if so, will ignore the second request. This prevents clients from accidentally
@@ -15892,7 +16250,7 @@ public Delete setEtag(java.lang.String etag) {
/** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes after the first request. For
+ completed. The server will guarantee that for at least 60 minutes since the first request. For
example, consider a situation where you make an initial request and the request times out. If you
make the request again with the same request ID, the server can check if original operation with
the same request ID was received, and if so, will ignore the second request. This prevents clients
@@ -15907,400 +16265,390 @@ public java.lang.String getRequestId() {
* Optional. An optional request ID to identify requests. Specify a unique request ID so
* that if you must retry your request, the server will know to ignore the request if it
* has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
+ * since the first request. For example, consider a situation where you make an initial
* request and the request times out. If you make the request again with the same request
* ID, the server can check if original operation with the same request ID was received,
* and if so, will ignore the second request. This prevents clients from accidentally
* creating duplicate commitments. The request ID must be a valid UUID with the exception
* that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
- public Delete setRequestId(java.lang.String requestId) {
+ public Patch setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
+ /**
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * ServiceConnectionPolicy resource by the update. The fields specified in the update_mask
+ * are relative to the resource, not the full request. A field will be overwritten if it
+ * is in the mask. If the user does not provide a mask then all fields will be
+ * overwritten.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy
+ resource by the update. The fields specified in the update_mask are relative to the resource, not
+ the full request. A field will be overwritten if it is in the mask. If the user does not provide a
+ mask then all fields will be overwritten.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /**
+ * Optional. Field mask is used to specify the fields to be overwritten in the
+ * ServiceConnectionPolicy resource by the update. The fields specified in the update_mask
+ * are relative to the resource, not the full request. A field will be overwritten if it
+ * is in the mask. If the user does not provide a mask then all fields will be
+ * overwritten.
+ */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
}
}
/**
- * Gets details of a single ServiceConnectionToken.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "serviceConnectionTokens.get".
+ * Create a request for the method "serviceConnectionPolicies.setIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param name Required. Name of the ServiceConnectionToken to get.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
initialize(result);
return result;
}
- public class Get extends NetworkconnectivityRequest {
+ public class SetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
/**
- * Gets details of a single ServiceConnectionToken.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "serviceConnectionTokens.get".
+ * Create a request for the method "serviceConnectionPolicies.setIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Name of the ServiceConnectionToken to get.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Name of the ServiceConnectionToken to get. */
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String resource;
- /** Required. Name of the ServiceConnectionToken to get.
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getResource() {
+ return resource;
}
- /** Required. Name of the ServiceConnectionToken to get. */
- public Get setName(java.lang.String name) {
+ /**
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public SetIamPolicy setResource(java.lang.String resource) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
- this.name = name;
+ this.resource = resource;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Lists ServiceConnectionTokens in a given project and location.
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "serviceConnectionTokens.list".
+ * Create a request for the method "serviceConnectionPolicies.testIamPermissions".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
initialize(result);
return result;
}
- public class List extends NetworkconnectivityRequest {
+ public class TestIamPermissions extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/serviceConnectionTokens";
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
/**
- * Lists ServiceConnectionTokens in a given project and location.
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "serviceConnectionTokens.list".
+ * Create a request for the method "serviceConnectionPolicies.testIamPermissions".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the
+ * remote operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.ser
+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
- * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionTokensResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
-
- /** A filter expression that filters the results listed in the response. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** A filter expression that filters the results listed in the response.
- */
- public java.lang.String getFilter() {
- return filter;
- }
-
- /** A filter expression that filters the results listed in the response. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
-
- /** Sort the results by a certain order. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
-
- /** Sort the results by a certain order.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
- /** Sort the results by a certain order. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ @Override
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
- /** The maximum number of results per page that should be returned. */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ @Override
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ }
- /** The maximum number of results per page that should be returned.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
+ @Override
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
- /** The maximum number of results per page that should be returned. */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
+ @Override
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
- /** The page token. */
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
@com.google.api.client.util.Key
- private java.lang.String pageToken;
+ private java.lang.String resource;
- /** The page token.
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getPageToken() {
- return pageToken;
+ public java.lang.String getResource() {
+ return resource;
}
- /** The page token. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ /**
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
+ */
+ public TestIamPermissions setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionPolicies/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
}
}
/**
- * An accessor for creating requests from the Spokes collection.
+ * An accessor for creating requests from the ServiceConnectionTokens collection.
*
* The typical use is:
*
* {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.Spokes.List request = networkconnectivity.spokes().list(parameters ...)}
+ * {@code Networkconnectivity.ServiceConnectionTokens.List request = networkconnectivity.serviceConnectionTokens().list(parameters ...)}
*
*
* @return the resource collection
*/
- public Spokes spokes() {
- return new Spokes();
+ public ServiceConnectionTokens serviceConnectionTokens() {
+ return new ServiceConnectionTokens();
}
/**
- * The "spokes" collection of methods.
+ * The "serviceConnectionTokens" collection of methods.
*/
- public class Spokes {
+ public class ServiceConnectionTokens {
/**
- * Creates a Network Connectivity Center spoke.
+ * Creates a new ServiceConnectionToken in a given project and location.
*
- * Create a request for the method "spokes.create".
+ * Create a request for the method "serviceConnectionTokens.create".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
* optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent resource.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
+ * @param parent Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
+ * east1
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken}
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Spoke content) throws java.io.IOException {
+ public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken content) throws java.io.IOException {
Create result = new Create(parent, content);
initialize(result);
return result;
@@ -16308,15 +16656,15 @@ public Create create(java.lang.String parent, com.google.api.services.networkcon
public class Create extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/spokes";
+ private static final String REST_PATH = "v1/{+parent}/serviceConnectionTokens";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Creates a Network Connectivity Center spoke.
+ * Creates a new ServiceConnectionToken in a given project and location.
*
- * Create a request for the method "spokes.create".
+ * Create a request for the method "serviceConnectionTokens.create".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
* any optional parameters, call the {@link Create#execute()} method to invoke the remote
@@ -16324,11 +16672,12 @@ public class Create extends NetworkconnectivityRequest
*
- * @param parent Required. The parent resource.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
+ * @param parent Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
+ * east1
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken}
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Spoke content) {
+ protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken content) {
super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
@@ -16393,17 +16742,24 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) {
return (Create) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The parent resource. */
+ /**
+ * Required. The parent resource's name of the ServiceConnectionToken. ex.
+ * projects/123/locations/us-east1
+ */
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The parent resource.
+ /** Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-
+ east1
*/
public java.lang.String getParent() {
return parent;
}
- /** Required. The parent resource. */
+ /**
+ * Required. The parent resource's name of the ServiceConnectionToken. ex.
+ * projects/123/locations/us-east1
+ */
public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -16415,64 +16771,73 @@ public Create setParent(java.lang.String parent) {
}
/**
- * Optional. A request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server knows to ignore the request if it has already been
- * completed. The server guarantees that a request doesn't result in creation of duplicate
- * commitments for at least 60 minutes. For example, consider a situation where you make
- * an initial request and the request times out. If you make the request again with the
- * same request ID, the server can check to see whether the original operation was
- * received. If it was, the server ignores the second request. This behavior prevents
- * clients from mistakenly creating duplicate commitments. The request ID must be a valid
- * UUID, with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * since the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@com.google.api.client.util.Key
private java.lang.String requestId;
- /** Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry
- your request, the server knows to ignore the request if it has already been completed. The server
- guarantees that a request doesn't result in creation of duplicate commitments for at least 60
- minutes. For example, consider a situation where you make an initial request and the request times
- out. If you make the request again with the same request ID, the server can check to see whether
- the original operation was received. If it was, the server ignores the second request. This
- behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
- valid UUID, with the exception that zero UUID is not supported
- (00000000-0000-0000-0000-000000000000).
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
+ must retry your request, the server will know to ignore the request if it has already been
+ completed. The server will guarantee that for at least 60 minutes since the first request. For
+ example, consider a situation where you make an initial request and the request times out. If you
+ make the request again with the same request ID, the server can check if original operation with
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
public java.lang.String getRequestId() {
return requestId;
}
/**
- * Optional. A request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server knows to ignore the request if it has already been
- * completed. The server guarantees that a request doesn't result in creation of duplicate
- * commitments for at least 60 minutes. For example, consider a situation where you make
- * an initial request and the request times out. If you make the request again with the
- * same request ID, the server can check to see whether the original operation was
- * received. If it was, the server ignores the second request. This behavior prevents
- * clients from mistakenly creating duplicate commitments. The request ID must be a valid
- * UUID, with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * since the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
public Create setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
- /** Required. Unique id for the spoke to create. */
+ /**
+ * Optional. Resource ID (i.e. 'foo' in
+ * '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See
+ * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
+ * provided, one will be generated.
+ */
@com.google.api.client.util.Key
- private java.lang.String spokeId;
+ private java.lang.String serviceConnectionTokenId;
- /** Required. Unique id for the spoke to create.
+ /** Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo')
+ See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided,
+ one will be generated.
*/
- public java.lang.String getSpokeId() {
- return spokeId;
+ public java.lang.String getServiceConnectionTokenId() {
+ return serviceConnectionTokenId;
}
- /** Required. Unique id for the spoke to create. */
- public Create setSpokeId(java.lang.String spokeId) {
- this.spokeId = spokeId;
+ /**
+ * Optional. Resource ID (i.e. 'foo' in
+ * '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See
+ * https://google.aip.dev/122#resource-id-segments Unique per location. If one is not
+ * provided, one will be generated.
+ */
+ public Create setServiceConnectionTokenId(java.lang.String serviceConnectionTokenId) {
+ this.serviceConnectionTokenId = serviceConnectionTokenId;
return this;
}
@@ -16482,14 +16847,14 @@ public Create set(String parameterName, Object value) {
}
}
/**
- * Deletes a Network Connectivity Center spoke.
+ * Deletes a single ServiceConnectionToken.
*
- * Create a request for the method "spokes.delete".
+ * Create a request for the method "serviceConnectionTokens.delete".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
* optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. The name of the spoke to delete.
+ * @param name Required. The name of the ServiceConnectionToken to delete.
* @return the request
*/
public Delete delete(java.lang.String name) throws java.io.IOException {
@@ -16503,12 +16868,12 @@ public class Delete extends NetworkconnectivityRequest
*
- * @param name Required. The name of the spoke to delete.
+ * @param name Required. The name of the ServiceConnectionToken to delete.
* @since 1.13
*/
protected Delete(java.lang.String name) {
@@ -16525,7 +16890,7 @@ protected Delete(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
}
}
@@ -16584,67 +16949,87 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
return (Delete) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The name of the spoke to delete. */
+ /** Required. The name of the ServiceConnectionToken to delete. */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. The name of the spoke to delete.
+ /** Required. The name of the ServiceConnectionToken to delete.
*/
public java.lang.String getName() {
return name;
}
- /** Required. The name of the spoke to delete. */
+ /** Required. The name of the ServiceConnectionToken to delete. */
public Delete setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
}
this.name = name;
return this;
}
/**
- * Optional. A request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server knows to ignore the request if it has already been
- * completed. The server guarantees that a request doesn't result in creation of duplicate
- * commitments for at least 60 minutes. For example, consider a situation where you make
- * an initial request and the request times out. If you make the request again with the
- * same request ID, the server can check to see whether the original operation was
- * received. If it was, the server ignores the second request. This behavior prevents
- * clients from mistakenly creating duplicate commitments. The request ID must be a valid
- * UUID, with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** Optional. The etag is computed by the server, and may be sent on update and delete requests to
+ ensure the client has an up-to-date value before proceeding.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * Optional. The etag is computed by the server, and may be sent on update and delete
+ * requests to ensure the client has an up-to-date value before proceeding.
+ */
+ public Delete setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
@com.google.api.client.util.Key
private java.lang.String requestId;
- /** Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry
- your request, the server knows to ignore the request if it has already been completed. The server
- guarantees that a request doesn't result in creation of duplicate commitments for at least 60
- minutes. For example, consider a situation where you make an initial request and the request times
- out. If you make the request again with the same request ID, the server can check to see whether
- the original operation was received. If it was, the server ignores the second request. This
- behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
- valid UUID, with the exception that zero UUID is not supported
- (00000000-0000-0000-0000-000000000000).
+ /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
+ must retry your request, the server will know to ignore the request if it has already been
+ completed. The server will guarantee that for at least 60 minutes after the first request. For
+ example, consider a situation where you make an initial request and the request times out. If you
+ make the request again with the same request ID, the server can check if original operation with
+ the same request ID was received, and if so, will ignore the second request. This prevents clients
+ from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
+ exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
public java.lang.String getRequestId() {
return requestId;
}
/**
- * Optional. A request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server knows to ignore the request if it has already been
- * completed. The server guarantees that a request doesn't result in creation of duplicate
- * commitments for at least 60 minutes. For example, consider a situation where you make
- * an initial request and the request times out. If you make the request again with the
- * same request ID, the server can check to see whether the original operation was
- * received. If it was, the server ignores the second request. This behavior prevents
- * clients from mistakenly creating duplicate commitments. The request ID must be a valid
- * UUID, with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
+ * Optional. An optional request ID to identify requests. Specify a unique request ID so
+ * that if you must retry your request, the server will know to ignore the request if it
+ * has already been completed. The server will guarantee that for at least 60 minutes
+ * after the first request. For example, consider a situation where you make an initial
+ * request and the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID was received,
+ * and if so, will ignore the second request. This prevents clients from accidentally
+ * creating duplicate commitments. The request ID must be a valid UUID with the exception
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
*/
public Delete setRequestId(java.lang.String requestId) {
this.requestId = requestId;
@@ -16657,14 +17042,14 @@ public Delete set(String parameterName, Object value) {
}
}
/**
- * Gets details about a Network Connectivity Center spoke.
+ * Gets details of a single ServiceConnectionToken.
*
- * Create a request for the method "spokes.get".
+ * Create a request for the method "serviceConnectionTokens.get".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
* optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param name Required. The name of the spoke resource.
+ * @param name Required. Name of the ServiceConnectionToken to get.
* @return the request
*/
public Get get(java.lang.String name) throws java.io.IOException {
@@ -16673,17 +17058,17 @@ public Get get(java.lang.String name) throws java.io.IOException {
return result;
}
- public class Get extends NetworkconnectivityRequest {
+ public class Get extends NetworkconnectivityRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
/**
- * Gets details about a Network Connectivity Center spoke.
+ * Gets details of a single ServiceConnectionToken.
*
- * Create a request for the method "spokes.get".
+ * Create a request for the method "serviceConnectionTokens.get".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
* any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
@@ -16691,16 +17076,16 @@ public class Get extends NetworkconnectivityRequest
*
- * @param name Required. The name of the spoke resource.
+ * @param name Required. Name of the ServiceConnectionToken to get.
* @since 1.13
*/
protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Spoke.class);
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ServiceConnectionToken.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
}
}
@@ -16766,243 +17151,44 @@ public Get setUploadType(java.lang.String uploadType) {
@Override
public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. The name of the spoke resource. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The name of the spoke resource.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Required. The name of the spoke resource. */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
- * does not have a policy set.
- *
- * Create a request for the method "spokes.getIamPolicy".
- *
- * This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation.
- *
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @return the request
- */
- public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
- GetIamPolicy result = new GetIamPolicy(resource);
- initialize(result);
- return result;
- }
-
- public class GetIamPolicy extends NetworkconnectivityRequest {
-
- private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
-
- private final java.util.regex.Pattern RESOURCE_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
-
- /**
- * Gets the access control policy for a resource. Returns an empty policy if the resource exists
- * and does not have a policy set.
- *
- * Create a request for the method "spokes.getIamPolicy".
- *
- * This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
- * operation. {@link
- * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @since 1.13
- */
- protected GetIamPolicy(java.lang.String resource) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (GetIamPolicy) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public GetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (GetIamPolicy) super.setAccessToken(accessToken);
- }
-
- @Override
- public GetIamPolicy setAlt(java.lang.String alt) {
- return (GetIamPolicy) super.setAlt(alt);
- }
-
- @Override
- public GetIamPolicy setCallback(java.lang.String callback) {
- return (GetIamPolicy) super.setCallback(callback);
- }
-
- @Override
- public GetIamPolicy setFields(java.lang.String fields) {
- return (GetIamPolicy) super.setFields(fields);
- }
-
- @Override
- public GetIamPolicy setKey(java.lang.String key) {
- return (GetIamPolicy) super.setKey(key);
- }
-
- @Override
- public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (GetIamPolicy) super.setOauthToken(oauthToken);
- }
-
- @Override
- public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (GetIamPolicy) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public GetIamPolicy setUploadType(java.lang.String uploadType) {
- return (GetIamPolicy) super.setUploadType(uploadType);
- }
-
- @Override
- public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- @com.google.api.client.util.Key
- private java.lang.String resource;
-
- /** REQUIRED: The resource for which the policy is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
- */
- public java.lang.String getResource() {
- return resource;
- }
-
- /**
- * REQUIRED: The resource for which the policy is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public GetIamPolicy setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
- }
- this.resource = resource;
- return this;
- }
-
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- @com.google.api.client.util.Key("options.requestedPolicyVersion")
- private java.lang.Integer optionsRequestedPolicyVersion;
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
- /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
- and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
- conditional role bindings must specify version 3. Policies with no conditional role bindings may
- specify any valid value or leave the field unset. The policy in the response might use the policy
- version that you specified, or it might use a lower policy version. For example, if you specify
- version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
- which resources support conditions in their IAM policies, see the [IAM
- documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ /** Required. Name of the ServiceConnectionToken to get. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Name of the ServiceConnectionToken to get.
*/
- public java.lang.Integer getOptionsRequestedPolicyVersion() {
- return optionsRequestedPolicyVersion;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * Optional. The maximum policy version that will be used to format the policy. Valid
- * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
- * for policies with any conditional role bindings must specify version 3. Policies with
- * no conditional role bindings may specify any valid value or leave the field unset. The
- * policy in the response might use the policy version that you specified, or it might use
- * a lower policy version. For example, if you specify version 3, but the policy has no
- * conditional role bindings, the response uses version 1. To learn which resources
- * support conditions in their IAM policies, see the [IAM
- * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
- */
- public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
- this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
+ /** Required. Name of the ServiceConnectionToken to get. */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/serviceConnectionTokens/[^/]+$");
+ }
+ this.name = name;
return this;
}
@Override
- public GetIamPolicy set(String parameterName, Object value) {
- return (GetIamPolicy) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Lists the Network Connectivity Center spokes in a specified project and location.
+ * Lists ServiceConnectionTokens in a given project and location.
*
- * Create a request for the method "spokes.list".
+ * Create a request for the method "serviceConnectionTokens.list".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
* optional parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param parent Required. The parent resource.
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
* @return the request
*/
public List list(java.lang.String parent) throws java.io.IOException {
@@ -17011,17 +17197,17 @@ public List list(java.lang.String parent) throws java.io.IOException {
return result;
}
- public class List extends NetworkconnectivityRequest {
+ public class List extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/spokes";
+ private static final String REST_PATH = "v1/{+parent}/serviceConnectionTokens";
private final java.util.regex.Pattern PARENT_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Lists the Network Connectivity Center spokes in a specified project and location.
+ * Lists ServiceConnectionTokens in a given project and location.
*
- * Create a request for the method "spokes.list".
+ * Create a request for the method "serviceConnectionTokens.list".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
* any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
@@ -17029,11 +17215,11 @@ public class List extends NetworkconnectivityRequest
*
- * @param parent Required. The parent resource.
+ * @param parent Required. The parent resource's name. ex. projects/123/locations/us-east1
* @since 1.13
*/
protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListSpokesResponse.class);
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListServiceConnectionTokensResponse.class);
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -17107,17 +17293,17 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
return (List) super.setUploadProtocol(uploadProtocol);
}
- /** Required. The parent resource. */
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
@com.google.api.client.util.Key
private java.lang.String parent;
- /** Required. The parent resource.
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1
*/
public java.lang.String getParent() {
return parent;
}
- /** Required. The parent resource. */
+ /** Required. The parent resource's name. ex. projects/123/locations/us-east1 */
public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
@@ -17128,17 +17314,17 @@ public List setParent(java.lang.String parent) {
return this;
}
- /** An expression that filters the list of results. */
+ /** A filter expression that filters the results listed in the response. */
@com.google.api.client.util.Key
private java.lang.String filter;
- /** An expression that filters the list of results.
+ /** A filter expression that filters the results listed in the response.
*/
public java.lang.String getFilter() {
return filter;
}
- /** An expression that filters the list of results. */
+ /** A filter expression that filters the results listed in the response. */
public List setFilter(java.lang.String filter) {
this.filter = filter;
return this;
@@ -17160,17 +17346,17 @@ public List setOrderBy(java.lang.String orderBy) {
return this;
}
- /** The maximum number of results to return per page. */
+ /** The maximum number of results per page that should be returned. */
@com.google.api.client.util.Key
private java.lang.Integer pageSize;
- /** The maximum number of results to return per page.
+ /** The maximum number of results per page that should be returned.
*/
public java.lang.Integer getPageSize() {
return pageSize;
}
- /** The maximum number of results to return per page. */
+ /** The maximum number of results per page that should be returned. */
public List setPageSize(java.lang.Integer pageSize) {
this.pageSize = pageSize;
return this;
@@ -17197,138 +17383,151 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
+
+ }
+ /**
+ * An accessor for creating requests from the Spokes collection.
+ *
+ * The typical use is:
+ *
+ * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
+ * {@code Networkconnectivity.Spokes.List request = networkconnectivity.spokes().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Spokes spokes() {
+ return new Spokes();
+ }
+
+ /**
+ * The "spokes" collection of methods.
+ */
+ public class Spokes {
+
/**
- * Updates the parameters of a Network Connectivity Center spoke.
+ * Creates a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.patch".
+ * Create a request for the method "spokes.create".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param name Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
- * `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ * @param parent Required. The parent resource.
* @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Spoke content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Spoke content) throws java.io.IOException {
+ Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class Patch extends NetworkconnectivityRequest {
+ public class Create extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+parent}/spokes";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Updates the parameters of a Network Connectivity Center spoke.
+ * Creates a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.patch".
+ * Create a request for the method "spokes.create".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
+ * any optional parameters, call the {@link Create#execute()} method to invoke the remote
* operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
- * `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ * @param parent Required. The parent resource.
* @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Spoke content) {
- super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Spoke content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
- /**
- * Immutable. The name of the spoke. Spoke names must be unique. They use the following
- * form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
- */
+ /** Required. The parent resource. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String parent;
- /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
- `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ /** Required. The parent resource.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getParent() {
+ return parent;
}
- /**
- * Immutable. The name of the spoke. Spoke names must be unique. They use the following
- * form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
- */
- public Patch setName(java.lang.String name) {
+ /** Required. The parent resource. */
+ public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
- this.name = name;
+ this.parent = parent;
return this;
}
@@ -17373,1281 +17572,1261 @@ public java.lang.String getRequestId() {
* UUID, with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public Patch setRequestId(java.lang.String requestId) {
+ public Create setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
- /**
- * Optional. In the case of an update to an existing spoke, field mask is used to specify
- * the fields to be overwritten. The fields specified in the update_mask are relative to
- * the resource, not the full request. A field is overwritten if it is in the mask. If the
- * user does not provide a mask, then all fields are overwritten.
- */
+ /** Required. Unique id for the spoke to create. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String spokeId;
- /** Optional. In the case of an update to an existing spoke, field mask is used to specify the fields
- to be overwritten. The fields specified in the update_mask are relative to the resource, not the
- full request. A field is overwritten if it is in the mask. If the user does not provide a mask,
- then all fields are overwritten.
+ /** Required. Unique id for the spoke to create.
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.String getSpokeId() {
+ return spokeId;
}
- /**
- * Optional. In the case of an update to an existing spoke, field mask is used to specify
- * the fields to be overwritten. The fields specified in the update_mask are relative to
- * the resource, not the full request. A field is overwritten if it is in the mask. If the
- * user does not provide a mask, then all fields are overwritten.
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ /** Required. Unique id for the spoke to create. */
+ public Create setSpokeId(java.lang.String spokeId) {
+ this.spokeId = spokeId;
return this;
}
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
}
}
/**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+ * Deletes a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.setIamPolicy".
+ * Create a request for the method "spokes.delete".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
- * operation.
+ * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
+ * @param name Required. The name of the spoke to delete.
* @return the request
*/
- public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
- SetIamPolicy result = new SetIamPolicy(resource, content);
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
initialize(result);
return result;
}
- public class SetIamPolicy extends NetworkconnectivityRequest {
+ public class Delete extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
+ private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Sets the access control policy on the specified resource. Replaces any existing policy. Can
- * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
+ * Deletes a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.setIamPolicy".
+ * Create a request for the method "spokes.delete".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
* operation. {@link
- * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
+ * @param name Required. The name of the spoke to delete.
* @since 1.13
*/
- protected SetIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) {
- super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.Policy.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ protected Delete(java.lang.String name) {
+ super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
}
@Override
- public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
- return (SetIamPolicy) super.set$Xgafv($Xgafv);
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public SetIamPolicy setAccessToken(java.lang.String accessToken) {
- return (SetIamPolicy) super.setAccessToken(accessToken);
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public SetIamPolicy setAlt(java.lang.String alt) {
- return (SetIamPolicy) super.setAlt(alt);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public SetIamPolicy setCallback(java.lang.String callback) {
- return (SetIamPolicy) super.setCallback(callback);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public SetIamPolicy setFields(java.lang.String fields) {
- return (SetIamPolicy) super.setFields(fields);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public SetIamPolicy setKey(java.lang.String key) {
- return (SetIamPolicy) super.setKey(key);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
- return (SetIamPolicy) super.setOauthToken(oauthToken);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
- return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public SetIamPolicy setUploadType(java.lang.String uploadType) {
- return (SetIamPolicy) super.setUploadType(uploadType);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
- return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. The name of the spoke to delete. */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. The name of the spoke to delete.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /** Required. The name of the spoke to delete. */
+ public Delete setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ }
+ this.name = name;
+ return this;
}
/**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server knows to ignore the request if it has already been
+ * completed. The server guarantees that a request doesn't result in creation of duplicate
+ * commitments for at least 60 minutes. For example, consider a situation where you make
+ * an initial request and the request times out. If you make the request again with the
+ * same request ID, the server can check to see whether the original operation was
+ * received. If it was, the server ignores the second request. This behavior prevents
+ * clients from mistakenly creating duplicate commitments. The request ID must be a valid
+ * UUID, with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
*/
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String requestId;
- /** REQUIRED: The resource for which the policy is being specified. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
+ /** Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server knows to ignore the request if it has already been completed. The server
+ guarantees that a request doesn't result in creation of duplicate commitments for at least 60
+ minutes. For example, consider a situation where you make an initial request and the request times
+ out. If you make the request again with the same request ID, the server can check to see whether
+ the original operation was received. If it was, the server ignores the second request. This
+ behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
+ valid UUID, with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getRequestId() {
+ return requestId;
}
/**
- * REQUIRED: The resource for which the policy is being specified. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server knows to ignore the request if it has already been
+ * completed. The server guarantees that a request doesn't result in creation of duplicate
+ * commitments for at least 60 minutes. For example, consider a situation where you make
+ * an initial request and the request times out. If you make the request again with the
+ * same request ID, the server can check to see whether the original operation was
+ * received. If it was, the server ignores the second request. This behavior prevents
+ * clients from mistakenly creating duplicate commitments. The request ID must be a valid
+ * UUID, with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
*/
- public SetIamPolicy setResource(java.lang.String resource) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
- }
- this.resource = resource;
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
return this;
}
@Override
- public SetIamPolicy set(String parameterName, Object value) {
- return (SetIamPolicy) super.set(parameterName, value);
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
}
}
/**
- * Returns permissions that a caller has on the specified resource. If the resource does not exist,
- * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
- * designed to be used for building permission-aware UIs and command-line tools, not for
- * authorization checking. This operation may "fail open" without warning.
+ * Gets details about a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.testIamPermissions".
+ * Create a request for the method "spokes.get".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
- * operation.
+ * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
+ * @param name Required. The name of the spoke resource.
* @return the request
*/
- public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
- TestIamPermissions result = new TestIamPermissions(resource, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class TestIamPermissions extends NetworkconnectivityRequest {
+ public class Get extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern RESOURCE_PATTERN =
+ private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Returns permissions that a caller has on the specified resource. If the resource does not
- * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
- * operation is designed to be used for building permission-aware UIs and command-line tools, not
- * for authorization checking. This operation may "fail open" without warning.
+ * Gets details about a Network Connectivity Center spoke.
*
- * Create a request for the method "spokes.testIamPermissions".
+ * Create a request for the method "spokes.get".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the
- * remote operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.ser
- * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
+ * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
- * this field.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
+ * @param name Required. The name of the spoke resource.
* @since 1.13
*/
- protected TestIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) {
- super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsResponse.class);
- this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
+ protected Get(java.lang.String name) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Spoke.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
}
@Override
- public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
- return (TestIamPermissions) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public TestIamPermissions setAccessToken(java.lang.String accessToken) {
- return (TestIamPermissions) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public TestIamPermissions setAlt(java.lang.String alt) {
- return (TestIamPermissions) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public TestIamPermissions setCallback(java.lang.String callback) {
- return (TestIamPermissions) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public TestIamPermissions setFields(java.lang.String fields) {
- return (TestIamPermissions) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public TestIamPermissions setKey(java.lang.String key) {
- return (TestIamPermissions) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
- return (TestIamPermissions) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
- return (TestIamPermissions) super.setQuotaUser(quotaUser);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
@Override
- public TestIamPermissions setUploadType(java.lang.String uploadType) {
- return (TestIamPermissions) super.setUploadType(uploadType);
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
@Override
- public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
- return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
+ /** Required. The name of the spoke resource. */
@com.google.api.client.util.Key
- private java.lang.String resource;
+ private java.lang.String name;
- /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
- names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
- field.
+ /** Required. The name of the spoke resource.
*/
- public java.lang.String getResource() {
- return resource;
+ public java.lang.String getName() {
+ return name;
}
- /**
- * REQUIRED: The resource for which the policy detail is being requested. See [Resource
- * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
- * for this field.
- */
- public TestIamPermissions setResource(java.lang.String resource) {
+ /** Required. The name of the spoke resource. */
+ public Get setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
- "Parameter resource must conform to the pattern " +
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
"^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
- this.resource = resource;
+ this.name = name;
return this;
}
@Override
- public TestIamPermissions set(String parameterName, Object value) {
- return (TestIamPermissions) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
-
- }
- /**
- * An accessor for creating requests from the Transports collection.
- *
- * The typical use is:
- *
- * {@code Networkconnectivity networkconnectivity = new Networkconnectivity(...);}
- * {@code Networkconnectivity.Transports.List request = networkconnectivity.transports().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Transports transports() {
- return new Transports();
- }
-
- /**
- * The "transports" collection of methods.
- */
- public class Transports {
-
/**
- * Creates a new Transport in a given project and location.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists and
+ * does not have a policy set.
*
- * Create a request for the method "transports.create".
+ * Create a request for the method "spokes.getIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. Value for parent.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Transport}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Transport content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public GetIamPolicy getIamPolicy(java.lang.String resource) throws java.io.IOException {
+ GetIamPolicy result = new GetIamPolicy(resource);
initialize(result);
return result;
}
- public class Create extends NetworkconnectivityRequest {
+ public class GetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/transports";
+ private static final String REST_PATH = "v1/{+resource}:getIamPolicy";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Creates a new Transport in a given project and location.
+ * Gets the access control policy for a resource. Returns an empty policy if the resource exists
+ * and does not have a policy set.
*
- * Create a request for the method "transports.create".
+ * Create a request for the method "spokes.getIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Create#execute()} method to invoke the remote
+ * any optional parameters, call the {@link GetIamPolicy#execute()} method to invoke the remote
* operation. {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * GetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. Value for parent.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Transport}
+ * @param resource REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.networkconnectivity.v1.model.Transport content) {
- super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected GetIamPolicy(java.lang.String resource) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public GetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (GetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public GetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (GetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public GetIamPolicy setAlt(java.lang.String alt) {
+ return (GetIamPolicy) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public GetIamPolicy setCallback(java.lang.String callback) {
+ return (GetIamPolicy) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public GetIamPolicy setFields(java.lang.String fields) {
+ return (GetIamPolicy) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public GetIamPolicy setKey(java.lang.String key) {
+ return (GetIamPolicy) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public GetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (GetIamPolicy) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public GetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetIamPolicy) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public GetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (GetIamPolicy) super.setQuotaUser(quotaUser);
}
- /** Required. Value for parent. */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. Value for parent.
- */
- public java.lang.String getParent() {
- return parent;
+ @Override
+ public GetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (GetIamPolicy) super.setUploadType(uploadType);
}
- /** Required. Value for parent. */
- public Create setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
+ @Override
+ public GetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.String requestId;
+ private java.lang.String resource;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ * REQUIRED: The resource for which the policy is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Create setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ public GetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
- /** Required. Id of the requesting object */
- @com.google.api.client.util.Key
- private java.lang.String transportId;
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ @com.google.api.client.util.Key("options.requestedPolicyVersion")
+ private java.lang.Integer optionsRequestedPolicyVersion;
+
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1,
+ and 3. Requests specifying an invalid value will be rejected. Requests for policies with any
+ conditional role bindings must specify version 3. Policies with no conditional role bindings may
+ specify any valid value or leave the field unset. The policy in the response might use the policy
+ version that you specified, or it might use a lower policy version. For example, if you specify
+ version 3, but the policy has no conditional role bindings, the response uses version 1. To learn
+ which resources support conditions in their IAM policies, see the [IAM
+ documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
+ */
+ public java.lang.Integer getOptionsRequestedPolicyVersion() {
+ return optionsRequestedPolicyVersion;
+ }
- /** Required. Id of the requesting object
+ /**
+ * Optional. The maximum policy version that will be used to format the policy. Valid
+ * values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests
+ * for policies with any conditional role bindings must specify version 3. Policies with
+ * no conditional role bindings may specify any valid value or leave the field unset. The
+ * policy in the response might use the policy version that you specified, or it might use
+ * a lower policy version. For example, if you specify version 3, but the policy has no
+ * conditional role bindings, the response uses version 1. To learn which resources
+ * support conditions in their IAM policies, see the [IAM
+ * documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
*/
- public java.lang.String getTransportId() {
- return transportId;
- }
-
- /** Required. Id of the requesting object */
- public Create setTransportId(java.lang.String transportId) {
- this.transportId = transportId;
+ public GetIamPolicy setOptionsRequestedPolicyVersion(java.lang.Integer optionsRequestedPolicyVersion) {
+ this.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public GetIamPolicy set(String parameterName, Object value) {
+ return (GetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Deletes a single Transport.
+ * Lists the Network Connectivity Center spokes in a specified project and location.
*
- * Create a request for the method "transports.delete".
+ * Create a request for the method "spokes.list".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param name Required. Name of the resource.
+ * @param parent Required. The parent resource.
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Delete extends NetworkconnectivityRequest {
+ public class List extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+parent}/spokes";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Deletes a single Transport.
+ * Lists the Network Connectivity Center spokes in a specified project and location.
*
- * Create a request for the method "transports.delete".
+ * Create a request for the method "spokes.list".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Delete#execute()} method to invoke the remote
- * operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Name of the resource.
+ * @param parent Required. The parent resource.
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(Networkconnectivity.this, "DELETE", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected List(java.lang.String parent) {
+ super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListSpokesResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
}
- /** Required. Name of the resource. */
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /** Required. The parent resource. */
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String parent;
- /** Required. Name of the resource.
+ /** Required. The parent resource.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getParent() {
+ return parent;
}
- /** Required. Name of the resource. */
- public Delete setName(java.lang.String name) {
+ /** Required. The parent resource. */
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
- this.name = name;
+ this.parent = parent;
return this;
}
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** An expression that filters the list of results. */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** An expression that filters the list of results.
*/
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /** An expression that filters the list of results. */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /** Sort the results by a certain order. */
@com.google.api.client.util.Key
- private java.lang.String requestId;
+ private java.lang.String orderBy;
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes after the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Sort the results by a certain order.
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.String getOrderBy() {
+ return orderBy;
}
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
+ /** Sort the results by a certain order. */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /** The maximum number of results to return per page. */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
+
+ /** The maximum number of results to return per page.
*/
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
+
+ /** The maximum number of results to return per page. */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
+
+ /** The page token. */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** The page token.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /** The page token. */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
/**
- * Gets details of a single Transport.
+ * Updates the parameters of a Network Connectivity Center spoke.
*
- * Create a request for the method "transports.get".
+ * Create a request for the method "spokes.patch".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
*
- * @param name Required. Name of the resource.
+ * @param name Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
+ * `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
* @return the request
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
+ public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Spoke content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
initialize(result);
return result;
}
- public class Get extends NetworkconnectivityRequest {
+ public class Patch extends NetworkconnectivityRequest {
private static final String REST_PATH = "v1/{+name}";
private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Gets details of a single Transport.
+ * Updates the parameters of a Network Connectivity Center spoke.
*
- * Create a request for the method "transports.get".
+ * Create a request for the method "spokes.patch".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Get#execute()} method to invoke the remote operation.
- * {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
+ * operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Name of the resource.
+ * @param name Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
+ * `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Spoke}
* @since 1.13
*/
- protected Get(java.lang.String name) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.Transport.class);
+ protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Spoke content) {
+ super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ }
}
@Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
}
@Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
}
@Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
}
@Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
}
@Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
}
@Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
}
@Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
}
@Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
}
@Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
}
@Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
}
@Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
}
- /** Required. Name of the resource. */
+ /**
+ * Immutable. The name of the spoke. Spoke names must be unique. They use the following
+ * form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ */
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Name of the resource.
+ /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form:
+ `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
*/
public java.lang.String getName() {
return name;
}
- /** Required. Name of the resource. */
- public Get setName(java.lang.String name) {
+ /**
+ * Immutable. The name of the spoke. Spoke names must be unique. They use the following
+ * form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}`
+ */
+ public Patch setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
this.name = name;
return this;
}
+ /**
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server knows to ignore the request if it has already been
+ * completed. The server guarantees that a request doesn't result in creation of duplicate
+ * commitments for at least 60 minutes. For example, consider a situation where you make
+ * an initial request and the request times out. If you make the request again with the
+ * same request ID, the server can check to see whether the original operation was
+ * received. If it was, the server ignores the second request. This behavior prevents
+ * clients from mistakenly creating duplicate commitments. The request ID must be a valid
+ * UUID, with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server knows to ignore the request if it has already been completed. The server
+ guarantees that a request doesn't result in creation of duplicate commitments for at least 60
+ minutes. For example, consider a situation where you make an initial request and the request times
+ out. If you make the request again with the same request ID, the server can check to see whether
+ the original operation was received. If it was, the server ignores the second request. This
+ behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
+ valid UUID, with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server knows to ignore the request if it has already been
+ * completed. The server guarantees that a request doesn't result in creation of duplicate
+ * commitments for at least 60 minutes. For example, consider a situation where you make
+ * an initial request and the request times out. If you make the request again with the
+ * same request ID, the server can check to see whether the original operation was
+ * received. If it was, the server ignores the second request. This behavior prevents
+ * clients from mistakenly creating duplicate commitments. The request ID must be a valid
+ * UUID, with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Patch setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /**
+ * Optional. In the case of an update to an existing spoke, field mask is used to specify
+ * the fields to be overwritten. The fields specified in the update_mask are relative to
+ * the resource, not the full request. A field is overwritten if it is in the mask. If the
+ * user does not provide a mask, then all fields are overwritten.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** Optional. In the case of an update to an existing spoke, field mask is used to specify the fields
+ to be overwritten. The fields specified in the update_mask are relative to the resource, not the
+ full request. A field is overwritten if it is in the mask. If the user does not provide a mask,
+ then all fields are overwritten.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /**
+ * Optional. In the case of an update to an existing spoke, field mask is used to specify
+ * the fields to be overwritten. The fields specified in the update_mask are relative to
+ * the resource, not the full request. A field is overwritten if it is in the mask. If the
+ * user does not provide a mask, then all fields are overwritten.
+ */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
}
}
/**
- * Lists Transports in a given project and location.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "transports.list".
+ * Create a request for the method "spokes.setIamPolicy".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link List#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation.
*
- * @param parent Required. Parent value for ListTransportsRequest.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @return the request
*/
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
+ public SetIamPolicy setIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) throws java.io.IOException {
+ SetIamPolicy result = new SetIamPolicy(resource, content);
initialize(result);
return result;
}
- public class List extends NetworkconnectivityRequest {
+ public class SetIamPolicy extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+parent}/transports";
+ private static final String REST_PATH = "v1/{+resource}:setIamPolicy";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Lists Transports in a given project and location.
+ * Sets the access control policy on the specified resource. Replaces any existing policy. Can
+ * return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
*
- * Create a request for the method "transports.list".
+ * Create a request for the method "spokes.setIamPolicy".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link List#execute()} method to invoke the remote operation.
- * {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link SetIamPolicy#execute()} method to invoke the remote
+ * operation. {@link
+ * SetIamPolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. Parent value for ListTransportsRequest.
+ * @param resource REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest}
* @since 1.13
*/
- protected List(java.lang.String parent) {
- super(Networkconnectivity.this, "GET", REST_PATH, null, com.google.api.services.networkconnectivity.v1.model.ListTransportsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected SetIamPolicy(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.SetIamPolicyRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.Policy.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
}
@Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
-
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
+ public SetIamPolicy set$Xgafv(java.lang.String $Xgafv) {
+ return (SetIamPolicy) super.set$Xgafv($Xgafv);
}
@Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
+ public SetIamPolicy setAccessToken(java.lang.String accessToken) {
+ return (SetIamPolicy) super.setAccessToken(accessToken);
}
@Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
+ public SetIamPolicy setAlt(java.lang.String alt) {
+ return (SetIamPolicy) super.setAlt(alt);
}
@Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ public SetIamPolicy setCallback(java.lang.String callback) {
+ return (SetIamPolicy) super.setCallback(callback);
}
@Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
+ public SetIamPolicy setFields(java.lang.String fields) {
+ return (SetIamPolicy) super.setFields(fields);
}
@Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Required. Parent value for ListTransportsRequest. */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. Parent value for ListTransportsRequest.
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /** Required. Parent value for ListTransportsRequest. */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
+ public SetIamPolicy setKey(java.lang.String key) {
+ return (SetIamPolicy) super.setKey(key);
}
- /** Optional. Filtering results. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
-
- /** Optional. Filtering results.
- */
- public java.lang.String getFilter() {
- return filter;
+ @Override
+ public SetIamPolicy setOauthToken(java.lang.String oauthToken) {
+ return (SetIamPolicy) super.setOauthToken(oauthToken);
}
- /** Optional. Filtering results. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
+ @Override
+ public SetIamPolicy setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (SetIamPolicy) super.setPrettyPrint(prettyPrint);
}
- /** Optional. Hint for how to order the results. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ @Override
+ public SetIamPolicy setQuotaUser(java.lang.String quotaUser) {
+ return (SetIamPolicy) super.setQuotaUser(quotaUser);
+ }
- /** Optional. Hint for how to order the results.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
+ @Override
+ public SetIamPolicy setUploadType(java.lang.String uploadType) {
+ return (SetIamPolicy) super.setUploadType(uploadType);
}
- /** Optional. Hint for how to order the results. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
+ @Override
+ public SetIamPolicy setUploadProtocol(java.lang.String uploadProtocol) {
+ return (SetIamPolicy) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. Requested page size. Server may return fewer items than requested. If
- * unspecified, server will pick an appropriate default.
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ private java.lang.String resource;
- /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, server
- will pick an appropriate default.
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public java.lang.Integer getPageSize() {
- return pageSize;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. Requested page size. Server may return fewer items than requested. If
- * unspecified, server will pick an appropriate default.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /** Optional. A token identifying a page of results the server should return. */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. A token identifying a page of results the server should return.
+ * REQUIRED: The resource for which the policy is being specified. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /** Optional. A token identifying a page of results the server should return. */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
+ public SetIamPolicy setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
@Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ public SetIamPolicy set(String parameterName, Object value) {
+ return (SetIamPolicy) super.set(parameterName, value);
}
}
/**
- * Updates the parameters of a single Transport.
+ * Returns permissions that a caller has on the specified resource. If the resource does not exist,
+ * this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
+ * designed to be used for building permission-aware UIs and command-line tools, not for
+ * authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "transports.patch".
+ * Create a request for the method "spokes.testIamPermissions".
*
* This request holds the parameters needed by the networkconnectivity server. After setting any
- * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
+ * operation.
*
- * @param name Identifier. Name of the resource.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Transport}
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Transport content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) throws java.io.IOException {
+ TestIamPermissions result = new TestIamPermissions(resource, content);
initialize(result);
return result;
}
- public class Patch extends NetworkconnectivityRequest {
+ public class TestIamPermissions extends NetworkconnectivityRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+resource}:testIamPermissions";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ private final java.util.regex.Pattern RESOURCE_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
/**
- * Updates the parameters of a single Transport.
+ * Returns permissions that a caller has on the specified resource. If the resource does not
+ * exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
+ * operation is designed to be used for building permission-aware UIs and command-line tools, not
+ * for authorization checking. This operation may "fail open" without warning.
*
- * Create a request for the method "transports.patch".
+ * Create a request for the method "spokes.testIamPermissions".
*
* This request holds the parameters needed by the the networkconnectivity server. After setting
- * any optional parameters, call the {@link Patch#execute()} method to invoke the remote
- * operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * any optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the
+ * remote operation. {@link TestIamPermissions#initialize(com.google.api.client.googleapis.ser
+ * vices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
*
- * @param name Identifier. Name of the resource.
- * @param content the {@link com.google.api.services.networkconnectivity.v1.model.Transport}
+ * @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
+ * this field.
+ * @param content the {@link com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest}
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.networkconnectivity.v1.model.Transport content) {
- super(Networkconnectivity.this, "PATCH", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.GoogleLongrunningOperation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected TestIamPermissions(java.lang.String resource, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsRequest content) {
+ super(Networkconnectivity.this, "POST", REST_PATH, content, com.google.api.services.networkconnectivity.v1.model.TestIamPermissionsResponse.class);
+ this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
}
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
+ return (TestIamPermissions) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public TestIamPermissions setAccessToken(java.lang.String accessToken) {
+ return (TestIamPermissions) super.setAccessToken(accessToken);
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public TestIamPermissions setAlt(java.lang.String alt) {
+ return (TestIamPermissions) super.setAlt(alt);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public TestIamPermissions setCallback(java.lang.String callback) {
+ return (TestIamPermissions) super.setCallback(callback);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public TestIamPermissions setFields(java.lang.String fields) {
+ return (TestIamPermissions) super.setFields(fields);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public TestIamPermissions setKey(java.lang.String key) {
+ return (TestIamPermissions) super.setKey(key);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
+ return (TestIamPermissions) super.setOauthToken(oauthToken);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
+ return (TestIamPermissions) super.setQuotaUser(quotaUser);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public TestIamPermissions setUploadType(java.lang.String uploadType) {
+ return (TestIamPermissions) super.setUploadType(uploadType);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
- }
-
- /** Identifier. Name of the resource. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Identifier. Name of the resource.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Identifier. Name of the resource. */
- public Patch setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/transports/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes since the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * since the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same request
- * ID, the server can check if original operation with the same request ID was received,
- * and if so, will ignore the second request. This prevents clients from accidentally
- * creating duplicate commitments. The request ID must be a valid UUID with the exception
- * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public Patch setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
+ public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the Transport
- * resource by the update. The fields specified in the update_mask are relative to the
- * resource, not the full request. A field will be overwritten if it is in the mask. If
- * the user does not provide a mask then all fields present in the request will be
- * overwritten.
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String resource;
- /** Optional. Field mask is used to specify the fields to be overwritten in the Transport resource by
- the update. The fields specified in the update_mask are relative to the resource, not the full
- request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
- all fields present in the request will be overwritten.
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
+ field.
*/
- public String getUpdateMask() {
- return updateMask;
+ public java.lang.String getResource() {
+ return resource;
}
/**
- * Optional. Field mask is used to specify the fields to be overwritten in the Transport
- * resource by the update. The fields specified in the update_mask are relative to the
- * resource, not the full request. A field will be overwritten if it is in the mask. If
- * the user does not provide a mask then all fields present in the request will be
- * overwritten.
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names) for the appropriate value
+ * for this field.
*/
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
+ public TestIamPermissions setResource(java.lang.String resource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
+ "Parameter resource must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/spokes/[^/]+$");
+ }
+ this.resource = resource;
return this;
}
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public TestIamPermissions set(String parameterName, Object value) {
+ return (TestIamPermissions) super.set(parameterName, value);
}
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsCreationSpec.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsCreationSpec.java
index e3807a1d041..8a61e112c3d 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsCreationSpec.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsCreationSpec.java
@@ -55,7 +55,7 @@ public final class AutomatedDnsCreationSpec extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid
@@ -106,7 +106,7 @@ public AutomatedDnsCreationSpec setHostname(java.lang.String hostname) {
* seconds will be used.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -115,7 +115,7 @@ public String getTtl() {
* seconds will be used.
* @param ttl ttl or {@code null} for none
*/
- public AutomatedDnsCreationSpec setTtl(String ttl) {
+ public AutomatedDnsCreationSpec setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsRecord.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsRecord.java
index 804eae30f19..096a05fd45b 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsRecord.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/AutomatedDnsRecord.java
@@ -43,7 +43,7 @@ public final class AutomatedDnsRecord extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.
@@ -182,7 +182,7 @@ public final class AutomatedDnsRecord extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is
@@ -207,7 +207,7 @@ public AutomatedDnsRecord setConsumerNetwork(java.lang.String consumerNetwork) {
* Output only. The timestamp of when the record was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -215,7 +215,7 @@ public String getCreateTime() {
* Output only. The timestamp of when the record was created.
* @param createTime createTime or {@code null} for none
*/
- public AutomatedDnsRecord setCreateTime(String createTime) {
+ public AutomatedDnsRecord setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -533,7 +533,7 @@ public AutomatedDnsRecord setStateDetails(java.lang.String stateDetails) {
* Output only. The timestamp of when the record was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -541,7 +541,7 @@ public String getUpdateTime() {
* Output only. The timestamp of when the record was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public AutomatedDnsRecord setUpdateTime(String updateTime) {
+ public AutomatedDnsRecord setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Config.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Config.java
index 975761527dd..6d24914d1d1 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Config.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Config.java
@@ -47,7 +47,7 @@ public final class Config extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* Required. The list of resource record data strings. The content and format of these strings
@@ -80,7 +80,7 @@ public Config setRrdatas(java.util.List rrdatas) {
* Required. Number of seconds that this DNS record can be cached by resolvers.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -88,7 +88,7 @@ public String getTtl() {
* Required. Number of seconds that this DNS record can be cached by resolvers.
* @param ttl ttl or {@code null} for none
*/
- public Config setTtl(String ttl) {
+ public Config setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Destination.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Destination.java
index 346df79e885..98f2201d8dc 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Destination.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Destination.java
@@ -36,7 +36,7 @@ public final class Destination extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A description of this resource.
@@ -110,13 +110,13 @@ public final class Destination extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Time when the `Destination` resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -124,7 +124,7 @@ public String getCreateTime() {
* Output only. Time when the `Destination` resource was created.
* @param createTime createTime or {@code null} for none
*/
- public Destination setCreateTime(String createTime) {
+ public Destination setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -291,7 +291,7 @@ public Destination setUid(java.lang.String uid) {
* Output only. Time when the `Destination` resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -299,7 +299,7 @@ public String getUpdateTime() {
* Output only. Time when the `Destination` resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Destination setUpdateTime(String updateTime) {
+ public Destination setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/DestinationEndpoint.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/DestinationEndpoint.java
index 11e742eb105..3492c05aad1 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/DestinationEndpoint.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/DestinationEndpoint.java
@@ -56,7 +56,7 @@ public final class DestinationEndpoint extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. The ASN of the remote IP prefix.
@@ -113,7 +113,7 @@ public DestinationEndpoint setState(java.lang.String state) {
* Output only. Time when the `DestinationEndpoint` resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -121,7 +121,7 @@ public String getUpdateTime() {
* Output only. Time when the `DestinationEndpoint` resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public DestinationEndpoint setUpdateTime(String updateTime) {
+ public DestinationEndpoint setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Group.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Group.java
index 194cb14a007..aff9aba2324 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Group.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Group.java
@@ -42,7 +42,7 @@ public final class Group extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. The description of the group.
@@ -97,7 +97,7 @@ public final class Group extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The auto-accept setting for this group.
@@ -120,7 +120,7 @@ public Group setAutoAccept(AutoAccept autoAccept) {
* Output only. The time the group was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -128,7 +128,7 @@ public String getCreateTime() {
* Output only. The time the group was created.
* @param createTime createTime or {@code null} for none
*/
- public Group setCreateTime(String createTime) {
+ public Group setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -251,7 +251,7 @@ public Group setUid(java.lang.String uid) {
* Output only. The time the group was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -259,7 +259,7 @@ public String getUpdateTime() {
* Output only. The time the group was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Group setUpdateTime(String updateTime) {
+ public Group setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Hub.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Hub.java
index 1e534cda60a..6d97d8efceb 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Hub.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Hub.java
@@ -39,7 +39,7 @@ public final class Hub extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. An optional description of the hub.
@@ -141,13 +141,13 @@ public final class Hub extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time the hub was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -155,7 +155,7 @@ public String getCreateTime() {
* Output only. The time the hub was created.
* @param createTime createTime or {@code null} for none
*/
- public Hub setCreateTime(String createTime) {
+ public Hub setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -387,7 +387,7 @@ public Hub setUniqueId(java.lang.String uniqueId) {
* Output only. The time the hub was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -395,7 +395,7 @@ public String getUpdateTime() {
* Output only. The time the hub was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Hub setUpdateTime(String updateTime) {
+ public Hub setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/InternalRange.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/InternalRange.java
index c46bf323ada..366ecabeca1 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/InternalRange.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/InternalRange.java
@@ -45,7 +45,7 @@ public final class InternalRange extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A description of this resource.
@@ -155,7 +155,7 @@ public final class InternalRange extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. The type of usage set for this InternalRange.
@@ -198,7 +198,7 @@ public InternalRange setAllocationOptions(AllocationOptions allocationOptions) {
* Output only. Time when the internal range was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -206,7 +206,7 @@ public String getCreateTime() {
* Output only. Time when the internal range was created.
* @param createTime createTime or {@code null} for none
*/
- public InternalRange setCreateTime(String createTime) {
+ public InternalRange setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -457,7 +457,7 @@ public InternalRange setTargetCidrRange(java.util.List targetC
* Output only. Time when the internal range was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -465,7 +465,7 @@ public String getUpdateTime() {
* Output only. Time when the internal range was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public InternalRange setUpdateTime(String updateTime) {
+ public InternalRange setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/MulticloudDataTransferConfig.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/MulticloudDataTransferConfig.java
index 54145da01b0..1c1a221813c 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/MulticloudDataTransferConfig.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/MulticloudDataTransferConfig.java
@@ -36,7 +36,7 @@ public final class MulticloudDataTransferConfig extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A description of this resource.
@@ -110,13 +110,13 @@ public final class MulticloudDataTransferConfig extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Time when the `MulticloudDataTransferConfig` resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -124,7 +124,7 @@ public String getCreateTime() {
* Output only. Time when the `MulticloudDataTransferConfig` resource was created.
* @param createTime createTime or {@code null} for none
*/
- public MulticloudDataTransferConfig setCreateTime(String createTime) {
+ public MulticloudDataTransferConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -291,7 +291,7 @@ public MulticloudDataTransferConfig setUid(java.lang.String uid) {
* Output only. Time when the `MulticloudDataTransferConfig` resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -299,7 +299,7 @@ public String getUpdateTime() {
* Output only. Time when the `MulticloudDataTransferConfig` resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public MulticloudDataTransferConfig setUpdateTime(String updateTime) {
+ public MulticloudDataTransferConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/OperationMetadata.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/OperationMetadata.java
index 44b09a50e7c..2432015d6a4 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/OperationMetadata.java
@@ -42,14 +42,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -102,7 +102,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -119,7 +119,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -127,7 +127,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/PolicyBasedRoute.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/PolicyBasedRoute.java
index 563bad8d680..eaec1a60219 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/PolicyBasedRoute.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/PolicyBasedRoute.java
@@ -37,7 +37,7 @@ public final class PolicyBasedRoute extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. An optional description of this resource. Provide this field when you create the
@@ -129,7 +129,7 @@ public final class PolicyBasedRoute extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. VM instances that this policy-based route applies to.
@@ -150,7 +150,7 @@ public final class PolicyBasedRoute extends com.google.api.client.json.GenericJs
* Output only. Time when the policy-based route was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -158,7 +158,7 @@ public String getCreateTime() {
* Output only. Time when the policy-based route was created.
* @param createTime createTime or {@code null} for none
*/
- public PolicyBasedRoute setCreateTime(String createTime) {
+ public PolicyBasedRoute setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -370,7 +370,7 @@ public PolicyBasedRoute setSelfLink(java.lang.String selfLink) {
* Output only. Time when the policy-based route was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -378,7 +378,7 @@ public String getUpdateTime() {
* Output only. Time when the policy-based route was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public PolicyBasedRoute setUpdateTime(String updateTime) {
+ public PolicyBasedRoute setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RegionalEndpoint.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RegionalEndpoint.java
index a4f43bdbbe9..313e76a3fa9 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RegionalEndpoint.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RegionalEndpoint.java
@@ -53,7 +53,7 @@ public final class RegionalEndpoint extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A description of this resource.
@@ -123,7 +123,7 @@ public final class RegionalEndpoint extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. The access type of this regional endpoint. This field is reflected in the PSC
@@ -171,7 +171,7 @@ public RegionalEndpoint setAddress(java.lang.String address) {
* Output only. Time when the RegionalEndpoint was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -179,7 +179,7 @@ public String getCreateTime() {
* Output only. Time when the RegionalEndpoint was created.
* @param createTime createTime or {@code null} for none
*/
- public RegionalEndpoint setCreateTime(String createTime) {
+ public RegionalEndpoint setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -338,7 +338,7 @@ public RegionalEndpoint setTargetGoogleApi(java.lang.String targetGoogleApi) {
* Output only. Time when the RegionalEndpoint was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -346,7 +346,7 @@ public String getUpdateTime() {
* Output only. Time when the RegionalEndpoint was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public RegionalEndpoint setUpdateTime(String updateTime) {
+ public RegionalEndpoint setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Route.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Route.java
index cf1f6501a93..047d2ec705b 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Route.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/Route.java
@@ -36,7 +36,7 @@ public final class Route extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* An optional description of the route.
@@ -159,13 +159,13 @@ public final class Route extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time the route was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -173,7 +173,7 @@ public String getCreateTime() {
* Output only. The time the route was created.
* @param createTime createTime or {@code null} for none
*/
- public Route setCreateTime(String createTime) {
+ public Route setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -459,7 +459,7 @@ public Route setUid(java.lang.String uid) {
* Output only. The time the route was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -467,7 +467,7 @@ public String getUpdateTime() {
* Output only. The time the route was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Route setUpdateTime(String updateTime) {
+ public Route setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RouteTable.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RouteTable.java
index 275d255cf3c..5781504be68 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RouteTable.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/RouteTable.java
@@ -35,7 +35,7 @@ public final class RouteTable extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* An optional description of the route table.
@@ -83,13 +83,13 @@ public final class RouteTable extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The time the route table was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -97,7 +97,7 @@ public String getCreateTime() {
* Output only. The time the route table was created.
* @param createTime createTime or {@code null} for none
*/
- public RouteTable setCreateTime(String createTime) {
+ public RouteTable setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -203,7 +203,7 @@ public RouteTable setUid(java.lang.String uid) {
* Output only. The time the route table was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -211,7 +211,7 @@ public String getUpdateTime() {
* Output only. The time the route table was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public RouteTable setUpdateTime(String updateTime) {
+ public RouteTable setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceClass.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceClass.java
index 54960f416e7..be3e7fdf160 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceClass.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceClass.java
@@ -35,7 +35,7 @@ public final class ServiceClass extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* A description of this resource.
@@ -81,13 +81,13 @@ public final class ServiceClass extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Time when the ServiceClass was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -95,7 +95,7 @@ public String getCreateTime() {
* Output only. Time when the ServiceClass was created.
* @param createTime createTime or {@code null} for none
*/
- public ServiceClass setCreateTime(String createTime) {
+ public ServiceClass setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -197,7 +197,7 @@ public ServiceClass setServiceClass(java.lang.String serviceClass) {
* Output only. Time when the ServiceClass was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -205,7 +205,7 @@ public String getUpdateTime() {
* Output only. Time when the ServiceClass was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ServiceClass setUpdateTime(String updateTime) {
+ public ServiceClass setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConfig.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConfig.java
index 16c2eddb18a..c2e8abfc9ec 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConfig.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConfig.java
@@ -43,7 +43,7 @@ public final class ServiceConfig extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String supportEndTime;
+ private java.lang.String supportEndTime;
/**
* Output only. The eligibility criteria for the service.
@@ -67,7 +67,7 @@ public ServiceConfig setEligibilityCriteria(java.lang.String eligibilityCriteria
* time is set.
* @return value or {@code null} for none
*/
- public String getSupportEndTime() {
+ public java.lang.String getSupportEndTime() {
return supportEndTime;
}
@@ -76,7 +76,7 @@ public String getSupportEndTime() {
* time is set.
* @param supportEndTime supportEndTime or {@code null} for none
*/
- public ServiceConfig setSupportEndTime(String supportEndTime) {
+ public ServiceConfig setSupportEndTime(java.lang.String supportEndTime) {
this.supportEndTime = supportEndTime;
return this;
}
diff --git a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConnectionMap.java b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConnectionMap.java
index f2f59cd6f1d..ee16f9f3bdc 100644
--- a/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConnectionMap.java
+++ b/clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/model/ServiceConnectionMap.java
@@ -61,7 +61,7 @@ public final class ServiceConnectionMap extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* A description of this resource.
@@ -143,7 +143,7 @@ public final class ServiceConnectionMap extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* The PSC configurations on consumer side.
@@ -183,7 +183,7 @@ public ServiceConnectionMap setConsumerPscConnections(java.util.Listcom.google.apis
google-api-services-networkconnectivity
- v1-rev20260326-2.0.0
- Network Connectivity API v1-rev20260326-2.0.0
+ v1-rev20260309-2.0.0
+ Network Connectivity API v1-rev20260309-2.0.0
jar
2011
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/README.md b/clients/google-api-services-networksecurity/v1/2.0.0/README.md
index 3ce45d49731..c3e5bae4f26 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/README.md
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-networksecurity
- v1-rev20260407-2.0.0
+ v1-rev20260226-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-networksecurity:v1-rev20260407-2.0.0'
+ implementation 'com.google.apis:google-api-services-networksecurity:v1-rev20260226-2.0.0'
}
```
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/NetworkSecurity.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/NetworkSecurity.java
index abd3956259a..c58bf08e2be 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/NetworkSecurity.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/NetworkSecurity.java
@@ -1596,14 +1596,14 @@ public Patch setRequestId(java.lang.String requestId) {
* the mask. If the user does not provide a mask then all fields will be overwritten.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Optional. Field mask is used to specify the fields to be overwritten in the AddressGroup resource
by the update. The fields specified in the update_mask are relative to the resource, not the full
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
all fields will be overwritten.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -1613,7 +1613,7 @@ public String getUpdateMask() {
* relative to the resource, not the full request. A field will be overwritten if it is in
* the mask. If the user does not provide a mask then all fields will be overwritten.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -2678,14 +2678,14 @@ public Patch setRequestId(java.lang.String requestId) {
* the user does not provide a mask then all fields will be overwritten.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Field mask is used to specify the fields to be overwritten in the Endpoint resource by
the update. The fields specified in the update_mask are relative to the resource, not the full
request. A field will be overwritten if it is in the mask. If the user does not provide a mask then
all fields will be overwritten.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2695,7 +2695,7 @@ public String getUpdateMask() {
* resource, not the full request. A field will be overwritten if it is in the mask. If
* the user does not provide a mask then all fields will be overwritten.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -4202,13 +4202,13 @@ public Patch setName(java.lang.String name) {
* is in the mask.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfileGroup
resource by the update. The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -4218,7 +4218,7 @@ public String getUpdateMask() {
* are relative to the resource, not the full request. A field will be overwritten if it
* is in the mask.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -5056,13 +5056,13 @@ public Patch setName(java.lang.String name) {
* the mask.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Field mask is used to specify the fields to be overwritten in the SecurityProfile
resource by the update. The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -5072,7 +5072,7 @@ public String getUpdateMask() {
* relative to the resource, not the full request. A field will be overwritten if it is in
* the mask.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -5266,14 +5266,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -5297,15 +5293,10 @@ public class List extends NetworkSecurityRequest rules) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -206,7 +206,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public AuthorizationPolicy setUpdateTime(String updateTime) {
+ public AuthorizationPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicy.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicy.java
index beb735ea240..46813f9ff7f 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicy.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicy.java
@@ -51,7 +51,7 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to
@@ -94,14 +94,6 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String name;
- /**
- * Optional. Immutable. Defines the type of authorization being performed. If not specified,
- * `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String policyProfile;
-
/**
* Required. Specifies the set of resources to which this policy should be applied to.
* The value may be {@code null}.
@@ -114,7 +106,7 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`,
@@ -155,7 +147,7 @@ public AuthzPolicy setAction(java.lang.String action) {
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -163,7 +155,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public AuthzPolicy setCreateTime(String createTime) {
+ public AuthzPolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -265,25 +257,6 @@ public AuthzPolicy setName(java.lang.String name) {
return this;
}
- /**
- * Optional. Immutable. Defines the type of authorization being performed. If not specified,
- * `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.
- * @return value or {@code null} for none
- */
- public java.lang.String getPolicyProfile() {
- return policyProfile;
- }
-
- /**
- * Optional. Immutable. Defines the type of authorization being performed. If not specified,
- * `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.
- * @param policyProfile policyProfile or {@code null} for none
- */
- public AuthzPolicy setPolicyProfile(java.lang.String policyProfile) {
- this.policyProfile = policyProfile;
- return this;
- }
-
/**
* Required. Specifies the set of resources to which this policy should be applied to.
* @return value or {@code null} for none
@@ -305,7 +278,7 @@ public AuthzPolicy setTarget(AuthzPolicyTarget target) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -313,7 +286,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public AuthzPolicy setUpdateTime(String updateTime) {
+ public AuthzPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicyAuthzRuleToRequestOperation.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicyAuthzRuleToRequestOperation.java
index 379bc164e8a..998c52676d5 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicyAuthzRuleToRequestOperation.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicyAuthzRuleToRequestOperation.java
@@ -51,15 +51,6 @@ public final class AuthzPolicyAuthzRuleToRequestOperation extends com.google.api
com.google.api.client.util.Data.nullOf(AuthzPolicyAuthzRuleStringMatch.class);
}
- /**
- * Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request
- * body cannot be successfully parsed, the request will be denied. This field can be set only for
- * AuthzPolicies targeting AgentGateway resources.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private AuthzPolicyAuthzRuleToRequestOperationMCP mcp;
-
/**
* Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name
* (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case
@@ -124,27 +115,6 @@ public AuthzPolicyAuthzRuleToRequestOperation setHosts(java.util.List resources;
/**
- * Optional. All gateways and forwarding rules referenced by this policy and extensions must share
- * the same load balancing scheme. Required only when targeting forwarding rules. If targeting
- * Secure Web Proxy, this field must be `INTERNAL_MANAGED` or not specified. Must not be specified
- * when targeting Agent Gateway. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For
- * more information, refer to [Backend services overview](https://cloud.google.com/load-
+ * Required. All gateways and forwarding rules referenced by this policy and extensions must share
+ * the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`.
+ * For more information, refer to [Backend services overview](https://cloud.google.com/load-
* balancing/docs/backend-service).
* @return value or {@code null} for none
*/
@@ -63,11 +58,9 @@ public java.lang.String getLoadBalancingScheme() {
}
/**
- * Optional. All gateways and forwarding rules referenced by this policy and extensions must share
- * the same load balancing scheme. Required only when targeting forwarding rules. If targeting
- * Secure Web Proxy, this field must be `INTERNAL_MANAGED` or not specified. Must not be specified
- * when targeting Agent Gateway. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`. For
- * more information, refer to [Backend services overview](https://cloud.google.com/load-
+ * Required. All gateways and forwarding rules referenced by this policy and extensions must share
+ * the same load balancing scheme. Supported values: `INTERNAL_MANAGED` and `EXTERNAL_MANAGED`.
+ * For more information, refer to [Backend services overview](https://cloud.google.com/load-
* balancing/docs/backend-service).
* @param loadBalancingScheme loadBalancingScheme or {@code null} for none
*/
@@ -77,8 +70,7 @@ public AuthzPolicyTarget setLoadBalancingScheme(java.lang.String loadBalancingSc
}
/**
- * Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent
- * Gateways on which this policy will be applied.
+ * Required. A list of references to the Forwarding Rules on which this policy will be applied.
* @return value or {@code null} for none
*/
public java.util.List getResources() {
@@ -86,8 +78,7 @@ public java.util.List getResources() {
}
/**
- * Required. A list of references to the Forwarding Rules, Secure Web Proxy Gateways, or Agent
- * Gateways on which this policy will be applied.
+ * Required. A list of references to the Forwarding Rules on which this policy will be applied.
* @param resources resources or {@code null} for none
*/
public AuthzPolicyTarget setResources(java.util.List resources) {
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/BackendAuthenticationConfig.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/BackendAuthenticationConfig.java
index 95ed8ed62fa..b7ec36b7f09 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/BackendAuthenticationConfig.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/BackendAuthenticationConfig.java
@@ -52,7 +52,7 @@ public final class BackendAuthenticationConfig extends com.google.api.client.jso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Free-text description of the resource.
@@ -99,7 +99,7 @@ public final class BackendAuthenticationConfig extends com.google.api.client.jso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Well known roots to use for server certificate validation.
@@ -137,7 +137,7 @@ public BackendAuthenticationConfig setClientCertificate(java.lang.String clientC
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -145,7 +145,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public BackendAuthenticationConfig setCreateTime(String createTime) {
+ public BackendAuthenticationConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -249,7 +249,7 @@ public BackendAuthenticationConfig setTrustConfig(java.lang.String trustConfig)
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -257,7 +257,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public BackendAuthenticationConfig setUpdateTime(String updateTime) {
+ public BackendAuthenticationConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/ClientTlsPolicy.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/ClientTlsPolicy.java
index 4ceeb4fe113..009bca09b68 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/ClientTlsPolicy.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/ClientTlsPolicy.java
@@ -44,7 +44,7 @@ public final class ClientTlsPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Free-text description of the resource.
@@ -89,7 +89,7 @@ public final class ClientTlsPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Defines a mechanism to provision client identity (public and private keys) for peer
@@ -114,7 +114,7 @@ public ClientTlsPolicy setClientCertificate(GoogleCloudNetworksecurityV1Certific
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -122,7 +122,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public ClientTlsPolicy setCreateTime(String createTime) {
+ public ClientTlsPolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -222,7 +222,7 @@ public ClientTlsPolicy setSni(java.lang.String sni) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -230,7 +230,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ClientTlsPolicy setUpdateTime(String updateTime) {
+ public ClientTlsPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/DnsThreatDetector.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/DnsThreatDetector.java
index 2653cdc4e78..66cd257e7d9 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/DnsThreatDetector.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/DnsThreatDetector.java
@@ -36,7 +36,7 @@ public final class DnsThreatDetector extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
@@ -72,13 +72,13 @@ public final class DnsThreatDetector extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. Create time stamp.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -86,7 +86,7 @@ public String getCreateTime() {
* Output only. Create time stamp.
* @param createTime createTime or {@code null} for none
*/
- public DnsThreatDetector setCreateTime(String createTime) {
+ public DnsThreatDetector setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -165,7 +165,7 @@ public DnsThreatDetector setProvider(java.lang.String provider) {
* Output only. Update time stamp.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -173,7 +173,7 @@ public String getUpdateTime() {
* Output only. Update time stamp.
* @param updateTime updateTime or {@code null} for none
*/
- public DnsThreatDetector setUpdateTime(String updateTime) {
+ public DnsThreatDetector setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/FirewallEndpoint.java b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/FirewallEndpoint.java
index 05de6b4efa7..552356c15df 100644
--- a/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/FirewallEndpoint.java
+++ b/clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/FirewallEndpoint.java
@@ -48,8 +48,7 @@ public final class FirewallEndpoint extends com.google.api.client.json.GenericJs
private java.util.List associations;
/**
- * Optional. Project to charge for the deployed firewall endpoint. This field must be specified
- * when creating the endpoint in the organization scope, and should be omitted otherwise.
+ * Required. Project to bill on endpoint uptime usage.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -60,7 +59,7 @@ public final class FirewallEndpoint extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of the firewall endpoint. Max length 2048 characters.
@@ -123,7 +122,7 @@ public final class FirewallEndpoint extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. List of networks that are associated with this endpoint in the local zone. This is
@@ -168,8 +167,7 @@ public FirewallEndpoint setAssociations(java.util.Listcom.google.apis
google-api-services-networksecurity
- v1-rev20260407-2.0.0
- Network Security API v1-rev20260407-2.0.0
+ v1-rev20260226-2.0.0
+ Network Security API v1-rev20260226-2.0.0
jar
2011
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/README.md b/clients/google-api-services-networkservices/v1/2.0.0/README.md
index a1ccbd9502e..49b46886d46 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/README.md
+++ b/clients/google-api-services-networkservices/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-networkservices
- v1-rev20260330-2.0.0
+ v1-rev20260226-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-networkservices:v1-rev20260330-2.0.0'
+ implementation 'com.google.apis:google-api-services-networkservices:v1-rev20260226-2.0.0'
}
```
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java
index 2d0c6bc491e..77e5e92cd30 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends NetworkServicesRequest addresses;
- /**
- * Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the
- * `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean allPorts;
-
- /**
- * Optional. If true, the gateway will allow traffic from clients outside of the region where the
- * gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean allowGlobalAccess;
-
/**
* Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate
* (selected based on SNI) when establishing a TLS connection. This feature only applies to
@@ -71,7 +55,7 @@ public final class Gateway extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -194,7 +178,7 @@ public final class Gateway extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Zero or one IPv4 or IPv6 address on which the Gateway will receive the traffic. When
@@ -219,44 +203,6 @@ public Gateway setAddresses(java.util.List addresses) {
return this;
}
- /**
- * Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the
- * `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getAllPorts() {
- return allPorts;
- }
-
- /**
- * Optional. If true, the Gateway will listen on all ports. This is mutually exclusive with the
- * `ports` field. This field only applies to gateways of type 'SECURE_WEB_GATEWAY'.
- * @param allPorts allPorts or {@code null} for none
- */
- public Gateway setAllPorts(java.lang.Boolean allPorts) {
- this.allPorts = allPorts;
- return this;
- }
-
- /**
- * Optional. If true, the gateway will allow traffic from clients outside of the region where the
- * gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getAllowGlobalAccess() {
- return allowGlobalAccess;
- }
-
- /**
- * Optional. If true, the gateway will allow traffic from clients outside of the region where the
- * gateway is located. This field is configurable only for gateways of type SECURE_WEB_GATEWAY.
- * @param allowGlobalAccess allowGlobalAccess or {@code null} for none
- */
- public Gateway setAllowGlobalAccess(java.lang.Boolean allowGlobalAccess) {
- this.allowGlobalAccess = allowGlobalAccess;
- return this;
- }
-
/**
* Optional. A fully-qualified Certificates URL reference. The proxy presents a Certificate
* (selected based on SNI) when establishing a TLS connection. This feature only applies to
@@ -282,7 +228,7 @@ public Gateway setCertificateUrls(java.util.List certificateUr
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -290,7 +236,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public Gateway setCreateTime(String createTime) {
+ public Gateway setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -573,7 +519,7 @@ public Gateway setType(java.lang.String type) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -581,7 +527,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Gateway setUpdateTime(String updateTime) {
+ public Gateway setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRoute.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRoute.java
index 79475f9cd4c..11951cdb2e4 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRoute.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRoute.java
@@ -35,7 +35,7 @@ public final class GrpcRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -118,13 +118,13 @@ public final class GrpcRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -132,7 +132,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public GrpcRoute setCreateTime(String createTime) {
+ public GrpcRoute setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -317,7 +317,7 @@ public GrpcRoute setSelfLink(java.lang.String selfLink) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -325,7 +325,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public GrpcRoute setUpdateTime(String updateTime) {
+ public GrpcRoute setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteFaultInjectionPolicyDelay.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteFaultInjectionPolicyDelay.java
index bc5aa38ae05..c5abe366cda 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteFaultInjectionPolicyDelay.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteFaultInjectionPolicyDelay.java
@@ -35,7 +35,7 @@ public final class GrpcRouteFaultInjectionPolicyDelay extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String fixedDelay;
+ private java.lang.String fixedDelay;
/**
* The percentage of traffic on which delay will be injected. The value must be between [0, 100]
@@ -48,7 +48,7 @@ public final class GrpcRouteFaultInjectionPolicyDelay extends com.google.api.cli
* Specify a fixed delay before forwarding the request.
* @return value or {@code null} for none
*/
- public String getFixedDelay() {
+ public java.lang.String getFixedDelay() {
return fixedDelay;
}
@@ -56,7 +56,7 @@ public String getFixedDelay() {
* Specify a fixed delay before forwarding the request.
* @param fixedDelay fixedDelay or {@code null} for none
*/
- public GrpcRouteFaultInjectionPolicyDelay setFixedDelay(String fixedDelay) {
+ public GrpcRouteFaultInjectionPolicyDelay setFixedDelay(java.lang.String fixedDelay) {
this.fixedDelay = fixedDelay;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteRouteAction.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteRouteAction.java
index 1ad58f86226..5e0980e0396 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteRouteAction.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteRouteAction.java
@@ -64,7 +64,7 @@ public final class GrpcRouteRouteAction extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String idleTimeout;
+ private java.lang.String idleTimeout;
/**
* Optional. Specifies the retry policy associated with this route.
@@ -87,7 +87,7 @@ public final class GrpcRouteRouteAction extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Optional. The destination services to which traffic should be forwarded. If multiple
@@ -144,7 +144,7 @@ public GrpcRouteRouteAction setFaultInjectionPolicy(GrpcRouteFaultInjectionPolic
* disabled.
* @return value or {@code null} for none
*/
- public String getIdleTimeout() {
+ public java.lang.String getIdleTimeout() {
return idleTimeout;
}
@@ -155,7 +155,7 @@ public String getIdleTimeout() {
* disabled.
* @param idleTimeout idleTimeout or {@code null} for none
*/
- public GrpcRouteRouteAction setIdleTimeout(String idleTimeout) {
+ public GrpcRouteRouteAction setIdleTimeout(java.lang.String idleTimeout) {
this.idleTimeout = idleTimeout;
return this;
}
@@ -200,7 +200,7 @@ public GrpcRouteRouteAction setStatefulSessionAffinity(GrpcRouteStatefulSessionA
* processed. Timeout includes all retries.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -210,7 +210,7 @@ public String getTimeout() {
* processed. Timeout includes all retries.
* @param timeout timeout or {@code null} for none
*/
- public GrpcRouteRouteAction setTimeout(String timeout) {
+ public GrpcRouteRouteAction setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteStatefulSessionAffinityPolicy.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteStatefulSessionAffinityPolicy.java
index f78d2c1e502..53d9d7bc178 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteStatefulSessionAffinityPolicy.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteStatefulSessionAffinityPolicy.java
@@ -41,7 +41,7 @@ public final class GrpcRouteStatefulSessionAffinityPolicy extends com.google.api
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String cookieTtl;
+ private java.lang.String cookieTtl;
/**
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
@@ -49,7 +49,7 @@ public final class GrpcRouteStatefulSessionAffinityPolicy extends com.google.api
* this to 0s to use a session cookie and disable cookie expiration.
* @return value or {@code null} for none
*/
- public String getCookieTtl() {
+ public java.lang.String getCookieTtl() {
return cookieTtl;
}
@@ -59,7 +59,7 @@ public String getCookieTtl() {
* this to 0s to use a session cookie and disable cookie expiration.
* @param cookieTtl cookieTtl or {@code null} for none
*/
- public GrpcRouteStatefulSessionAffinityPolicy setCookieTtl(String cookieTtl) {
+ public GrpcRouteStatefulSessionAffinityPolicy setCookieTtl(java.lang.String cookieTtl) {
this.cookieTtl = cookieTtl;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRoute.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRoute.java
index fc38a9e1b16..f418defc6e1 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRoute.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRoute.java
@@ -35,7 +35,7 @@ public final class HttpRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -117,13 +117,13 @@ public final class HttpRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -131,7 +131,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public HttpRoute setCreateTime(String createTime) {
+ public HttpRoute setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -314,7 +314,7 @@ public HttpRoute setSelfLink(java.lang.String selfLink) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -322,7 +322,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public HttpRoute setUpdateTime(String updateTime) {
+ public HttpRoute setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteFaultInjectionPolicyDelay.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteFaultInjectionPolicyDelay.java
index 8f7d2abc408..0580c7caf45 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteFaultInjectionPolicyDelay.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteFaultInjectionPolicyDelay.java
@@ -35,7 +35,7 @@ public final class HttpRouteFaultInjectionPolicyDelay extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String fixedDelay;
+ private java.lang.String fixedDelay;
/**
* The percentage of traffic on which delay will be injected. The value must be between [0, 100]
@@ -48,7 +48,7 @@ public final class HttpRouteFaultInjectionPolicyDelay extends com.google.api.cli
* Specify a fixed delay before forwarding the request.
* @return value or {@code null} for none
*/
- public String getFixedDelay() {
+ public java.lang.String getFixedDelay() {
return fixedDelay;
}
@@ -56,7 +56,7 @@ public String getFixedDelay() {
* Specify a fixed delay before forwarding the request.
* @param fixedDelay fixedDelay or {@code null} for none
*/
- public HttpRouteFaultInjectionPolicyDelay setFixedDelay(String fixedDelay) {
+ public HttpRouteFaultInjectionPolicyDelay setFixedDelay(java.lang.String fixedDelay) {
this.fixedDelay = fixedDelay;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRetryPolicy.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRetryPolicy.java
index 444bd08241a..29b9b6a8015 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRetryPolicy.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRetryPolicy.java
@@ -42,7 +42,7 @@ public final class HttpRouteRetryPolicy extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String perTryTimeout;
+ private java.lang.String perTryTimeout;
/**
* Specifies one or more conditions when this retry policy applies. Valid values are: 5xx: Proxy
@@ -83,7 +83,7 @@ public HttpRouteRetryPolicy setNumRetries(java.lang.Integer numRetries) {
* Specifies a non-zero timeout per retry attempt.
* @return value or {@code null} for none
*/
- public String getPerTryTimeout() {
+ public java.lang.String getPerTryTimeout() {
return perTryTimeout;
}
@@ -91,7 +91,7 @@ public String getPerTryTimeout() {
* Specifies a non-zero timeout per retry attempt.
* @param perTryTimeout perTryTimeout or {@code null} for none
*/
- public HttpRouteRetryPolicy setPerTryTimeout(String perTryTimeout) {
+ public HttpRouteRetryPolicy setPerTryTimeout(java.lang.String perTryTimeout) {
this.perTryTimeout = perTryTimeout;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRouteAction.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRouteAction.java
index 1ee83608770..3fdf97f0164 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRouteAction.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteRouteAction.java
@@ -76,7 +76,7 @@ public final class HttpRouteRouteAction extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String idleTimeout;
+ private java.lang.String idleTimeout;
/**
* If set, the request is directed as configured by this field.
@@ -135,7 +135,7 @@ public final class HttpRouteRouteAction extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* The specification for rewrite URL before forwarding requests to the destination.
@@ -229,7 +229,7 @@ public HttpRouteRouteAction setFaultInjectionPolicy(HttpRouteFaultInjectionPolic
* disabled.
* @return value or {@code null} for none
*/
- public String getIdleTimeout() {
+ public java.lang.String getIdleTimeout() {
return idleTimeout;
}
@@ -240,7 +240,7 @@ public String getIdleTimeout() {
* disabled.
* @param idleTimeout idleTimeout or {@code null} for none
*/
- public HttpRouteRouteAction setIdleTimeout(String idleTimeout) {
+ public HttpRouteRouteAction setIdleTimeout(java.lang.String idleTimeout) {
this.idleTimeout = idleTimeout;
return this;
}
@@ -369,7 +369,7 @@ public HttpRouteRouteAction setStatefulSessionAffinity(HttpRouteStatefulSessionA
* Timeout includes all retries.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -379,7 +379,7 @@ public String getTimeout() {
* Timeout includes all retries.
* @param timeout timeout or {@code null} for none
*/
- public HttpRouteRouteAction setTimeout(String timeout) {
+ public HttpRouteRouteAction setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteStatefulSessionAffinityPolicy.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteStatefulSessionAffinityPolicy.java
index 689003069bb..0bbc90e4323 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteStatefulSessionAffinityPolicy.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteStatefulSessionAffinityPolicy.java
@@ -41,7 +41,7 @@ public final class HttpRouteStatefulSessionAffinityPolicy extends com.google.api
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String cookieTtl;
+ private java.lang.String cookieTtl;
/**
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
@@ -49,7 +49,7 @@ public final class HttpRouteStatefulSessionAffinityPolicy extends com.google.api
* this to 0s to use a session cookie and disable cookie expiration.
* @return value or {@code null} for none
*/
- public String getCookieTtl() {
+ public java.lang.String getCookieTtl() {
return cookieTtl;
}
@@ -59,7 +59,7 @@ public String getCookieTtl() {
* this to 0s to use a session cookie and disable cookie expiration.
* @param cookieTtl cookieTtl or {@code null} for none
*/
- public HttpRouteStatefulSessionAffinityPolicy setCookieTtl(String cookieTtl) {
+ public HttpRouteStatefulSessionAffinityPolicy setCookieTtl(java.lang.String cookieTtl) {
this.cookieTtl = cookieTtl;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbEdgeExtension.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbEdgeExtension.java
index c5d14ac1433..85f631fa8d8 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbEdgeExtension.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbEdgeExtension.java
@@ -35,7 +35,7 @@ public final class LbEdgeExtension extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A human-readable description of the resource.
@@ -99,13 +99,13 @@ public final class LbEdgeExtension extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -113,7 +113,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public LbEdgeExtension setCreateTime(String createTime) {
+ public LbEdgeExtension setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -242,7 +242,7 @@ public LbEdgeExtension setName(java.lang.String name) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -250,7 +250,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public LbEdgeExtension setUpdateTime(String updateTime) {
+ public LbEdgeExtension setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbRouteExtension.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbRouteExtension.java
index bb7f26a7a83..8c73beec553 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbRouteExtension.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbRouteExtension.java
@@ -35,7 +35,7 @@ public final class LbRouteExtension extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A human-readable description of the resource.
@@ -116,13 +116,13 @@ public final class LbRouteExtension extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -130,7 +130,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public LbRouteExtension setCreateTime(String createTime) {
+ public LbRouteExtension setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -296,7 +296,7 @@ public LbRouteExtension setName(java.lang.String name) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -304,7 +304,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public LbRouteExtension setUpdateTime(String updateTime) {
+ public LbRouteExtension setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbTrafficExtension.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbTrafficExtension.java
index 91c23d98e7c..ad5601d2e9d 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbTrafficExtension.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/LbTrafficExtension.java
@@ -36,7 +36,7 @@ public final class LbTrafficExtension extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A human-readable description of the resource.
@@ -118,13 +118,13 @@ public final class LbTrafficExtension extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -132,7 +132,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public LbTrafficExtension setCreateTime(String createTime) {
+ public LbTrafficExtension setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -300,7 +300,7 @@ public LbTrafficExtension setName(java.lang.String name) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -308,7 +308,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public LbTrafficExtension setUpdateTime(String updateTime) {
+ public LbTrafficExtension setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/Mesh.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/Mesh.java
index 6bb658023f0..3d19066b9d0 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/Mesh.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/Mesh.java
@@ -36,7 +36,7 @@ public final class Mesh extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -90,13 +90,13 @@ public final class Mesh extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -104,7 +104,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public Mesh setCreateTime(String createTime) {
+ public Mesh setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -225,7 +225,7 @@ public Mesh setSelfLink(java.lang.String selfLink) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -233,7 +233,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Mesh setUpdateTime(String updateTime) {
+ public Mesh setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/OperationMetadata.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/OperationMetadata.java
index 4c9fe774ec1..7167663edb2 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/OperationMetadata.java
@@ -41,14 +41,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -101,7 +101,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -109,7 +109,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -118,7 +118,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -126,7 +126,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceBinding.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceBinding.java
index e49095b9be8..3b3e65ca3f7 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceBinding.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceBinding.java
@@ -37,7 +37,7 @@ public final class ServiceBinding extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -85,13 +85,13 @@ public final class ServiceBinding extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -99,7 +99,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public ServiceBinding setCreateTime(String createTime) {
+ public ServiceBinding setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -205,7 +205,7 @@ public ServiceBinding setServiceId(java.lang.String serviceId) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -213,7 +213,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ServiceBinding setUpdateTime(String updateTime) {
+ public ServiceBinding setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceLbPolicy.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceLbPolicy.java
index 0b998dffe5f..6a705a91a4b 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceLbPolicy.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ServiceLbPolicy.java
@@ -43,7 +43,7 @@ public final class ServiceLbPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -94,7 +94,7 @@ public final class ServiceLbPolicy extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Configuration to automatically move traffic away for unhealthy IG/NEG for the
@@ -119,7 +119,7 @@ public ServiceLbPolicy setAutoCapacityDrain(ServiceLbPolicyAutoCapacityDrain aut
* Output only. The timestamp when this resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -127,7 +127,7 @@ public String getCreateTime() {
* Output only. The timestamp when this resource was created.
* @param createTime createTime or {@code null} for none
*/
- public ServiceLbPolicy setCreateTime(String createTime) {
+ public ServiceLbPolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -242,7 +242,7 @@ public ServiceLbPolicy setName(java.lang.String name) {
* Output only. The timestamp when this resource was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -250,7 +250,7 @@ public String getUpdateTime() {
* Output only. The timestamp when this resource was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ServiceLbPolicy setUpdateTime(String updateTime) {
+ public ServiceLbPolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/SetIamPolicyRequest.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/SetIamPolicyRequest.java
index d1ad79d4a82..3a591f46835 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/SetIamPolicyRequest.java
@@ -45,7 +45,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -74,7 +74,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -84,7 +84,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRoute.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRoute.java
index 660f01374d1..2049b492af9 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRoute.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRoute.java
@@ -34,7 +34,7 @@ public final class TcpRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. A free-text description of the resource. Max length 1024 characters.
@@ -96,13 +96,13 @@ public final class TcpRoute extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The timestamp when the resource was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. The timestamp when the resource was created.
* @param createTime createTime or {@code null} for none
*/
- public TcpRoute setCreateTime(String createTime) {
+ public TcpRoute setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -250,7 +250,7 @@ public TcpRoute setSelfLink(java.lang.String selfLink) {
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -258,7 +258,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public TcpRoute setUpdateTime(String updateTime) {
+ public TcpRoute setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRouteRouteAction.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRouteRouteAction.java
index f647ad198d3..81905607c2f 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRouteRouteAction.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TcpRouteRouteAction.java
@@ -46,7 +46,7 @@ public final class TcpRouteRouteAction extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String idleTimeout;
+ private java.lang.String idleTimeout;
/**
* Optional. If true, Router will use the destination IP and port of the original connection as
@@ -85,7 +85,7 @@ public TcpRouteRouteAction setDestinations(java.util.List targetProxies)
* Output only. The timestamp when the resource was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -288,7 +288,7 @@ public String getUpdateTime() {
* Output only. The timestamp when the resource was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public TlsRoute setUpdateTime(String updateTime) {
+ public TlsRoute setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TlsRouteRouteAction.java b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TlsRouteRouteAction.java
index 0dcce13ce2f..8d24249bd1f 100644
--- a/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TlsRouteRouteAction.java
+++ b/clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/TlsRouteRouteAction.java
@@ -45,7 +45,7 @@ public final class TlsRouteRouteAction extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String idleTimeout;
+ private java.lang.String idleTimeout;
/**
* Required. The destination services to which traffic should be forwarded. At least one
@@ -73,7 +73,7 @@ public TlsRouteRouteAction setDestinations(java.util.Listcom.google.apis
google-api-services-networkservices
- v1-rev20260330-2.0.0
- Network Services API v1-rev20260330-2.0.0
+ v1-rev20260226-2.0.0
+ Network Services API v1-rev20260226-2.0.0
jar
2011
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md b/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
index 5949b5dd60a..98b7a5acb03 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-ondemandscanning
- v1-rev20260330-2.0.0
+ v1-rev20260209-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260330-2.0.0'
+ implementation 'com.google.apis:google-api-services-ondemandscanning:v1-rev20260209-2.0.0'
}
```
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/OnDemandScanning.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/OnDemandScanning.java
index 8c5de0b001b..42f9612c172 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/OnDemandScanning.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/OnDemandScanning.java
@@ -971,13 +971,13 @@ public Wait setName(java.lang.String name) {
* specified, the shorter one will be used.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/** The maximum duration to wait before timing out. If left blank, the wait will be at most the time
permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the
shorter one will be used.
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -986,7 +986,7 @@ public String getTimeout() {
* the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also
* specified, the shorter one will be used.
*/
- public Wait setTimeout(String timeout) {
+ public Wait setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadata.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadata.java
index fcf02a14a63..d8bc71ac7dc 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadata.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadata.java
@@ -35,7 +35,7 @@ public final class AnalyzePackagesMetadata extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource URI of the container image being scanned.
@@ -48,7 +48,7 @@ public final class AnalyzePackagesMetadata extends com.google.api.client.json.Ge
* When the scan was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -56,7 +56,7 @@ public String getCreateTime() {
* When the scan was created.
* @param createTime createTime or {@code null} for none
*/
- public AnalyzePackagesMetadata setCreateTime(String createTime) {
+ public AnalyzePackagesMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadataV1.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadataV1.java
index b6bc20c4a69..e19f0eb9274 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadataV1.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/AnalyzePackagesMetadataV1.java
@@ -35,7 +35,7 @@ public final class AnalyzePackagesMetadataV1 extends com.google.api.client.json.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The resource URI of the container image being scanned.
@@ -48,7 +48,7 @@ public final class AnalyzePackagesMetadataV1 extends com.google.api.client.json.
* When the scan was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -56,7 +56,7 @@ public String getCreateTime() {
* When the scan was created.
* @param createTime createTime or {@code null} for none
*/
- public AnalyzePackagesMetadataV1 setCreateTime(String createTime) {
+ public AnalyzePackagesMetadataV1 setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildMetadata.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildMetadata.java
index d7e03f4a632..0ac4273e1c1 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildMetadata.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildMetadata.java
@@ -34,7 +34,7 @@ public final class BuildMetadata extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String finishedOn;
+ private java.lang.String finishedOn;
/**
* The value may be {@code null}.
@@ -46,19 +46,19 @@ public final class BuildMetadata extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startedOn;
+ private java.lang.String startedOn;
/**
* @return value or {@code null} for none
*/
- public String getFinishedOn() {
+ public java.lang.String getFinishedOn() {
return finishedOn;
}
/**
* @param finishedOn finishedOn or {@code null} for none
*/
- public BuildMetadata setFinishedOn(String finishedOn) {
+ public BuildMetadata setFinishedOn(java.lang.String finishedOn) {
this.finishedOn = finishedOn;
return this;
}
@@ -81,14 +81,14 @@ public BuildMetadata setInvocationId(java.lang.String invocationId) {
/**
* @return value or {@code null} for none
*/
- public String getStartedOn() {
+ public java.lang.String getStartedOn() {
return startedOn;
}
/**
* @param startedOn startedOn or {@code null} for none
*/
- public BuildMetadata setStartedOn(String startedOn) {
+ public BuildMetadata setStartedOn(java.lang.String startedOn) {
this.startedOn = startedOn;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildProvenance.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildProvenance.java
index a4dcbbc8f5d..ee7ea77db38 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildProvenance.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/BuildProvenance.java
@@ -71,7 +71,7 @@ public final class BuildProvenance extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* E-mail address of the user who initiated this build. Note that this was the user's e-mail
@@ -87,7 +87,7 @@ public final class BuildProvenance extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Required. Unique identifier of the build.
@@ -122,7 +122,7 @@ public final class BuildProvenance extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Trigger identifier if the build was triggered automatically; empty if not.
@@ -205,7 +205,7 @@ public BuildProvenance setCommands(java.util.List commands) {
* Time at which the build was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -213,7 +213,7 @@ public String getCreateTime() {
* Time at which the build was created.
* @param createTime createTime or {@code null} for none
*/
- public BuildProvenance setCreateTime(String createTime) {
+ public BuildProvenance setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -243,7 +243,7 @@ public BuildProvenance setCreator(java.lang.String creator) {
* Time at which execution of the build was finished.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -251,7 +251,7 @@ public String getEndTime() {
* Time at which execution of the build was finished.
* @param endTime endTime or {@code null} for none
*/
- public BuildProvenance setEndTime(String endTime) {
+ public BuildProvenance setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -328,7 +328,7 @@ public BuildProvenance setSourceProvenance(Source sourceProvenance) {
* Time at which execution of the build was started.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -336,7 +336,7 @@ public String getStartTime() {
* Time at which execution of the build was started.
* @param startTime startTime or {@code null} for none
*/
- public BuildProvenance setStartTime(String startTime) {
+ public BuildProvenance setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DeploymentOccurrence.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DeploymentOccurrence.java
index 7502d6a49cb..8fe61042e92 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DeploymentOccurrence.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DeploymentOccurrence.java
@@ -49,7 +49,7 @@ public final class DeploymentOccurrence extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deployTime;
+ private java.lang.String deployTime;
/**
* Platform hosting this deployment.
@@ -71,7 +71,7 @@ public final class DeploymentOccurrence extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String undeployTime;
+ private java.lang.String undeployTime;
/**
* Identity of the user that triggered this deployment.
@@ -118,7 +118,7 @@ public DeploymentOccurrence setConfig(java.lang.String config) {
* Required. Beginning of the lifetime of this deployment.
* @return value or {@code null} for none
*/
- public String getDeployTime() {
+ public java.lang.String getDeployTime() {
return deployTime;
}
@@ -126,7 +126,7 @@ public String getDeployTime() {
* Required. Beginning of the lifetime of this deployment.
* @param deployTime deployTime or {@code null} for none
*/
- public DeploymentOccurrence setDeployTime(String deployTime) {
+ public DeploymentOccurrence setDeployTime(java.lang.String deployTime) {
this.deployTime = deployTime;
return this;
}
@@ -171,7 +171,7 @@ public DeploymentOccurrence setResourceUri(java.util.List reso
* End of the lifetime of this deployment.
* @return value or {@code null} for none
*/
- public String getUndeployTime() {
+ public java.lang.String getUndeployTime() {
return undeployTime;
}
@@ -179,7 +179,7 @@ public String getUndeployTime() {
* End of the lifetime of this deployment.
* @param undeployTime undeployTime or {@code null} for none
*/
- public DeploymentOccurrence setUndeployTime(String undeployTime) {
+ public DeploymentOccurrence setUndeployTime(java.lang.String undeployTime) {
this.undeployTime = undeployTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DiscoveryOccurrence.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DiscoveryOccurrence.java
index e5cee8a8cac..c64c209255c 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DiscoveryOccurrence.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/DiscoveryOccurrence.java
@@ -64,7 +64,7 @@ public final class DiscoveryOccurrence extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String archiveTime;
+ private java.lang.String archiveTime;
/**
* Whether the resource is continuously analyzed.
@@ -92,14 +92,14 @@ public final class DiscoveryOccurrence extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastScanTime;
+ private java.lang.String lastScanTime;
/**
* The last time vulnerability scan results changed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastVulnerabilityUpdateTime;
+ private java.lang.String lastVulnerabilityUpdateTime;
/**
* The status of an SBOM generation.
@@ -182,7 +182,7 @@ public DiscoveryOccurrence setAnalysisStatusError(Status analysisStatusError) {
* Output only. The time occurrences related to this discovery occurrence were archived.
* @return value or {@code null} for none
*/
- public String getArchiveTime() {
+ public java.lang.String getArchiveTime() {
return archiveTime;
}
@@ -190,7 +190,7 @@ public String getArchiveTime() {
* Output only. The time occurrences related to this discovery occurrence were archived.
* @param archiveTime archiveTime or {@code null} for none
*/
- public DiscoveryOccurrence setArchiveTime(String archiveTime) {
+ public DiscoveryOccurrence setArchiveTime(java.lang.String archiveTime) {
this.archiveTime = archiveTime;
return this;
}
@@ -250,7 +250,7 @@ public DiscoveryOccurrence setFiles(java.util.List files) {
* The last time this resource was scanned.
* @return value or {@code null} for none
*/
- public String getLastScanTime() {
+ public java.lang.String getLastScanTime() {
return lastScanTime;
}
@@ -258,7 +258,7 @@ public String getLastScanTime() {
* The last time this resource was scanned.
* @param lastScanTime lastScanTime or {@code null} for none
*/
- public DiscoveryOccurrence setLastScanTime(String lastScanTime) {
+ public DiscoveryOccurrence setLastScanTime(java.lang.String lastScanTime) {
this.lastScanTime = lastScanTime;
return this;
}
@@ -267,7 +267,7 @@ public DiscoveryOccurrence setLastScanTime(String lastScanTime) {
* The last time vulnerability scan results changed.
* @return value or {@code null} for none
*/
- public String getLastVulnerabilityUpdateTime() {
+ public java.lang.String getLastVulnerabilityUpdateTime() {
return lastVulnerabilityUpdateTime;
}
@@ -275,7 +275,7 @@ public String getLastVulnerabilityUpdateTime() {
* The last time vulnerability scan results changed.
* @param lastVulnerabilityUpdateTime lastVulnerabilityUpdateTime or {@code null} for none
*/
- public DiscoveryOccurrence setLastVulnerabilityUpdateTime(String lastVulnerabilityUpdateTime) {
+ public DiscoveryOccurrence setLastVulnerabilityUpdateTime(java.lang.String lastVulnerabilityUpdateTime) {
this.lastVulnerabilityUpdateTime = lastVulnerabilityUpdateTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1FileLocation.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1FileLocation.java
index 80b77f9ba2d..f07818315de 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1FileLocation.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1FileLocation.java
@@ -46,14 +46,6 @@ public final class GrafeasV1FileLocation extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private GrafeasV1LayerDetails layerDetails;
- /**
- * Line number in the file where the package was found. Optional field that only applies to source
- * repository scanning.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer lineNumber;
-
/**
* For jars that are contained inside .war files, this filepath can indicate the path to war file
* combined with the path to jar file.
@@ -92,25 +84,6 @@ public GrafeasV1FileLocation setLayerDetails(GrafeasV1LayerDetails layerDetails)
return this;
}
- /**
- * Line number in the file where the package was found. Optional field that only applies to source
- * repository scanning.
- * @return value or {@code null} for none
- */
- public java.lang.Integer getLineNumber() {
- return lineNumber;
- }
-
- /**
- * Line number in the file where the package was found. Optional field that only applies to source
- * repository scanning.
- * @param lineNumber lineNumber or {@code null} for none
- */
- public GrafeasV1FileLocation setLineNumber(java.lang.Integer lineNumber) {
- this.lineNumber = lineNumber;
- return this;
- }
-
@Override
public GrafeasV1FileLocation set(String fieldName, Object value) {
return (GrafeasV1FileLocation) super.set(fieldName, value);
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.java
index 3e675427ba8..13e9f7fbc14 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata.java
@@ -34,7 +34,7 @@ public final class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata extends com.google
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildFinishedOn;
+ private java.lang.String buildFinishedOn;
/**
* The value may be {@code null}.
@@ -46,7 +46,7 @@ public final class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata extends com.google
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildStartedOn;
+ private java.lang.String buildStartedOn;
/**
* The value may be {@code null}.
@@ -63,14 +63,14 @@ public final class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata extends com.google
/**
* @return value or {@code null} for none
*/
- public String getBuildFinishedOn() {
+ public java.lang.String getBuildFinishedOn() {
return buildFinishedOn;
}
/**
* @param buildFinishedOn buildFinishedOn or {@code null} for none
*/
- public GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata setBuildFinishedOn(String buildFinishedOn) {
+ public GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata setBuildFinishedOn(java.lang.String buildFinishedOn) {
this.buildFinishedOn = buildFinishedOn;
return this;
}
@@ -93,14 +93,14 @@ public GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata setBuildInvocationId(java.lang
/**
* @return value or {@code null} for none
*/
- public String getBuildStartedOn() {
+ public java.lang.String getBuildStartedOn() {
return buildStartedOn;
}
/**
* @param buildStartedOn buildStartedOn or {@code null} for none
*/
- public GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata setBuildStartedOn(String buildStartedOn) {
+ public GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata setBuildStartedOn(java.lang.String buildStartedOn) {
this.buildStartedOn = buildStartedOn;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Metadata.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Metadata.java
index bd2574072d6..7eb10bafb7d 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Metadata.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Metadata.java
@@ -35,7 +35,7 @@ public final class Metadata extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildFinishedOn;
+ private java.lang.String buildFinishedOn;
/**
* Identifies the particular build invocation, which can be useful for finding associated logs or
@@ -50,7 +50,7 @@ public final class Metadata extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildStartedOn;
+ private java.lang.String buildStartedOn;
/**
* Indicates that the builder claims certain fields in this message to be complete.
@@ -71,7 +71,7 @@ public final class Metadata extends com.google.api.client.json.GenericJson {
* The timestamp of when the build completed.
* @return value or {@code null} for none
*/
- public String getBuildFinishedOn() {
+ public java.lang.String getBuildFinishedOn() {
return buildFinishedOn;
}
@@ -79,7 +79,7 @@ public String getBuildFinishedOn() {
* The timestamp of when the build completed.
* @param buildFinishedOn buildFinishedOn or {@code null} for none
*/
- public Metadata setBuildFinishedOn(String buildFinishedOn) {
+ public Metadata setBuildFinishedOn(java.lang.String buildFinishedOn) {
this.buildFinishedOn = buildFinishedOn;
return this;
}
@@ -107,7 +107,7 @@ public Metadata setBuildInvocationId(java.lang.String buildInvocationId) {
* The timestamp of when the build started.
* @return value or {@code null} for none
*/
- public String getBuildStartedOn() {
+ public java.lang.String getBuildStartedOn() {
return buildStartedOn;
}
@@ -115,7 +115,7 @@ public String getBuildStartedOn() {
* The timestamp of when the build started.
* @param buildStartedOn buildStartedOn or {@code null} for none
*/
- public Metadata setBuildStartedOn(String buildStartedOn) {
+ public Metadata setBuildStartedOn(java.lang.String buildStartedOn) {
this.buildStartedOn = buildStartedOn;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Occurrence.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Occurrence.java
index 8fb37413647..c3be1e92b49 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Occurrence.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/Occurrence.java
@@ -30,20 +30,6 @@
@SuppressWarnings("javadoc")
public final class Occurrence extends com.google.api.client.json.GenericJson {
- /**
- * The time this advisory was published by the source.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private String advisoryPublishTime;
-
- /**
- * Describes an AI skill analysis.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private AISkillAnalysisOccurrence aiSkillAnalysis;
-
/**
* Describes an attestation of an artifact.
* The value may be {@code null}.
@@ -70,7 +56,7 @@ public final class Occurrence extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Describes the deployment of an artifact on a runtime.
@@ -172,7 +158,7 @@ public final class Occurrence extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Describes an available package upgrade on the linked resource.
@@ -188,40 +174,6 @@ public final class Occurrence extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private VulnerabilityOccurrence vulnerability;
- /**
- * The time this advisory was published by the source.
- * @return value or {@code null} for none
- */
- public String getAdvisoryPublishTime() {
- return advisoryPublishTime;
- }
-
- /**
- * The time this advisory was published by the source.
- * @param advisoryPublishTime advisoryPublishTime or {@code null} for none
- */
- public Occurrence setAdvisoryPublishTime(String advisoryPublishTime) {
- this.advisoryPublishTime = advisoryPublishTime;
- return this;
- }
-
- /**
- * Describes an AI skill analysis.
- * @return value or {@code null} for none
- */
- public AISkillAnalysisOccurrence getAiSkillAnalysis() {
- return aiSkillAnalysis;
- }
-
- /**
- * Describes an AI skill analysis.
- * @param aiSkillAnalysis aiSkillAnalysis or {@code null} for none
- */
- public Occurrence setAiSkillAnalysis(AISkillAnalysisOccurrence aiSkillAnalysis) {
- this.aiSkillAnalysis = aiSkillAnalysis;
- return this;
- }
-
/**
* Describes an attestation of an artifact.
* @return value or {@code null} for none
@@ -277,7 +229,7 @@ public Occurrence setCompliance(ComplianceOccurrence compliance) {
* Output only. The time this occurrence was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -285,7 +237,7 @@ public String getCreateTime() {
* Output only. The time this occurrence was created.
* @param createTime createTime or {@code null} for none
*/
- public Occurrence setCreateTime(String createTime) {
+ public Occurrence setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -523,7 +475,7 @@ public Occurrence setSecret(SecretOccurrence secret) {
* Output only. The time this occurrence was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -531,7 +483,7 @@ public String getUpdateTime() {
* Output only. The time this occurrence was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Occurrence setUpdateTime(String updateTime) {
+ public Occurrence setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SecretStatus.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SecretStatus.java
index 6ad7d02cf64..1de1dd7757f 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SecretStatus.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SecretStatus.java
@@ -49,7 +49,7 @@ public final class SecretStatus extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Optional message about the status code.
@@ -89,7 +89,7 @@ public SecretStatus setStatus(java.lang.String status) {
* Optional. The time the secret status was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -97,7 +97,7 @@ public String getUpdateTime() {
* Optional. The time the secret status was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public SecretStatus setUpdateTime(String updateTime) {
+ public SecretStatus setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SlsaMetadata.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SlsaMetadata.java
index e18068526cc..5c96535371a 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SlsaMetadata.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/SlsaMetadata.java
@@ -35,7 +35,7 @@ public final class SlsaMetadata extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildFinishedOn;
+ private java.lang.String buildFinishedOn;
/**
* Identifies the particular build invocation, which can be useful for finding associated logs or
@@ -50,7 +50,7 @@ public final class SlsaMetadata extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String buildStartedOn;
+ private java.lang.String buildStartedOn;
/**
* Indicates that the builder claims certain fields in this message to be complete.
@@ -71,7 +71,7 @@ public final class SlsaMetadata extends com.google.api.client.json.GenericJson {
* The timestamp of when the build completed.
* @return value or {@code null} for none
*/
- public String getBuildFinishedOn() {
+ public java.lang.String getBuildFinishedOn() {
return buildFinishedOn;
}
@@ -79,7 +79,7 @@ public String getBuildFinishedOn() {
* The timestamp of when the build completed.
* @param buildFinishedOn buildFinishedOn or {@code null} for none
*/
- public SlsaMetadata setBuildFinishedOn(String buildFinishedOn) {
+ public SlsaMetadata setBuildFinishedOn(java.lang.String buildFinishedOn) {
this.buildFinishedOn = buildFinishedOn;
return this;
}
@@ -107,7 +107,7 @@ public SlsaMetadata setBuildInvocationId(java.lang.String buildInvocationId) {
* The timestamp of when the build started.
* @return value or {@code null} for none
*/
- public String getBuildStartedOn() {
+ public java.lang.String getBuildStartedOn() {
return buildStartedOn;
}
@@ -115,7 +115,7 @@ public String getBuildStartedOn() {
* The timestamp of when the build started.
* @param buildStartedOn buildStartedOn or {@code null} for none
*/
- public SlsaMetadata setBuildStartedOn(String buildStartedOn) {
+ public SlsaMetadata setBuildStartedOn(java.lang.String buildStartedOn) {
this.buildStartedOn = buildStartedOn;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WindowsUpdate.java b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WindowsUpdate.java
index a81838c390c..7339ca91468 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WindowsUpdate.java
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/com/google/api/services/ondemandscanning/v1/model/WindowsUpdate.java
@@ -71,7 +71,7 @@ public final class WindowsUpdate extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastPublishedTimestamp;
+ private java.lang.String lastPublishedTimestamp;
/**
* The hyperlink to the support information for the update.
@@ -159,7 +159,7 @@ public WindowsUpdate setKbArticleIds(java.util.List kbArticleI
* The last published timestamp of the update.
* @return value or {@code null} for none
*/
- public String getLastPublishedTimestamp() {
+ public java.lang.String getLastPublishedTimestamp() {
return lastPublishedTimestamp;
}
@@ -167,7 +167,7 @@ public String getLastPublishedTimestamp() {
* The last published timestamp of the update.
* @param lastPublishedTimestamp lastPublishedTimestamp or {@code null} for none
*/
- public WindowsUpdate setLastPublishedTimestamp(String lastPublishedTimestamp) {
+ public WindowsUpdate setLastPublishedTimestamp(java.lang.String lastPublishedTimestamp) {
this.lastPublishedTimestamp = lastPublishedTimestamp;
return this;
}
diff --git a/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml b/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml
index 200d851f86e..13d39248ea6 100644
--- a/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-ondemandscanning/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-ondemandscanning
- v1-rev20260330-2.0.0
- On-Demand Scanning API v1-rev20260330-2.0.0
+ v1-rev20260209-2.0.0
+ On-Demand Scanning API v1-rev20260209-2.0.0
jar
2011
diff --git a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/Parallelstore.java b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/Parallelstore.java
index a503507586b..896ff575400 100644
--- a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/Parallelstore.java
+++ b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/Parallelstore.java
@@ -1762,13 +1762,13 @@ public Patch setRequestId(java.lang.String requestId) {
* not the full request.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Mask of fields to update. Field mask is used to specify the fields to be overwritten in
the Instance resource by the update. At least one path must be supplied in this field. The fields
specified in the update_mask are relative to the resource, not the full request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -1778,7 +1778,7 @@ public String getUpdateMask() {
* in this field. The fields specified in the update_mask are relative to the resource,
* not the full request.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/Instance.java b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/Instance.java
index 64aa7094aea..26228402255 100644
--- a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/Instance.java
+++ b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/Instance.java
@@ -49,7 +49,7 @@ public final class Instance extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Deprecated: The version of DAOS software running in the instance.
@@ -150,7 +150,7 @@ public final class Instance extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. A list of IPv4 addresses used for client side configuration.
@@ -192,7 +192,7 @@ public Instance setCapacityGib(java.lang.Long capacityGib) {
* Output only. The time when the instance was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -200,7 +200,7 @@ public String getCreateTime() {
* Output only. The time when the instance was created.
* @param createTime createTime or {@code null} for none
*/
- public Instance setCreateTime(String createTime) {
+ public Instance setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -430,7 +430,7 @@ public Instance setState(java.lang.String state) {
* Output only. The time when the instance was updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -438,7 +438,7 @@ public String getUpdateTime() {
* Output only. The time when the instance was updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Instance setUpdateTime(String updateTime) {
+ public Instance setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/OperationMetadata.java b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/OperationMetadata.java
index 6f5f9a8d968..c27c28854d9 100644
--- a/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-parallelstore/v1/2.0.0/com/google/api/services/parallelstore/v1/model/OperationMetadata.java
@@ -41,14 +41,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -101,7 +101,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -109,7 +109,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -118,7 +118,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -126,7 +126,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/PaymentsResellerSubscription.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/PaymentsResellerSubscription.java
index e2f3737d5d4..b57e7ed01ac 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/PaymentsResellerSubscription.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/PaymentsResellerSubscription.java
@@ -2380,12 +2380,12 @@ public Patch setName(java.lang.String name) {
* `product_payload.googleHomePayload.googleStructureId`
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. The list of fields to update. Only a limited set of fields can be updated. The allowed
fields are the following: - `product_payload.googleHomePayload.googleStructureId`
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2394,7 +2394,7 @@ public String getUpdateMask() {
* The allowed fields are the following: -
* `product_payload.googleHomePayload.googleStructureId`
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ExtendSubscriptionResponse.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ExtendSubscriptionResponse.java
index 4557df6b3bc..5485185967f 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ExtendSubscriptionResponse.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ExtendSubscriptionResponse.java
@@ -36,7 +36,7 @@ public final class ExtendSubscriptionResponse extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String cycleEndTime;
+ private java.lang.String cycleEndTime;
/**
* End of the free trial period, in ISO 8061 format. UTC timezone. Example,
@@ -45,7 +45,7 @@ public final class ExtendSubscriptionResponse extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String freeTrialEndTime;
+ private java.lang.String freeTrialEndTime;
/**
* Output only. The time at which the subscription is expected to be renewed by Google - a new
@@ -56,14 +56,14 @@ public final class ExtendSubscriptionResponse extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String renewalTime;
+ private java.lang.String renewalTime;
/**
* The time at which the subscription is expected to be extended, in ISO 8061 format. UTC
* timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z"
* @return value or {@code null} for none
*/
- public String getCycleEndTime() {
+ public java.lang.String getCycleEndTime() {
return cycleEndTime;
}
@@ -72,7 +72,7 @@ public String getCycleEndTime() {
* timezone. Example, "cycleEndTime":"2019-08-31T17:28:54.564Z"
* @param cycleEndTime cycleEndTime or {@code null} for none
*/
- public ExtendSubscriptionResponse setCycleEndTime(String cycleEndTime) {
+ public ExtendSubscriptionResponse setCycleEndTime(java.lang.String cycleEndTime) {
this.cycleEndTime = cycleEndTime;
return this;
}
@@ -83,7 +83,7 @@ public ExtendSubscriptionResponse setCycleEndTime(String cycleEndTime) {
* subscription creation time if no free trial period is offered to the partner.
* @return value or {@code null} for none
*/
- public String getFreeTrialEndTime() {
+ public java.lang.String getFreeTrialEndTime() {
return freeTrialEndTime;
}
@@ -93,7 +93,7 @@ public String getFreeTrialEndTime() {
* subscription creation time if no free trial period is offered to the partner.
* @param freeTrialEndTime freeTrialEndTime or {@code null} for none
*/
- public ExtendSubscriptionResponse setFreeTrialEndTime(String freeTrialEndTime) {
+ public ExtendSubscriptionResponse setFreeTrialEndTime(java.lang.String freeTrialEndTime) {
this.freeTrialEndTime = freeTrialEndTime;
return this;
}
@@ -106,7 +106,7 @@ public ExtendSubscriptionResponse setFreeTrialEndTime(String freeTrialEndTime) {
* "2019-08-31T17:28:54.564Z"
* @return value or {@code null} for none
*/
- public String getRenewalTime() {
+ public java.lang.String getRenewalTime() {
return renewalTime;
}
@@ -118,7 +118,7 @@ public String getRenewalTime() {
* "2019-08-31T17:28:54.564Z"
* @param renewalTime renewalTime or {@code null} for none
*/
- public ExtendSubscriptionResponse setRenewalTime(String renewalTime) {
+ public ExtendSubscriptionResponse setRenewalTime(java.lang.String renewalTime) {
this.renewalTime = renewalTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Promotion.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Promotion.java
index 46fcb27b20a..b7f504289e2 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Promotion.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Promotion.java
@@ -43,7 +43,7 @@ public final class Promotion extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. Specifies the duration of the free trial of the subscription when promotion_type is
@@ -90,7 +90,7 @@ public final class Promotion extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. Localized human readable name of the promotion.
@@ -127,7 +127,7 @@ public Promotion setApplicableProducts(java.util.List applicab
* If unset, the promotion is available indefinitely.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -136,7 +136,7 @@ public String getEndTime() {
* If unset, the promotion is available indefinitely.
* @param endTime endTime or {@code null} for none
*/
- public Promotion setEndTime(String endTime) {
+ public Promotion setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -239,7 +239,7 @@ public Promotion setRegionCodes(java.util.List regionCodes) {
* in.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -248,7 +248,7 @@ public String getStartTime() {
* in.
* @param startTime startTime or {@code null} for none
*/
- public Promotion setStartTime(String startTime) {
+ public Promotion setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ServicePeriod.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ServicePeriod.java
index e7ee76ab244..6d509ba5590 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ServicePeriod.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/ServicePeriod.java
@@ -36,20 +36,20 @@ public final class ServicePeriod extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Required. The start time of the service period. Time is inclusive.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. The end time of the service period. Time is exclusive.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -57,7 +57,7 @@ public String getEndTime() {
* Optional. The end time of the service period. Time is exclusive.
* @param endTime endTime or {@code null} for none
*/
- public ServicePeriod setEndTime(String endTime) {
+ public ServicePeriod setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -66,7 +66,7 @@ public ServicePeriod setEndTime(String endTime) {
* Required. The start time of the service period. Time is inclusive.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -74,7 +74,7 @@ public String getStartTime() {
* Required. The start time of the service period. Time is inclusive.
* @param startTime startTime or {@code null} for none
*/
- public ServicePeriod setStartTime(String startTime) {
+ public ServicePeriod setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Subscription.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Subscription.java
index 42e0880bf94..dea53bfecd5 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Subscription.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/Subscription.java
@@ -47,7 +47,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time at which the subscription is expected to be extended, in ISO 8061 format.
@@ -55,7 +55,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String cycleEndTime;
+ private java.lang.String cycleEndTime;
/**
* Output only. Indicates if the subscription is entitled to the end user.
@@ -71,7 +71,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String freeTrialEndTime;
+ private java.lang.String freeTrialEndTime;
/**
* Required. The line items of the subscription.
@@ -150,7 +150,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String purchaseTime;
+ private java.lang.String purchaseTime;
/**
* Output only. The place where partners should redirect the end-user to after creation. This
@@ -170,7 +170,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String renewalTime;
+ private java.lang.String renewalTime;
/**
* Required. The location that the service is provided as indicated by the partner.
@@ -194,7 +194,7 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Details about the previous subscription that this new subscription
@@ -228,7 +228,7 @@ public Subscription setCancellationDetails(SubscriptionCancellationDetails cance
* Output only. System generated timestamp when the subscription is created. UTC timezone.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -236,7 +236,7 @@ public String getCreateTime() {
* Output only. System generated timestamp when the subscription is created. UTC timezone.
* @param createTime createTime or {@code null} for none
*/
- public Subscription setCreateTime(String createTime) {
+ public Subscription setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -246,7 +246,7 @@ public Subscription setCreateTime(String createTime) {
* UTC timezone. For example: "2019-08-31T17:28:54.564Z"
* @return value or {@code null} for none
*/
- public String getCycleEndTime() {
+ public java.lang.String getCycleEndTime() {
return cycleEndTime;
}
@@ -255,7 +255,7 @@ public String getCycleEndTime() {
* UTC timezone. For example: "2019-08-31T17:28:54.564Z"
* @param cycleEndTime cycleEndTime or {@code null} for none
*/
- public Subscription setCycleEndTime(String cycleEndTime) {
+ public Subscription setCycleEndTime(java.lang.String cycleEndTime) {
this.cycleEndTime = cycleEndTime;
return this;
}
@@ -283,7 +283,7 @@ public Subscription setEndUserEntitled(java.lang.Boolean endUserEntitled) {
* specified.
* @return value or {@code null} for none
*/
- public String getFreeTrialEndTime() {
+ public java.lang.String getFreeTrialEndTime() {
return freeTrialEndTime;
}
@@ -293,7 +293,7 @@ public String getFreeTrialEndTime() {
* specified.
* @param freeTrialEndTime freeTrialEndTime or {@code null} for none
*/
- public Subscription setFreeTrialEndTime(String freeTrialEndTime) {
+ public Subscription setFreeTrialEndTime(java.lang.String freeTrialEndTime) {
this.freeTrialEndTime = freeTrialEndTime;
return this;
}
@@ -468,7 +468,7 @@ public Subscription setPromotions(java.util.List promotions) {
* selection).
* @return value or {@code null} for none
*/
- public String getPurchaseTime() {
+ public java.lang.String getPurchaseTime() {
return purchaseTime;
}
@@ -478,7 +478,7 @@ public String getPurchaseTime() {
* selection).
* @param purchaseTime purchaseTime or {@code null} for none
*/
- public Subscription setPurchaseTime(String purchaseTime) {
+ public Subscription setPurchaseTime(java.lang.String purchaseTime) {
this.purchaseTime = purchaseTime;
return this;
}
@@ -512,7 +512,7 @@ public Subscription setRedirectUri(java.lang.String redirectUri) {
* "2019-08-31T17:28:54.564Z"
* @return value or {@code null} for none
*/
- public String getRenewalTime() {
+ public java.lang.String getRenewalTime() {
return renewalTime;
}
@@ -524,7 +524,7 @@ public String getRenewalTime() {
* "2019-08-31T17:28:54.564Z"
* @param renewalTime renewalTime or {@code null} for none
*/
- public Subscription setRenewalTime(String renewalTime) {
+ public Subscription setRenewalTime(java.lang.String renewalTime) {
this.renewalTime = renewalTime;
return this;
}
@@ -572,7 +572,7 @@ public Subscription setState(java.lang.String state) {
* timezone.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -581,7 +581,7 @@ public String getUpdateTime() {
* timezone.
* @param updateTime updateTime or {@code null} for none
*/
- public Subscription setUpdateTime(String updateTime) {
+ public Subscription setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItem.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItem.java
index 1c066844212..74e1e639817 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItem.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItem.java
@@ -69,7 +69,7 @@ public final class SubscriptionLineItem extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lineItemFreeTrialEndTime;
+ private java.lang.String lineItemFreeTrialEndTime;
/**
* Output only. A unique index of the subscription line item.
@@ -212,7 +212,7 @@ public SubscriptionLineItem setFiniteBillingCycleDetails(FiniteBillingCycleDetai
* specified.
* @return value or {@code null} for none
*/
- public String getLineItemFreeTrialEndTime() {
+ public java.lang.String getLineItemFreeTrialEndTime() {
return lineItemFreeTrialEndTime;
}
@@ -223,7 +223,7 @@ public String getLineItemFreeTrialEndTime() {
* specified.
* @param lineItemFreeTrialEndTime lineItemFreeTrialEndTime or {@code null} for none
*/
- public SubscriptionLineItem setLineItemFreeTrialEndTime(String lineItemFreeTrialEndTime) {
+ public SubscriptionLineItem setLineItemFreeTrialEndTime(java.lang.String lineItemFreeTrialEndTime) {
this.lineItemFreeTrialEndTime = lineItemFreeTrialEndTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItemBundleDetailsBundleElementDetails.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItemBundleDetailsBundleElementDetails.java
index 96db807e4ac..1207aeb5b1b 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItemBundleDetailsBundleElementDetails.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/SubscriptionLineItemBundleDetailsBundleElementDetails.java
@@ -43,7 +43,7 @@ public final class SubscriptionLineItemBundleDetailsBundleElementDetails extends
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String userAccountLinkedTime;
+ private java.lang.String userAccountLinkedTime;
/**
* Output only. Product resource name that identifies the bundle element. The format is
@@ -68,7 +68,7 @@ public SubscriptionLineItemBundleDetailsBundleElementDetails setProduct(java.lan
* Output only. The time when this product is linked to an end user.
* @return value or {@code null} for none
*/
- public String getUserAccountLinkedTime() {
+ public java.lang.String getUserAccountLinkedTime() {
return userAccountLinkedTime;
}
@@ -76,7 +76,7 @@ public String getUserAccountLinkedTime() {
* Output only. The time when this product is linked to an end user.
* @param userAccountLinkedTime userAccountLinkedTime or {@code null} for none
*/
- public SubscriptionLineItemBundleDetailsBundleElementDetails setUserAccountLinkedTime(String userAccountLinkedTime) {
+ public SubscriptionLineItemBundleDetailsBundleElementDetails setUserAccountLinkedTime(java.lang.String userAccountLinkedTime) {
this.userAccountLinkedTime = userAccountLinkedTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/UserSession.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/UserSession.java
index 90bd8b892a7..b9aec5cd72e 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/UserSession.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/UserSession.java
@@ -42,7 +42,7 @@ public final class UserSession extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Output only. The encrypted token of the user session, including the information of the user's
@@ -56,7 +56,7 @@ public final class UserSession extends com.google.api.client.json.GenericJson {
* Output only. The time at which the user session expires.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -64,7 +64,7 @@ public String getExpireTime() {
* Output only. The time at which the user session expires.
* @param expireTime expireTime or {@code null} for none
*/
- public UserSession setExpireTime(String expireTime) {
+ public UserSession setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
diff --git a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/YoutubePayload.java b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/YoutubePayload.java
index 96ef2ac7937..0917379d0ef 100644
--- a/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/YoutubePayload.java
+++ b/clients/google-api-services-paymentsresellersubscription/v1/2.0.0/com/google/api/services/paymentsresellersubscription/v1/model/YoutubePayload.java
@@ -35,7 +35,7 @@ public final class YoutubePayload extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String accessEndTime;
+ private java.lang.String accessEndTime;
/**
* The list of eligibility_ids which are applicable for the line item.
@@ -55,7 +55,7 @@ public final class YoutubePayload extends com.google.api.client.json.GenericJson
* Output only. The access expiration time for this line item.
* @return value or {@code null} for none
*/
- public String getAccessEndTime() {
+ public java.lang.String getAccessEndTime() {
return accessEndTime;
}
@@ -63,7 +63,7 @@ public String getAccessEndTime() {
* Output only. The access expiration time for this line item.
* @param accessEndTime accessEndTime or {@code null} for none
*/
- public YoutubePayload setAccessEndTime(String accessEndTime) {
+ public YoutubePayload setAccessEndTime(java.lang.String accessEndTime) {
this.accessEndTime = accessEndTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/README.md b/clients/google-api-services-redis/v1/2.0.0/README.md
index 88338418e74..8e5e6ae0196 100644
--- a/clients/google-api-services-redis/v1/2.0.0/README.md
+++ b/clients/google-api-services-redis/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-redis
- v1-rev20260406-2.0.0
+ v1-rev20260309-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-redis:v1-rev20260406-2.0.0'
+ implementation 'com.google.apis:google-api-services-redis:v1-rev20260309-2.0.0'
}
```
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
index 3fb1f2a3ea2..4485c182c0d 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedis.java
@@ -466,14 +466,10 @@ public GetSharedRegionalCertificateAuthority set(String parameterName, Object va
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -497,15 +493,10 @@ public class List extends CloudRedisRequestThe typical use is:
*
* {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.AclPolicies.List request = redis.aclPolicies().list(parameters ...)}
+ * {@code CloudRedis.BackupCollections.List request = redis.backupCollections().list(parameters ...)}
*
*
* @return the resource collection
*/
- public AclPolicies aclPolicies() {
- return new AclPolicies();
+ public BackupCollections backupCollections() {
+ return new BackupCollections();
}
/**
- * The "aclPolicies" collection of methods.
+ * The "backupCollections" collection of methods.
*/
- public class AclPolicies {
+ public class BackupCollections {
/**
- * Creates an ACL Policy. The creation is executed synchronously and the policy is available for use
- * immediately after the RPC returns.
+ * Get a backup collection.
*
- * Create a request for the method "aclPolicies.create".
+ * Create a request for the method "backupCollections.get".
*
* This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.AclPolicy}
+ * @param name Required. Redis backupCollection resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ * where `location_id` refers to a Google Cloud region.
* @return the request
*/
- public Create create(java.lang.String parent, com.google.api.services.redis.v1.model.AclPolicy content) throws java.io.IOException {
- Create result = new Create(parent, content);
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
initialize(result);
return result;
}
- public class Create extends CloudRedisRequest {
+ public class Get extends CloudRedisRequest {
- private static final String REST_PATH = "v1/{+parent}/aclPolicies";
+ private static final String REST_PATH = "v1/{+name}";
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
/**
- * Creates an ACL Policy. The creation is executed synchronously and the policy is available for
- * use immediately after the RPC returns.
+ * Get a backup collection.
*
- * Create a request for the method "aclPolicies.create".
+ * Create a request for the method "backupCollections.get".
*
* This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation. {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.AclPolicy}
+ * @param name Required. Redis backupCollection resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ * where `location_id` refers to a Google Cloud region.
* @since 1.13
*/
- protected Create(java.lang.String parent, com.google.api.services.redis.v1.model.AclPolicy content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.AclPolicy.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ protected Get(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.BackupCollection.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
}
}
@Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
@Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
}
@Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
}
@Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
}
@Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
}
@Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
}
@Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
}
@Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
}
@Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
}
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The resource name of the cluster location using the form:
- `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
- region.
- */
- public java.lang.String getParent() {
- return parent;
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
}
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- public Create setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. The logical name of the ACL Policy in the customer project with the following
- * restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
- * with a letter. * Must be between 1-63 characters. * Must end with a number or a letter.
- * * Must be unique within the customer project / location
+ * Required. Redis backupCollection resource name using the form: `projects/{project_id}/l
+ * ocations/{location_id}/backupCollections/{backup_collection_id}` where `location_id`
+ * refers to a Google Cloud region.
*/
@com.google.api.client.util.Key
- private java.lang.String aclPolicyId;
+ private java.lang.String name;
- /** Required. The logical name of the ACL Policy in the customer project with the following
- restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a
- letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique
- within the customer project / location
+ /** Required. Redis backupCollection resource name using the form:
+ `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where
+ `location_id` refers to a Google Cloud region.
*/
- public java.lang.String getAclPolicyId() {
- return aclPolicyId;
+ public java.lang.String getName() {
+ return name;
}
/**
- * Required. The logical name of the ACL Policy in the customer project with the following
- * restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
- * with a letter. * Must be between 1-63 characters. * Must end with a number or a letter.
- * * Must be unique within the customer project / location
- */
- public Create setAclPolicyId(java.lang.String aclPolicyId) {
- this.aclPolicyId = aclPolicyId;
- return this;
- }
-
- /** Optional. Idempotent request UUID. . */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. Idempotent request UUID. .
+ * Required. Redis backupCollection resource name using the form: `projects/{project_id}/l
+ * ocations/{location_id}/backupCollections/{backup_collection_id}` where `location_id`
+ * refers to a Google Cloud region.
*/
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /** Optional. Idempotent request UUID. . */
- public Create setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
+ }
+ this.name = name;
return this;
}
@Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
}
}
/**
- * Deletes a specific Acl Policy. This action will delete the Acl Policy and all the rules
- * associated with it. An ACL policy cannot be deleted if it is attached to a cluster.
+ * Lists all backup collections owned by a consumer project in either the specified location
+ * (region) or all locations. If `location_id` is specified as `-` (wildcard), then all regions
+ * available to the project are queried, and the results are aggregated.
*
- * Create a request for the method "aclPolicies.delete".
+ * Create a request for the method "backupCollections.list".
*
* This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param name Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
+ * @param parent Required. The resource name of the backupCollection location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
* @return the request
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
initialize(result);
return result;
}
- public class Delete extends CloudRedisRequest {
+ public class List extends CloudRedisRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+parent}/backupCollections";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Deletes a specific Acl Policy. This action will delete the Acl Policy and all the rules
- * associated with it. An ACL policy cannot be deleted if it is attached to a cluster.
+ * Lists all backup collections owned by a consumer project in either the specified location
+ * (region) or all locations. If `location_id` is specified as `-` (wildcard), then all regions
+ * available to the project are queried, and the results are aggregated.
*
- * Create a request for the method "aclPolicies.delete".
+ * Create a request for the method "backupCollections.list".
*
* This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
+ * @param parent Required. The resource name of the backupCollection location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
* @since 1.13
*/
- protected Delete(java.lang.String name) {
- super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ protected List(java.lang.String parent) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListBackupCollectionsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
}
- /**
- * Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The resource name of the backupCollection location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
*/
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String parent;
- /** Required. Redis ACL Policy resource name using the form:
- `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id`
- refers to a GCP region.
+ /** Required. The resource name of the backupCollection location using the form:
+ `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
+ region.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getParent() {
+ return parent;
}
/**
- * Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
+ * Required. The resource name of the backupCollection location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
*/
- public Delete setName(java.lang.String name) {
+ public List setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
- this.name = name;
+ this.parent = parent;
return this;
}
/**
- * Optional. Etag of the ACL policy. If this is different from the server's etag, the
- * request will fail with an ABORTED error.
+ * Optional. The maximum number of items to return. If not specified, a default value of
+ * 1000 will be used by the service. Regardless of the page_size value, the response may
+ * include a partial list and a caller should only rely on response's `next_page_token` to
+ * determine if there are more clusters left to be queried.
*/
@com.google.api.client.util.Key
- private java.lang.String etag;
+ private java.lang.Integer pageSize;
- /** Optional. Etag of the ACL policy. If this is different from the server's etag, the request will
- fail with an ABORTED error.
+ /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
+ used by the service. Regardless of the page_size value, the response may include a partial list and
+ a caller should only rely on response's `next_page_token` to determine if there are more clusters
+ left to be queried.
*/
- public java.lang.String getEtag() {
- return etag;
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
/**
- * Optional. Etag of the ACL policy. If this is different from the server's etag, the
- * request will fail with an ABORTED error.
+ * Optional. The maximum number of items to return. If not specified, a default value of
+ * 1000 will be used by the service. Regardless of the page_size value, the response may
+ * include a partial list and a caller should only rely on response's `next_page_token` to
+ * determine if there are more clusters left to be queried.
*/
- public Delete setEtag(java.lang.String etag) {
- this.etag = etag;
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
return this;
}
- /** Optional. Idempotent request UUID. */
+ /**
+ * Optional. The `next_page_token` value returned from a previous [ListBackupCollections]
+ * request, if any.
+ */
@com.google.api.client.util.Key
- private java.lang.String requestId;
+ private java.lang.String pageToken;
- /** Optional. Idempotent request UUID.
+ /** Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if
+ any.
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.String getPageToken() {
+ return pageToken;
}
- /** Optional. Idempotent request UUID. */
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ /**
+ * Optional. The `next_page_token` value returned from a previous [ListBackupCollections]
+ * request, if any.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
}
}
+
/**
- * Gets the details of a specific Redis Cluster ACL Policy.
- *
- * Create a request for the method "aclPolicies.get".
+ * An accessor for creating requests from the Backups collection.
*
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * The typical use is:
+ *
+ * {@code CloudRedis redis = new CloudRedis(...);}
+ * {@code CloudRedis.Backups.List request = redis.backups().list(parameters ...)}
+ *
*
- * @param name Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
- * @return the request
+ * @return the resource collection
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
+ public Backups backups() {
+ return new Backups();
}
- public class Get extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ /**
+ * The "backups" collection of methods.
+ */
+ public class Backups {
/**
- * Gets the details of a specific Redis Cluster ACL Policy.
+ * Deletes a specific backup.
*
- * Create a request for the method "aclPolicies.get".
+ * Create a request for the method "backups.delete".
*
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
- * @param name Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
- * @since 1.13
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @return the request
*/
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.AclPolicy.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
- }
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
+ initialize(result);
+ return result;
}
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ public class Delete extends CloudRedisRequest {
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ private static final String REST_PATH = "v1/{+name}";
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
+ /**
+ * Deletes a specific backup.
+ *
+ * Create a request for the method "backups.delete".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @since 1.13
+ */
+ protected Delete(java.lang.String name) {
+ super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ }
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
+ @Override
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
+ }
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
+ @Override
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
+ }
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
+ @Override
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
+ }
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
+ @Override
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
+ }
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
+ }
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
+ }
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
+ }
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
+ @Override
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
+ }
- /**
- * Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ @Override
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
+ }
- /** Required. Redis ACL Policy resource name using the form:
- `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where `location_id`
- refers to a GCP region.
- */
- public java.lang.String getName() {
- return name;
- }
+ @Override
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Required. Redis ACL Policy resource name using the form:
- * `projects/{project_id}/locations/{location_id}/aclPolicies/{acl_policy_id}` where
- * `location_id` refers to a GCP region.
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
+ /backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public java.lang.String getName() {
+ return name;
}
- this.name = name;
- return this;
- }
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Lists all ACL Policies owned by a project in either the specified location (region) or all
- * locations. The location should have the following format: *
- * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard),
- * then all regions available to the project are queried, and the results are aggregated.
- *
- * Create a request for the method "aclPolicies.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
- }
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public Delete setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- public class List extends CloudRedisRequest {
+ /** Optional. Idempotent request UUID. */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
- private static final String REST_PATH = "v1/{+parent}/aclPolicies";
+ /** Optional. Idempotent request UUID.
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
+ /** Optional. Idempotent request UUID. */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
/**
- * Lists all ACL Policies owned by a project in either the specified location (region) or all
- * locations. The location should have the following format: *
- * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-`
- * (wildcard), then all regions available to the project are queried, and the results are
- * aggregated.
+ * Exports a specific backup to a customer target Cloud Storage URI.
*
- * Create a request for the method "aclPolicies.list".
+ * Create a request for the method "backups.export".
*
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Export#execute()} method to invoke the remote operation.
*
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @since 1.13
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @param content the {@link com.google.api.services.redis.v1.model.ExportBackupRequest}
+ * @return the request
*/
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListAclPoliciesResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
+ public Export export(java.lang.String name, com.google.api.services.redis.v1.model.ExportBackupRequest content) throws java.io.IOException {
+ Export result = new Export(name, content);
+ initialize(result);
+ return result;
}
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ public class Export extends CloudRedisRequest {
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ private static final String REST_PATH = "v1/{+name}:export";
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
+ /**
+ * Exports a specific backup to a customer target Cloud Storage URI.
+ *
+ * Create a request for the method "backups.export".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Export#execute()} method to invoke the remote operation. {@link
+ * Export#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @param content the {@link com.google.api.services.redis.v1.model.ExportBackupRequest}
+ * @since 1.13
+ */
+ protected Export(java.lang.String name, com.google.api.services.redis.v1.model.ExportBackupRequest content) {
+ super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ }
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
+ @Override
+ public Export set$Xgafv(java.lang.String $Xgafv) {
+ return (Export) super.set$Xgafv($Xgafv);
+ }
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
+ @Override
+ public Export setAccessToken(java.lang.String accessToken) {
+ return (Export) super.setAccessToken(accessToken);
+ }
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
+ @Override
+ public Export setAlt(java.lang.String alt) {
+ return (Export) super.setAlt(alt);
+ }
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
+ @Override
+ public Export setCallback(java.lang.String callback) {
+ return (Export) super.setCallback(callback);
+ }
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Export setFields(java.lang.String fields) {
+ return (Export) super.setFields(fields);
+ }
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Export setKey(java.lang.String key) {
+ return (Export) super.setKey(key);
+ }
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Export setOauthToken(java.lang.String oauthToken) {
+ return (Export) super.setOauthToken(oauthToken);
+ }
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
+ @Override
+ public Export setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Export) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Export setQuotaUser(java.lang.String quotaUser) {
+ return (Export) super.setQuotaUser(quotaUser);
+ }
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
+ @Override
+ public Export setUploadType(java.lang.String uploadType) {
+ return (Export) super.setUploadType(uploadType);
+ }
- /** Required. The resource name of the cluster location using the form:
- `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
- region.
- */
- public java.lang.String getParent() {
- return parent;
- }
+ @Override
+ public Export setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Export) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
+ /backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public java.lang.String getName() {
+ return name;
}
- this.parent = parent;
- return this;
- }
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more ACL policies left to be queried. The maximum value is 1000;
- * values above 1000 will be coerced to 1000.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public Export setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
- used by the service. Regardless of the page_size value, the response may include a partial list and
- a caller should only rely on response's `next_page_token` to determine if there are more ACL
- policies left to be queried. The maximum value is 1000; values above 1000 will be coerced to 1000.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
+ @Override
+ public Export set(String parameterName, Object value) {
+ return (Export) super.set(parameterName, value);
+ }
}
-
/**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more ACL policies left to be queried. The maximum value is 1000;
- * values above 1000 will be coerced to 1000.
+ * Gets the details of a specific backup.
+ *
+ * Create a request for the method "backups.get".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @return the request
*/
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
}
- /**
- * Optional. The `next_page_token` value returned from a previous `ListAclPolicies`
- * request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. The `next_page_token` value returned from a previous `ListAclPolicies` request, if any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ public class Get extends CloudRedisRequest {
- /**
- * Optional. The `next_page_token` value returned from a previous `ListAclPolicies`
- * request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ private static final String REST_PATH = "v1/{+name}";
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
- }
- /**
- * Updates the ACL policy. The operation applies the updated ACL policy to all of the linked
- * clusters. If Memorystore can apply the policy to all clusters, then the operation returns a
- * SUCCESS status. If Memorystore can't apply the policy to all clusters, then to ensure eventual
- * consistency, Memorystore uses reconciliation to apply the policy to the failed clusters.
- * Completed longrunning.Operation will contain the new ACL Policy object in the response field.
- *
- * Create a request for the method "aclPolicies.patch".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
- *
- * @param name Identifier. Full resource path of the ACL policy.
- * @param content the {@link com.google.api.services.redis.v1.model.AclPolicy}
- * @return the request
- */
- public Patch patch(java.lang.String name, com.google.api.services.redis.v1.model.AclPolicy content) throws java.io.IOException {
- Patch result = new Patch(name, content);
- initialize(result);
- return result;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- public class Patch extends CloudRedisRequest {
+ /**
+ * Gets the details of a specific backup.
+ *
+ * Create a request for the method "backups.get".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
+ * backupCollections/{backup_collection_id}/backups/{backup_id}`
+ * @since 1.13
+ */
+ protected Get(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.Backup.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ }
- private static final String REST_PATH = "v1/{+name}";
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- /**
- * Updates the ACL policy. The operation applies the updated ACL policy to all of the linked
- * clusters. If Memorystore can apply the policy to all clusters, then the operation returns a
- * SUCCESS status. If Memorystore can't apply the policy to all clusters, then to ensure eventual
- * consistency, Memorystore uses reconciliation to apply the policy to the failed clusters.
- * Completed longrunning.Operation will contain the new ACL Policy object in the response field.
- *
- * Create a request for the method "aclPolicies.patch".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Identifier. Full resource path of the ACL policy.
- * @param content the {@link com.google.api.services.redis.v1.model.AclPolicy}
- * @since 1.13
- */
- protected Patch(java.lang.String name, com.google.api.services.redis.v1.model.AclPolicy content) {
- super(CloudRedis.this, "PATCH", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
}
- }
- @Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
- @Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
- }
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
- @Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
- }
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
- @Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
- }
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
- @Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
- }
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
- @Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
- }
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
- @Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
- @Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
- }
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
- }
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /** Identifier. Full resource path of the ACL policy. */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Identifier. Full resource path of the ACL policy.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /** Identifier. Full resource path of the ACL policy. */
- public Patch setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/aclPolicies/[^/]+$");
+ /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
+ /backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public java.lang.String getName() {
+ return name;
}
- this.name = name;
- return this;
- }
-
- /** Optional. Idempotent request UUID. */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
- /** Optional. Idempotent request UUID.
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
+ /**
+ * Required. Redis backup resource name using the form: `projects/{project_id}/locations
+ * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
- /** Optional. Idempotent request UUID. */
- public Patch setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
}
-
/**
- * Optional. Mask of fields to be updated. At least one path must be supplied in this
- * field. The elements of the repeated paths field may only include these fields from
- * `AclPolicy`: * `rules`
- */
- @com.google.api.client.util.Key
- private String updateMask;
-
- /** Optional. Mask of fields to be updated. At least one path must be supplied in this field. The
- elements of the repeated paths field may only include these fields from `AclPolicy`: * `rules`
+ * Lists all backups owned by a backup collection.
+ *
+ * Create a request for the method "backups.list".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The resource name of the backupCollection using the form:
+ * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ * @return the request
*/
- public String getUpdateMask() {
- return updateMask;
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
}
- /**
- * Optional. Mask of fields to be updated. At least one path must be supplied in this
- * field. The elements of the repeated paths field may only include these fields from
- * `AclPolicy`: * `rules`
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
- return this;
- }
+ public class List extends CloudRedisRequest {
- @Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
- }
- }
+ private static final String REST_PATH = "v1/{+parent}/backups";
- }
- /**
- * An accessor for creating requests from the BackupCollections collection.
- *
- * The typical use is:
- *
- * {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.BackupCollections.List request = redis.backupCollections().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public BackupCollections backupCollections() {
- return new BackupCollections();
- }
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
- /**
- * The "backupCollections" collection of methods.
- */
- public class BackupCollections {
+ /**
+ * Lists all backups owned by a backup collection.
+ *
+ * Create a request for the method "backups.list".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The resource name of the backupCollection using the form:
+ * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListBackupsResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
+ }
+ }
- /**
- * Get a backup collection.
- *
- * Create a request for the method "backupCollections.get".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis backupCollection resource name using the form:
- * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- * where `location_id` refers to a Google Cloud region.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- public class Get extends CloudRedisRequest {
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- private static final String REST_PATH = "v1/{+name}";
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
- /**
- * Get a backup collection.
- *
- * Create a request for the method "backupCollections.get".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis backupCollection resource name using the form:
- * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- * where `location_id` refers to a Google Cloud region.
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.BackupCollection.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
}
- }
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis backupCollection resource name using the form: `projects/{project_id}/l
- * ocations/{location_id}/backupCollections/{backup_collection_id}` where `location_id`
- * refers to a Google Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis backupCollection resource name using the form:
- `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where
- `location_id` refers to a Google Cloud region.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis backupCollection resource name using the form: `projects/{project_id}/l
- * ocations/{location_id}/backupCollections/{backup_collection_id}` where `location_id`
- * refers to a Google Cloud region.
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Lists all backup collections owned by a consumer project in either the specified location
- * (region) or all locations. If `location_id` is specified as `-` (wildcard), then all regions
- * available to the project are queried, and the results are aggregated.
- *
- * Create a request for the method "backupCollections.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The resource name of the backupCollection location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
- }
-
- public class List extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+parent}/backupCollections";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
-
- /**
- * Lists all backup collections owned by a consumer project in either the specified location
- * (region) or all locations. If `location_id` is specified as `-` (wildcard), then all regions
- * available to the project are queried, and the results are aggregated.
- *
- * Create a request for the method "backupCollections.list".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The resource name of the backupCollection location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListBackupCollectionsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
-
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
-
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
-
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
-
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The resource name of the backupCollection location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The resource name of the backupCollection location using the form:
- `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
- region.
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /**
- * Required. The resource name of the backupCollection location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
-
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more clusters left to be queried.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
- used by the service. Regardless of the page_size value, the response may include a partial list and
- a caller should only rely on response's `next_page_token` to determine if there are more clusters
- left to be queried.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more clusters left to be queried.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. The `next_page_token` value returned from a previous [ListBackupCollections]
- * request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if
- any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. The `next_page_token` value returned from a previous [ListBackupCollections]
- * request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
- }
-
- /**
- * An accessor for creating requests from the Backups collection.
- *
- * The typical use is:
- *
- * {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.Backups.List request = redis.backups().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Backups backups() {
- return new Backups();
- }
-
- /**
- * The "backups" collection of methods.
- */
- public class Backups {
-
- /**
- * Deletes a specific backup.
- *
- * Create a request for the method "backups.delete".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @return the request
- */
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
- initialize(result);
- return result;
- }
-
- public class Delete extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
-
- /**
- * Deletes a specific backup.
- *
- * Create a request for the method "backups.delete".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @since 1.13
- */
- protected Delete(java.lang.String name) {
- super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- }
-
- @Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
- }
-
- @Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
- }
-
- @Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
- }
-
- @Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
- }
-
- @Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
- }
-
- @Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
- }
-
- @Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
- /backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- /** Optional. Idempotent request UUID. */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. Idempotent request UUID.
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /** Optional. Idempotent request UUID. */
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
- /**
- * Exports a specific backup to a customer target Cloud Storage URI.
- *
- * Create a request for the method "backups.export".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Export#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @param content the {@link com.google.api.services.redis.v1.model.ExportBackupRequest}
- * @return the request
- */
- public Export export(java.lang.String name, com.google.api.services.redis.v1.model.ExportBackupRequest content) throws java.io.IOException {
- Export result = new Export(name, content);
- initialize(result);
- return result;
- }
-
- public class Export extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}:export";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
-
- /**
- * Exports a specific backup to a customer target Cloud Storage URI.
- *
- * Create a request for the method "backups.export".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Export#execute()} method to invoke the remote operation. {@link
- * Export#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @param content the {@link com.google.api.services.redis.v1.model.ExportBackupRequest}
- * @since 1.13
- */
- protected Export(java.lang.String name, com.google.api.services.redis.v1.model.ExportBackupRequest content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- }
-
- @Override
- public Export set$Xgafv(java.lang.String $Xgafv) {
- return (Export) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Export setAccessToken(java.lang.String accessToken) {
- return (Export) super.setAccessToken(accessToken);
- }
-
- @Override
- public Export setAlt(java.lang.String alt) {
- return (Export) super.setAlt(alt);
- }
-
- @Override
- public Export setCallback(java.lang.String callback) {
- return (Export) super.setCallback(callback);
- }
-
- @Override
- public Export setFields(java.lang.String fields) {
- return (Export) super.setFields(fields);
- }
-
- @Override
- public Export setKey(java.lang.String key) {
- return (Export) super.setKey(key);
- }
-
- @Override
- public Export setOauthToken(java.lang.String oauthToken) {
- return (Export) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Export setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Export) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Export setQuotaUser(java.lang.String quotaUser) {
- return (Export) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Export setUploadType(java.lang.String uploadType) {
- return (Export) super.setUploadType(uploadType);
- }
-
- @Override
- public Export setUploadProtocol(java.lang.String uploadProtocol) {
- return (Export) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
- /backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public Export setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Export set(String parameterName, Object value) {
- return (Export) super.set(parameterName, value);
- }
- }
- /**
- * Gets the details of a specific backup.
- *
- * Create a request for the method "backups.get".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
-
- /**
- * Gets the details of a specific backup.
- *
- * Create a request for the method "backups.get".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}/
- * backupCollections/{backup_collection_id}/backups/{backup_id}`
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.Backup.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
-
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis backup resource name using the form: `projects/{project_id}/locations/{location_id}
- /backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis backup resource name using the form: `projects/{project_id}/locations
- * /{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+/backups/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Lists all backups owned by a backup collection.
- *
- * Create a request for the method "backups.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The resource name of the backupCollection using the form:
- * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
- }
-
- public class List extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+parent}/backups";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
-
- /**
- * Lists all backups owned by a backup collection.
- *
- * Create a request for the method "backups.list".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The resource name of the backupCollection using the form:
- * `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListBackupsResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
-
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
-
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
-
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
-
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The resource name of the backupCollection using the form: `projects/{projec
- * t_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The resource name of the backupCollection using the form:
- `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /**
- * Required. The resource name of the backupCollection using the form: `projects/{projec
- * t_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
-
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token`
- * to determine if there are more clusters left to be queried.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
- used by the service. Regardless of the page_size value, the response may include a partial list and
- a caller should only rely on response's `next_page_token` to determine if there are more clusters
- left to be queried.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
-
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's `next_page_token`
- * to determine if there are more clusters left to be queried.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
-
- /**
- * Optional. The `next_page_token` value returned from a previous
- * [ListBackupCollections] request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if
- any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
-
- /**
- * Optional. The `next_page_token` value returned from a previous
- * [ListBackupCollections] request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
-
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
- }
-
- }
- }
- /**
- * An accessor for creating requests from the Clusters collection.
- *
- * The typical use is:
- *
- * {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.Clusters.List request = redis.clusters().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public Clusters clusters() {
- return new Clusters();
- }
-
- /**
- * The "clusters" collection of methods.
- */
- public class Clusters {
-
- /**
- * Adds a token auth user for a token based auth enabled cluster.
- *
- * Create a request for the method "clusters.addTokenAuthUser".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link AddTokenAuthUser#execute()} method to invoke the remote operation.
- *
- * @param cluster Required. The cluster resource that this token auth user will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- * @param content the {@link com.google.api.services.redis.v1.model.AddTokenAuthUserRequest}
- * @return the request
- */
- public AddTokenAuthUser addTokenAuthUser(java.lang.String cluster, com.google.api.services.redis.v1.model.AddTokenAuthUserRequest content) throws java.io.IOException {
- AddTokenAuthUser result = new AddTokenAuthUser(cluster, content);
- initialize(result);
- return result;
- }
-
- public class AddTokenAuthUser extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+cluster}:addTokenAuthUser";
-
- private final java.util.regex.Pattern CLUSTER_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
-
- /**
- * Adds a token auth user for a token based auth enabled cluster.
- *
- * Create a request for the method "clusters.addTokenAuthUser".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link AddTokenAuthUser#execute()} method to invoke the remote operation.
- * {@link AddTokenAuthUser#initialize(com.google.api.client.googleapis.services.AbstractGoogle
- * ClientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
- *
- * @param cluster Required. The cluster resource that this token auth user will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- * @param content the {@link com.google.api.services.redis.v1.model.AddTokenAuthUserRequest}
- * @since 1.13
- */
- protected AddTokenAuthUser(java.lang.String cluster, com.google.api.services.redis.v1.model.AddTokenAuthUserRequest content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.cluster = com.google.api.client.util.Preconditions.checkNotNull(cluster, "Required parameter cluster must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(CLUSTER_PATTERN.matcher(cluster).matches(),
- "Parameter cluster must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- }
-
- @Override
- public AddTokenAuthUser set$Xgafv(java.lang.String $Xgafv) {
- return (AddTokenAuthUser) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public AddTokenAuthUser setAccessToken(java.lang.String accessToken) {
- return (AddTokenAuthUser) super.setAccessToken(accessToken);
- }
-
- @Override
- public AddTokenAuthUser setAlt(java.lang.String alt) {
- return (AddTokenAuthUser) super.setAlt(alt);
- }
-
- @Override
- public AddTokenAuthUser setCallback(java.lang.String callback) {
- return (AddTokenAuthUser) super.setCallback(callback);
- }
-
- @Override
- public AddTokenAuthUser setFields(java.lang.String fields) {
- return (AddTokenAuthUser) super.setFields(fields);
- }
-
- @Override
- public AddTokenAuthUser setKey(java.lang.String key) {
- return (AddTokenAuthUser) super.setKey(key);
- }
-
- @Override
- public AddTokenAuthUser setOauthToken(java.lang.String oauthToken) {
- return (AddTokenAuthUser) super.setOauthToken(oauthToken);
- }
-
- @Override
- public AddTokenAuthUser setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (AddTokenAuthUser) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public AddTokenAuthUser setQuotaUser(java.lang.String quotaUser) {
- return (AddTokenAuthUser) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public AddTokenAuthUser setUploadType(java.lang.String uploadType) {
- return (AddTokenAuthUser) super.setUploadType(uploadType);
- }
-
- @Override
- public AddTokenAuthUser setUploadProtocol(java.lang.String uploadProtocol) {
- return (AddTokenAuthUser) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The cluster resource that this token auth user will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- */
- @com.google.api.client.util.Key
- private java.lang.String cluster;
-
- /** Required. The cluster resource that this token auth user will be added for. Format:
- projects/{project}/locations/{location}/clusters/{cluster}
- */
- public java.lang.String getCluster() {
- return cluster;
- }
-
- /**
- * Required. The cluster resource that this token auth user will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- */
- public AddTokenAuthUser setCluster(java.lang.String cluster) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(CLUSTER_PATTERN.matcher(cluster).matches(),
- "Parameter cluster must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- this.cluster = cluster;
- return this;
- }
-
- @Override
- public AddTokenAuthUser set(String parameterName, Object value) {
- return (AddTokenAuthUser) super.set(parameterName, value);
- }
- }
- /**
- * Backup Redis Cluster. If this is the first time a backup is being created, a backup collection
- * will be created at the backend, and this backup belongs to this collection. Both collection and
- * backup will have a resource name. Backup will be executed for each shard. A replica (primary if
- * nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
- * ongoing backup or update operation. Be aware that during preview, if the cluster's internal
- * software version is too old, critical update will be performed before actual backup. Once the
- * internal software version is updated to the minimum version required by the backup feature,
- * subsequent backups will not require critical update. After preview, there will be no critical
- * update needed for backup.
- *
- * Create a request for the method "clusters.backup".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Backup#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.BackupClusterRequest}
- * @return the request
- */
- public Backup backup(java.lang.String name, com.google.api.services.redis.v1.model.BackupClusterRequest content) throws java.io.IOException {
- Backup result = new Backup(name, content);
- initialize(result);
- return result;
- }
-
- public class Backup extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}:backup";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
-
- /**
- * Backup Redis Cluster. If this is the first time a backup is being created, a backup collection
- * will be created at the backend, and this backup belongs to this collection. Both collection and
- * backup will have a resource name. Backup will be executed for each shard. A replica (primary if
- * nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
- * ongoing backup or update operation. Be aware that during preview, if the cluster's internal
- * software version is too old, critical update will be performed before actual backup. Once the
- * internal software version is updated to the minimum version required by the backup feature,
- * subsequent backups will not require critical update. After preview, there will be no critical
- * update needed for backup.
- *
- * Create a request for the method "clusters.backup".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Backup#execute()} method to invoke the remote operation. {@link
- * Backup#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.BackupClusterRequest}
- * @since 1.13
- */
- protected Backup(java.lang.String name, com.google.api.services.redis.v1.model.BackupClusterRequest content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- }
-
- @Override
- public Backup set$Xgafv(java.lang.String $Xgafv) {
- return (Backup) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Backup setAccessToken(java.lang.String accessToken) {
- return (Backup) super.setAccessToken(accessToken);
- }
-
- @Override
- public Backup setAlt(java.lang.String alt) {
- return (Backup) super.setAlt(alt);
- }
-
- @Override
- public Backup setCallback(java.lang.String callback) {
- return (Backup) super.setCallback(callback);
- }
-
- @Override
- public Backup setFields(java.lang.String fields) {
- return (Backup) super.setFields(fields);
- }
-
- @Override
- public Backup setKey(java.lang.String key) {
- return (Backup) super.setKey(key);
- }
-
- @Override
- public Backup setOauthToken(java.lang.String oauthToken) {
- return (Backup) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Backup setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Backup) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Backup setQuotaUser(java.lang.String quotaUser) {
- return (Backup) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Backup setUploadType(java.lang.String uploadType) {
- return (Backup) super.setUploadType(uploadType);
- }
-
- @Override
- public Backup setUploadProtocol(java.lang.String uploadProtocol) {
- return (Backup) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis cluster resource name using the form:
- `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
- a Google Cloud region.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- public Backup setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Backup set(String parameterName, Object value) {
- return (Backup) super.set(parameterName, value);
- }
- }
- /**
- * Creates a Redis cluster based on the specified properties. The creation is executed
- * asynchronously and callers may check the returned operation to track its progress. Once the
- * operation is completed the Redis cluster will be fully functional. The completed
- * longrunning.Operation will contain the new cluster object in the response field. The returned
- * operation is automatically deleted after a few hours, so there is no need to call
- * DeleteOperation.
- *
- * Create a request for the method "clusters.create".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
- * @return the request
- */
- public Create create(java.lang.String parent, com.google.api.services.redis.v1.model.Cluster content) throws java.io.IOException {
- Create result = new Create(parent, content);
- initialize(result);
- return result;
- }
-
- public class Create extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+parent}/clusters";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
-
- /**
- * Creates a Redis cluster based on the specified properties. The creation is executed
- * asynchronously and callers may check the returned operation to track its progress. Once the
- * operation is completed the Redis cluster will be fully functional. The completed
- * longrunning.Operation will contain the new cluster object in the response field. The returned
- * operation is automatically deleted after a few hours, so there is no need to call
- * DeleteOperation.
- *
- * Create a request for the method "clusters.create".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Create#execute()} method to invoke the remote operation. {@link
- * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
- * @since 1.13
- */
- protected Create(java.lang.String parent, com.google.api.services.redis.v1.model.Cluster content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- }
-
- @Override
- public Create set$Xgafv(java.lang.String $Xgafv) {
- return (Create) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Create setAccessToken(java.lang.String accessToken) {
- return (Create) super.setAccessToken(accessToken);
- }
-
- @Override
- public Create setAlt(java.lang.String alt) {
- return (Create) super.setAlt(alt);
- }
-
- @Override
- public Create setCallback(java.lang.String callback) {
- return (Create) super.setCallback(callback);
- }
-
- @Override
- public Create setFields(java.lang.String fields) {
- return (Create) super.setFields(fields);
- }
-
- @Override
- public Create setKey(java.lang.String key) {
- return (Create) super.setKey(key);
- }
-
- @Override
- public Create setOauthToken(java.lang.String oauthToken) {
- return (Create) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Create) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Create setQuotaUser(java.lang.String quotaUser) {
- return (Create) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Create setUploadType(java.lang.String uploadType) {
- return (Create) super.setUploadType(uploadType);
- }
-
- @Override
- public Create setUploadProtocol(java.lang.String uploadProtocol) {
- return (Create) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The resource name of the cluster location using the form:
- `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
- region.
- */
- public java.lang.String getParent() {
- return parent;
- }
-
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- public Create setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
-
- /**
- * Required. The logical name of the Redis cluster in the customer project with the
- * following restrictions: * Must contain only lowercase letters, numbers, and hyphens. *
- * Must start with a letter. * Must be between 1-63 characters. * Must end with a number
- * or a letter. * Must be unique within the customer project / location
- */
- @com.google.api.client.util.Key
- private java.lang.String clusterId;
-
- /** Required. The logical name of the Redis cluster in the customer project with the following
- restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a
- letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique
- within the customer project / location
- */
- public java.lang.String getClusterId() {
- return clusterId;
- }
-
- /**
- * Required. The logical name of the Redis cluster in the customer project with the
- * following restrictions: * Must contain only lowercase letters, numbers, and hyphens. *
- * Must start with a letter. * Must be between 1-63 characters. * Must end with a number
- * or a letter. * Must be unique within the customer project / location
- */
- public Create setClusterId(java.lang.String clusterId) {
- this.clusterId = clusterId;
- return this;
- }
-
- /** Optional. Idempotent request UUID. */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. Idempotent request UUID.
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /** Optional. Idempotent request UUID. */
- public Create setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- @Override
- public Create set(String parameterName, Object value) {
- return (Create) super.set(parameterName, value);
- }
- }
- /**
- * Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
- *
- * Create a request for the method "clusters.delete".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @return the request
- */
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
- initialize(result);
- return result;
- }
-
- public class Delete extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
-
- /**
- * Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
- *
- * Create a request for the method "clusters.delete".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @since 1.13
- */
- protected Delete(java.lang.String name) {
- super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- }
-
- @Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
- }
-
- @Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
- }
-
- @Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
- }
-
- @Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
- }
-
- @Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
- }
-
- @Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
- }
-
- @Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis cluster resource name using the form:
- `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
- a Google Cloud region.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- /** Optional. Idempotent request UUID. */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. Idempotent request UUID.
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /** Optional. Idempotent request UUID. */
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
- /**
- * Gets the details of a specific Redis cluster.
- *
- * Create a request for the method "clusters.get".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
- }
-
- public class Get extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
-
- /**
- * Gets the details of a specific Redis cluster.
- *
- * Create a request for the method "clusters.get".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.Cluster.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
-
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
-
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
-
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
-
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
-
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
-
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
-
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis cluster resource name using the form:
- `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
- a Google Cloud region.
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. Redis cluster resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Gets the details of certificate authority information for Redis cluster.
- *
- * Create a request for the method "clusters.getCertificateAuthority".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link GetCertificateAuthority#execute()} method to invoke the remote
- * operation.
- *
- * @param name Required. Redis cluster certificate authority resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority`
- * where `location_id` refers to a Google Cloud region.
- * @return the request
- */
- public GetCertificateAuthority getCertificateAuthority(java.lang.String name) throws java.io.IOException {
- GetCertificateAuthority result = new GetCertificateAuthority(name);
- initialize(result);
- return result;
- }
-
- public class GetCertificateAuthority extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
-
- /**
- * Gets the details of certificate authority information for Redis cluster.
- *
- * Create a request for the method "clusters.getCertificateAuthority".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link GetCertificateAuthority#execute()} method to invoke the remote
- * operation. {@link GetCertificateAuthority#initialize(com.google.api.client.googleapis.servi
- * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
- *
- * @param name Required. Redis cluster certificate authority resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority`
- * where `location_id` refers to a Google Cloud region.
- * @since 1.13
- */
- protected GetCertificateAuthority(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.CertificateAuthority.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public GetCertificateAuthority set$Xgafv(java.lang.String $Xgafv) {
- return (GetCertificateAuthority) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public GetCertificateAuthority setAccessToken(java.lang.String accessToken) {
- return (GetCertificateAuthority) super.setAccessToken(accessToken);
- }
-
- @Override
- public GetCertificateAuthority setAlt(java.lang.String alt) {
- return (GetCertificateAuthority) super.setAlt(alt);
- }
-
- @Override
- public GetCertificateAuthority setCallback(java.lang.String callback) {
- return (GetCertificateAuthority) super.setCallback(callback);
- }
-
- @Override
- public GetCertificateAuthority setFields(java.lang.String fields) {
- return (GetCertificateAuthority) super.setFields(fields);
- }
-
- @Override
- public GetCertificateAuthority setKey(java.lang.String key) {
- return (GetCertificateAuthority) super.setKey(key);
- }
-
- @Override
- public GetCertificateAuthority setOauthToken(java.lang.String oauthToken) {
- return (GetCertificateAuthority) super.setOauthToken(oauthToken);
- }
-
- @Override
- public GetCertificateAuthority setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (GetCertificateAuthority) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public GetCertificateAuthority setQuotaUser(java.lang.String quotaUser) {
- return (GetCertificateAuthority) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public GetCertificateAuthority setUploadType(java.lang.String uploadType) {
- return (GetCertificateAuthority) super.setUploadType(uploadType);
- }
-
- @Override
- public GetCertificateAuthority setUploadProtocol(java.lang.String uploadProtocol) {
- return (GetCertificateAuthority) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. Redis cluster certificate authority resource name using the form: `projects/{
- * project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
- * `location_id` refers to a Google Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. Redis cluster certificate authority resource name using the form:
- `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
- `location_id` refers to a Google Cloud region.
- */
- public java.lang.String getName() {
- return name;
- }
+ /**
+ * Required. The resource name of the backupCollection using the form: `projects/{projec
+ * t_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
- /**
- * Required. Redis cluster certificate authority resource name using the form: `projects/{
- * project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
- * `location_id` refers to a Google Cloud region.
- */
- public GetCertificateAuthority setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
+ /** Required. The resource name of the backupCollection using the form:
+ `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ */
+ public java.lang.String getParent() {
+ return parent;
}
- this.name = name;
- return this;
- }
-
- @Override
- public GetCertificateAuthority set(String parameterName, Object value) {
- return (GetCertificateAuthority) super.set(parameterName, value);
- }
- }
- /**
- * Lists all Redis clusters owned by a project in either the specified location (region) or all
- * locations. The location should have the following format: *
- * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard),
- * then all regions available to the project are queried, and the results are aggregated.
- *
- * Create a request for the method "clusters.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
- }
-
- public class List extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+parent}/clusters";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
- /**
- * Lists all Redis clusters owned by a project in either the specified location (region) or all
- * locations. The location should have the following format: *
- * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-`
- * (wildcard), then all regions available to the project are queried, and the results are
- * aggregated.
- *
- * Create a request for the method "clusters.list".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListClustersResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ /**
+ * Required. The resource name of the backupCollection using the form: `projects/{projec
+ * t_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
+ */
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$");
+ }
+ this.parent = parent;
+ return this;
}
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
-
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
-
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
-
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
-
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
-
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
-
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
-
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
- /** Required. The resource name of the cluster location using the form:
- `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
- region.
- */
- public java.lang.String getParent() {
- return parent;
- }
+ /**
+ * Optional. The maximum number of items to return. If not specified, a default value of
+ * 1000 will be used by the service. Regardless of the page_size value, the response may
+ * include a partial list and a caller should only rely on response's `next_page_token`
+ * to determine if there are more clusters left to be queried.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
- /**
- * Required. The resource name of the cluster location using the form:
- * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
- * Cloud region.
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+$");
+ /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
+ used by the service. Regardless of the page_size value, the response may include a partial list and
+ a caller should only rely on response's `next_page_token` to determine if there are more clusters
+ left to be queried.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
}
- this.parent = parent;
- return this;
- }
-
- /**
- * The maximum number of items to return. If not specified, a default value of 1000 will
- * be used by the service. Regardless of the page_size value, the response may include a
- * partial list and a caller should only rely on response's `next_page_token` to determine
- * if there are more clusters left to be queried.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** The maximum number of items to return. If not specified, a default value of 1000 will be used by
- the service. Regardless of the page_size value, the response may include a partial list and a
- caller should only rely on response's `next_page_token` to determine if there are more clusters
- left to be queried.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
- /**
- * The maximum number of items to return. If not specified, a default value of 1000 will
- * be used by the service. Regardless of the page_size value, the response may include a
- * partial list and a caller should only rely on response's `next_page_token` to determine
- * if there are more clusters left to be queried.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ /**
+ * Optional. The maximum number of items to return. If not specified, a default value of
+ * 1000 will be used by the service. Regardless of the page_size value, the response may
+ * include a partial list and a caller should only rely on response's `next_page_token`
+ * to determine if there are more clusters left to be queried.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
- /**
- * The `next_page_token` value returned from a previous `ListClusters` request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * [ListBackupCollections] request, if any.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
- /** The `next_page_token` value returned from a previous `ListClusters` request, if any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ /** Optional. The `next_page_token` value returned from a previous [ListBackupCollections] request, if
+ any.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
- /**
- * The `next_page_token` value returned from a previous `ListClusters` request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ /**
+ * Optional. The `next_page_token` value returned from a previous
+ * [ListBackupCollections] request, if any.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
}
+
}
+ }
+ /**
+ * An accessor for creating requests from the Clusters collection.
+ *
+ * The typical use is:
+ *
+ * {@code CloudRedis redis = new CloudRedis(...);}
+ * {@code CloudRedis.Clusters.List request = redis.clusters().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Clusters clusters() {
+ return new Clusters();
+ }
+
+ /**
+ * The "clusters" collection of methods.
+ */
+ public class Clusters {
+
/**
- * Updates the metadata and configuration of a specific Redis cluster. Completed
- * longrunning.Operation will contain the new cluster object in the response field. The returned
- * operation is automatically deleted after a few hours, so there is no need to call
- * DeleteOperation.
+ * Backup Redis Cluster. If this is the first time a backup is being created, a backup collection
+ * will be created at the backend, and this backup belongs to this collection. Both collection and
+ * backup will have a resource name. Backup will be executed for each shard. A replica (primary if
+ * nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
+ * ongoing backup or update operation. Be aware that during preview, if the cluster's internal
+ * software version is too old, critical update will be performed before actual backup. Once the
+ * internal software version is updated to the minimum version required by the backup feature,
+ * subsequent backups will not require critical update. After preview, there will be no critical
+ * update needed for backup.
*
- * Create a request for the method "clusters.patch".
+ * Create a request for the method "clusters.backup".
*
* This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Backup#execute()} method to invoke the remote operation.
*
- * @param name Required. Identifier. Unique name of the resource in this scope including project and location using
- * the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
- * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.BackupClusterRequest}
* @return the request
*/
- public Patch patch(java.lang.String name, com.google.api.services.redis.v1.model.Cluster content) throws java.io.IOException {
- Patch result = new Patch(name, content);
+ public Backup backup(java.lang.String name, com.google.api.services.redis.v1.model.BackupClusterRequest content) throws java.io.IOException {
+ Backup result = new Backup(name, content);
initialize(result);
return result;
}
- public class Patch extends CloudRedisRequest {
+ public class Backup extends CloudRedisRequest {
- private static final String REST_PATH = "v1/{+name}";
+ private static final String REST_PATH = "v1/{+name}:backup";
private final java.util.regex.Pattern NAME_PATTERN =
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
/**
- * Updates the metadata and configuration of a specific Redis cluster. Completed
- * longrunning.Operation will contain the new cluster object in the response field. The returned
- * operation is automatically deleted after a few hours, so there is no need to call
- * DeleteOperation.
+ * Backup Redis Cluster. If this is the first time a backup is being created, a backup collection
+ * will be created at the backend, and this backup belongs to this collection. Both collection and
+ * backup will have a resource name. Backup will be executed for each shard. A replica (primary if
+ * nonHA) will be selected to perform the execution. Backup call will be rejected if there is an
+ * ongoing backup or update operation. Be aware that during preview, if the cluster's internal
+ * software version is too old, critical update will be performed before actual backup. Once the
+ * internal software version is updated to the minimum version required by the backup feature,
+ * subsequent backups will not require critical update. After preview, there will be no critical
+ * update needed for backup.
*
- * Create a request for the method "clusters.patch".
+ * Create a request for the method "clusters.backup".
*
* This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
- * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * parameters, call the {@link Backup#execute()} method to invoke the remote operation.
{@link
+ * Backup#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
* be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Identifier. Unique name of the resource in this scope including project and location using
- * the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
- * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.BackupClusterRequest}
* @since 1.13
*/
- protected Patch(java.lang.String name, com.google.api.services.redis.v1.model.Cluster content) {
- super(CloudRedis.this, "PATCH", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
+ protected Backup(java.lang.String name, com.google.api.services.redis.v1.model.BackupClusterRequest content) {
+ super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -3936,81 +1829,82 @@ protected Patch(java.lang.String name, com.google.api.services.redis.v1.model.Cl
}
@Override
- public Patch set$Xgafv(java.lang.String $Xgafv) {
- return (Patch) super.set$Xgafv($Xgafv);
+ public Backup set$Xgafv(java.lang.String $Xgafv) {
+ return (Backup) super.set$Xgafv($Xgafv);
}
@Override
- public Patch setAccessToken(java.lang.String accessToken) {
- return (Patch) super.setAccessToken(accessToken);
+ public Backup setAccessToken(java.lang.String accessToken) {
+ return (Backup) super.setAccessToken(accessToken);
}
@Override
- public Patch setAlt(java.lang.String alt) {
- return (Patch) super.setAlt(alt);
+ public Backup setAlt(java.lang.String alt) {
+ return (Backup) super.setAlt(alt);
}
@Override
- public Patch setCallback(java.lang.String callback) {
- return (Patch) super.setCallback(callback);
+ public Backup setCallback(java.lang.String callback) {
+ return (Backup) super.setCallback(callback);
}
@Override
- public Patch setFields(java.lang.String fields) {
- return (Patch) super.setFields(fields);
+ public Backup setFields(java.lang.String fields) {
+ return (Backup) super.setFields(fields);
}
@Override
- public Patch setKey(java.lang.String key) {
- return (Patch) super.setKey(key);
+ public Backup setKey(java.lang.String key) {
+ return (Backup) super.setKey(key);
}
@Override
- public Patch setOauthToken(java.lang.String oauthToken) {
- return (Patch) super.setOauthToken(oauthToken);
+ public Backup setOauthToken(java.lang.String oauthToken) {
+ return (Backup) super.setOauthToken(oauthToken);
}
@Override
- public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Patch) super.setPrettyPrint(prettyPrint);
+ public Backup setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Backup) super.setPrettyPrint(prettyPrint);
}
@Override
- public Patch setQuotaUser(java.lang.String quotaUser) {
- return (Patch) super.setQuotaUser(quotaUser);
+ public Backup setQuotaUser(java.lang.String quotaUser) {
+ return (Backup) super.setQuotaUser(quotaUser);
}
@Override
- public Patch setUploadType(java.lang.String uploadType) {
- return (Patch) super.setUploadType(uploadType);
+ public Backup setUploadType(java.lang.String uploadType) {
+ return (Backup) super.setUploadType(uploadType);
}
@Override
- public Patch setUploadProtocol(java.lang.String uploadProtocol) {
- return (Patch) super.setUploadProtocol(uploadProtocol);
+ public Backup setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Backup) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. Identifier. Unique name of the resource in this scope including project and
- * location using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
*/
@com.google.api.client.util.Key
private java.lang.String name;
- /** Required. Identifier. Unique name of the resource in this scope including project and location
- using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ /** Required. Redis cluster resource name using the form:
+ `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
+ a Google Cloud region.
*/
public java.lang.String getName() {
return name;
}
/**
- * Required. Identifier. Unique name of the resource in this scope including project and
- * location using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
*/
- public Patch setName(java.lang.String name) {
+ public Backup setName(java.lang.String name) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
"Parameter name must conform to the pattern " +
@@ -4020,1507 +1914,1214 @@ public Patch setName(java.lang.String name) {
return this;
}
- /** Optional. Idempotent request UUID. */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** Optional. Idempotent request UUID.
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
-
- /** Optional. Idempotent request UUID. */
- public Patch setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
-
- /**
- * Required. Mask of fields to update. At least one path must be supplied in this field.
- * The elements of the repeated paths field may only include these fields from Cluster: *
- * `size_gb` * `replica_count` * `cluster_endpoints`
- */
- @com.google.api.client.util.Key
- private String updateMask;
-
- /** Required. Mask of fields to update. At least one path must be supplied in this field. The elements
- of the repeated paths field may only include these fields from Cluster: * `size_gb` *
- `replica_count` * `cluster_endpoints`
- */
- public String getUpdateMask() {
- return updateMask;
- }
-
- /**
- * Required. Mask of fields to update. At least one path must be supplied in this field.
- * The elements of the repeated paths field may only include these fields from Cluster: *
- * `size_gb` * `replica_count` * `cluster_endpoints`
- */
- public Patch setUpdateMask(String updateMask) {
- this.updateMask = updateMask;
- return this;
- }
-
@Override
- public Patch set(String parameterName, Object value) {
- return (Patch) super.set(parameterName, value);
+ public Backup set(String parameterName, Object value) {
+ return (Backup) super.set(parameterName, value);
}
}
/**
- * Reschedules upcoming maintenance event.
+ * Creates a Redis cluster based on the specified properties. The creation is executed
+ * asynchronously and callers may check the returned operation to track its progress. Once the
+ * operation is completed the Redis cluster will be fully functional. The completed
+ * longrunning.Operation will contain the new cluster object in the response field. The returned
+ * operation is automatically deleted after a few hours, so there is no need to call
+ * DeleteOperation.
*
- * Create a request for the method "clusters.rescheduleClusterMaintenance".
+ * Create a request for the method "clusters.create".
*
* This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link RescheduleClusterMaintenance#execute()} method to invoke the remote
- * operation.
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
*
- * @param name Required. Redis Cluster instance resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest}
+ * @param parent Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
* @return the request
*/
- public RescheduleClusterMaintenance rescheduleClusterMaintenance(java.lang.String name, com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest content) throws java.io.IOException {
- RescheduleClusterMaintenance result = new RescheduleClusterMaintenance(name, content);
+ public Create create(java.lang.String parent, com.google.api.services.redis.v1.model.Cluster content) throws java.io.IOException {
+ Create result = new Create(parent, content);
initialize(result);
return result;
}
- public class RescheduleClusterMaintenance extends CloudRedisRequest {
+ public class Create extends CloudRedisRequest {
- private static final String REST_PATH = "v1/{+name}:rescheduleClusterMaintenance";
+ private static final String REST_PATH = "v1/{+parent}/clusters";
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
/**
- * Reschedules upcoming maintenance event.
+ * Creates a Redis cluster based on the specified properties. The creation is executed
+ * asynchronously and callers may check the returned operation to track its progress. Once the
+ * operation is completed the Redis cluster will be fully functional. The completed
+ * longrunning.Operation will contain the new cluster object in the response field. The returned
+ * operation is automatically deleted after a few hours, so there is no need to call
+ * DeleteOperation.
*
- * Create a request for the method "clusters.rescheduleClusterMaintenance".
+ * Create a request for the method "clusters.create".
*
* This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link RescheduleClusterMaintenance#execute()} method to invoke the remote
- * operation. {@link RescheduleClusterMaintenance#initialize(com.google.api.client.googleapis.
- * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
- * after invoking the constructor.
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation. {@link
+ * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. Redis Cluster instance resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
- * refers to a Google Cloud region.
- * @param content the {@link com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest}
+ * @param parent Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
* @since 1.13
*/
- protected RescheduleClusterMaintenance(java.lang.String name, com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest content) {
+ protected Create(java.lang.String parent, com.google.api.services.redis.v1.model.Cluster content) {
super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
}
@Override
- public RescheduleClusterMaintenance set$Xgafv(java.lang.String $Xgafv) {
- return (RescheduleClusterMaintenance) super.set$Xgafv($Xgafv);
+ public Create set$Xgafv(java.lang.String $Xgafv) {
+ return (Create) super.set$Xgafv($Xgafv);
}
@Override
- public RescheduleClusterMaintenance setAccessToken(java.lang.String accessToken) {
- return (RescheduleClusterMaintenance) super.setAccessToken(accessToken);
+ public Create setAccessToken(java.lang.String accessToken) {
+ return (Create) super.setAccessToken(accessToken);
}
@Override
- public RescheduleClusterMaintenance setAlt(java.lang.String alt) {
- return (RescheduleClusterMaintenance) super.setAlt(alt);
+ public Create setAlt(java.lang.String alt) {
+ return (Create) super.setAlt(alt);
}
@Override
- public RescheduleClusterMaintenance setCallback(java.lang.String callback) {
- return (RescheduleClusterMaintenance) super.setCallback(callback);
+ public Create setCallback(java.lang.String callback) {
+ return (Create) super.setCallback(callback);
}
@Override
- public RescheduleClusterMaintenance setFields(java.lang.String fields) {
- return (RescheduleClusterMaintenance) super.setFields(fields);
+ public Create setFields(java.lang.String fields) {
+ return (Create) super.setFields(fields);
}
@Override
- public RescheduleClusterMaintenance setKey(java.lang.String key) {
- return (RescheduleClusterMaintenance) super.setKey(key);
+ public Create setKey(java.lang.String key) {
+ return (Create) super.setKey(key);
}
@Override
- public RescheduleClusterMaintenance setOauthToken(java.lang.String oauthToken) {
- return (RescheduleClusterMaintenance) super.setOauthToken(oauthToken);
+ public Create setOauthToken(java.lang.String oauthToken) {
+ return (Create) super.setOauthToken(oauthToken);
}
@Override
- public RescheduleClusterMaintenance setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (RescheduleClusterMaintenance) super.setPrettyPrint(prettyPrint);
+ public Create setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Create) super.setPrettyPrint(prettyPrint);
}
@Override
- public RescheduleClusterMaintenance setQuotaUser(java.lang.String quotaUser) {
- return (RescheduleClusterMaintenance) super.setQuotaUser(quotaUser);
+ public Create setQuotaUser(java.lang.String quotaUser) {
+ return (Create) super.setQuotaUser(quotaUser);
}
@Override
- public RescheduleClusterMaintenance setUploadType(java.lang.String uploadType) {
- return (RescheduleClusterMaintenance) super.setUploadType(uploadType);
+ public Create setUploadType(java.lang.String uploadType) {
+ return (Create) super.setUploadType(uploadType);
}
@Override
- public RescheduleClusterMaintenance setUploadProtocol(java.lang.String uploadProtocol) {
- return (RescheduleClusterMaintenance) super.setUploadProtocol(uploadProtocol);
+ public Create setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Create) super.setUploadProtocol(uploadProtocol);
}
/**
- * Required. Redis Cluster instance resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
+ * Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
*/
@com.google.api.client.util.Key
- private java.lang.String name;
+ private java.lang.String parent;
- /** Required. Redis Cluster instance resource name using the form:
- `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
- a Google Cloud region.
+ /** Required. The resource name of the cluster location using the form:
+ `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
+ region.
*/
- public java.lang.String getName() {
- return name;
+ public java.lang.String getParent() {
+ return parent;
}
/**
- * Required. Redis Cluster instance resource name using the form:
- * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
- * `location_id` refers to a Google Cloud region.
+ * Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
*/
- public RescheduleClusterMaintenance setName(java.lang.String name) {
+ public Create setParent(java.lang.String parent) {
if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
- this.name = name;
+ this.parent = parent;
return this;
}
- @Override
- public RescheduleClusterMaintenance set(String parameterName, Object value) {
- return (RescheduleClusterMaintenance) super.set(parameterName, value);
- }
- }
-
- /**
- * An accessor for creating requests from the TokenAuthUsers collection.
- *
- * The typical use is:
- *
- * {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.TokenAuthUsers.List request = redis.tokenAuthUsers().list(parameters ...)}
- *
- *
- * @return the resource collection
- */
- public TokenAuthUsers tokenAuthUsers() {
- return new TokenAuthUsers();
- }
+ /**
+ * Required. The logical name of the Redis cluster in the customer project with the
+ * following restrictions: * Must contain only lowercase letters, numbers, and hyphens. *
+ * Must start with a letter. * Must be between 1-63 characters. * Must end with a number
+ * or a letter. * Must be unique within the customer project / location
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String clusterId;
- /**
- * The "tokenAuthUsers" collection of methods.
- */
- public class TokenAuthUsers {
+ /** Required. The logical name of the Redis cluster in the customer project with the following
+ restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a
+ letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique
+ within the customer project / location
+ */
+ public java.lang.String getClusterId() {
+ return clusterId;
+ }
/**
- * Adds a auth token for a user of a token based auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.addAuthToken".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link AddAuthToken#execute()} method to invoke the remote operation.
- *
- * @param tokenAuthUser Required. The name of the token auth user resource that this auth token will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @param content the {@link com.google.api.services.redis.v1.model.AddAuthTokenRequest}
- * @return the request
+ * Required. The logical name of the Redis cluster in the customer project with the
+ * following restrictions: * Must contain only lowercase letters, numbers, and hyphens. *
+ * Must start with a letter. * Must be between 1-63 characters. * Must end with a number
+ * or a letter. * Must be unique within the customer project / location
*/
- public AddAuthToken addAuthToken(java.lang.String tokenAuthUser, com.google.api.services.redis.v1.model.AddAuthTokenRequest content) throws java.io.IOException {
- AddAuthToken result = new AddAuthToken(tokenAuthUser, content);
- initialize(result);
- return result;
+ public Create setClusterId(java.lang.String clusterId) {
+ this.clusterId = clusterId;
+ return this;
}
- public class AddAuthToken extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+tokenAuthUser}:addAuthToken";
-
- private final java.util.regex.Pattern TOKEN_AUTH_USER_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
-
- /**
- * Adds a auth token for a user of a token based auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.addAuthToken".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link AddAuthToken#execute()} method to invoke the remote operation.
- * {@link
- * AddAuthToken#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
- *
- * @param tokenAuthUser Required. The name of the token auth user resource that this auth token will be added for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @param content the {@link com.google.api.services.redis.v1.model.AddAuthTokenRequest}
- * @since 1.13
- */
- protected AddAuthToken(java.lang.String tokenAuthUser, com.google.api.services.redis.v1.model.AddAuthTokenRequest content) {
- super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
- this.tokenAuthUser = com.google.api.client.util.Preconditions.checkNotNull(tokenAuthUser, "Required parameter tokenAuthUser must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(TOKEN_AUTH_USER_PATTERN.matcher(tokenAuthUser).matches(),
- "Parameter tokenAuthUser must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- }
-
- @Override
- public AddAuthToken set$Xgafv(java.lang.String $Xgafv) {
- return (AddAuthToken) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public AddAuthToken setAccessToken(java.lang.String accessToken) {
- return (AddAuthToken) super.setAccessToken(accessToken);
- }
-
- @Override
- public AddAuthToken setAlt(java.lang.String alt) {
- return (AddAuthToken) super.setAlt(alt);
- }
-
- @Override
- public AddAuthToken setCallback(java.lang.String callback) {
- return (AddAuthToken) super.setCallback(callback);
- }
-
- @Override
- public AddAuthToken setFields(java.lang.String fields) {
- return (AddAuthToken) super.setFields(fields);
- }
-
- @Override
- public AddAuthToken setKey(java.lang.String key) {
- return (AddAuthToken) super.setKey(key);
- }
-
- @Override
- public AddAuthToken setOauthToken(java.lang.String oauthToken) {
- return (AddAuthToken) super.setOauthToken(oauthToken);
- }
-
- @Override
- public AddAuthToken setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (AddAuthToken) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public AddAuthToken setQuotaUser(java.lang.String quotaUser) {
- return (AddAuthToken) super.setQuotaUser(quotaUser);
- }
+ /** Optional. Idempotent request UUID. */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
- @Override
- public AddAuthToken setUploadType(java.lang.String uploadType) {
- return (AddAuthToken) super.setUploadType(uploadType);
- }
+ /** Optional. Idempotent request UUID.
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
- @Override
- public AddAuthToken setUploadProtocol(java.lang.String uploadProtocol) {
- return (AddAuthToken) super.setUploadProtocol(uploadProtocol);
- }
+ /** Optional. Idempotent request UUID. */
+ public Create setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
- /**
- * Required. The name of the token auth user resource that this auth token will be added
- * for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUser
- * s/{token_auth_user}
- */
- @com.google.api.client.util.Key
- private java.lang.String tokenAuthUser;
+ @Override
+ public Create set(String parameterName, Object value) {
+ return (Create) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
+ *
+ * Create a request for the method "clusters.delete".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @return the request
+ */
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
+ initialize(result);
+ return result;
+ }
- /** Required. The name of the token auth user resource that this auth token will be added for. Format:
- projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- public java.lang.String getTokenAuthUser() {
- return tokenAuthUser;
- }
+ public class Delete extends CloudRedisRequest {
- /**
- * Required. The name of the token auth user resource that this auth token will be added
- * for. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUser
- * s/{token_auth_user}
- */
- public AddAuthToken setTokenAuthUser(java.lang.String tokenAuthUser) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(TOKEN_AUTH_USER_PATTERN.matcher(tokenAuthUser).matches(),
- "Parameter tokenAuthUser must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- this.tokenAuthUser = tokenAuthUser;
- return this;
- }
+ private static final String REST_PATH = "v1/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- @Override
- public AddAuthToken set(String parameterName, Object value) {
- return (AddAuthToken) super.set(parameterName, value);
- }
- }
/**
- * Deletes a token auth user for a token based auth enabled cluster.
+ * Deletes a specific Redis cluster. Cluster stops serving and data is deleted.
*
- * Create a request for the method "tokenAuthUsers.delete".
+ * Create a request for the method "clusters.delete".
*
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The name of the token auth user to delete. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @return the request
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @since 1.13
*/
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
- initialize(result);
- return result;
- }
-
- public class Delete extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
-
- /**
- * Deletes a token auth user for a token based auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.delete".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The name of the token auth user to delete. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @since 1.13
- */
- protected Delete(java.lang.String name) {
- super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
+ protected Delete(java.lang.String name) {
+ super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ }
- @Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
+ }
- @Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
- }
+ @Override
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
+ }
- @Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
- }
+ @Override
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
+ }
- @Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
- }
+ @Override
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
+ }
- @Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
- }
+ @Override
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
+ }
- @Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
- }
+ @Override
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
+ }
- @Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
+ }
- @Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
- }
+ @Override
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
+ }
- @Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Required. The name of the token auth user to delete. Format: projects/{project}/locat
- * ions/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ /**
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /** Required. The name of the token auth user to delete. Format:
- projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- public java.lang.String getName() {
- return name;
- }
+ /** Required. Redis cluster resource name using the form:
+ `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
+ a Google Cloud region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- /**
- * Required. The name of the token auth user to delete. Format: projects/{project}/locat
- * ions/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- this.name = name;
- return this;
+ /**
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ public Delete setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ this.name = name;
+ return this;
+ }
- /**
- * Optional. If set to true, any child auth tokens of this user will also be deleted.
- * Otherwise, the request will only work if the user has no auth tokens.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean force;
-
- /** Optional. If set to true, any child auth tokens of this user will also be deleted. Otherwise, the
- request will only work if the user has no auth tokens.
- */
- public java.lang.Boolean getForce() {
- return force;
- }
+ /** Optional. Idempotent request UUID. */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
- /**
- * Optional. If set to true, any child auth tokens of this user will also be deleted.
- * Otherwise, the request will only work if the user has no auth tokens.
- */
- public Delete setForce(java.lang.Boolean force) {
- this.force = force;
- return this;
- }
+ /** Optional. Idempotent request UUID.
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same
- * request ID, the server can check if original operation with the same request ID was
- * received, and if so, will ignore the second request. This prevents clients from
- * accidentally creating duplicate commitments. The request ID must be a valid UUID with
- * the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- @com.google.api.client.util.Key
- private java.lang.String requestId;
+ /** Optional. Idempotent request UUID. */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
- /** Optional. An optional request ID to identify requests. Specify a unique request ID so that if you
- must retry your request, the server will know to ignore the request if it has already been
- completed. The server will guarantee that for at least 60 minutes after the first request. For
- example, consider a situation where you make an initial request and the request times out. If you
- make the request again with the same request ID, the server can check if original operation with
- the same request ID was received, and if so, will ignore the second request. This prevents clients
- from accidentally creating duplicate commitments. The request ID must be a valid UUID with the
- exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public java.lang.String getRequestId() {
- return requestId;
- }
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Gets the details of a specific Redis cluster.
+ *
+ * Create a request for the method "clusters.get".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @return the request
+ */
+ public Get get(java.lang.String name) throws java.io.IOException {
+ Get result = new Get(name);
+ initialize(result);
+ return result;
+ }
- /**
- * Optional. An optional request ID to identify requests. Specify a unique request ID so
- * that if you must retry your request, the server will know to ignore the request if it
- * has already been completed. The server will guarantee that for at least 60 minutes
- * after the first request. For example, consider a situation where you make an initial
- * request and the request times out. If you make the request again with the same
- * request ID, the server can check if original operation with the same request ID was
- * received, and if so, will ignore the second request. This prevents clients from
- * accidentally creating duplicate commitments. The request ID must be a valid UUID with
- * the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- */
- public Delete setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
- return this;
- }
+ public class Get extends CloudRedisRequest {
+
+ private static final String REST_PATH = "v1/{+name}";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
/**
- * Gets a specific token auth user for a basic auth enabled cluster.
+ * Gets the details of a specific Redis cluster.
*
- * Create a request for the method "tokenAuthUsers.get".
+ * Create a request for the method "clusters.get".
*
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
- * @param name Required. The name of token auth user for a token based auth enabled cluster. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @return the request
+ * @param name Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @since 1.13
*/
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
+ protected Get(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.Cluster.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ }
}
- public class Get extends CloudRedisRequest {
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- private static final String REST_PATH = "v1/{+name}";
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
- /**
- * Gets a specific token auth user for a basic auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.get".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The name of token auth user for a token based auth enabled cluster. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.TokenAuthUser.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- }
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
+ /**
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
+ /** Required. Redis cluster resource name using the form:
+ `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
+ a Google Cloud region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
+ /**
+ * Required. Redis cluster resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ public Get setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ this.name = name;
+ return this;
+ }
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Gets the details of certificate authority information for Redis cluster.
+ *
+ * Create a request for the method "clusters.getCertificateAuthority".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link GetCertificateAuthority#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param name Required. Redis cluster certificate authority resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority`
+ * where `location_id` refers to a Google Cloud region.
+ * @return the request
+ */
+ public GetCertificateAuthority getCertificateAuthority(java.lang.String name) throws java.io.IOException {
+ GetCertificateAuthority result = new GetCertificateAuthority(name);
+ initialize(result);
+ return result;
+ }
- /**
- * Required. The name of token auth user for a token based auth enabled cluster. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth
- * _user}
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
+ public class GetCertificateAuthority extends CloudRedisRequest {
- /** Required. The name of token auth user for a token based auth enabled cluster. Format:
- projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- public java.lang.String getName() {
- return name;
- }
+ private static final String REST_PATH = "v1/{+name}";
- /**
- * Required. The name of token auth user for a token based auth enabled cluster. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth
- * _user}
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- this.name = name;
- return this;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ /**
+ * Gets the details of certificate authority information for Redis cluster.
+ *
+ * Create a request for the method "clusters.getCertificateAuthority".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link GetCertificateAuthority#execute()} method to invoke the remote
+ * operation. {@link GetCertificateAuthority#initialize(com.google.api.client.googleapis.servi
+ * ces.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
+ *
+ * @param name Required. Redis cluster certificate authority resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority`
+ * where `location_id` refers to a Google Cloud region.
+ * @since 1.13
+ */
+ protected GetCertificateAuthority(java.lang.String name) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.CertificateAuthority.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
}
}
- /**
- * Lists all the token auth users for a token based auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent resource that this token based auth user will be listed for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
}
- public class List extends CloudRedisRequest {
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- private static final String REST_PATH = "v1/{+parent}/tokenAuthUsers";
+ @Override
+ public GetCertificateAuthority set$Xgafv(java.lang.String $Xgafv) {
+ return (GetCertificateAuthority) super.set$Xgafv($Xgafv);
+ }
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ @Override
+ public GetCertificateAuthority setAccessToken(java.lang.String accessToken) {
+ return (GetCertificateAuthority) super.setAccessToken(accessToken);
+ }
- /**
- * Lists all the token auth users for a token based auth enabled cluster.
- *
- * Create a request for the method "tokenAuthUsers.list".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The parent resource that this token based auth user will be listed for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListTokenAuthUsersResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- }
+ @Override
+ public GetCertificateAuthority setAlt(java.lang.String alt) {
+ return (GetCertificateAuthority) super.setAlt(alt);
+ }
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
+ @Override
+ public GetCertificateAuthority setCallback(java.lang.String callback) {
+ return (GetCertificateAuthority) super.setCallback(callback);
+ }
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ @Override
+ public GetCertificateAuthority setFields(java.lang.String fields) {
+ return (GetCertificateAuthority) super.setFields(fields);
+ }
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public GetCertificateAuthority setKey(java.lang.String key) {
+ return (GetCertificateAuthority) super.setKey(key);
+ }
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
+ @Override
+ public GetCertificateAuthority setOauthToken(java.lang.String oauthToken) {
+ return (GetCertificateAuthority) super.setOauthToken(oauthToken);
+ }
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
+ @Override
+ public GetCertificateAuthority setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetCertificateAuthority) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
+ @Override
+ public GetCertificateAuthority setQuotaUser(java.lang.String quotaUser) {
+ return (GetCertificateAuthority) super.setQuotaUser(quotaUser);
+ }
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
+ @Override
+ public GetCertificateAuthority setUploadType(java.lang.String uploadType) {
+ return (GetCertificateAuthority) super.setUploadType(uploadType);
+ }
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
+ @Override
+ public GetCertificateAuthority setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetCertificateAuthority) super.setUploadProtocol(uploadProtocol);
+ }
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
+ /**
+ * Required. Redis cluster certificate authority resource name using the form: `projects/{
+ * project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
+ /** Required. Redis cluster certificate authority resource name using the form:
+ `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
+ `location_id` refers to a Google Cloud region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
+ /**
+ * Required. Redis cluster certificate authority resource name using the form: `projects/{
+ * project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ public GetCertificateAuthority setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$");
}
+ this.name = name;
+ return this;
+ }
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
+ @Override
+ public GetCertificateAuthority set(String parameterName, Object value) {
+ return (GetCertificateAuthority) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Lists all Redis clusters owned by a project in either the specified location (region) or all
+ * locations. The location should have the following format: *
+ * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-` (wildcard),
+ * then all regions available to the project are queried, and the results are aggregated.
+ *
+ * Create a request for the method "clusters.list".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
+ * @return the request
+ */
+ public List list(java.lang.String parent) throws java.io.IOException {
+ List result = new List(parent);
+ initialize(result);
+ return result;
+ }
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
+ public class List extends CloudRedisRequest {
- /**
- * Required. The parent resource that this token based auth user will be listed for.
- * Format: projects/{project}/locations/{location}/clusters/{cluster}
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
+ private static final String REST_PATH = "v1/{+parent}/clusters";
- /** Required. The parent resource that this token based auth user will be listed for. Format:
- projects/{project}/locations/{location}/clusters/{cluster}
- */
- public java.lang.String getParent() {
- return parent;
- }
+ private final java.util.regex.Pattern PARENT_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
- /**
- * Required. The parent resource that this token based auth user will be listed for.
- * Format: projects/{project}/locations/{location}/clusters/{cluster}
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- }
- this.parent = parent;
- return this;
+ /**
+ * Lists all Redis clusters owned by a project in either the specified location (region) or all
+ * locations. The location should have the following format: *
+ * `projects/{project_id}/locations/{location_id}` If `location_id` is specified as `-`
+ * (wildcard), then all regions available to the project are queried, and the results are
+ * aggregated.
+ *
+ * Create a request for the method "clusters.list".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param parent Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
+ * @since 1.13
+ */
+ protected List(java.lang.String parent) {
+ super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListClustersResponse.class);
+ this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
+ }
- /** Optional. Expression for filtering results. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
- /** Optional. Expression for filtering results.
- */
- public java.lang.String getFilter() {
- return filter;
- }
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
- /** Optional. Expression for filtering results. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
- /** Optional. Sort results by a defined order. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
- /** Optional. Sort results by a defined order.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
- /** Optional. Sort results by a defined order. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's The maximum value
- * is 1000; values above 1000 will be coerced to 1000. `next_page_token` to determine if
- * there are more clusters left to be queried.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
- /** Optional. The maximum number of items to return. If not specified, a default value of 1000 will be
- used by the service. Regardless of the page_size value, the response may include a partial list and
- a caller should only rely on response's The maximum value is 1000; values above 1000 will be
- coerced to 1000. `next_page_token` to determine if there are more clusters left to be queried.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
- /**
- * Optional. The maximum number of items to return. If not specified, a default value of
- * 1000 will be used by the service. Regardless of the page_size value, the response may
- * include a partial list and a caller should only rely on response's The maximum value
- * is 1000; values above 1000 will be coerced to 1000. `next_page_token` to determine if
- * there are more clusters left to be queried.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
- /**
- * Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers]
- * request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
- /** Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers] request, if
- any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
- /**
- * Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers]
- * request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
}
/**
- * An accessor for creating requests from the AuthTokens collection.
- *
- * The typical use is:
- *
- * {@code CloudRedis redis = new CloudRedis(...);}
- * {@code CloudRedis.AuthTokens.List request = redis.authTokens().list(parameters ...)}
- *
- *
- * @return the resource collection
+ * Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parent;
+
+ /** Required. The resource name of the cluster location using the form:
+ `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud
+ region.
*/
- public AuthTokens authTokens() {
- return new AuthTokens();
+ public java.lang.String getParent() {
+ return parent;
}
/**
- * The "authTokens" collection of methods.
+ * Required. The resource name of the cluster location using the form:
+ * `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google
+ * Cloud region.
*/
- public class AuthTokens {
-
- /**
- * Removes a auth token for a user of a token based auth enabled instance.
- *
- * Create a request for the method "authTokens.delete".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
- *
- * @param name Required. The name of the token auth user resource that this auth token will be deleted from.
- * Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_a
- * uth_user}/authTokens/{auth_token}
- * @return the request
- */
- public Delete delete(java.lang.String name) throws java.io.IOException {
- Delete result = new Delete(name);
- initialize(result);
- return result;
+ public List setParent(java.lang.String parent) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
+ "Parameter parent must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+$");
}
+ this.parent = parent;
+ return this;
+ }
- public class Delete extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
-
- /**
- * Removes a auth token for a user of a token based auth enabled instance.
- *
- * Create a request for the method "authTokens.delete".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The name of the token auth user resource that this auth token will be deleted from.
- * Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_a
- * uth_user}/authTokens/{auth_token}
- * @since 1.13
- */
- protected Delete(java.lang.String name) {
- super(CloudRedis.this, "DELETE", REST_PATH, null, com.google.api.services.redis.v1.model.Operation.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
- }
- }
-
- @Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
- }
-
- @Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
- }
-
- @Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
- }
+ /**
+ * The maximum number of items to return. If not specified, a default value of 1000 will
+ * be used by the service. Regardless of the page_size value, the response may include a
+ * partial list and a caller should only rely on response's `next_page_token` to determine
+ * if there are more clusters left to be queried.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer pageSize;
- @Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
- }
+ /** The maximum number of items to return. If not specified, a default value of 1000 will be used by
+ the service. Regardless of the page_size value, the response may include a partial list and a
+ caller should only rely on response's `next_page_token` to determine if there are more clusters
+ left to be queried.
+ */
+ public java.lang.Integer getPageSize() {
+ return pageSize;
+ }
- @Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
- }
+ /**
+ * The maximum number of items to return. If not specified, a default value of 1000 will
+ * be used by the service. Regardless of the page_size value, the response may include a
+ * partial list and a caller should only rely on response's `next_page_token` to determine
+ * if there are more clusters left to be queried.
+ */
+ public List setPageSize(java.lang.Integer pageSize) {
+ this.pageSize = pageSize;
+ return this;
+ }
- @Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
- }
+ /** The `next_page_token` value returned from a previous ListClusters request, if any. */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
- @Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
- }
+ /** The `next_page_token` value returned from a previous ListClusters request, if any.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
- @Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
- }
+ /** The `next_page_token` value returned from a previous ListClusters request, if any. */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
- @Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
- }
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Updates the metadata and configuration of a specific Redis cluster. Completed
+ * longrunning.Operation will contain the new cluster object in the response field. The returned
+ * operation is automatically deleted after a few hours, so there is no need to call
+ * DeleteOperation.
+ *
+ * Create a request for the method "clusters.patch".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. Identifier. Unique name of the resource in this scope including project and location using
+ * the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
+ * @return the request
+ */
+ public Patch patch(java.lang.String name, com.google.api.services.redis.v1.model.Cluster content) throws java.io.IOException {
+ Patch result = new Patch(name, content);
+ initialize(result);
+ return result;
+ }
- @Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
- }
+ public class Patch extends CloudRedisRequest {
- /**
- * Required. The name of the token auth user resource that this auth token will be
- * deleted from. Format: projects/{project}/locations/{location}/clusters/{cluster}/to
- * kenAuthUsers/{token_auth_user}/authTokens/{auth_token}
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The name of the token auth user resource that this auth token will be deleted from.
- Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- /authTokens/{auth_token}
- */
- public java.lang.String getName() {
- return name;
- }
+ private static final String REST_PATH = "v1/{+name}";
- /**
- * Required. The name of the token auth user resource that this auth token will be
- * deleted from. Format: projects/{project}/locations/{location}/clusters/{cluster}/to
- * kenAuthUsers/{token_auth_user}/authTokens/{auth_token}
- */
- public Delete setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
- }
- this.name = name;
- return this;
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- @Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
- }
- }
- /**
- * Gets a specific auth token for a specific token auth user.
- *
- * Create a request for the method "authTokens.get".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation.
- *
- * @param name Required. The name of auth token for a token based auth enabled cluster. Format: projects/{project}/
- * locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_
- * token}
- * @return the request
- */
- public Get get(java.lang.String name) throws java.io.IOException {
- Get result = new Get(name);
- initialize(result);
- return result;
+ /**
+ * Updates the metadata and configuration of a specific Redis cluster. Completed
+ * longrunning.Operation will contain the new cluster object in the response field. The returned
+ * operation is automatically deleted after a few hours, so there is no need to call
+ * DeleteOperation.
+ *
+ * Create a request for the method "clusters.patch".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param name Required. Identifier. Unique name of the resource in this scope including project and location using
+ * the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ * @param content the {@link com.google.api.services.redis.v1.model.Cluster}
+ * @since 1.13
+ */
+ protected Patch(java.lang.String name, com.google.api.services.redis.v1.model.Cluster content) {
+ super(CloudRedis.this, "PATCH", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ }
- public class Get extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
-
- /**
- * Gets a specific auth token for a specific token auth user.
- *
- * Create a request for the method "authTokens.get".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
- * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param name Required. The name of auth token for a token based auth enabled cluster. Format: projects/{project}/
- * locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_
- * token}
- * @since 1.13
- */
- protected Get(java.lang.String name) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.AuthToken.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
-
- @Override
- public Get set$Xgafv(java.lang.String $Xgafv) {
- return (Get) super.set$Xgafv($Xgafv);
- }
+ @Override
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
+ }
- @Override
- public Get setAccessToken(java.lang.String accessToken) {
- return (Get) super.setAccessToken(accessToken);
- }
+ @Override
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
+ }
- @Override
- public Get setAlt(java.lang.String alt) {
- return (Get) super.setAlt(alt);
- }
+ @Override
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
+ }
- @Override
- public Get setCallback(java.lang.String callback) {
- return (Get) super.setCallback(callback);
- }
+ @Override
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
+ }
- @Override
- public Get setFields(java.lang.String fields) {
- return (Get) super.setFields(fields);
- }
+ @Override
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
+ }
- @Override
- public Get setKey(java.lang.String key) {
- return (Get) super.setKey(key);
- }
+ @Override
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
+ }
- @Override
- public Get setOauthToken(java.lang.String oauthToken) {
- return (Get) super.setOauthToken(oauthToken);
- }
+ @Override
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
+ }
- @Override
- public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Get) super.setPrettyPrint(prettyPrint);
- }
+ @Override
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
+ }
- @Override
- public Get setQuotaUser(java.lang.String quotaUser) {
- return (Get) super.setQuotaUser(quotaUser);
- }
+ @Override
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
+ }
- @Override
- public Get setUploadType(java.lang.String uploadType) {
- return (Get) super.setUploadType(uploadType);
- }
+ @Override
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
+ }
- @Override
- public Get setUploadProtocol(java.lang.String uploadProtocol) {
- return (Get) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Required. The name of auth token for a token based auth enabled cluster. Format: pr
- * ojects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth
- * _user}/authTokens/{auth_token}
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The name of auth token for a token based auth enabled cluster. Format: projects/{project}
- /locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{auth_token}
- */
- public java.lang.String getName() {
- return name;
- }
+ /**
+ * Required. Identifier. Unique name of the resource in this scope including project and
+ * location using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /**
- * Required. The name of auth token for a token based auth enabled cluster. Format: pr
- * ojects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth
- * _user}/authTokens/{auth_token}
- */
- public Get setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+/authTokens/[^/]+$");
- }
- this.name = name;
- return this;
- }
+ /** Required. Identifier. Unique name of the resource in this scope including project and location
+ using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- @Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
- }
- }
- /**
- * Lists all the auth tokens for a specific token auth user.
- *
- * Create a request for the method "authTokens.list".
- *
- * This request holds the parameters needed by the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation.
- *
- * @param parent Required. The parent resource that this auth token will be listed for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @return the request
- */
- public List list(java.lang.String parent) throws java.io.IOException {
- List result = new List(parent);
- initialize(result);
- return result;
+ /**
+ * Required. Identifier. Unique name of the resource in this scope including project and
+ * location using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
+ */
+ public Patch setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ this.name = name;
+ return this;
+ }
- public class List extends CloudRedisRequest {
-
- private static final String REST_PATH = "v1/{+parent}/authTokens";
-
- private final java.util.regex.Pattern PARENT_PATTERN =
- java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
-
- /**
- * Lists all the auth tokens for a specific token auth user.
- *
- * Create a request for the method "authTokens.list".
- *
- * This request holds the parameters needed by the the redis server. After setting any optional
- * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
- * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
- * called to initialize this instance immediately after invoking the constructor.
- *
- * @param parent Required. The parent resource that this auth token will be listed for. Format:
- * projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user
- * }
- * @since 1.13
- */
- protected List(java.lang.String parent) {
- super(CloudRedis.this, "GET", REST_PATH, null, com.google.api.services.redis.v1.model.ListAuthTokensResponse.class);
- this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- }
-
- @Override
- public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
- return super.executeUsingHead();
- }
-
- @Override
- public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
- return super.buildHttpRequestUsingHead();
- }
+ /** Optional. Idempotent request UUID. */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
- @Override
- public List set$Xgafv(java.lang.String $Xgafv) {
- return (List) super.set$Xgafv($Xgafv);
- }
+ /** Optional. Idempotent request UUID.
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
- @Override
- public List setAccessToken(java.lang.String accessToken) {
- return (List) super.setAccessToken(accessToken);
- }
+ /** Optional. Idempotent request UUID. */
+ public Patch setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
- @Override
- public List setAlt(java.lang.String alt) {
- return (List) super.setAlt(alt);
- }
+ /**
+ * Required. Mask of fields to update. At least one path must be supplied in this field.
+ * The elements of the repeated paths field may only include these fields from Cluster: *
+ * `size_gb` * `replica_count` * `cluster_endpoints`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
- @Override
- public List setCallback(java.lang.String callback) {
- return (List) super.setCallback(callback);
- }
+ /** Required. Mask of fields to update. At least one path must be supplied in this field. The elements
+ of the repeated paths field may only include these fields from Cluster: * `size_gb` *
+ `replica_count` * `cluster_endpoints`
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
- @Override
- public List setFields(java.lang.String fields) {
- return (List) super.setFields(fields);
- }
+ /**
+ * Required. Mask of fields to update. At least one path must be supplied in this field.
+ * The elements of the repeated paths field may only include these fields from Cluster: *
+ * `size_gb` * `replica_count` * `cluster_endpoints`
+ */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
- @Override
- public List setKey(java.lang.String key) {
- return (List) super.setKey(key);
- }
+ @Override
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Reschedules upcoming maintenance event.
+ *
+ * Create a request for the method "clusters.rescheduleClusterMaintenance".
+ *
+ * This request holds the parameters needed by the redis server. After setting any optional
+ * parameters, call the {@link RescheduleClusterMaintenance#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param name Required. Redis Cluster instance resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest}
+ * @return the request
+ */
+ public RescheduleClusterMaintenance rescheduleClusterMaintenance(java.lang.String name, com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest content) throws java.io.IOException {
+ RescheduleClusterMaintenance result = new RescheduleClusterMaintenance(name, content);
+ initialize(result);
+ return result;
+ }
- @Override
- public List setOauthToken(java.lang.String oauthToken) {
- return (List) super.setOauthToken(oauthToken);
- }
+ public class RescheduleClusterMaintenance extends CloudRedisRequest {
- @Override
- public List setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (List) super.setPrettyPrint(prettyPrint);
- }
+ private static final String REST_PATH = "v1/{+name}:rescheduleClusterMaintenance";
- @Override
- public List setQuotaUser(java.lang.String quotaUser) {
- return (List) super.setQuotaUser(quotaUser);
- }
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
- @Override
- public List setUploadType(java.lang.String uploadType) {
- return (List) super.setUploadType(uploadType);
- }
+ /**
+ * Reschedules upcoming maintenance event.
+ *
+ * Create a request for the method "clusters.rescheduleClusterMaintenance".
+ *
+ * This request holds the parameters needed by the the redis server. After setting any optional
+ * parameters, call the {@link RescheduleClusterMaintenance#execute()} method to invoke the remote
+ * operation. {@link RescheduleClusterMaintenance#initialize(com.google.api.client.googleapis.
+ * services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
+ *
+ * @param name Required. Redis Cluster instance resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id`
+ * refers to a Google Cloud region.
+ * @param content the {@link com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest}
+ * @since 1.13
+ */
+ protected RescheduleClusterMaintenance(java.lang.String name, com.google.api.services.redis.v1.model.RescheduleClusterMaintenanceRequest content) {
+ super(CloudRedis.this, "POST", REST_PATH, content, com.google.api.services.redis.v1.model.Operation.class);
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
+ }
+ }
- @Override
- public List setUploadProtocol(java.lang.String uploadProtocol) {
- return (List) super.setUploadProtocol(uploadProtocol);
- }
+ @Override
+ public RescheduleClusterMaintenance set$Xgafv(java.lang.String $Xgafv) {
+ return (RescheduleClusterMaintenance) super.set$Xgafv($Xgafv);
+ }
- /**
- * Required. The parent resource that this auth token will be listed for. Format: proj
- * ects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_u
- * ser}
- */
- @com.google.api.client.util.Key
- private java.lang.String parent;
-
- /** Required. The parent resource that this auth token will be listed for. Format:
- projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}
- */
- public java.lang.String getParent() {
- return parent;
- }
+ @Override
+ public RescheduleClusterMaintenance setAccessToken(java.lang.String accessToken) {
+ return (RescheduleClusterMaintenance) super.setAccessToken(accessToken);
+ }
- /**
- * Required. The parent resource that this auth token will be listed for. Format: proj
- * ects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_u
- * ser}
- */
- public List setParent(java.lang.String parent) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
- "Parameter parent must conform to the pattern " +
- "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/tokenAuthUsers/[^/]+$");
- }
- this.parent = parent;
- return this;
- }
+ @Override
+ public RescheduleClusterMaintenance setAlt(java.lang.String alt) {
+ return (RescheduleClusterMaintenance) super.setAlt(alt);
+ }
- /** Optional. Expression for filtering results. */
- @com.google.api.client.util.Key
- private java.lang.String filter;
+ @Override
+ public RescheduleClusterMaintenance setCallback(java.lang.String callback) {
+ return (RescheduleClusterMaintenance) super.setCallback(callback);
+ }
- /** Optional. Expression for filtering results.
- */
- public java.lang.String getFilter() {
- return filter;
- }
+ @Override
+ public RescheduleClusterMaintenance setFields(java.lang.String fields) {
+ return (RescheduleClusterMaintenance) super.setFields(fields);
+ }
- /** Optional. Expression for filtering results. */
- public List setFilter(java.lang.String filter) {
- this.filter = filter;
- return this;
- }
+ @Override
+ public RescheduleClusterMaintenance setKey(java.lang.String key) {
+ return (RescheduleClusterMaintenance) super.setKey(key);
+ }
- /** Optional. Sort results by a defined order. */
- @com.google.api.client.util.Key
- private java.lang.String orderBy;
+ @Override
+ public RescheduleClusterMaintenance setOauthToken(java.lang.String oauthToken) {
+ return (RescheduleClusterMaintenance) super.setOauthToken(oauthToken);
+ }
- /** Optional. Sort results by a defined order.
- */
- public java.lang.String getOrderBy() {
- return orderBy;
- }
+ @Override
+ public RescheduleClusterMaintenance setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (RescheduleClusterMaintenance) super.setPrettyPrint(prettyPrint);
+ }
- /** Optional. Sort results by a defined order. */
- public List setOrderBy(java.lang.String orderBy) {
- this.orderBy = orderBy;
- return this;
- }
+ @Override
+ public RescheduleClusterMaintenance setQuotaUser(java.lang.String quotaUser) {
+ return (RescheduleClusterMaintenance) super.setQuotaUser(quotaUser);
+ }
- /**
- * Optional. The maximum number of items to return. The maximum value is 1000; values
- * above 1000 will be coerced to 1000. If not specified, a default value of 1000 will
- * be used by the service. Regardless of the page_size value, the response may include
- * a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more clusters left to be queried.
- */
- @com.google.api.client.util.Key
- private java.lang.Integer pageSize;
-
- /** Optional. The maximum number of items to return. The maximum value is 1000; values above 1000 will
- be coerced to 1000. If not specified, a default value of 1000 will be used by the service.
- Regardless of the page_size value, the response may include a partial list and a caller should only
- rely on response's `next_page_token` to determine if there are more clusters left to be queried.
- */
- public java.lang.Integer getPageSize() {
- return pageSize;
- }
+ @Override
+ public RescheduleClusterMaintenance setUploadType(java.lang.String uploadType) {
+ return (RescheduleClusterMaintenance) super.setUploadType(uploadType);
+ }
- /**
- * Optional. The maximum number of items to return. The maximum value is 1000; values
- * above 1000 will be coerced to 1000. If not specified, a default value of 1000 will
- * be used by the service. Regardless of the page_size value, the response may include
- * a partial list and a caller should only rely on response's `next_page_token` to
- * determine if there are more clusters left to be queried.
- */
- public List setPageSize(java.lang.Integer pageSize) {
- this.pageSize = pageSize;
- return this;
- }
+ @Override
+ public RescheduleClusterMaintenance setUploadProtocol(java.lang.String uploadProtocol) {
+ return (RescheduleClusterMaintenance) super.setUploadProtocol(uploadProtocol);
+ }
- /**
- * Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers]
- * request, if any.
- */
- @com.google.api.client.util.Key
- private java.lang.String pageToken;
-
- /** Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers] request, if
- any.
- */
- public java.lang.String getPageToken() {
- return pageToken;
- }
+ /**
+ * Required. Redis Cluster instance resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
- /**
- * Optional. The `next_page_token` value returned from a previous [ListTokenAuthUsers]
- * request, if any.
- */
- public List setPageToken(java.lang.String pageToken) {
- this.pageToken = pageToken;
- return this;
- }
+ /** Required. Redis Cluster instance resource name using the form:
+ `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to
+ a Google Cloud region.
+ */
+ public java.lang.String getName() {
+ return name;
+ }
- @Override
- public List set(String parameterName, Object value) {
- return (List) super.set(parameterName, value);
- }
+ /**
+ * Required. Redis Cluster instance resource name using the form:
+ * `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where
+ * `location_id` refers to a Google Cloud region.
+ */
+ public RescheduleClusterMaintenance setName(java.lang.String name) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
+ "Parameter name must conform to the pattern " +
+ "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$");
}
+ this.name = name;
+ return this;
+ }
+ @Override
+ public RescheduleClusterMaintenance set(String parameterName, Object value) {
+ return (RescheduleClusterMaintenance) super.set(parameterName, value);
}
}
+
}
/**
* An accessor for creating requests from the Instances collection.
@@ -6993,13 +4594,13 @@ public Patch setName(java.lang.String name) {
* `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `replica_count`
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Required. Mask of fields to update. At least one path must be supplied in this field. The elements
of the repeated paths field may only include these fields from Instance: * `displayName` * `labels`
* `memorySizeGb` * `redisConfig` * `replica_count`
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -7008,7 +4609,7 @@ public String getUpdateMask() {
* The elements of the repeated paths field may only include these fields from Instance: *
* `displayName` * `labels` * `memorySizeGb` * `redisConfig` * `replica_count`
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedisScopes.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedisScopes.java
index 227a69115af..880eb9408e9 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedisScopes.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/CloudRedisScopes.java
@@ -26,12 +26,6 @@ public class CloudRedisScopes {
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
public static final String CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
- /** See your Google Cloud Memorystore for Redis data and the email address of your Google Account. */
- public static final String REDIS_READ_ONLY = "https://www.googleapis.com/auth/redis.read-only";
-
- /** See, edit, configure, and delete your Google Cloud Memorystore for Redis data and see the email address for your Google Account. */
- public static final String REDIS_READ_WRITE = "https://www.googleapis.com/auth/redis.read-write";
-
/**
* Returns an unmodifiable set that contains all scopes declared by this class.
*
@@ -40,8 +34,6 @@ public class CloudRedisScopes {
public static java.util.Set all() {
java.util.Set set = new java.util.HashSet();
set.add(CLOUD_PLATFORM);
- set.add(REDIS_READ_ONLY);
- set.add(REDIS_READ_WRITE);
return java.util.Collections.unmodifiableSet(set);
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AutomatedBackupConfig.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AutomatedBackupConfig.java
index 6caa7769e56..dc717b099b2 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AutomatedBackupConfig.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/AutomatedBackupConfig.java
@@ -50,7 +50,7 @@ public final class AutomatedBackupConfig extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String retention;
+ private java.lang.String retention;
/**
* Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
@@ -91,7 +91,7 @@ public AutomatedBackupConfig setFixedFrequencySchedule(FixedFrequencySchedule fi
* be between 1 day and 365 days. If not specified, the default value is 35 days.
* @return value or {@code null} for none
*/
- public String getRetention() {
+ public java.lang.String getRetention() {
return retention;
}
@@ -100,7 +100,7 @@ public String getRetention() {
* be between 1 day and 365 days. If not specified, the default value is 35 days.
* @param retention retention or {@code null} for none
*/
- public AutomatedBackupConfig setRetention(String retention) {
+ public AutomatedBackupConfig setRetention(java.lang.String retention) {
this.retention = retention;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Backup.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Backup.java
index b55fed6cb93..8cba6ddcd30 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Backup.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Backup.java
@@ -63,7 +63,7 @@ public final class Backup extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Encryption information of the backup.
@@ -84,7 +84,7 @@ public final class Backup extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Identifier. Full resource path of the backup. the last part of the name is the backup id with
@@ -209,7 +209,7 @@ public Backup setClusterUid(java.lang.String clusterUid) {
* Output only. The time when the backup was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -217,7 +217,7 @@ public String getCreateTime() {
* Output only. The time when the backup was created.
* @param createTime createTime or {@code null} for none
*/
- public Backup setCreateTime(String createTime) {
+ public Backup setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -260,7 +260,7 @@ public Backup setEngineVersion(java.lang.String engineVersion) {
* Output only. The time when the backup will expire.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -268,7 +268,7 @@ public String getExpireTime() {
* Output only. The time when the backup will expire.
* @param expireTime expireTime or {@code null} for none
*/
- public Backup setExpireTime(String expireTime) {
+ public Backup setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupClusterRequest.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupClusterRequest.java
index 1a597a01389..4a1917ba4c9 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupClusterRequest.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupClusterRequest.java
@@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;
/**
- * Request for `BackupCluster`.
+ * Request for [BackupCluster].
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
@@ -44,7 +44,7 @@ public final class BackupClusterRequest extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String ttl;
+ private java.lang.String ttl;
/**
* Optional. The id of the backup to be created. If not specified, the default value
@@ -70,7 +70,7 @@ public BackupClusterRequest setBackupId(java.lang.String backupId) {
* the default value is 100 years.
* @return value or {@code null} for none
*/
- public String getTtl() {
+ public java.lang.String getTtl() {
return ttl;
}
@@ -79,7 +79,7 @@ public String getTtl() {
* the default value is 100 years.
* @param ttl ttl or {@code null} for none
*/
- public BackupClusterRequest setTtl(String ttl) {
+ public BackupClusterRequest setTtl(java.lang.String ttl) {
this.ttl = ttl;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupCollection.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupCollection.java
index f07bc6022e7..5703a99c307 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupCollection.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupCollection.java
@@ -50,7 +50,7 @@ public final class BackupCollection extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The KMS key used to encrypt the backups under this backup collection.
@@ -64,7 +64,7 @@ public final class BackupCollection extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastBackupTime;
+ private java.lang.String lastBackupTime;
/**
* Identifier. Full resource path of the backup collection.
@@ -134,7 +134,7 @@ public BackupCollection setClusterUid(java.lang.String clusterUid) {
* Output only. The time when the backup collection was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -142,7 +142,7 @@ public String getCreateTime() {
* Output only. The time when the backup collection was created.
* @param createTime createTime or {@code null} for none
*/
- public BackupCollection setCreateTime(String createTime) {
+ public BackupCollection setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -168,7 +168,7 @@ public BackupCollection setKmsKey(java.lang.String kmsKey) {
* Output only. The last time a backup was created in the backup collection.
* @return value or {@code null} for none
*/
- public String getLastBackupTime() {
+ public java.lang.String getLastBackupTime() {
return lastBackupTime;
}
@@ -176,7 +176,7 @@ public String getLastBackupTime() {
* Output only. The last time a backup was created in the backup collection.
* @param lastBackupTime lastBackupTime or {@code null} for none
*/
- public BackupCollection setLastBackupTime(String lastBackupTime) {
+ public BackupCollection setLastBackupTime(java.lang.String lastBackupTime) {
this.lastBackupTime = lastBackupTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupDRMetadata.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupDRMetadata.java
index 816a90a144e..0403a8b4c10 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupDRMetadata.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupDRMetadata.java
@@ -64,7 +64,7 @@ public final class BackupDRMetadata extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Required. Database resource id.
@@ -145,7 +145,7 @@ public BackupDRMetadata setFullResourceName(java.lang.String fullResourceName) {
* Required. Last time backup configuration was refreshed.
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -153,7 +153,7 @@ public String getLastRefreshTime() {
* Required. Last time backup configuration was refreshed.
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public BackupDRMetadata setLastRefreshTime(String lastRefreshTime) {
+ public BackupDRMetadata setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupFile.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupFile.java
index c5573a4ab9a..cb6ba030f67 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupFile.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupFile.java
@@ -35,7 +35,7 @@ public final class BackupFile extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. e.g: .rdb
@@ -55,7 +55,7 @@ public final class BackupFile extends com.google.api.client.json.GenericJson {
* Output only. The time when the backup file was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -63,7 +63,7 @@ public String getCreateTime() {
* Output only. The time when the backup file was created.
* @param createTime createTime or {@code null} for none
*/
- public BackupFile setCreateTime(String createTime) {
+ public BackupFile setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupRun.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupRun.java
index c3a4252c8bf..d3519cb3945 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupRun.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/BackupRun.java
@@ -35,7 +35,7 @@ public final class BackupRun extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Information about why the backup operation failed. This is only present if the run has the
@@ -50,7 +50,7 @@ public final class BackupRun extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* The status of this run. REQUIRED
@@ -63,7 +63,7 @@ public final class BackupRun extends com.google.api.client.json.GenericJson {
* The time the backup operation completed. REQUIRED
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -71,7 +71,7 @@ public String getEndTime() {
* The time the backup operation completed. REQUIRED
* @param endTime endTime or {@code null} for none
*/
- public BackupRun setEndTime(String endTime) {
+ public BackupRun setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -99,7 +99,7 @@ public BackupRun setError(OperationError error) {
* The time the backup operation started. REQUIRED
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -107,7 +107,7 @@ public String getStartTime() {
* The time the backup operation started. REQUIRED
* @param startTime startTime or {@code null} for none
*/
- public BackupRun setStartTime(String startTime) {
+ public BackupRun setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
index 503d7328863..54cb1f63418 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Cluster.java
@@ -37,15 +37,6 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String aclPolicy;
- /**
- * Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
- * the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
- * cluster.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.Boolean aclPolicyInSync;
-
/**
* Optional. Immutable. Deprecated, do not use.
* The value may be {@code null}.
@@ -105,7 +96,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Cross cluster replication config.
@@ -385,27 +376,6 @@ public Cluster setAclPolicy(java.lang.String aclPolicy) {
return this;
}
- /**
- * Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
- * the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
- * cluster.
- * @return value or {@code null} for none
- */
- public java.lang.Boolean getAclPolicyInSync() {
- return aclPolicyInSync;
- }
-
- /**
- * Optional. Output only. Indicates whether the ACL rules applied to the cluster are in sync with
- * the latest ACL policy rules. This field is only applicable if the ACL policy is set for the
- * cluster.
- * @param aclPolicyInSync aclPolicyInSync or {@code null} for none
- */
- public Cluster setAclPolicyInSync(java.lang.Boolean aclPolicyInSync) {
- this.aclPolicyInSync = aclPolicyInSync;
- return this;
- }
-
/**
* Optional. Immutable. Deprecated, do not use.
* @return value or {@code null} for none
@@ -539,7 +509,7 @@ public Cluster setClusterEndpoints(java.util.List clusterEndpoi
* Output only. The timestamp associated with the cluster creation request.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -547,7 +517,7 @@ public String getCreateTime() {
* Output only. The timestamp associated with the cluster creation request.
* @param createTime createTime or {@code null} for none
*/
- public Cluster setCreateTime(String createTime) {
+ public Cluster setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenancePolicy.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenancePolicy.java
index 556cd0a0c7c..f1a27e711b5 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenancePolicy.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenancePolicy.java
@@ -36,7 +36,7 @@ public final class ClusterMaintenancePolicy extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was
@@ -44,7 +44,7 @@ public final class ClusterMaintenancePolicy extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1.
@@ -59,7 +59,7 @@ public final class ClusterMaintenancePolicy extends com.google.api.client.json.G
* assigned.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -68,7 +68,7 @@ public String getCreateTime() {
* assigned.
* @param createTime createTime or {@code null} for none
*/
- public ClusterMaintenancePolicy setCreateTime(String createTime) {
+ public ClusterMaintenancePolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -78,7 +78,7 @@ public ClusterMaintenancePolicy setCreateTime(String createTime) {
* updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -87,7 +87,7 @@ public String getUpdateTime() {
* updated.
* @param updateTime updateTime or {@code null} for none
*/
- public ClusterMaintenancePolicy setUpdateTime(String updateTime) {
+ public ClusterMaintenancePolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenanceSchedule.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenanceSchedule.java
index 677e94cc1db..1651097599d 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenanceSchedule.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ClusterMaintenanceSchedule.java
@@ -35,20 +35,20 @@ public final class ClusterMaintenanceSchedule extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The end time of any upcoming scheduled maintenance for this instance.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -56,7 +56,7 @@ public String getEndTime() {
* Output only. The end time of any upcoming scheduled maintenance for this instance.
* @param endTime endTime or {@code null} for none
*/
- public ClusterMaintenanceSchedule setEndTime(String endTime) {
+ public ClusterMaintenanceSchedule setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -65,7 +65,7 @@ public ClusterMaintenanceSchedule setEndTime(String endTime) {
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -73,7 +73,7 @@ public String getStartTime() {
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* @param startTime startTime or {@code null} for none
*/
- public ClusterMaintenanceSchedule setStartTime(String startTime) {
+ public ClusterMaintenanceSchedule setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ConfigBasedSignalData.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ConfigBasedSignalData.java
index 738b7648a6e..dc34885d00d 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ConfigBasedSignalData.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ConfigBasedSignalData.java
@@ -43,7 +43,7 @@ public final class ConfigBasedSignalData extends com.google.api.client.json.Gene
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Database resource id.
@@ -87,7 +87,7 @@ public ConfigBasedSignalData setFullResourceName(java.lang.String fullResourceNa
* Required. Last time signal was refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -95,7 +95,7 @@ public String getLastRefreshTime() {
* Required. Last time signal was refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public ConfigBasedSignalData setLastRefreshTime(String lastRefreshTime) {
+ public ConfigBasedSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/CrossClusterReplicationConfig.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/CrossClusterReplicationConfig.java
index 72abb0f9078..587429a71a5 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/CrossClusterReplicationConfig.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/CrossClusterReplicationConfig.java
@@ -71,7 +71,7 @@ public final class CrossClusterReplicationConfig extends com.google.api.client.j
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Output only. The role of the cluster in cross cluster replication.
@@ -161,7 +161,7 @@ public CrossClusterReplicationConfig setSecondaryClusters(java.util.List This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
@@ -64,7 +64,7 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String creationTime;
+ private java.lang.String creationTime;
/**
* Current state of the instance.
@@ -152,13 +152,6 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
@com.google.api.client.util.Key
private ResourceMaintenanceInfo maintenanceInfo;
- /**
- * Optional. The modes of the database resource.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List modes;
-
/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -228,7 +221,7 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updationTime;
+ private java.lang.String updationTime;
/**
* User-provided labels associated with the resource
@@ -318,7 +311,7 @@ public DatabaseResourceMetadata setBackupdrConfiguration(BackupDRConfiguration b
* partner service.
* @return value or {@code null} for none
*/
- public String getCreationTime() {
+ public java.lang.String getCreationTime() {
return creationTime;
}
@@ -327,7 +320,7 @@ public String getCreationTime() {
* partner service.
* @param creationTime creationTime or {@code null} for none
*/
- public DatabaseResourceMetadata setCreationTime(String creationTime) {
+ public DatabaseResourceMetadata setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
return this;
}
@@ -540,23 +533,6 @@ public DatabaseResourceMetadata setMaintenanceInfo(ResourceMaintenanceInfo maint
return this;
}
- /**
- * Optional. The modes of the database resource.
- * @return value or {@code null} for none
- */
- public java.util.List getModes() {
- return modes;
- }
-
- /**
- * Optional. The modes of the database resource.
- * @param modes modes or {@code null} for none
- */
- public DatabaseResourceMetadata setModes(java.util.List modes) {
- this.modes = modes;
- return this;
- }
-
/**
* Identifier for this resource's immediate parent/primary resource if the current resource is a
* replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the
@@ -713,7 +689,7 @@ public DatabaseResourceMetadata setTagsSet(Tags tagsSet) {
* The time at which the resource was updated and recorded at partner service.
* @return value or {@code null} for none
*/
- public String getUpdationTime() {
+ public java.lang.String getUpdationTime() {
return updationTime;
}
@@ -721,7 +697,7 @@ public String getUpdationTime() {
* The time at which the resource was updated and recorded at partner service.
* @param updationTime updationTime or {@code null} for none
*/
- public DatabaseResourceMetadata setUpdationTime(String updationTime) {
+ public DatabaseResourceMetadata setUpdationTime(java.lang.String updationTime) {
this.updationTime = updationTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceRecommendationSignalData.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceRecommendationSignalData.java
index 4c7474fe022..d3400e28eaa 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceRecommendationSignalData.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceRecommendationSignalData.java
@@ -42,7 +42,7 @@ public final class DatabaseResourceRecommendationSignalData extends com.google.a
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Required. Recommendation state
@@ -116,7 +116,7 @@ public DatabaseResourceRecommendationSignalData setAdditionalMetadata(java.util.
* Required. last time recommendationw as refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -124,7 +124,7 @@ public String getLastRefreshTime() {
* Required. last time recommendationw as refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public DatabaseResourceRecommendationSignalData setLastRefreshTime(String lastRefreshTime) {
+ public DatabaseResourceRecommendationSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceSignalData.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceSignalData.java
index 2ad0939bdc4..2fd42886406 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceSignalData.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/DatabaseResourceSignalData.java
@@ -51,7 +51,7 @@ public final class DatabaseResourceSignalData extends com.google.api.client.json
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastRefreshTime;
+ private java.lang.String lastRefreshTime;
/**
* Resource location.
@@ -133,7 +133,7 @@ public DatabaseResourceSignalData setFullResourceName(java.lang.String fullResou
* Required. Last time signal was refreshed
* @return value or {@code null} for none
*/
- public String getLastRefreshTime() {
+ public java.lang.String getLastRefreshTime() {
return lastRefreshTime;
}
@@ -141,7 +141,7 @@ public String getLastRefreshTime() {
* Required. Last time signal was refreshed
* @param lastRefreshTime lastRefreshTime or {@code null} for none
*/
- public DatabaseResourceSignalData setLastRefreshTime(String lastRefreshTime) {
+ public DatabaseResourceSignalData setLastRefreshTime(java.lang.String lastRefreshTime) {
this.lastRefreshTime = lastRefreshTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/EncryptionInfo.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/EncryptionInfo.java
index 2f2a646f8a0..c1e20b20b81 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/EncryptionInfo.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/EncryptionInfo.java
@@ -57,7 +57,7 @@ public final class EncryptionInfo extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String lastUpdateTime;
+ private java.lang.String lastUpdateTime;
/**
* Output only. Type of encryption.
@@ -116,7 +116,7 @@ public EncryptionInfo setKmsKeyVersions(java.util.List kmsKeyV
* Output only. The most recent time when the encryption info was updated.
* @return value or {@code null} for none
*/
- public String getLastUpdateTime() {
+ public java.lang.String getLastUpdateTime() {
return lastUpdateTime;
}
@@ -124,7 +124,7 @@ public String getLastUpdateTime() {
* Output only. The most recent time when the encryption info was updated.
* @param lastUpdateTime lastUpdateTime or {@code null} for none
*/
- public EncryptionInfo setLastUpdateTime(String lastUpdateTime) {
+ public EncryptionInfo setLastUpdateTime(java.lang.String lastUpdateTime) {
this.lastUpdateTime = lastUpdateTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ExportBackupRequest.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ExportBackupRequest.java
index e1c9c0df8cf..fc74ff14825 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ExportBackupRequest.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ExportBackupRequest.java
@@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;
/**
- * Request for `ExportBackup`.
+ * Request for [ExportBackup].
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/GoogleCloudRedisV1OperationMetadata.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/GoogleCloudRedisV1OperationMetadata.java
index b6b72ce8bce..196126ec85f 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/GoogleCloudRedisV1OperationMetadata.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/GoogleCloudRedisV1OperationMetadata.java
@@ -49,14 +49,14 @@ public final class GoogleCloudRedisV1OperationMetadata extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* End timestamp.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Operation status details.
@@ -117,7 +117,7 @@ public GoogleCloudRedisV1OperationMetadata setCancelRequested(java.lang.Boolean
* Creation timestamp.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -125,7 +125,7 @@ public String getCreateTime() {
* Creation timestamp.
* @param createTime createTime or {@code null} for none
*/
- public GoogleCloudRedisV1OperationMetadata setCreateTime(String createTime) {
+ public GoogleCloudRedisV1OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -134,7 +134,7 @@ public GoogleCloudRedisV1OperationMetadata setCreateTime(String createTime) {
* End timestamp.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -142,7 +142,7 @@ public String getEndTime() {
* End timestamp.
* @param endTime endTime or {@code null} for none
*/
- public GoogleCloudRedisV1OperationMetadata setEndTime(String endTime) {
+ public GoogleCloudRedisV1OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Instance.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Instance.java
index 104a0511643..4299e5caeb2 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Instance.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/Instance.java
@@ -77,7 +77,7 @@ public final class Instance extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The current zone where the Redis primary node is located. In basic tier, this will
@@ -446,7 +446,7 @@ public Instance setConnectMode(java.lang.String connectMode) {
* Output only. The time the instance was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -454,7 +454,7 @@ public String getCreateTime() {
* Output only. The time the instance was created.
* @param createTime createTime or {@code null} for none
*/
- public Instance setCreateTime(String createTime) {
+ public Instance setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupCollectionsResponse.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupCollectionsResponse.java
index f7a42511662..ecd0a0d3c5f 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupCollectionsResponse.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupCollectionsResponse.java
@@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;
/**
- * Response for `ListBackupCollections`.
+ * Response for [ListBackupCollections].
*
*
This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupsResponse.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupsResponse.java
index 7afb92dca5a..a6d6e4f7cdb 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupsResponse.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListBackupsResponse.java
@@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;
/**
- * Response for `ListBackups`.
+ * Response for [ListBackups].
*
*
This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListClustersResponse.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListClustersResponse.java
index d724b303af0..d49be7c0ca8 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListClustersResponse.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ListClustersResponse.java
@@ -17,7 +17,7 @@
package com.google.api.services.redis.v1.model;
/**
- * Response for `ListClusters`.
+ * Response for ListClusters.
*
*
This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenancePolicy.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenancePolicy.java
index 8d3c868c30b..922a5de5f68 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenancePolicy.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenancePolicy.java
@@ -35,7 +35,7 @@ public final class MaintenancePolicy extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT
@@ -50,7 +50,7 @@ public final class MaintenancePolicy extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1.
@@ -64,7 +64,7 @@ public final class MaintenancePolicy extends com.google.api.client.json.GenericJ
* Output only. The time when the policy was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -72,7 +72,7 @@ public String getCreateTime() {
* Output only. The time when the policy was created.
* @param createTime createTime or {@code null} for none
*/
- public MaintenancePolicy setCreateTime(String createTime) {
+ public MaintenancePolicy setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -100,7 +100,7 @@ public MaintenancePolicy setDescription(java.lang.String description) {
* Output only. The time when the policy was last updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -108,7 +108,7 @@ public String getUpdateTime() {
* Output only. The time when the policy was last updated.
* @param updateTime updateTime or {@code null} for none
*/
- public MaintenancePolicy setUpdateTime(String updateTime) {
+ public MaintenancePolicy setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenanceSchedule.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenanceSchedule.java
index 347e73e84a8..001c8a67409 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenanceSchedule.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/MaintenanceSchedule.java
@@ -42,7 +42,7 @@ public final class MaintenanceSchedule extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. The deadline that the maintenance schedule start time can not go beyond, including
@@ -50,14 +50,14 @@ public final class MaintenanceSchedule extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String scheduleDeadlineTime;
+ private java.lang.String scheduleDeadlineTime;
/**
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* If the scheduled maintenance can be rescheduled, default is true.
@@ -80,7 +80,7 @@ public MaintenanceSchedule setCanReschedule(java.lang.Boolean canReschedule) {
* Output only. The end time of any upcoming scheduled maintenance for this instance.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -88,7 +88,7 @@ public String getEndTime() {
* Output only. The end time of any upcoming scheduled maintenance for this instance.
* @param endTime endTime or {@code null} for none
*/
- public MaintenanceSchedule setEndTime(String endTime) {
+ public MaintenanceSchedule setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -98,7 +98,7 @@ public MaintenanceSchedule setEndTime(String endTime) {
* reschedule.
* @return value or {@code null} for none
*/
- public String getScheduleDeadlineTime() {
+ public java.lang.String getScheduleDeadlineTime() {
return scheduleDeadlineTime;
}
@@ -107,7 +107,7 @@ public String getScheduleDeadlineTime() {
* reschedule.
* @param scheduleDeadlineTime scheduleDeadlineTime or {@code null} for none
*/
- public MaintenanceSchedule setScheduleDeadlineTime(String scheduleDeadlineTime) {
+ public MaintenanceSchedule setScheduleDeadlineTime(java.lang.String scheduleDeadlineTime) {
this.scheduleDeadlineTime = scheduleDeadlineTime;
return this;
}
@@ -116,7 +116,7 @@ public MaintenanceSchedule setScheduleDeadlineTime(String scheduleDeadlineTime)
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -124,7 +124,7 @@ public String getStartTime() {
* Output only. The start time of any upcoming scheduled maintenance for this instance.
* @param startTime startTime or {@code null} for none
*/
- public MaintenanceSchedule setStartTime(String startTime) {
+ public MaintenanceSchedule setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ObservabilityMetricData.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ObservabilityMetricData.java
index e35c9fd00d5..14210e5143e 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ObservabilityMetricData.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/ObservabilityMetricData.java
@@ -49,7 +49,7 @@ public final class ObservabilityMetricData extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String observationTime;
+ private java.lang.String observationTime;
/**
* Required. Database resource name associated with the signal. Resource name to follow CAIS
@@ -104,7 +104,7 @@ public ObservabilityMetricData setMetricType(java.lang.String metricType) {
* Required. The time the metric value was observed.
* @return value or {@code null} for none
*/
- public String getObservationTime() {
+ public java.lang.String getObservationTime() {
return observationTime;
}
@@ -112,7 +112,7 @@ public String getObservationTime() {
* Required. The time the metric value was observed.
* @param observationTime observationTime or {@code null} for none
*/
- public ObservabilityMetricData setObservationTime(String observationTime) {
+ public ObservabilityMetricData setObservationTime(java.lang.String observationTime) {
this.observationTime = observationTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/OperationMetadata.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/OperationMetadata.java
index 806affa0b5b..932b66b9fdf 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/OperationMetadata.java
@@ -42,14 +42,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. Identifies whether the user has requested cancellation of the operation.
@@ -102,7 +102,7 @@ public OperationMetadata setApiVersion(java.lang.String apiVersion) {
* Output only. The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -110,7 +110,7 @@ public String getCreateTime() {
* Output only. The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -119,7 +119,7 @@ public OperationMetadata setCreateTime(String createTime) {
* Output only. The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -127,7 +127,7 @@ public String getEndTime() {
* Output only. The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/PersistenceConfig.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/PersistenceConfig.java
index dc04a9114bf..0b62b039c1c 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/PersistenceConfig.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/PersistenceConfig.java
@@ -43,7 +43,7 @@ public final class PersistenceConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String rdbNextSnapshotTime;
+ private java.lang.String rdbNextSnapshotTime;
/**
* Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from
@@ -62,7 +62,7 @@ public final class PersistenceConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String rdbSnapshotStartTime;
+ private java.lang.String rdbSnapshotStartTime;
/**
* Optional. Controls whether Persistence features are enabled. If not provided, the existing
@@ -87,7 +87,7 @@ public PersistenceConfig setPersistenceMode(java.lang.String persistenceMode) {
* Output only. The next time that a snapshot attempt is scheduled to occur.
* @return value or {@code null} for none
*/
- public String getRdbNextSnapshotTime() {
+ public java.lang.String getRdbNextSnapshotTime() {
return rdbNextSnapshotTime;
}
@@ -95,7 +95,7 @@ public String getRdbNextSnapshotTime() {
* Output only. The next time that a snapshot attempt is scheduled to occur.
* @param rdbNextSnapshotTime rdbNextSnapshotTime or {@code null} for none
*/
- public PersistenceConfig setRdbNextSnapshotTime(String rdbNextSnapshotTime) {
+ public PersistenceConfig setRdbNextSnapshotTime(java.lang.String rdbNextSnapshotTime) {
this.rdbNextSnapshotTime = rdbNextSnapshotTime;
return this;
}
@@ -130,7 +130,7 @@ public PersistenceConfig setRdbSnapshotPeriod(java.lang.String rdbSnapshotPeriod
* snapshots will be aligned. If not provided, the current time will be used.
* @return value or {@code null} for none
*/
- public String getRdbSnapshotStartTime() {
+ public java.lang.String getRdbSnapshotStartTime() {
return rdbSnapshotStartTime;
}
@@ -139,7 +139,7 @@ public String getRdbSnapshotStartTime() {
* snapshots will be aligned. If not provided, the current time will be used.
* @param rdbSnapshotStartTime rdbSnapshotStartTime or {@code null} for none
*/
- public PersistenceConfig setRdbSnapshotStartTime(String rdbSnapshotStartTime) {
+ public PersistenceConfig setRdbSnapshotStartTime(java.lang.String rdbSnapshotStartTime) {
this.rdbSnapshotStartTime = rdbSnapshotStartTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RDBConfig.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RDBConfig.java
index 1de9fc4a19d..ffec5c73143 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RDBConfig.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RDBConfig.java
@@ -43,7 +43,7 @@ public final class RDBConfig extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String rdbSnapshotStartTime;
+ private java.lang.String rdbSnapshotStartTime;
/**
* Optional. Period between RDB snapshots.
@@ -67,7 +67,7 @@ public RDBConfig setRdbSnapshotPeriod(java.lang.String rdbSnapshotPeriod) {
* will be aligned. If not provided, the current time will be used.
* @return value or {@code null} for none
*/
- public String getRdbSnapshotStartTime() {
+ public java.lang.String getRdbSnapshotStartTime() {
return rdbSnapshotStartTime;
}
@@ -76,7 +76,7 @@ public String getRdbSnapshotStartTime() {
* will be aligned. If not provided, the current time will be used.
* @param rdbSnapshotStartTime rdbSnapshotStartTime or {@code null} for none
*/
- public RDBConfig setRdbSnapshotStartTime(String rdbSnapshotStartTime) {
+ public RDBConfig setRdbSnapshotStartTime(java.lang.String rdbSnapshotStartTime) {
this.rdbSnapshotStartTime = rdbSnapshotStartTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleClusterMaintenanceRequest.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleClusterMaintenanceRequest.java
index 5b36bdd20e6..ab2c2be6ef9 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleClusterMaintenanceRequest.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleClusterMaintenanceRequest.java
@@ -43,7 +43,7 @@ public final class RescheduleClusterMaintenanceRequest extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String scheduleTime;
+ private java.lang.String scheduleTime;
/**
* Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
@@ -67,7 +67,7 @@ public RescheduleClusterMaintenanceRequest setRescheduleType(java.lang.String re
* reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
* @return value or {@code null} for none
*/
- public String getScheduleTime() {
+ public java.lang.String getScheduleTime() {
return scheduleTime;
}
@@ -76,7 +76,7 @@ public String getScheduleTime() {
* reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
* @param scheduleTime scheduleTime or {@code null} for none
*/
- public RescheduleClusterMaintenanceRequest setScheduleTime(String scheduleTime) {
+ public RescheduleClusterMaintenanceRequest setScheduleTime(java.lang.String scheduleTime) {
this.scheduleTime = scheduleTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleMaintenanceRequest.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleMaintenanceRequest.java
index be818eb6eed..40936e264c5 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleMaintenanceRequest.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RescheduleMaintenanceRequest.java
@@ -43,7 +43,7 @@ public final class RescheduleMaintenanceRequest extends com.google.api.client.js
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String scheduleTime;
+ private java.lang.String scheduleTime;
/**
* Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.
@@ -67,7 +67,7 @@ public RescheduleMaintenanceRequest setRescheduleType(java.lang.String reschedul
* reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
* @return value or {@code null} for none
*/
- public String getScheduleTime() {
+ public java.lang.String getScheduleTime() {
return scheduleTime;
}
@@ -76,7 +76,7 @@ public String getScheduleTime() {
* reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.
* @param scheduleTime scheduleTime or {@code null} for none
*/
- public RescheduleMaintenanceRequest setScheduleTime(String scheduleTime) {
+ public RescheduleMaintenanceRequest setScheduleTime(java.lang.String scheduleTime) {
this.scheduleTime = scheduleTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RetentionSettings.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RetentionSettings.java
index 64beaf62b97..94d7417ac5e 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RetentionSettings.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/RetentionSettings.java
@@ -35,7 +35,7 @@ public final class RetentionSettings extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String durationBasedRetention;
+ private java.lang.String durationBasedRetention;
/**
* The value may be {@code null}.
@@ -54,20 +54,20 @@ public final class RetentionSettings extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeBasedRetention;
+ private java.lang.String timeBasedRetention;
/**
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timestampBasedRetentionTime;
+ private java.lang.String timestampBasedRetentionTime;
/**
* Duration based retention period i.e. 172800 seconds (2 days)
* @return value or {@code null} for none
*/
- public String getDurationBasedRetention() {
+ public java.lang.String getDurationBasedRetention() {
return durationBasedRetention;
}
@@ -75,7 +75,7 @@ public String getDurationBasedRetention() {
* Duration based retention period i.e. 172800 seconds (2 days)
* @param durationBasedRetention durationBasedRetention or {@code null} for none
*/
- public RetentionSettings setDurationBasedRetention(String durationBasedRetention) {
+ public RetentionSettings setDurationBasedRetention(java.lang.String durationBasedRetention) {
this.durationBasedRetention = durationBasedRetention;
return this;
}
@@ -115,14 +115,14 @@ public RetentionSettings setRetentionUnit(java.lang.String retentionUnit) {
/**
* @return value or {@code null} for none
*/
- public String getTimeBasedRetention() {
+ public java.lang.String getTimeBasedRetention() {
return timeBasedRetention;
}
/**
* @param timeBasedRetention timeBasedRetention or {@code null} for none
*/
- public RetentionSettings setTimeBasedRetention(String timeBasedRetention) {
+ public RetentionSettings setTimeBasedRetention(java.lang.String timeBasedRetention) {
this.timeBasedRetention = timeBasedRetention;
return this;
}
@@ -131,7 +131,7 @@ public RetentionSettings setTimeBasedRetention(String timeBasedRetention) {
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* @return value or {@code null} for none
*/
- public String getTimestampBasedRetentionTime() {
+ public java.lang.String getTimestampBasedRetentionTime() {
return timestampBasedRetentionTime;
}
@@ -139,7 +139,7 @@ public String getTimestampBasedRetentionTime() {
* Timestamp based retention period i.e. 2024-05-01T00:00:00Z
* @param timestampBasedRetentionTime timestampBasedRetentionTime or {@code null} for none
*/
- public RetentionSettings setTimestampBasedRetentionTime(String timestampBasedRetentionTime) {
+ public RetentionSettings setTimestampBasedRetentionTime(java.lang.String timestampBasedRetentionTime) {
this.timestampBasedRetentionTime = timestampBasedRetentionTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/TlsCertificate.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/TlsCertificate.java
index e39b133f95f..99821265fee 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/TlsCertificate.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/TlsCertificate.java
@@ -43,7 +43,7 @@ public final class TlsCertificate extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time when the certificate expires in [RFC
@@ -51,7 +51,7 @@ public final class TlsCertificate extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String expireTime;
+ private java.lang.String expireTime;
/**
* Serial number, as extracted from the certificate.
@@ -89,7 +89,7 @@ public TlsCertificate setCert(java.lang.String cert) {
* 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -98,7 +98,7 @@ public String getCreateTime() {
* 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
* @param createTime createTime or {@code null} for none
*/
- public TlsCertificate setCreateTime(String createTime) {
+ public TlsCertificate setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -108,7 +108,7 @@ public TlsCertificate setCreateTime(String createTime) {
* 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
* @return value or {@code null} for none
*/
- public String getExpireTime() {
+ public java.lang.String getExpireTime() {
return expireTime;
}
@@ -117,7 +117,7 @@ public String getExpireTime() {
* 3339](https://tools.ietf.org/html/rfc3339) format, for example `2020-05-18T00:00:00.094Z`.
* @param expireTime expireTime or {@code null} for none
*/
- public TlsCertificate setExpireTime(String expireTime) {
+ public TlsCertificate setExpireTime(java.lang.String expireTime) {
this.expireTime = expireTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/UpcomingMaintenance.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/UpcomingMaintenance.java
index 34799929323..e906c64fa56 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/UpcomingMaintenance.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/UpcomingMaintenance.java
@@ -36,20 +36,20 @@ public final class UpcomingMaintenance extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Optional. The start time of the upcoming maintenance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. The end time of the upcoming maintenance.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -57,7 +57,7 @@ public String getEndTime() {
* Optional. The end time of the upcoming maintenance.
* @param endTime endTime or {@code null} for none
*/
- public UpcomingMaintenance setEndTime(String endTime) {
+ public UpcomingMaintenance setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -66,7 +66,7 @@ public UpcomingMaintenance setEndTime(String endTime) {
* Optional. The start time of the upcoming maintenance.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -74,7 +74,7 @@ public String getStartTime() {
* Optional. The start time of the upcoming maintenance.
* @param startTime startTime or {@code null} for none
*/
- public UpcomingMaintenance setStartTime(String startTime) {
+ public UpcomingMaintenance setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/WeeklyMaintenanceWindow.java b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/WeeklyMaintenanceWindow.java
index 5730e8928aa..3720cfe9cb8 100644
--- a/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/WeeklyMaintenanceWindow.java
+++ b/clients/google-api-services-redis/v1/2.0.0/com/google/api/services/redis/v1/model/WeeklyMaintenanceWindow.java
@@ -43,7 +43,7 @@ public final class WeeklyMaintenanceWindow extends com.google.api.client.json.Ge
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String duration;
+ private java.lang.String duration;
/**
* Required. Start time of the window in UTC time.
@@ -73,7 +73,7 @@ public WeeklyMaintenanceWindow setDay(java.lang.String day) {
* Output only. Duration of the maintenance window. The current window is fixed at 1 hour.
* @return value or {@code null} for none
*/
- public String getDuration() {
+ public java.lang.String getDuration() {
return duration;
}
@@ -81,7 +81,7 @@ public String getDuration() {
* Output only. Duration of the maintenance window. The current window is fixed at 1 hour.
* @param duration duration or {@code null} for none
*/
- public WeeklyMaintenanceWindow setDuration(String duration) {
+ public WeeklyMaintenanceWindow setDuration(java.lang.String duration) {
this.duration = duration;
return this;
}
diff --git a/clients/google-api-services-redis/v1/2.0.0/pom.xml b/clients/google-api-services-redis/v1/2.0.0/pom.xml
index 883ab12cf70..c1c40b89eb1 100644
--- a/clients/google-api-services-redis/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-redis/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-redis
- v1-rev20260406-2.0.0
- Google Cloud Memorystore for Redis API v1-rev20260406-2.0.0
+ v1-rev20260309-2.0.0
+ Google Cloud Memorystore for Redis API v1-rev20260309-2.0.0
jar
2011
diff --git a/clients/google-api-services-run/v1/2.0.0/README.md b/clients/google-api-services-run/v1/2.0.0/README.md
index bd036f65c0c..015b3292100 100644
--- a/clients/google-api-services-run/v1/2.0.0/README.md
+++ b/clients/google-api-services-run/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-run
- v1-rev20260403-2.0.0
+ v1-rev20260306-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-run:v1-rev20260403-2.0.0'
+ implementation 'com.google.apis:google-api-services-run:v1-rev20260306-2.0.0'
}
```
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/CloudRun.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/CloudRun.java
index 7d090e00f73..07ca4b40259 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/CloudRun.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/CloudRun.java
@@ -3185,148 +3185,6 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
- /**
- * Replace an Instance.
- *
- * Create a request for the method "instances.replaceInstance".
- *
- * This request holds the parameters needed by the run server. After setting any optional
- * parameters, call the {@link ReplaceInstance#execute()} method to invoke the remote operation.
- *
- * @param name Required. The name of the Instance being replaced. Replace {namespace} with the project ID or
- * number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
- * @param content the {@link com.google.api.services.run.v1.model.Instance}
- * @return the request
- */
- public ReplaceInstance replaceInstance(java.lang.String name, com.google.api.services.run.v1.model.Instance content) throws java.io.IOException {
- ReplaceInstance result = new ReplaceInstance(name, content);
- initialize(result);
- return result;
- }
-
- public class ReplaceInstance extends CloudRunRequest {
-
- private static final String REST_PATH = "apis/run.googleapis.com/v1/{+name}";
-
- private final java.util.regex.Pattern NAME_PATTERN =
- java.util.regex.Pattern.compile("^namespaces/[^/]+/instances/[^/]+$");
-
- /**
- * Replace an Instance.
- *
- * Create a request for the method "instances.replaceInstance".
- *
- * This request holds the parameters needed by the the run server. After setting any optional
- * parameters, call the {@link ReplaceInstance#execute()} method to invoke the remote operation.
- * {@link ReplaceInstance#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
- *
- * @param name Required. The name of the Instance being replaced. Replace {namespace} with the project ID or
- * number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
- * @param content the {@link com.google.api.services.run.v1.model.Instance}
- * @since 1.13
- */
- protected ReplaceInstance(java.lang.String name, com.google.api.services.run.v1.model.Instance content) {
- super(CloudRun.this, "PUT", REST_PATH, content, com.google.api.services.run.v1.model.Instance.class);
- this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^namespaces/[^/]+/instances/[^/]+$");
- }
- }
-
- @Override
- public ReplaceInstance set$Xgafv(java.lang.String $Xgafv) {
- return (ReplaceInstance) super.set$Xgafv($Xgafv);
- }
-
- @Override
- public ReplaceInstance setAccessToken(java.lang.String accessToken) {
- return (ReplaceInstance) super.setAccessToken(accessToken);
- }
-
- @Override
- public ReplaceInstance setAlt(java.lang.String alt) {
- return (ReplaceInstance) super.setAlt(alt);
- }
-
- @Override
- public ReplaceInstance setCallback(java.lang.String callback) {
- return (ReplaceInstance) super.setCallback(callback);
- }
-
- @Override
- public ReplaceInstance setFields(java.lang.String fields) {
- return (ReplaceInstance) super.setFields(fields);
- }
-
- @Override
- public ReplaceInstance setKey(java.lang.String key) {
- return (ReplaceInstance) super.setKey(key);
- }
-
- @Override
- public ReplaceInstance setOauthToken(java.lang.String oauthToken) {
- return (ReplaceInstance) super.setOauthToken(oauthToken);
- }
-
- @Override
- public ReplaceInstance setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (ReplaceInstance) super.setPrettyPrint(prettyPrint);
- }
-
- @Override
- public ReplaceInstance setQuotaUser(java.lang.String quotaUser) {
- return (ReplaceInstance) super.setQuotaUser(quotaUser);
- }
-
- @Override
- public ReplaceInstance setUploadType(java.lang.String uploadType) {
- return (ReplaceInstance) super.setUploadType(uploadType);
- }
-
- @Override
- public ReplaceInstance setUploadProtocol(java.lang.String uploadProtocol) {
- return (ReplaceInstance) super.setUploadProtocol(uploadProtocol);
- }
-
- /**
- * Required. The name of the Instance being replaced. Replace {namespace} with the project
- * ID or number. It takes the form namespaces/{namespace}. For example:
- * namespaces/PROJECT_ID
- */
- @com.google.api.client.util.Key
- private java.lang.String name;
-
- /** Required. The name of the Instance being replaced. Replace {namespace} with the project ID or
- number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID
- */
- public java.lang.String getName() {
- return name;
- }
-
- /**
- * Required. The name of the Instance being replaced. Replace {namespace} with the project
- * ID or number. It takes the form namespaces/{namespace}. For example:
- * namespaces/PROJECT_ID
- */
- public ReplaceInstance setName(java.lang.String name) {
- if (!getSuppressPatternChecks()) {
- com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
- "Parameter name must conform to the pattern " +
- "^namespaces/[^/]+/instances/[^/]+$");
- }
- this.name = name;
- return this;
- }
-
- @Override
- public ReplaceInstance set(String parameterName, Object value) {
- return (ReplaceInstance) super.set(parameterName, value);
- }
- }
/**
* Start an Instance which has been stopped.
*
@@ -8492,14 +8350,10 @@ public Locations locations() {
public class Locations {
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -8523,15 +8377,10 @@ public class List extends CloudRunRequest genericArtifacts;
-
/**
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
@@ -87,16 +79,6 @@ public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.cl
@com.google.api.client.util.Key
private GoogleDevtoolsCloudbuildV1ArtifactObjects objects;
- /**
- * Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
- * of all build steps. OCI images in the specified paths will be uploaded to the specified
- * Artifact Registry repository using the builder service account's credentials. If any images
- * fail to be pushed, the build is marked FAILURE.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List oci;
-
/**
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. The build service account credentials will be used to perform the upload. If any
@@ -106,25 +88,6 @@ public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.cl
@com.google.api.client.util.Key
private java.util.List pythonPackages;
- /**
- * Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful
- * completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE.
- * @return value or {@code null} for none
- */
- public java.util.List getGenericArtifacts() {
- return genericArtifacts;
- }
-
- /**
- * Optional. A list of generic artifacts to be uploaded to Artifact Registry upon successful
- * completion of all build steps. If any artifacts fail to be pushed, the build is marked FAILURE.
- * @param genericArtifacts genericArtifacts or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1Artifacts setGenericArtifacts(java.util.List genericArtifacts) {
- this.genericArtifacts = genericArtifacts;
- return this;
- }
-
/**
* Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion
* of all build steps. If any objects fail to be pushed, the build is marked FAILURE.
@@ -238,29 +201,6 @@ public GoogleDevtoolsCloudbuildV1Artifacts setObjects(GoogleDevtoolsCloudbuildV1
return this;
}
- /**
- * Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
- * of all build steps. OCI images in the specified paths will be uploaded to the specified
- * Artifact Registry repository using the builder service account's credentials. If any images
- * fail to be pushed, the build is marked FAILURE.
- * @return value or {@code null} for none
- */
- public java.util.List getOci() {
- return oci;
- }
-
- /**
- * Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion
- * of all build steps. OCI images in the specified paths will be uploaded to the specified
- * Artifact Registry repository using the builder service account's credentials. If any images
- * fail to be pushed, the build is marked FAILURE.
- * @param oci oci or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1Artifacts setOci(java.util.List oci) {
- this.oci = oci;
- return this;
- }
-
/**
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. The build service account credentials will be used to perform the upload. If any
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Build.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Build.java
index bf8a78d3b59..43dc1e19e7e 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Build.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Build.java
@@ -73,7 +73,7 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
@@ -95,7 +95,7 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String finishTime;
+ private java.lang.String finishTime;
/**
* Optional. Configuration for git operations.
@@ -167,7 +167,7 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String queueTtl;
+ private java.lang.String queueTtl;
/**
* Output only. Results of the build.
@@ -214,7 +214,7 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. Status of the build.
@@ -258,7 +258,7 @@ public final class GoogleDevtoolsCloudbuildV1Build extends com.google.api.client
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time
@@ -353,7 +353,7 @@ public GoogleDevtoolsCloudbuildV1Build setBuildTriggerId(java.lang.String buildT
* Output only. Time at which the request to create the build was received.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -361,7 +361,7 @@ public String getCreateTime() {
* Output only. Time at which the request to create the build was received.
* @param createTime createTime or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1Build setCreateTime(String createTime) {
+ public GoogleDevtoolsCloudbuildV1Build setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -405,7 +405,7 @@ public GoogleDevtoolsCloudbuildV1Build setFailureInfo(GoogleDevtoolsCloudbuildV1
* finish_time and start_time is the duration of the build's execution.
* @return value or {@code null} for none
*/
- public String getFinishTime() {
+ public java.lang.String getFinishTime() {
return finishTime;
}
@@ -414,7 +414,7 @@ public String getFinishTime() {
* finish_time and start_time is the duration of the build's execution.
* @param finishTime finishTime or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1Build setFinishTime(String finishTime) {
+ public GoogleDevtoolsCloudbuildV1Build setFinishTime(java.lang.String finishTime) {
this.finishTime = finishTime;
return this;
}
@@ -575,7 +575,7 @@ public GoogleDevtoolsCloudbuildV1Build setProjectId(java.lang.String projectId)
* create_time.
* @return value or {@code null} for none
*/
- public String getQueueTtl() {
+ public java.lang.String getQueueTtl() {
return queueTtl;
}
@@ -585,7 +585,7 @@ public String getQueueTtl() {
* create_time.
* @param queueTtl queueTtl or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1Build setQueueTtl(String queueTtl) {
+ public GoogleDevtoolsCloudbuildV1Build setQueueTtl(java.lang.String queueTtl) {
this.queueTtl = queueTtl;
return this;
}
@@ -689,7 +689,7 @@ public GoogleDevtoolsCloudbuildV1Build setSourceProvenance(GoogleDevtoolsCloudbu
* Output only. Time at which execution of the build was started.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -697,7 +697,7 @@ public String getStartTime() {
* Output only. Time at which execution of the build was started.
* @param startTime startTime or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1Build setStartTime(String startTime) {
+ public GoogleDevtoolsCloudbuildV1Build setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
@@ -793,7 +793,7 @@ public GoogleDevtoolsCloudbuildV1Build setTags(java.util.List
* starts ticking from `startTime`. Default time is 60 minutes.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -803,7 +803,7 @@ public String getTimeout() {
* starts ticking from `startTime`. Default time is 60 minutes.
* @param timeout timeout or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1Build setTimeout(String timeout) {
+ public GoogleDevtoolsCloudbuildV1Build setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildStep.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildStep.java
index 3c972b9f311..9976da5753b 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildStep.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuildStep.java
@@ -161,7 +161,7 @@ public final class GoogleDevtoolsCloudbuildV1BuildStep extends com.google.api.cl
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Output only. Stores timing information for executing this build step.
@@ -489,7 +489,7 @@ public GoogleDevtoolsCloudbuildV1BuildStep setStatus(java.lang.String status) {
* be allowed to continue to run until either it completes or the build itself times out.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -498,7 +498,7 @@ public String getTimeout() {
* be allowed to continue to run until either it completes or the build itself times out.
* @param timeout timeout or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1BuildStep setTimeout(String timeout) {
+ public GoogleDevtoolsCloudbuildV1BuildStep setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuiltImage.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuiltImage.java
index 847e30507a4..5aaff55efe8 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuiltImage.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1BuiltImage.java
@@ -51,14 +51,6 @@ public final class GoogleDevtoolsCloudbuildV1BuiltImage extends com.google.api.c
@com.google.api.client.util.Key
private java.lang.String name;
- /**
- * Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
- * have an unspecified value.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String ociMediaType;
-
/**
* Output only. Stores timing information for pushing the specified image.
* The value may be {@code null}.
@@ -119,25 +111,6 @@ public GoogleDevtoolsCloudbuildV1BuiltImage setName(java.lang.String name) {
return this;
}
- /**
- * Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
- * have an unspecified value.
- * @return value or {@code null} for none
- */
- public java.lang.String getOciMediaType() {
- return ociMediaType;
- }
-
- /**
- * Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will
- * have an unspecified value.
- * @param ociMediaType ociMediaType or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1BuiltImage setOciMediaType(java.lang.String ociMediaType) {
- this.ociMediaType = ociMediaType;
- return this;
- }
-
/**
* Output only. Stores timing information for pushing the specified image.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Dependency.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Dependency.java
index a0203901d55..3e3403c44a9 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Dependency.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Dependency.java
@@ -36,13 +36,6 @@ public final class GoogleDevtoolsCloudbuildV1Dependency extends com.google.api.c
@com.google.api.client.util.Key
private java.lang.Boolean empty;
- /**
- * Represents a generic artifact as a build dependency.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private GoogleDevtoolsCloudbuildV1GenericArtifactDependency genericArtifact;
-
/**
* Represents a git repository as a build dependency.
* The value may be {@code null}.
@@ -67,23 +60,6 @@ public GoogleDevtoolsCloudbuildV1Dependency setEmpty(java.lang.Boolean empty) {
return this;
}
- /**
- * Represents a generic artifact as a build dependency.
- * @return value or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1GenericArtifactDependency getGenericArtifact() {
- return genericArtifact;
- }
-
- /**
- * Represents a generic artifact as a build dependency.
- * @param genericArtifact genericArtifact or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1Dependency setGenericArtifact(GoogleDevtoolsCloudbuildV1GenericArtifactDependency genericArtifact) {
- this.genericArtifact = genericArtifact;
- return this;
- }
-
/**
* Represents a git repository as a build dependency.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java
index f392c811dfe..5614cb7a059 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1Results.java
@@ -61,13 +61,6 @@ public final class GoogleDevtoolsCloudbuildV1Results extends com.google.api.clie
@com.google.api.client.util.Key
private java.util.List buildStepOutputs;
- /**
- * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List genericArtifacts;
-
/**
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
* The value may be {@code null}.
@@ -193,23 +186,6 @@ public GoogleDevtoolsCloudbuildV1Results setBuildStepOutputs(java.util.List getGenericArtifacts() {
- return genericArtifacts;
- }
-
- /**
- * Output only. Generic artifacts uploaded to Artifact Registry at the end of the build.
- * @param genericArtifacts genericArtifacts or {@code null} for none
- */
- public GoogleDevtoolsCloudbuildV1Results setGenericArtifacts(java.util.List genericArtifacts) {
- this.genericArtifacts = genericArtifacts;
- return this;
- }
-
/**
* Optional. Go module artifacts uploaded to Artifact Registry at the end of the build.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1TimeSpan.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1TimeSpan.java
index 7c56884c35e..877bb98fd3b 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1TimeSpan.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleDevtoolsCloudbuildV1TimeSpan.java
@@ -34,20 +34,20 @@ public final class GoogleDevtoolsCloudbuildV1TimeSpan extends com.google.api.cli
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Start of time span.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* End of time span.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -55,7 +55,7 @@ public String getEndTime() {
* End of time span.
* @param endTime endTime or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1TimeSpan setEndTime(String endTime) {
+ public GoogleDevtoolsCloudbuildV1TimeSpan setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -64,7 +64,7 @@ public GoogleDevtoolsCloudbuildV1TimeSpan setEndTime(String endTime) {
* Start of time span.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -72,7 +72,7 @@ public String getStartTime() {
* Start of time span.
* @param startTime startTime or {@code null} for none
*/
- public GoogleDevtoolsCloudbuildV1TimeSpan setStartTime(String startTime) {
+ public GoogleDevtoolsCloudbuildV1TimeSpan setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleLongrunningWaitOperationRequest.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleLongrunningWaitOperationRequest.java
index 65151a82198..fa7eb7e0c68 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleLongrunningWaitOperationRequest.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/GoogleLongrunningWaitOperationRequest.java
@@ -36,7 +36,7 @@ public final class GoogleLongrunningWaitOperationRequest extends com.google.api.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* The maximum duration to wait before timing out. If left blank, the wait will be at most the
@@ -44,7 +44,7 @@ public final class GoogleLongrunningWaitOperationRequest extends com.google.api.
* the shorter one will be used.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -54,7 +54,7 @@ public String getTimeout() {
* the shorter one will be used.
* @param timeout timeout or {@code null} for none
*/
- public GoogleLongrunningWaitOperationRequest setTimeout(String timeout) {
+ public GoogleLongrunningWaitOperationRequest setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/InstanceSpec.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/InstanceSpec.java
index 0249cd3cfa5..a0d2f2eea58 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/InstanceSpec.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/InstanceSpec.java
@@ -64,7 +64,7 @@ public final class InstanceSpec extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String timeout;
+ private java.lang.String timeout;
/**
* Optional. List of volumes that can be mounted by containers belonging to the Instance.
@@ -134,7 +134,7 @@ public InstanceSpec setServiceAccountName(java.lang.String serviceAccountName) {
* Optional. Duration the instance may be active before the system will shut it down.
* @return value or {@code null} for none
*/
- public String getTimeout() {
+ public java.lang.String getTimeout() {
return timeout;
}
@@ -142,7 +142,7 @@ public String getTimeout() {
* Optional. Duration the instance may be active before the system will shut it down.
* @param timeout timeout or {@code null} for none
*/
- public InstanceSpec setTimeout(String timeout) {
+ public InstanceSpec setTimeout(java.lang.String timeout) {
this.timeout = timeout;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/ObjectMeta.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/ObjectMeta.java
index 42e4e17aefe..3c9fb594856 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/ObjectMeta.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/ObjectMeta.java
@@ -79,7 +79,7 @@ public final class ObjectMeta extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String creationTimestamp;
+ private java.lang.String creationTimestamp;
/**
* Not supported by Cloud Run
@@ -94,7 +94,7 @@ public final class ObjectMeta extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deletionTimestamp;
+ private java.lang.String deletionTimestamp;
/**
* Not supported by Cloud Run
@@ -273,7 +273,7 @@ public ObjectMeta setClusterName(java.lang.String clusterName) {
* UTC timestamp representing the server time when this object was created.
* @return value or {@code null} for none
*/
- public String getCreationTimestamp() {
+ public java.lang.String getCreationTimestamp() {
return creationTimestamp;
}
@@ -281,7 +281,7 @@ public String getCreationTimestamp() {
* UTC timestamp representing the server time when this object was created.
* @param creationTimestamp creationTimestamp or {@code null} for none
*/
- public ObjectMeta setCreationTimestamp(String creationTimestamp) {
+ public ObjectMeta setCreationTimestamp(java.lang.String creationTimestamp) {
this.creationTimestamp = creationTimestamp;
return this;
}
@@ -308,7 +308,7 @@ public ObjectMeta setDeletionGracePeriodSeconds(java.lang.Integer deletionGraceP
* set this field. Instead, they must call the corresponding Delete API.
* @return value or {@code null} for none
*/
- public String getDeletionTimestamp() {
+ public java.lang.String getDeletionTimestamp() {
return deletionTimestamp;
}
@@ -317,7 +317,7 @@ public String getDeletionTimestamp() {
* set this field. Instead, they must call the corresponding Delete API.
* @param deletionTimestamp deletionTimestamp or {@code null} for none
*/
- public ObjectMeta setDeletionTimestamp(String deletionTimestamp) {
+ public ObjectMeta setDeletionTimestamp(java.lang.String deletionTimestamp) {
this.deletionTimestamp = deletionTimestamp;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/SetIamPolicyRequest.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/SetIamPolicyRequest.java
index 6398f5b3976..810640e381a 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/SetIamPolicyRequest.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/SetIamPolicyRequest.java
@@ -45,7 +45,7 @@ public final class SetIamPolicyRequest extends com.google.api.client.json.Generi
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/**
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is
@@ -74,7 +74,7 @@ public SetIamPolicyRequest setPolicy(Policy policy) {
* "bindings, etag"`
* @return value or {@code null} for none
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -84,7 +84,7 @@ public String getUpdateMask() {
* "bindings, etag"`
* @param updateMask updateMask or {@code null} for none
*/
- public SetIamPolicyRequest setUpdateMask(String updateMask) {
+ public SetIamPolicyRequest setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/TaskStatus.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/TaskStatus.java
index 99e3023f7f0..841f4702f02 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/TaskStatus.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/TaskStatus.java
@@ -36,7 +36,7 @@ public final class TaskStatus extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String completionTime;
+ private java.lang.String completionTime;
/**
* Optional. Conditions communicate information about ongoing/complete reconciliation processes
@@ -97,7 +97,7 @@ public final class TaskStatus extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Optional. Represents time when the task was completed. It is not guaranteed to be set in
@@ -105,7 +105,7 @@ public final class TaskStatus extends com.google.api.client.json.GenericJson {
* UTC.
* @return value or {@code null} for none
*/
- public String getCompletionTime() {
+ public java.lang.String getCompletionTime() {
return completionTime;
}
@@ -115,7 +115,7 @@ public String getCompletionTime() {
* UTC.
* @param completionTime completionTime or {@code null} for none
*/
- public TaskStatus setCompletionTime(String completionTime) {
+ public TaskStatus setCompletionTime(java.lang.String completionTime) {
this.completionTime = completionTime;
return this;
}
@@ -236,7 +236,7 @@ public TaskStatus setRetried(java.lang.Integer retried) {
* UTC.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -246,7 +246,7 @@ public String getStartTime() {
* UTC.
* @param startTime startTime or {@code null} for none
*/
- public TaskStatus setStartTime(String startTime) {
+ public TaskStatus setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/VolumeMount.java b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/VolumeMount.java
index 2bfc0e52ec9..0ea89f50388 100644
--- a/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/VolumeMount.java
+++ b/clients/google-api-services-run/v1/2.0.0/com/google/api/services/run/v1/model/VolumeMount.java
@@ -53,7 +53,7 @@ public final class VolumeMount extends com.google.api.client.json.GenericJson {
/**
* Path within the volume from which the container's volume should be mounted. Defaults to ""
- * (volume's root). This field is currently rejected in Secret volume mounts.
+ * (volume's root). This field is currently ignored for Secret volumes.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -114,7 +114,7 @@ public VolumeMount setReadOnly(java.lang.Boolean readOnly) {
/**
* Path within the volume from which the container's volume should be mounted. Defaults to ""
- * (volume's root). This field is currently rejected in Secret volume mounts.
+ * (volume's root). This field is currently ignored for Secret volumes.
* @return value or {@code null} for none
*/
public java.lang.String getSubPath() {
@@ -123,7 +123,7 @@ public java.lang.String getSubPath() {
/**
* Path within the volume from which the container's volume should be mounted. Defaults to ""
- * (volume's root). This field is currently rejected in Secret volume mounts.
+ * (volume's root). This field is currently ignored for Secret volumes.
* @param subPath subPath or {@code null} for none
*/
public VolumeMount setSubPath(java.lang.String subPath) {
diff --git a/clients/google-api-services-run/v1/2.0.0/pom.xml b/clients/google-api-services-run/v1/2.0.0/pom.xml
index 07e7c15b3cc..9e721998a50 100644
--- a/clients/google-api-services-run/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-run/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-run
- v1-rev20260403-2.0.0
- Cloud Run Admin API v1-rev20260403-2.0.0
+ v1-rev20260306-2.0.0
+ Cloud Run Admin API v1-rev20260306-2.0.0
jar
2011
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/README.md b/clients/google-api-services-servicenetworking/v1/2.0.0/README.md
index 06741f7ad14..b968a8d2fde 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/README.md
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-servicenetworking
- v1-rev20260406-2.0.0
+ v1-rev20260223-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-servicenetworking:v1-rev20260406-2.0.0'
+ implementation 'com.google.apis:google-api-services-servicenetworking:v1-rev20260223-2.0.0'
}
```
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/ServiceNetworking.java b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/ServiceNetworking.java
index 8411cfee535..435b0bc4ae8 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/ServiceNetworking.java
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/ServiceNetworking.java
@@ -2263,12 +2263,12 @@ public Patch setForce(java.lang.Boolean force) {
* peering ranges.
*/
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** The update mask. If this is omitted, it defaults to "*". You can only update the listed peering
ranges.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
@@ -2276,7 +2276,7 @@ public String getUpdateMask() {
* The update mask. If this is omitted, it defaults to "*". You can only update the listed
* peering ranges.
*/
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/AddSubnetworkRequest.java b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/AddSubnetworkRequest.java
index 8bd4b9d4a9b..dd7bc81049b 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/AddSubnetworkRequest.java
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/AddSubnetworkRequest.java
@@ -58,7 +58,7 @@ public final class AddSubnetworkRequest extends com.google.api.client.json.Gener
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String computeIdempotencyWindow;
+ private java.lang.String computeIdempotencyWindow;
/**
* Required. A resource that represents the service consumer, such as `projects/123456`. The
@@ -270,7 +270,7 @@ public AddSubnetworkRequest setCheckServiceNetworkingUsePermission(java.lang.Boo
* limit).
* @return value or {@code null} for none
*/
- public String getComputeIdempotencyWindow() {
+ public java.lang.String getComputeIdempotencyWindow() {
return computeIdempotencyWindow;
}
@@ -284,7 +284,7 @@ public String getComputeIdempotencyWindow() {
* limit).
* @param computeIdempotencyWindow computeIdempotencyWindow or {@code null} for none
*/
- public AddSubnetworkRequest setComputeIdempotencyWindow(String computeIdempotencyWindow) {
+ public AddSubnetworkRequest setComputeIdempotencyWindow(java.lang.String computeIdempotencyWindow) {
this.computeIdempotencyWindow = computeIdempotencyWindow;
return this;
}
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/BackendRule.java b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/BackendRule.java
index 9ab2c0ed625..3cce8936316 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/BackendRule.java
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/BackendRule.java
@@ -100,8 +100,7 @@ public final class BackendRule extends com.google.api.client.json.GenericJson {
private java.util.Map overridesByRequestProtocol;
/**
- * Path translation specifies how to combine the backend address with the request path in order to
- * produce the appropriate forwarding URL for the request. See PathTranslation for more details.
+ * no-lint
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -290,8 +289,7 @@ public BackendRule setOverridesByRequestProtocol(java.util.Map This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Service Networking API. For a detailed explanation
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/Service.java b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/Service.java
index da2cf370a00..81351e301c7 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/Service.java
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/com/google/api/services/servicenetworking/v1/model/Service.java
@@ -131,7 +131,12 @@ public final class Service extends com.google.api.client.json.GenericJson {
/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
- * the service is automatically generated to service all defined APIs.
+ * the service is automatically generated to service all defined APIs. WARNING: Defining any
+ * entries in the `endpoints` list disables the automatic generation of default endpoint
+ * variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
+ * variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
+ * required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
+ * this list alongside any other custom endpoints (like REP, GFE, etc.).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -494,7 +499,12 @@ public Service setDocumentation(Documentation documentation) {
/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
- * the service is automatically generated to service all defined APIs.
+ * the service is automatically generated to service all defined APIs. WARNING: Defining any
+ * entries in the `endpoints` list disables the automatic generation of default endpoint
+ * variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
+ * variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
+ * required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
+ * this list alongside any other custom endpoints (like REP, GFE, etc.).
* @return value or {@code null} for none
*/
public java.util.List getEndpoints() {
@@ -503,7 +513,12 @@ public java.util.List getEndpoints() {
/**
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
- * the service is automatically generated to service all defined APIs.
+ * the service is automatically generated to service all defined APIs. WARNING: Defining any
+ * entries in the `endpoints` list disables the automatic generation of default endpoint
+ * variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
+ * variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
+ * required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
+ * this list alongside any other custom endpoints (like REP, GFE, etc.).
* @param endpoints endpoints or {@code null} for none
*/
public Service setEndpoints(java.util.List endpoints) {
diff --git a/clients/google-api-services-servicenetworking/v1/2.0.0/pom.xml b/clients/google-api-services-servicenetworking/v1/2.0.0/pom.xml
index 4d1ea589c34..236095aab73 100644
--- a/clients/google-api-services-servicenetworking/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-servicenetworking/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-servicenetworking
- v1-rev20260406-2.0.0
- Service Networking API v1-rev20260406-2.0.0
+ v1-rev20260223-2.0.0
+ Service Networking API v1-rev20260223-2.0.0
jar
2011
diff --git a/clients/google-api-services-sts/v1/2.0.0/README.md b/clients/google-api-services-sts/v1/2.0.0/README.md
index 734a4d2bdd5..62b59c3dc00 100644
--- a/clients/google-api-services-sts/v1/2.0.0/README.md
+++ b/clients/google-api-services-sts/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-sts
- v1-rev20260318-2.0.0
+ v1-rev20260304-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-sts:v1-rev20260318-2.0.0'
+ implementation 'com.google.apis:google-api-services-sts:v1-rev20260304-2.0.0'
}
```
diff --git a/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1ExchangeTokenRequest.java b/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1ExchangeTokenRequest.java
index 8d91b50d6ff..70f1457dc84 100644
--- a/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1ExchangeTokenRequest.java
+++ b/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1ExchangeTokenRequest.java
@@ -92,16 +92,14 @@ public final class GoogleIdentityStsV1ExchangeTokenRequest extends com.google.ap
* formatted according to section 4.2 of the [OIDC 1.0 Discovery
* specification](https://openid.net/specs/openid-connect-
* discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since
- * the Unix epoch. This timestamp must be in the past and no more than 24 hours in the past, or
- * the token will be rejected. Note that this implies the token is only acceptable within a time
- * window of at most 24 hours. - `exp`: The expiration time, in seconds, since the Unix epoch.
- * Shorter expiration times are more secure. If possible, we recommend setting an expiration time
- * less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity
- * pools, this must be a value specified in the allowed audiences for the workload identity pool
- * provider, or one of the audiences allowed by default if no audiences were specified. See https:
- * //cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.provider
- * s#oidc. For workforce pools, this must match the client ID specified in the provider
- * configuration. See
+ * the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix
+ * epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If
+ * possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity
+ * asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in
+ * the allowed audiences for the workload identity pool provider, or one of the audiences allowed
+ * by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest
+ * /v1/projects.locations.workloadIdentityPools.providers#oidc. For workforce pools, this must
+ * match the client ID specified in the provider configuration. See
* https://cloud.google.com/iam/docs/reference/rest/v1/locations.workforcePools.providers#oidc.
* Example header: ``` { "alg": "RS256", "kid": "us-east-11" } ``` Example payload: ``` { "iss":
* "https://accounts.google.com", "iat": 1517963104, "exp": 1517966704, "aud":
@@ -293,16 +291,14 @@ public GoogleIdentityStsV1ExchangeTokenRequest setScope(java.lang.String scope)
* formatted according to section 4.2 of the [OIDC 1.0 Discovery
* specification](https://openid.net/specs/openid-connect-
* discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since
- * the Unix epoch. This timestamp must be in the past and no more than 24 hours in the past, or
- * the token will be rejected. Note that this implies the token is only acceptable within a time
- * window of at most 24 hours. - `exp`: The expiration time, in seconds, since the Unix epoch.
- * Shorter expiration times are more secure. If possible, we recommend setting an expiration time
- * less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity
- * pools, this must be a value specified in the allowed audiences for the workload identity pool
- * provider, or one of the audiences allowed by default if no audiences were specified. See https:
- * //cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.provider
- * s#oidc. For workforce pools, this must match the client ID specified in the provider
- * configuration. See
+ * the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix
+ * epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If
+ * possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity
+ * asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in
+ * the allowed audiences for the workload identity pool provider, or one of the audiences allowed
+ * by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest
+ * /v1/projects.locations.workloadIdentityPools.providers#oidc. For workforce pools, this must
+ * match the client ID specified in the provider configuration. See
* https://cloud.google.com/iam/docs/reference/rest/v1/locations.workforcePools.providers#oidc.
* Example header: ``` { "alg": "RS256", "kid": "us-east-11" } ``` Example payload: ``` { "iss":
* "https://accounts.google.com", "iat": 1517963104, "exp": 1517966704, "aud":
@@ -373,16 +369,14 @@ public java.lang.String getSubjectToken() {
* formatted according to section 4.2 of the [OIDC 1.0 Discovery
* specification](https://openid.net/specs/openid-connect-
* discovery-1_0.html#ProviderConfigurationResponse). - `iat`: The issue time, in seconds, since
- * the Unix epoch. This timestamp must be in the past and no more than 24 hours in the past, or
- * the token will be rejected. Note that this implies the token is only acceptable within a time
- * window of at most 24 hours. - `exp`: The expiration time, in seconds, since the Unix epoch.
- * Shorter expiration times are more secure. If possible, we recommend setting an expiration time
- * less than 6 hours. - `sub`: The identity asserted in the JWT. - `aud`: For workload identity
- * pools, this must be a value specified in the allowed audiences for the workload identity pool
- * provider, or one of the audiences allowed by default if no audiences were specified. See https:
- * //cloud.google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.provider
- * s#oidc. For workforce pools, this must match the client ID specified in the provider
- * configuration. See
+ * the Unix epoch. Must be in the past. - `exp`: The expiration time, in seconds, since the Unix
+ * epoch. Must be less than 48 hours after `iat`. Shorter expiration times are more secure. If
+ * possible, we recommend setting an expiration time less than 6 hours. - `sub`: The identity
+ * asserted in the JWT. - `aud`: For workload identity pools, this must be a value specified in
+ * the allowed audiences for the workload identity pool provider, or one of the audiences allowed
+ * by default if no audiences were specified. See https://cloud.google.com/iam/docs/reference/rest
+ * /v1/projects.locations.workloadIdentityPools.providers#oidc. For workforce pools, this must
+ * match the client ID specified in the provider configuration. See
* https://cloud.google.com/iam/docs/reference/rest/v1/locations.workforcePools.providers#oidc.
* Example header: ``` { "alg": "RS256", "kid": "us-east-11" } ``` Example payload: ``` { "iss":
* "https://accounts.google.com", "iat": 1517963104, "exp": 1517966704, "aud":
diff --git a/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1Options.java b/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1Options.java
index d1908df3144..3cb0040bf41 100644
--- a/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1Options.java
+++ b/clients/google-api-services-sts/v1/2.0.0/com/google/api/services/sts/v1/model/GoogleIdentityStsV1Options.java
@@ -42,8 +42,8 @@ public final class GoogleIdentityStsV1Options extends com.google.api.client.json
private GoogleIdentityStsV1AccessBoundary accessBoundary;
/**
- * The unpadded, url-escaped, base64-encoded SHA-256 hash of the certificate's DER encoding. It
- * must be 43 characters long. The resulting token will be bound to this value.
+ * The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be
+ * 43 characters long. The resulting token will be bound to this value.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -81,8 +81,8 @@ public GoogleIdentityStsV1Options setAccessBoundary(GoogleIdentityStsV1AccessBou
}
/**
- * The unpadded, url-escaped, base64-encoded SHA-256 hash of the certificate's DER encoding. It
- * must be 43 characters long. The resulting token will be bound to this value.
+ * The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be
+ * 43 characters long. The resulting token will be bound to this value.
* @return value or {@code null} for none
*/
public java.lang.String getBindCertFingerprint() {
@@ -90,8 +90,8 @@ public java.lang.String getBindCertFingerprint() {
}
/**
- * The unpadded, url-escaped, base64-encoded SHA-256 hash of the certificate's DER encoding. It
- * must be 43 characters long. The resulting token will be bound to this value.
+ * The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be
+ * 43 characters long. The resulting token will be bound to this value.
* @param bindCertFingerprint bindCertFingerprint or {@code null} for none
*/
public GoogleIdentityStsV1Options setBindCertFingerprint(java.lang.String bindCertFingerprint) {
diff --git a/clients/google-api-services-sts/v1/2.0.0/pom.xml b/clients/google-api-services-sts/v1/2.0.0/pom.xml
index 539a7a88b40..8786edec9f6 100644
--- a/clients/google-api-services-sts/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-sts/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-sts
- v1-rev20260318-2.0.0
- Security Token Service API v1-rev20260318-2.0.0
+ v1-rev20260304-2.0.0
+ Security Token Service API v1-rev20260304-2.0.0
jar
2011
diff --git a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Node.java b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Node.java
index 5c714a6f700..3d658a1cb07 100644
--- a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Node.java
+++ b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Node.java
@@ -60,7 +60,7 @@ public final class Node extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The user-supplied description of the TPU. Maximum of 512 characters.
@@ -249,7 +249,7 @@ public Node setCidrBlock(java.lang.String cidrBlock) {
* Output only. The time when the node was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -257,7 +257,7 @@ public String getCreateTime() {
* Output only. The time when the node was created.
* @param createTime createTime or {@code null} for none
*/
- public Node setCreateTime(String createTime) {
+ public Node setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/OperationMetadata.java b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/OperationMetadata.java
index cd3c7ca262b..2cb57ec892c 100644
--- a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/OperationMetadata.java
+++ b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/OperationMetadata.java
@@ -48,14 +48,14 @@ public final class OperationMetadata extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* The time the operation finished running.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Human-readable status of the operation, if any.
@@ -116,7 +116,7 @@ public OperationMetadata setCancelRequested(java.lang.Boolean cancelRequested) {
* The time the operation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -124,7 +124,7 @@ public String getCreateTime() {
* The time the operation was created.
* @param createTime createTime or {@code null} for none
*/
- public OperationMetadata setCreateTime(String createTime) {
+ public OperationMetadata setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -133,7 +133,7 @@ public OperationMetadata setCreateTime(String createTime) {
* The time the operation finished running.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -141,7 +141,7 @@ public String getEndTime() {
* The time the operation finished running.
* @param endTime endTime or {@code null} for none
*/
- public OperationMetadata setEndTime(String endTime) {
+ public OperationMetadata setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
diff --git a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Symptom.java b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Symptom.java
index 5c288d6e079..9ba77af922d 100644
--- a/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Symptom.java
+++ b/clients/google-api-services-tpu/v1/2.0.0/com/google/api/services/tpu/v1/model/Symptom.java
@@ -34,7 +34,7 @@ public final class Symptom extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Detailed information of the current Symptom.
@@ -61,7 +61,7 @@ public final class Symptom extends com.google.api.client.json.GenericJson {
* Timestamp when the Symptom is created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -69,7 +69,7 @@ public String getCreateTime() {
* Timestamp when the Symptom is created.
* @param createTime createTime or {@code null} for none
*/
- public Symptom setCreateTime(String createTime) {
+ public Symptom setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AdBreak.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AdBreak.java
index 11420057f16..b3664330c16 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AdBreak.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AdBreak.java
@@ -35,14 +35,14 @@ public final class AdBreak extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* Start time in seconds for the ad break, relative to the output file timeline. The default is
* `0s`.
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -51,7 +51,7 @@ public String getStartTimeOffset() {
* `0s`.
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public AdBreak setStartTimeOffset(String startTimeOffset) {
+ public AdBreak setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationEnd.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationEnd.java
index e968a60a30f..9659571a4f8 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationEnd.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationEnd.java
@@ -35,13 +35,13 @@ public final class AnimationEnd extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* The time to end overlay object, in seconds. Default: 0
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -49,7 +49,7 @@ public String getStartTimeOffset() {
* The time to end overlay object, in seconds. Default: 0
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public AnimationEnd setStartTimeOffset(String startTimeOffset) {
+ public AnimationEnd setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationFade.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationFade.java
index ed61b6f1360..c02e66e1357 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationFade.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationFade.java
@@ -34,7 +34,7 @@ public final class AnimationFade extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTimeOffset;
+ private java.lang.String endTimeOffset;
/**
* Required. Type of fade animation: `FADE_IN` or `FADE_OUT`.
@@ -48,7 +48,7 @@ public final class AnimationFade extends com.google.api.client.json.GenericJson
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the
@@ -64,7 +64,7 @@ public final class AnimationFade extends com.google.api.client.json.GenericJson
* The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
* @return value or {@code null} for none
*/
- public String getEndTimeOffset() {
+ public java.lang.String getEndTimeOffset() {
return endTimeOffset;
}
@@ -72,7 +72,7 @@ public String getEndTimeOffset() {
* The time to end the fade animation, in seconds. Default: `start_time_offset` + 1s
* @param endTimeOffset endTimeOffset or {@code null} for none
*/
- public AnimationFade setEndTimeOffset(String endTimeOffset) {
+ public AnimationFade setEndTimeOffset(java.lang.String endTimeOffset) {
this.endTimeOffset = endTimeOffset;
return this;
}
@@ -98,7 +98,7 @@ public AnimationFade setFadeType(java.lang.String fadeType) {
* The time to start the fade animation, in seconds. Default: 0
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -106,7 +106,7 @@ public String getStartTimeOffset() {
* The time to start the fade animation, in seconds. Default: 0
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public AnimationFade setStartTimeOffset(String startTimeOffset) {
+ public AnimationFade setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationStatic.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationStatic.java
index 87518911c4f..9adfb22e239 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationStatic.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/AnimationStatic.java
@@ -34,7 +34,7 @@ public final class AnimationStatic extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* Normalized coordinates based on output video resolution. Valid values: `0.0`–`1.0`. `xy` is the
@@ -50,7 +50,7 @@ public final class AnimationStatic extends com.google.api.client.json.GenericJso
* The time to start displaying the overlay object, in seconds. Default: 0
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -58,7 +58,7 @@ public String getStartTimeOffset() {
* The time to start displaying the overlay object, in seconds. Default: 0
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public AnimationStatic setStartTimeOffset(String startTimeOffset) {
+ public AnimationStatic setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/EditAtom.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/EditAtom.java
index 63b23f39755..2ba9a20c4b2 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/EditAtom.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/EditAtom.java
@@ -35,7 +35,7 @@ public final class EditAtom extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTimeOffset;
+ private java.lang.String endTimeOffset;
/**
* List of Input.key values identifying files that should be used in this atom. The listed
@@ -57,14 +57,14 @@ public final class EditAtom extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* End time in seconds for the atom, relative to the input file timeline. When `end_time_offset`
* is not specified, the `inputs` are used until the end of the atom.
* @return value or {@code null} for none
*/
- public String getEndTimeOffset() {
+ public java.lang.String getEndTimeOffset() {
return endTimeOffset;
}
@@ -73,7 +73,7 @@ public String getEndTimeOffset() {
* is not specified, the `inputs` are used until the end of the atom.
* @param endTimeOffset endTimeOffset or {@code null} for none
*/
- public EditAtom setEndTimeOffset(String endTimeOffset) {
+ public EditAtom setEndTimeOffset(java.lang.String endTimeOffset) {
this.endTimeOffset = endTimeOffset;
return this;
}
@@ -118,7 +118,7 @@ public EditAtom setKey(java.lang.String key) {
* Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -126,7 +126,7 @@ public String getStartTimeOffset() {
* Start time in seconds for the atom, relative to the input file timeline. The default is `0s`.
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public EditAtom setStartTimeOffset(String startTimeOffset) {
+ public EditAtom setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H264CodecSettings.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H264CodecSettings.java
index cd1e6fe5872..26a1372451c 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H264CodecSettings.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H264CodecSettings.java
@@ -115,7 +115,7 @@ public final class H264CodecSettings extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String gopDuration;
+ private java.lang.String gopDuration;
/**
* Select the GOP size based on the specified frame count. Must be greater than zero.
@@ -422,7 +422,7 @@ public H264CodecSettings setFrameRateConversionStrategy(java.lang.String frameRa
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @return value or {@code null} for none
*/
- public String getGopDuration() {
+ public java.lang.String getGopDuration() {
return gopDuration;
}
@@ -432,7 +432,7 @@ public String getGopDuration() {
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @param gopDuration gopDuration or {@code null} for none
*/
- public H264CodecSettings setGopDuration(String gopDuration) {
+ public H264CodecSettings setGopDuration(java.lang.String gopDuration) {
this.gopDuration = gopDuration;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H265CodecSettings.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H265CodecSettings.java
index 435c62b40bd..7b12a88bc4c 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H265CodecSettings.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/H265CodecSettings.java
@@ -108,7 +108,7 @@ public final class H265CodecSettings extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String gopDuration;
+ private java.lang.String gopDuration;
/**
* Select the GOP size based on the specified frame count. Must be greater than zero.
@@ -406,7 +406,7 @@ public H265CodecSettings setFrameRateConversionStrategy(java.lang.String frameRa
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @return value or {@code null} for none
*/
- public String getGopDuration() {
+ public java.lang.String getGopDuration() {
return gopDuration;
}
@@ -416,7 +416,7 @@ public String getGopDuration() {
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @param gopDuration gopDuration or {@code null} for none
*/
- public H265CodecSettings setGopDuration(String gopDuration) {
+ public H265CodecSettings setGopDuration(java.lang.String gopDuration) {
this.gopDuration = gopDuration;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Job.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Job.java
index 38551dc5f73..095f4560834 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Job.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Job.java
@@ -50,14 +50,14 @@ public final class Job extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. The time the transcoding finished.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTime;
+ private java.lang.String endTime;
/**
* Output only. An error object that describes the reason for the failure. This property is always
@@ -130,7 +130,7 @@ public final class Job extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTime;
+ private java.lang.String startTime;
/**
* Output only. The current state of the job.
@@ -198,7 +198,7 @@ public Job setConfig(JobConfig config) {
* Output only. The time the job was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -206,7 +206,7 @@ public String getCreateTime() {
* Output only. The time the job was created.
* @param createTime createTime or {@code null} for none
*/
- public Job setCreateTime(String createTime) {
+ public Job setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -215,7 +215,7 @@ public Job setCreateTime(String createTime) {
* Output only. The time the transcoding finished.
* @return value or {@code null} for none
*/
- public String getEndTime() {
+ public java.lang.String getEndTime() {
return endTime;
}
@@ -223,7 +223,7 @@ public String getEndTime() {
* Output only. The time the transcoding finished.
* @param endTime endTime or {@code null} for none
*/
- public Job setEndTime(String endTime) {
+ public Job setEndTime(java.lang.String endTime) {
this.endTime = endTime;
return this;
}
@@ -388,7 +388,7 @@ public Job setOutputUri(java.lang.String outputUri) {
* Output only. The time the transcoding started.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -396,7 +396,7 @@ public String getStartTime() {
* Output only. The time the transcoding started.
* @param startTime startTime or {@code null} for none
*/
- public Job setStartTime(String startTime) {
+ public Job setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SegmentSettings.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SegmentSettings.java
index 63d88ebfb03..ce7eee29fff 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SegmentSettings.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SegmentSettings.java
@@ -43,7 +43,7 @@ public final class SegmentSettings extends com.google.api.client.json.GenericJso
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String segmentDuration;
+ private java.lang.String segmentDuration;
/**
* Required. Create an individual segment file. The default is `false`.
@@ -68,7 +68,7 @@ public SegmentSettings setIndividualSegments(java.lang.Boolean individualSegment
* by [`gopDuration`](#videostream).
* @return value or {@code null} for none
*/
- public String getSegmentDuration() {
+ public java.lang.String getSegmentDuration() {
return segmentDuration;
}
@@ -78,7 +78,7 @@ public String getSegmentDuration() {
* by [`gopDuration`](#videostream).
* @param segmentDuration segmentDuration or {@code null} for none
*/
- public SegmentSettings setSegmentDuration(String segmentDuration) {
+ public SegmentSettings setSegmentDuration(java.lang.String segmentDuration) {
this.segmentDuration = segmentDuration;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SpriteSheet.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SpriteSheet.java
index 391b47c4783..45a76164192 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SpriteSheet.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/SpriteSheet.java
@@ -43,7 +43,7 @@ public final class SpriteSheet extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String endTimeOffset;
+ private java.lang.String endTimeOffset;
/**
* Required. File name prefix for the generated sprite sheets. Each sprite sheet has an
@@ -66,7 +66,7 @@ public final class SpriteSheet extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String interval;
+ private java.lang.String interval;
/**
* The quality of the generated sprite sheet. Enter a value between 1 and 100, where 1 is the
@@ -116,7 +116,7 @@ public final class SpriteSheet extends com.google.api.client.json.GenericJson {
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String startTimeOffset;
+ private java.lang.String startTimeOffset;
/**
* Total number of sprites. Create the specified number of sprites distributed evenly across the
@@ -150,7 +150,7 @@ public SpriteSheet setColumnCount(java.lang.Integer columnCount) {
* specified, the sprites are generated until the end of the output file.
* @return value or {@code null} for none
*/
- public String getEndTimeOffset() {
+ public java.lang.String getEndTimeOffset() {
return endTimeOffset;
}
@@ -159,7 +159,7 @@ public String getEndTimeOffset() {
* specified, the sprites are generated until the end of the output file.
* @param endTimeOffset endTimeOffset or {@code null} for none
*/
- public SpriteSheet setEndTimeOffset(String endTimeOffset) {
+ public SpriteSheet setEndTimeOffset(java.lang.String endTimeOffset) {
this.endTimeOffset = endTimeOffset;
return this;
}
@@ -206,7 +206,7 @@ public SpriteSheet setFormat(java.lang.String format) {
* Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
* @return value or {@code null} for none
*/
- public String getInterval() {
+ public java.lang.String getInterval() {
return interval;
}
@@ -214,7 +214,7 @@ public String getInterval() {
* Starting from `0s`, create sprites at regular intervals. Specify the interval value in seconds.
* @param interval interval or {@code null} for none
*/
- public SpriteSheet setInterval(String interval) {
+ public SpriteSheet setInterval(java.lang.String interval) {
this.interval = interval;
return this;
}
@@ -320,7 +320,7 @@ public SpriteSheet setSpriteWidthPixels(java.lang.Integer spriteWidthPixels) {
* pick. The default is `0s`.
* @return value or {@code null} for none
*/
- public String getStartTimeOffset() {
+ public java.lang.String getStartTimeOffset() {
return startTimeOffset;
}
@@ -329,7 +329,7 @@ public String getStartTimeOffset() {
* pick. The default is `0s`.
* @param startTimeOffset startTimeOffset or {@code null} for none
*/
- public SpriteSheet setStartTimeOffset(String startTimeOffset) {
+ public SpriteSheet setStartTimeOffset(java.lang.String startTimeOffset) {
this.startTimeOffset = startTimeOffset;
return this;
}
diff --git a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Vp9CodecSettings.java b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Vp9CodecSettings.java
index 24008985a4f..57c4cf85b4e 100644
--- a/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Vp9CodecSettings.java
+++ b/clients/google-api-services-transcoder/v1/2.0.0/com/google/api/services/transcoder/v1/model/Vp9CodecSettings.java
@@ -67,7 +67,7 @@ public final class Vp9CodecSettings extends com.google.api.client.json.GenericJs
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String gopDuration;
+ private java.lang.String gopDuration;
/**
* Select the GOP size based on the specified frame count. Must be greater than zero.
@@ -223,7 +223,7 @@ public Vp9CodecSettings setFrameRateConversionStrategy(java.lang.String frameRat
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @return value or {@code null} for none
*/
- public String getGopDuration() {
+ public java.lang.String getGopDuration() {
return gopDuration;
}
@@ -233,7 +233,7 @@ public String getGopDuration() {
* [`segmentDuration`](#SegmentSettings) must be divisible by `gopDuration`.
* @param gopDuration gopDuration or {@code null} for none
*/
- public Vp9CodecSettings setGopDuration(String gopDuration) {
+ public Vp9CodecSettings setGopDuration(java.lang.String gopDuration) {
this.gopDuration = gopDuration;
return this;
}
diff --git a/clients/google-api-services-vpcaccess/v1/2.0.0/README.md b/clients/google-api-services-vpcaccess/v1/2.0.0/README.md
index a274d29da90..f825825ec4d 100644
--- a/clients/google-api-services-vpcaccess/v1/2.0.0/README.md
+++ b/clients/google-api-services-vpcaccess/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-vpcaccess
- v1-rev20260322-2.0.0
+ v1-rev20260218-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-vpcaccess:v1-rev20260322-2.0.0'
+ implementation 'com.google.apis:google-api-services-vpcaccess:v1-rev20260218-2.0.0'
}
```
diff --git a/clients/google-api-services-vpcaccess/v1/2.0.0/com/google/api/services/vpcaccess/v1/ServerlessVPCAccess.java b/clients/google-api-services-vpcaccess/v1/2.0.0/com/google/api/services/vpcaccess/v1/ServerlessVPCAccess.java
index 4698d6ee1c7..fabe0729d1e 100644
--- a/clients/google-api-services-vpcaccess/v1/2.0.0/com/google/api/services/vpcaccess/v1/ServerlessVPCAccess.java
+++ b/clients/google-api-services-vpcaccess/v1/2.0.0/com/google/api/services/vpcaccess/v1/ServerlessVPCAccess.java
@@ -174,14 +174,10 @@ public Locations locations() {
public class Locations {
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -205,15 +201,10 @@ public class List extends ServerlessVPCAccessRequestcom.google.apis
google-api-services-vpcaccess
- v1-rev20260322-2.0.0
- Serverless VPC Access API v1-rev20260322-2.0.0
+ v1-rev20260218-2.0.0
+ Serverless VPC Access API v1-rev20260218-2.0.0
jar
2011
diff --git a/clients/google-api-services-workflows/v1/2.0.0/README.md b/clients/google-api-services-workflows/v1/2.0.0/README.md
index 6b072df8957..7e8f06bd65c 100644
--- a/clients/google-api-services-workflows/v1/2.0.0/README.md
+++ b/clients/google-api-services-workflows/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-workflows
- v1-rev20260322-2.0.0
+ v1-rev20260128-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-workflows:v1-rev20260322-2.0.0'
+ implementation 'com.google.apis:google-api-services-workflows:v1-rev20260128-2.0.0'
}
```
diff --git a/clients/google-api-services-workflows/v1/2.0.0/com/google/api/services/workflows/v1/Workflows.java b/clients/google-api-services-workflows/v1/2.0.0/com/google/api/services/workflows/v1/Workflows.java
index 3f1f3c17917..7779a1bc5cf 100644
--- a/clients/google-api-services-workflows/v1/2.0.0/com/google/api/services/workflows/v1/Workflows.java
+++ b/clients/google-api-services-workflows/v1/2.0.0/com/google/api/services/workflows/v1/Workflows.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends WorkflowsRequest tags) {
* field and is not tied to a specific revision.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -549,7 +549,7 @@ public String getUpdateTime() {
* field and is not tied to a specific revision.
* @param updateTime updateTime or {@code null} for none
*/
- public Workflow setUpdateTime(String updateTime) {
+ public Workflow setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-workflows/v1/2.0.0/pom.xml b/clients/google-api-services-workflows/v1/2.0.0/pom.xml
index b19f05ba362..b6b5cb1f775 100644
--- a/clients/google-api-services-workflows/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-workflows/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-workflows
- v1-rev20260322-2.0.0
- Workflows API v1-rev20260322-2.0.0
+ v1-rev20260128-2.0.0
+ Workflows API v1-rev20260128-2.0.0
jar
2011
diff --git a/clients/google-api-services-workstations/v1/2.0.0/README.md b/clients/google-api-services-workstations/v1/2.0.0/README.md
index 43252792d40..9a2b9ee8f8f 100644
--- a/clients/google-api-services-workstations/v1/2.0.0/README.md
+++ b/clients/google-api-services-workstations/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-workstations
- v1-rev20260401-2.0.0
+ v1-rev20260126-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-workstations:v1-rev20260401-2.0.0'
+ implementation 'com.google.apis:google-api-services-workstations:v1-rev20260126-2.0.0'
}
```
diff --git a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/CloudWorkstations.java b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/CloudWorkstations.java
index 969a968b858..e605b280987 100644
--- a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/CloudWorkstations.java
+++ b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/CloudWorkstations.java
@@ -312,14 +312,10 @@ public Get set(String parameterName, Object value) {
}
}
/**
- * Lists information about the supported locations for this service. This method lists locations
- * based on the resource scope provided in the [ListLocationsRequest.name] field: * **Global
- * locations**: If `name` is empty, the method lists the public locations available to all projects.
- * * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method
- * lists locations visible to that specific project. This includes public, private, or other
- * project-specific locations enabled for the project. For gRPC and client library implementations,
- * the resource name is passed as the `name` field. For direct service calls, the resource name is
- * incorporated into the request path based on the specific service implementation and version.
+ * Lists information about the supported locations for this service. This method can be called in
+ * two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-
+ * visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include
+ * public locations as well as private or other locations specifically visible to the project.
*
* Create a request for the method "locations.list".
*
@@ -343,15 +339,10 @@ public class List extends CloudWorkstationsRequest annota
* Output only. Time when this workstation was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -188,7 +188,7 @@ public String getCreateTime() {
* Output only. Time when this workstation was created.
* @param createTime createTime or {@code null} for none
*/
- public Workstation setCreateTime(String createTime) {
+ public Workstation setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -197,7 +197,7 @@ public Workstation setCreateTime(String createTime) {
* Output only. Time when this workstation was soft-deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -205,7 +205,7 @@ public String getDeleteTime() {
* Output only. Time when this workstation was soft-deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public Workstation setDeleteTime(String deleteTime) {
+ public Workstation setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -403,7 +403,7 @@ public Workstation setSourceWorkstation(java.lang.String sourceWorkstation) {
* the workstation's initial state.
* @return value or {@code null} for none
*/
- public String getStartTime() {
+ public java.lang.String getStartTime() {
return startTime;
}
@@ -412,7 +412,7 @@ public String getStartTime() {
* the workstation's initial state.
* @param startTime startTime or {@code null} for none
*/
- public Workstation setStartTime(String startTime) {
+ public Workstation setStartTime(java.lang.String startTime) {
this.startTime = startTime;
return this;
}
@@ -455,7 +455,7 @@ public Workstation setUid(java.lang.String uid) {
* Output only. Time when this workstation was most recently updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -463,7 +463,7 @@ public String getUpdateTime() {
* Output only. Time when this workstation was most recently updated.
* @param updateTime updateTime or {@code null} for none
*/
- public Workstation setUpdateTime(String updateTime) {
+ public Workstation setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationCluster.java b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationCluster.java
index fc54cf57fa8..e261554e1bc 100644
--- a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationCluster.java
+++ b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationCluster.java
@@ -65,7 +65,7 @@ public final class WorkstationCluster extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Whether this workstation cluster is in degraded mode, in which case it may require
@@ -81,7 +81,7 @@ public final class WorkstationCluster extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Optional. Human-readable name for this workstation cluster.
@@ -180,30 +180,7 @@ public final class WorkstationCluster extends com.google.api.client.json.Generic
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
-
- /**
- * Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
- * this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
- * containing the target workstation name and original request hostname. The endpoint is
- * responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
- * original hostname with the token.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String workstationAuthorizationUrl;
-
- /**
- * Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
- * workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
- * sent with a `workstation` and `project` query parameter containing the full workstation
- * resource name and project ID, respectively. The launch endpoint is responsible for starting the
- * workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
- * workstation's host URL.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String workstationLaunchUrl;
+ private java.lang.String updateTime;
/**
* Optional. Client-specified annotations.
@@ -264,7 +241,7 @@ public WorkstationCluster setControlPlaneIp(java.lang.String controlPlaneIp) {
* Output only. Time when this workstation cluster was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -272,7 +249,7 @@ public String getCreateTime() {
* Output only. Time when this workstation cluster was created.
* @param createTime createTime or {@code null} for none
*/
- public WorkstationCluster setCreateTime(String createTime) {
+ public WorkstationCluster setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -302,7 +279,7 @@ public WorkstationCluster setDegraded(java.lang.Boolean degraded) {
* Output only. Time when this workstation cluster was soft-deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -310,7 +287,7 @@ public String getDeleteTime() {
* Output only. Time when this workstation cluster was soft-deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public WorkstationCluster setDeleteTime(String deleteTime) {
+ public WorkstationCluster setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -539,7 +516,7 @@ public WorkstationCluster setUid(java.lang.String uid) {
* Output only. Time when this workstation cluster was most recently updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -547,63 +524,11 @@ public String getUpdateTime() {
* Output only. Time when this workstation cluster was most recently updated.
* @param updateTime updateTime or {@code null} for none
*/
- public WorkstationCluster setUpdateTime(String updateTime) {
+ public WorkstationCluster setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
- /**
- * Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
- * this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
- * containing the target workstation name and original request hostname. The endpoint is
- * responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
- * original hostname with the token.
- * @return value or {@code null} for none
- */
- public java.lang.String getWorkstationAuthorizationUrl() {
- return workstationAuthorizationUrl;
- }
-
- /**
- * Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in
- * this cluster. Redirects to this endpoint will send a base64 encoded `state` query param
- * containing the target workstation name and original request hostname. The endpoint is
- * responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the
- * original hostname with the token.
- * @param workstationAuthorizationUrl workstationAuthorizationUrl or {@code null} for none
- */
- public WorkstationCluster setWorkstationAuthorizationUrl(java.lang.String workstationAuthorizationUrl) {
- this.workstationAuthorizationUrl = workstationAuthorizationUrl;
- return this;
- }
-
- /**
- * Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
- * workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
- * sent with a `workstation` and `project` query parameter containing the full workstation
- * resource name and project ID, respectively. The launch endpoint is responsible for starting the
- * workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
- * workstation's host URL.
- * @return value or {@code null} for none
- */
- public java.lang.String getWorkstationLaunchUrl() {
- return workstationLaunchUrl;
- }
-
- /**
- * Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted
- * workstations will be redirected to this URL. Requests redirected to the launch endpoint will be
- * sent with a `workstation` and `project` query parameter containing the full workstation
- * resource name and project ID, respectively. The launch endpoint is responsible for starting the
- * workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the
- * workstation's host URL.
- * @param workstationLaunchUrl workstationLaunchUrl or {@code null} for none
- */
- public WorkstationCluster setWorkstationLaunchUrl(java.lang.String workstationLaunchUrl) {
- this.workstationLaunchUrl = workstationLaunchUrl;
- return this;
- }
-
@Override
public WorkstationCluster set(String fieldName, Object value) {
return (WorkstationCluster) super.set(fieldName, value);
diff --git a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationConfig.java b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationConfig.java
index 6f5d11afd91..d6b3dad43c7 100644
--- a/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationConfig.java
+++ b/clients/google-api-services-workstations/v1/2.0.0/com/google/api/services/workstations/v1/model/WorkstationConfig.java
@@ -83,7 +83,7 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String createTime;
+ private java.lang.String createTime;
/**
* Output only. Whether this workstation configuration is in degraded mode, in which case it may
@@ -99,7 +99,7 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String deleteTime;
+ private java.lang.String deleteTime;
/**
* Optional. Disables support for plain TCP connections in the workstation. By default the service
@@ -196,7 +196,7 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String idleTimeout;
+ private java.lang.String idleTimeout;
/**
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied
@@ -274,21 +274,21 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
private java.util.List replicaZones;
/**
- * Optional. Number of seconds that a workstation can run until it is automatically shut down.
- * This field applies to workstations in both STATE_RUNNING and STATE_SUSPENDED. We recommend that
- * workstations be shut down daily to reduce costs and so that security updates can be applied
- * upon restart. The idle_timeout and running_timeout fields are independent of each other. Note
- * that the running_timeout field shuts down VMs after the specified time, regardless of whether
- * or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"`
- * (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations
- * using this configuration should never time out. If encryption_key is set, it must be greater
- * than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that
- * Cloud Workstations VMs created with this configuration have no maximum running time. This is
- * strongly discouraged because you incur costs and will not pick up security updates.
+ * Optional. Number of seconds that a workstation can run until it is automatically shut down. We
+ * recommend that workstations be shut down daily to reduce costs and so that security updates can
+ * be applied upon restart. The idle_timeout and running_timeout fields are independent of each
+ * other. Note that the running_timeout field shuts down VMs after the specified time, regardless
+ * of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example,
+ * `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that
+ * workstations using this configuration should never time out. If encryption_key is set, it must
+ * be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"`
+ * indicates that Cloud Workstations VMs created with this configuration have no maximum running
+ * time. This is strongly discouraged because you incur costs and will not pick up security
+ * updates.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String runningTimeout;
+ private java.lang.String runningTimeout;
/**
* Output only. A system-assigned unique identifier for this workstation configuration.
@@ -302,7 +302,7 @@ public final class WorkstationConfig extends com.google.api.client.json.GenericJ
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private String updateTime;
+ private java.lang.String updateTime;
/**
* Optional. A list of PortRanges specifying single ports or ranges of ports that are externally
@@ -382,7 +382,7 @@ public WorkstationConfig setContainer(Container container) {
* Output only. Time when this workstation configuration was created.
* @return value or {@code null} for none
*/
- public String getCreateTime() {
+ public java.lang.String getCreateTime() {
return createTime;
}
@@ -390,7 +390,7 @@ public String getCreateTime() {
* Output only. Time when this workstation configuration was created.
* @param createTime createTime or {@code null} for none
*/
- public WorkstationConfig setCreateTime(String createTime) {
+ public WorkstationConfig setCreateTime(java.lang.String createTime) {
this.createTime = createTime;
return this;
}
@@ -420,7 +420,7 @@ public WorkstationConfig setDegraded(java.lang.Boolean degraded) {
* Output only. Time when this workstation configuration was soft-deleted.
* @return value or {@code null} for none
*/
- public String getDeleteTime() {
+ public java.lang.String getDeleteTime() {
return deleteTime;
}
@@ -428,7 +428,7 @@ public String getDeleteTime() {
* Output only. Time when this workstation configuration was soft-deleted.
* @param deleteTime deleteTime or {@code null} for none
*/
- public WorkstationConfig setDeleteTime(String deleteTime) {
+ public WorkstationConfig setDeleteTime(java.lang.String deleteTime) {
this.deleteTime = deleteTime;
return this;
}
@@ -624,7 +624,7 @@ public WorkstationConfig setHost(Host host) {
* `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
* @return value or {@code null} for none
*/
- public String getIdleTimeout() {
+ public java.lang.String getIdleTimeout() {
return idleTimeout;
}
@@ -637,7 +637,7 @@ public String getIdleTimeout() {
* `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
* @param idleTimeout idleTimeout or {@code null} for none
*/
- public WorkstationConfig setIdleTimeout(String idleTimeout) {
+ public WorkstationConfig setIdleTimeout(java.lang.String idleTimeout) {
this.idleTimeout = idleTimeout;
return this;
}
@@ -790,38 +790,38 @@ public WorkstationConfig setReplicaZones(java.util.List replic
}
/**
- * Optional. Number of seconds that a workstation can run until it is automatically shut down.
- * This field applies to workstations in both STATE_RUNNING and STATE_SUSPENDED. We recommend that
- * workstations be shut down daily to reduce costs and so that security updates can be applied
- * upon restart. The idle_timeout and running_timeout fields are independent of each other. Note
- * that the running_timeout field shuts down VMs after the specified time, regardless of whether
- * or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"`
- * (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations
- * using this configuration should never time out. If encryption_key is set, it must be greater
- * than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that
- * Cloud Workstations VMs created with this configuration have no maximum running time. This is
- * strongly discouraged because you incur costs and will not pick up security updates.
+ * Optional. Number of seconds that a workstation can run until it is automatically shut down. We
+ * recommend that workstations be shut down daily to reduce costs and so that security updates can
+ * be applied upon restart. The idle_timeout and running_timeout fields are independent of each
+ * other. Note that the running_timeout field shuts down VMs after the specified time, regardless
+ * of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example,
+ * `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that
+ * workstations using this configuration should never time out. If encryption_key is set, it must
+ * be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"`
+ * indicates that Cloud Workstations VMs created with this configuration have no maximum running
+ * time. This is strongly discouraged because you incur costs and will not pick up security
+ * updates.
* @return value or {@code null} for none
*/
- public String getRunningTimeout() {
+ public java.lang.String getRunningTimeout() {
return runningTimeout;
}
/**
- * Optional. Number of seconds that a workstation can run until it is automatically shut down.
- * This field applies to workstations in both STATE_RUNNING and STATE_SUSPENDED. We recommend that
- * workstations be shut down daily to reduce costs and so that security updates can be applied
- * upon restart. The idle_timeout and running_timeout fields are independent of each other. Note
- * that the running_timeout field shuts down VMs after the specified time, regardless of whether
- * or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"`
- * (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that workstations
- * using this configuration should never time out. If encryption_key is set, it must be greater
- * than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"` indicates that
- * Cloud Workstations VMs created with this configuration have no maximum running time. This is
- * strongly discouraged because you incur costs and will not pick up security updates.
+ * Optional. Number of seconds that a workstation can run until it is automatically shut down. We
+ * recommend that workstations be shut down daily to reduce costs and so that security updates can
+ * be applied upon restart. The idle_timeout and running_timeout fields are independent of each
+ * other. Note that the running_timeout field shuts down VMs after the specified time, regardless
+ * of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example,
+ * `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates that
+ * workstations using this configuration should never time out. If encryption_key is set, it must
+ * be greater than `"0s"` and less than `"86400s"` (24 hours). Warning: A value of `"0s"`
+ * indicates that Cloud Workstations VMs created with this configuration have no maximum running
+ * time. This is strongly discouraged because you incur costs and will not pick up security
+ * updates.
* @param runningTimeout runningTimeout or {@code null} for none
*/
- public WorkstationConfig setRunningTimeout(String runningTimeout) {
+ public WorkstationConfig setRunningTimeout(java.lang.String runningTimeout) {
this.runningTimeout = runningTimeout;
return this;
}
@@ -847,7 +847,7 @@ public WorkstationConfig setUid(java.lang.String uid) {
* Output only. Time when this workstation configuration was most recently updated.
* @return value or {@code null} for none
*/
- public String getUpdateTime() {
+ public java.lang.String getUpdateTime() {
return updateTime;
}
@@ -855,7 +855,7 @@ public String getUpdateTime() {
* Output only. Time when this workstation configuration was most recently updated.
* @param updateTime updateTime or {@code null} for none
*/
- public WorkstationConfig setUpdateTime(String updateTime) {
+ public WorkstationConfig setUpdateTime(java.lang.String updateTime) {
this.updateTime = updateTime;
return this;
}
diff --git a/clients/google-api-services-workstations/v1/2.0.0/pom.xml b/clients/google-api-services-workstations/v1/2.0.0/pom.xml
index f79870db45e..0123bbb3943 100644
--- a/clients/google-api-services-workstations/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-workstations/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-workstations
- v1-rev20260401-2.0.0
- Cloud Workstations API v1-rev20260401-2.0.0
+ v1-rev20260126-2.0.0
+ Cloud Workstations API v1-rev20260126-2.0.0
jar
2011
From b9a93e1cac711a3133d2cf802fef098f01b0129e Mon Sep 17 00:00:00 2001
From: Diego
Date: Wed, 15 Apr 2026 14:35:09 -0400
Subject: [PATCH 3/9] chore: add compute models to the demo validation branch
---
.../alpha/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 7098 +-
.../compute/model/AcceleratorType.java | 21 +-
.../model/AcceleratorTypeAggregatedList.java | 24 +-
.../compute/model/AcceleratorTypeList.java | 18 +-
.../services/compute/model/AccessConfig.java | 12 +-
.../api/services/compute/model/Address.java | 69 +-
.../compute/model/AddressAggregatedList.java | 24 +-
.../services/compute/model/AddressList.java | 12 +-
.../model/AllocationAggregateReservation.java | 24 +-
...UAllocationReservedInstanceProperties.java | 2 +-
.../AllocationSpecificSKUReservation.java | 12 +-
.../services/compute/model/AttachedDisk.java | 120 +-
.../model/AttachedDiskInitializeParams.java | 24 +-
.../services/compute/model/Autoscaler.java | 81 +-
.../model/AutoscalerAggregatedList.java | 27 +-
.../compute/model/AutoscalerList.java | 15 +-
.../api/services/compute/model/Backend.java | 57 +
.../BackendBackendOrchestrationInfo.java | 66 +
.../services/compute/model/BackendBucket.java | 36 +-
.../model/BackendBucketAggregatedList.java | 12 +-
.../compute/model/BackendBucketList.java | 12 +-
.../model/BackendBucketListUsable.java | 18 +-
.../compute/model/BackendBucketUsedBy.java | 6 +-
.../compute/model/BackendService.java | 117 +-
.../model/BackendServiceAggregatedList.java | 18 +-
.../BackendServiceDynamicForwarding.java | 24 +
...dServiceDynamicForwardingForwardProxy.java | 90 +
.../model/BackendServiceFailoverPolicy.java | 6 +-
.../model/BackendServiceGroupHealth.java | 12 +-
.../compute/model/BackendServiceIAP.java | 6 +-
.../compute/model/BackendServiceList.java | 15 +-
.../model/BackendServiceListUsable.java | 18 +-
.../BackendServiceOrchestrationInfo.java | 66 +
.../compute/model/BackendServiceUsedBy.java | 12 +-
.../api/services/compute/model/BgpRoute.java | 30 +-
.../compute/model/BgpRouteAsPath.java | 30 +-
...InstanceResourcePerInstanceProperties.java | 6 +-
.../compute/model/CacheInvalidationRule.java | 93 +
.../services/compute/model/CachePolicy.java | 405 +
.../model/CachePolicyCacheKeyPolicy.java | 307 +
.../CachePolicyNegativeCachingPolicy.java | 102 +
...pacityAdviceRequestDistributionPolicy.java | 6 +-
...pacityAdviceRequestInstanceProperties.java | 27 +
...ceRequestInstancePropertiesScheduling.java | 24 +
...ityAdviceResponseRecommendationScores.java | 54 +
...cityAdviceResponseRecommendationShard.java | 6 +-
.../services/compute/model/Commitment.java | 138 +-
.../model/CommitmentAggregatedList.java | 24 +-
.../compute/model/CommitmentList.java | 15 +-
.../compute/model/CommitmentParams.java | 78 +
.../model/CommitmentResourceStatus.java | 24 +-
...ResourceStatusCancellationInformation.java | 39 +-
.../compute/model/CompositeHealthCheck.java | 57 +-
.../CompositeHealthCheckAggregatedList.java | 18 +-
.../model/CompositeHealthCheckHealth.java | 117 +
.../model/CompositeHealthCheckList.java | 12 +-
...ksGetHealthResponseHealthSourceHealth.java | 90 +
.../compute/model/CrossSiteNetwork.java | 39 +-
.../compute/model/CrossSiteNetworkList.java | 18 +-
.../api/services/compute/model/DateTime.java | 290 +
.../api/services/compute/model/Disk.java | 333 +-
.../compute/model/DiskAggregatedList.java | 24 +-
.../compute/model/DiskAsyncReplication.java | 54 +-
.../compute/model/DiskConvertParams.java | 168 +
.../api/services/compute/model/DiskList.java | 12 +-
.../model/DiskPairReplicationState.java | 48 +-
.../services/compute/model/DiskParams.java | 24 +-
.../DiskSettingsResourcePolicyDetails.java | 18 +-
.../api/services/compute/model/DiskType.java | 12 +-
.../compute/model/DiskTypeAggregatedList.java | 18 +-
.../services/compute/model/DiskTypeList.java | 12 +-
.../model/DiskUpdateKmsKeyRequest.java | 84 +
.../compute/model/DisksConvertRequest.java | 63 +
.../compute/model/DistributionPolicy.java | 18 +-
.../model/ExchangedPeeringRoutesList.java | 18 +-
.../compute/model/ExternalVpnGateway.java | 30 +-
.../compute/model/ExternalVpnGatewayList.java | 12 +-
.../api/services/compute/model/Firewall.java | 27 +-
.../services/compute/model/FirewallList.java | 15 +-
...ewallPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/FirewallPolicy.java | 117 +-
.../model/FirewallPolicyAssociation.java | 12 +-
.../compute/model/FirewallPolicyList.java | 9 +-
.../model/FirewallPolicyRolloutOperation.java | 90 +
...allPolicyRolloutOperationRolloutInput.java | 117 +
...llPolicyRolloutOperationRolloutStatus.java | 114 +
...loutOperationRolloutStatusNextRollout.java | 96 +
...OperationRolloutStatusRolloutMetadata.java | 117 +
.../compute/model/FirewallPolicyRule.java | 18 +-
.../model/FirewallPolicyRuleSecureTag.java | 12 +-
.../compute/model/FixedOrPercent.java | 9 +-
.../compute/model/FlexibleTimeRange.java | 39 +-
.../compute/model/ForwardingRule.java | 159 +-
.../model/ForwardingRuleAggregatedList.java | 24 +-
.../ForwardingRuleAttachedExtension.java | 66 +
.../compute/model/ForwardingRuleList.java | 12 +-
.../compute/model/FutureReservation.java | 129 +-
.../model/FutureReservationParams.java | 78 +
.../model/FutureReservationStatus.java | 81 +-
...vationStatusExistingMatchingUsageInfo.java | 12 +-
...reReservationStatusLastKnownGoodState.java | 45 +-
...tKnownGoodStateFutureReservationSpecs.java | 18 +-
...ureReservationsAggregatedListResponse.java | 27 +-
.../model/FutureReservationsListResponse.java | 24 +-
.../model/FutureResourcesRecommendation.java | 12 +-
.../model/GetVersionOperationMetadata.java | 63 +
.../GetVersionOperationMetadataSbomInfo.java | 96 +
.../model/GlobalListVmExtensionsResponse.java | 443 +
.../compute/model/GlobalVmExtension.java | 84 +
.../model/GlobalVmExtensionPolicy.java | 51 +-
.../model/GlobalVmExtensionPolicyList.java | 18 +-
...obalVmExtensionPolicyRolloutOperation.java | 6 +-
...ionPolicyRolloutOperationRolloutInput.java | 99 +-
...onPolicyRolloutOperationRolloutStatus.java | 24 +-
...OperationRolloutStatusRolloutMetadata.java | 48 +-
...sRolloutMetadataLocationRolloutStatus.java | 67 +
.../compute/model/GuestAttributes.java | 27 +-
.../services/compute/model/HaController.java | 96 +-
.../compute/model/HaControllerStatus.java | 72 +-
.../HaControllerStatusFailoverProgress.java | 48 +-
...usFailoverProgressLastFailoverAttempt.java | 20 +-
.../model/HaControllerStatusZoneStatus.java | 18 +-
...HaControllerStatusZoneStatusLastError.java | 20 +-
.../model/HaControllersAggregatedList.java | 24 +-
.../compute/model/HaControllersList.java | 12 +-
.../model/HealthAggregationPolicy.java | 57 +-
...HealthAggregationPolicyAggregatedList.java | 18 +-
.../model/HealthAggregationPolicyList.java | 12 +-
.../services/compute/model/HealthCheck.java | 27 +-
.../compute/model/HealthCheckList.java | 12 +-
.../compute/model/HealthCheckService.java | 54 +-
.../HealthCheckServiceAggregatedList.java | 18 +-
.../model/HealthCheckServicesList.java | 54 +-
.../model/HealthChecksAggregatedList.java | 18 +-
.../services/compute/model/HealthSource.java | 51 +-
.../model/HealthSourceAggregatedList.java | 18 +-
.../compute/model/HealthSourceHealth.java | 117 +
.../compute/model/HealthSourceList.java | 6 +-
...lthSourcesGetHealthResponseSourceInfo.java | 120 +
...etHealthResponseSourceInfoBackendInfo.java | 117 +
.../compute/model/HttpHeaderMatch.java | 6 +-
.../compute/model/HttpHealthCheck.java | 15 +-
.../compute/model/HttpHealthCheckList.java | 12 +-
.../model/HttpQueryParameterMatch.java | 6 +-
.../compute/model/HttpRouteAction.java | 57 +
.../compute/model/HttpRouteRuleMatch.java | 72 +-
.../compute/model/HttpsHealthCheck.java | 12 +-
.../compute/model/HttpsHealthCheckList.java | 12 +-
.../api/services/compute/model/Image.java | 192 +-
.../api/services/compute/model/ImageList.java | 12 +-
.../model/ImageOptimizationPolicy.java | 69 +
.../services/compute/model/ImageParams.java | 24 +-
.../api/services/compute/model/Instance.java | 159 +-
.../compute/model/InstanceAggregatedList.java | 24 +-
.../model/InstanceConsumptionData.java | 12 +-
.../model/InstanceConsumptionInfo.java | 24 +-
.../services/compute/model/InstanceGroup.java | 104 +-
.../model/InstanceGroupAggregatedList.java | 62 +-
.../compute/model/InstanceGroupList.java | 56 +-
.../compute/model/InstanceGroupManager.java | 105 +-
.../InstanceGroupManagerActionsSummary.java | 269 +-
.../InstanceGroupManagerAggregatedList.java | 65 +-
.../model/InstanceGroupManagerList.java | 56 +-
.../model/InstanceGroupManagerParams.java | 21 +-
.../InstanceGroupManagerResizeRequest.java | 78 +-
...stanceGroupManagerResizeRequestStatus.java | 79 +-
...ManagerResizeRequestStatusLastAttempt.java | 8 +-
...roupManagerResizeRequestsListResponse.java | 56 +-
.../model/InstanceGroupManagerStatus.java | 120 +-
...GroupManagerStatusAcceleratorTopology.java | 117 +
...pologyAcceleratorTopologyStateDetails.java | 370 +
...eGroupManagerStatusAllInstancesConfig.java | 24 +-
...oupManagerStatusBulkInstanceOperation.java | 12 +-
...ulkInstanceOperationLastProgressCheck.java | 26 +-
...oupManagerStatusInstanceStatusSummary.java | 404 +
.../InstanceGroupManagerStatusStateful.java | 66 +-
...nagerStatusStatefulPerInstanceConfigs.java | 15 +-
...stanceGroupManagerStatusVersionTarget.java | 18 +-
.../InstanceGroupManagerUpdatePolicy.java | 24 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
...ConfigureAcceleratorTopologiesRequest.java | 102 +
...questAcceleratorTopologyConfiguration.java | 99 +
...vailableAcceleratorTopologiesResponse.java | 24 +
...logiesResponseAcceleratorTopologyInfo.java | 69 +
...ogiesResponseAcceleratorTopologyState.java | 420 +
...stanceGroupManagersListErrorsResponse.java | 30 +-
...pManagersListManagedInstancesResponse.java | 30 +-
...oupManagersListPerInstanceConfigsResp.java | 38 +-
...nceGroupManagersResizeAdvancedRequest.java | 27 +
.../InstanceGroupManagersScopedList.java | 28 +-
.../model/InstanceGroupsListInstances.java | 59 +-
.../model/InstanceGroupsScopedList.java | 22 +-
.../services/compute/model/InstanceList.java | 15 +-
.../compute/model/InstanceListReferrers.java | 18 +-
.../model/InstanceManagedByIgmError.java | 27 +-
...anagedByIgmErrorInstanceActionDetails.java | 42 +-
...ManagedByIgmErrorManagedInstanceError.java | 12 +-
.../compute/model/InstanceParams.java | 24 +-
.../compute/model/InstanceProperties.java | 21 +-
.../compute/model/InstanceSettings.java | 21 +-
.../model/InstanceSettingsMetadata.java | 6 +-
.../compute/model/InstanceTemplate.java | 57 +-
.../model/InstanceTemplateAggregatedList.java | 12 +-
.../compute/model/InstanceTemplateList.java | 18 +-
.../compute/model/InstanceWithNamedPorts.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
...llsResponseOrganizationFirewallPolicy.java | 9 +-
.../compute/model/InstantSnapshot.java | 186 +-
.../model/InstantSnapshotAggregatedList.java | 24 +-
.../compute/model/InstantSnapshotGroup.java | 75 +-
.../InstantSnapshotGroupResourceStatus.java | 18 +-
.../compute/model/InstantSnapshotList.java | 12 +-
.../compute/model/InstantSnapshotParams.java | 78 +
.../services/compute/model/Interconnect.java | 228 +-
.../compute/model/InterconnectAttachment.java | 291 +-
.../InterconnectAttachmentAggregatedList.java | 24 +-
...ectAttachmentConfigurationConstraints.java | 33 +-
.../model/InterconnectAttachmentGroup.java | 30 +-
...redAvailabilitySLAIntendedSlaBlockers.java | 78 +-
...AttachmentGroupLogicalStructureRegion.java | 6 +-
...hmentGroupLogicalStructureRegionMetro.java | 12 +-
...upLogicalStructureRegionMetroFacility.java | 6 +-
...gicalStructureRegionMetroFacilityZone.java | 18 +-
...ateMembersInterconnectAttachmentInput.java | 6 +-
...erconnectAttachmentGroupsListResponse.java | 9 +-
...nectAttachmentGroupsOperationalStatus.java | 12 +-
...oupsOperationalStatusAttachmentStatus.java | 42 +-
.../model/InterconnectAttachmentList.java | 18 +-
.../compute/model/InterconnectGroup.java | 30 +-
...yCapabilityIntendedCapabilityBlockers.java | 66 +-
...erconnectGroupPhysicalStructureMetros.java | 12 +-
...roupPhysicalStructureMetrosFacilities.java | 12 +-
...hysicalStructureMetrosFacilitiesZones.java | 24 +-
.../model/InterconnectGroupsListResponse.java | 9 +-
.../InterconnectGroupsOperationalStatus.java | 24 +-
...psOperationalStatusInterconnectStatus.java | 27 +-
.../compute/model/InterconnectList.java | 15 +-
.../compute/model/InterconnectLocation.java | 129 +-
...nectLocationCrossSiteInterconnectInfo.java | 27 +-
.../model/InterconnectLocationList.java | 18 +-
.../model/InterconnectLocationRegionInfo.java | 36 +-
.../model/InterconnectRemoteLocation.java | 222 +-
...InterconnectRemoteLocationConstraints.java | 30 +-
.../model/InterconnectRemoteLocationList.java | 18 +-
...ectRemoteLocationPermittedConnections.java | 12 +-
.../compute/model/IpAddressesList.java | 15 +-
.../services/compute/model/IpOwnerList.java | 18 +-
.../api/services/compute/model/License.java | 57 +-
.../services/compute/model/LicenseCode.java | 69 +-
.../model/LicenseCodeLicenseAlias.java | 12 +-
.../services/compute/model/LicenseParams.java | 78 +
.../compute/model/LicensesListResponse.java | 6 +-
.../model/ListInstantSnapshotGroups.java | 21 +-
.../compute/model/ListSnapshotGroups.java | 21 +-
.../model/ListVmExtensionStatesResponse.java | 443 +
.../model/ListVmExtensionsResponse.java | 443 +
.../compute/model/LocationPolicy.java | 48 +-
.../LocationPolicyZoneConfiguration.java | 69 +
.../services/compute/model/MachineImage.java | 81 +-
.../compute/model/MachineImageList.java | 18 +-
.../compute/model/MachineImageParams.java | 36 +
.../services/compute/model/MachineType.java | 15 +-
.../model/MachineTypeAggregatedList.java | 24 +-
.../compute/model/MachineTypeList.java | 15 +-
.../compute/model/ManagedInstance.java | 246 +-
.../ManagedInstanceAllInstancesConfig.java | 12 +-
.../ManagedInstanceCurrentActionDetails.java | 81 +-
.../model/ManagedInstanceInstanceHealth.java | 33 +-
.../model/ManagedInstanceLastAttempt.java | 12 +-
...stancePropertiesFromFlexibilityPolicy.java | 12 +-
.../model/ManagedInstanceScheduling.java | 18 +-
.../compute/model/ManagedInstanceVersion.java | 18 +-
.../api/services/compute/model/Metadata.java | 6 +-
.../api/services/compute/model/MultiMig.java | 45 +-
.../compute/model/MultiMigMember.java | 51 +-
.../compute/model/MultiMigMemberList.java | 15 +-
.../compute/model/MultiMigStatus.java | 18 +-
.../MultiMigStatusAcceleratorTopology.java | 24 +-
...logyAcceleratorTopologyStateLastCheck.java | 26 +-
.../services/compute/model/MultiMigsList.java | 12 +-
.../api/services/compute/model/NatIpInfo.java | 12 +-
.../model/NatIpInfoNatIpInfoMapping.java | 18 +-
.../api/services/compute/model/Network.java | 57 +-
.../compute/model/NetworkAttachment.java | 90 +-
.../NetworkAttachmentConnectedEndpoint.java | 33 +-
.../model/NetworkEdgeSecurityService.java | 45 +-
...workEdgeSecurityServiceAggregatedList.java | 27 +-
.../compute/model/NetworkEndpointGroup.java | 63 +-
.../NetworkEndpointGroupAggregatedList.java | 27 +-
...rkEndpointGroupLbNetworkEndpointGroup.java | 12 +-
.../model/NetworkEndpointGroupList.java | 18 +-
.../model/NetworkEndpointGroupPscData.java | 24 +-
...orkEndpointGroupsListNetworkEndpoints.java | 6 +-
.../NetworkEndpointGroupsScopedList.java | 22 +-
.../NetworkEndpointWithHealthStatus.java | 12 +-
.../NetworkFirewallPolicyAggregatedList.java | 24 +-
.../compute/model/NetworkInterface.java | 108 +-
.../services/compute/model/NetworkList.java | 12 +-
.../compute/model/NetworkPeering.java | 27 +-
.../services/compute/model/NetworkPolicy.java | 66 +-
.../model/NetworkPolicyAggregatedList.java | 24 +-
.../compute/model/NetworkPolicyList.java | 9 +-
...etworkPolicyTrafficClassificationRule.java | 21 +-
...icyTrafficClassificationRuleSecureTag.java | 12 +-
.../compute/model/NetworkProfile.java | 66 +-
.../model/NetworkProfileNetworkFeatures.java | 12 +-
.../model/NetworkProfilesListResponse.java | 24 +-
.../compute/model/NetworkRoutingConfig.java | 12 +-
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
...llsResponseOrganizationFirewallPolicy.java | 12 +-
.../api/services/compute/model/NodeGroup.java | 48 +-
.../model/NodeGroupAggregatedList.java | 24 +-
.../services/compute/model/NodeGroupList.java | 15 +-
.../model/NodeGroupMaintenanceWindow.java | 24 +-
.../services/compute/model/NodeGroupNode.java | 30 +-
.../compute/model/NodeGroupsListNodes.java | 56 +-
.../services/compute/model/NodeTemplate.java | 63 +-
.../model/NodeTemplateAggregatedList.java | 24 +-
.../compute/model/NodeTemplateList.java | 15 +-
.../api/services/compute/model/NodeType.java | 33 +-
.../compute/model/NodeTypeAggregatedList.java | 24 +-
.../services/compute/model/NodeTypeList.java | 15 +-
.../compute/model/NotificationEndpoint.java | 51 +-
.../NotificationEndpointAggregatedList.java | 18 +-
.../model/NotificationEndpointList.java | 12 +-
.../api/services/compute/model/Operation.java | 60 +-
.../model/OperationAggregatedList.java | 18 +-
.../services/compute/model/OperationList.java | 9 +-
...urityPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/PacketMirroring.java | 36 +-
.../model/PacketMirroringAggregatedList.java | 18 +-
.../PacketMirroringForwardingRuleInfo.java | 6 +-
.../compute/model/PacketMirroringList.java | 15 +-
...oringMirroredResourceInfoInstanceInfo.java | 6 +-
...rroringMirroredResourceInfoSubnetInfo.java | 6 +-
.../model/PacketMirroringNetworkInfo.java | 6 +-
.../services/compute/model/PathMatcher.java | 21 +-
.../PeriodicPartialMaintenanceSchedule.java | 163 +
.../compute/model/PreviewFeature.java | 42 +-
.../compute/model/PreviewFeatureList.java | 15 +-
.../compute/model/PreviewFeatureStatus.java | 12 +-
.../PreviewFeatureStatusReleaseStatus.java | 6 +-
.../api/services/compute/model/Project.java | 36 +-
.../model/ProjectsGetXpnResources.java | 36 +-
.../compute/model/PublicAdvertisedPrefix.java | 90 +-
.../model/PublicAdvertisedPrefixList.java | 12 +-
.../compute/model/PublicDelegatedPrefix.java | 120 +-
.../PublicDelegatedPrefixAggregatedList.java | 21 +-
.../model/PublicDelegatedPrefixList.java | 12 +-
...legatedPrefixPublicDelegatedSubPrefix.java | 51 +-
.../compute/model/QueuedResource.java | 66 +-
.../compute/model/QueuedResourceList.java | 18 +-
.../compute/model/QueuedResourceStatus.java | 36 +-
.../model/QueuedResourcesAggregatedList.java | 24 +-
.../compute/model/RecoverableSnapshot.java | 93 +-
.../RecoverableSnapshotAggregatedList.java | 27 +-
.../model/RecoverableSnapshotList.java | 21 +-
.../RecoverableSnapshotOriginalSnapshot.java | 252 +-
.../api/services/compute/model/Reference.java | 6 +-
.../api/services/compute/model/Region.java | 34 +-
.../compute/model/RegionAutoscalerList.java | 12 +-
.../compute/model/RegionDiskTypeList.java | 15 +-
.../model/RegionDiskUpdateKmsKeyRequest.java | 84 +
.../model/RegionInstanceGroupList.java | 50 +-
.../model/RegionInstanceGroupManagerList.java | 56 +-
...roupManagerResizeRequestsListResponse.java | 65 +-
...nceGroupManagersAdoptInstancesRequest.java | 72 +
...tanceGroupManagersApplyUpdatesRequest.java | 24 +
...stanceGroupManagersListErrorsResponse.java | 24 +-
...eGroupManagersListInstanceConfigsResp.java | 38 +-
...nceGroupManagersListInstancesResponse.java | 24 +-
...nceGroupManagersResizeAdvancedRequest.java | 27 +
.../RegionInstanceGroupsListInstances.java | 50 +-
.../services/compute/model/RegionList.java | 12 +-
...PoliciesGetEffectiveFirewallsResponse.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 39 +-
.../RegionSnapshotUpdateKmsKeyRequest.java | 78 +
...egionWaitForReplicationCatchUpRequest.java | 6 +-
.../compute/model/ReliabilityRisk.java | 27 +-
.../model/ReliabilityRisksListResponse.java | 15 +-
.../compute/model/ReplicationDetails.java | 30 +-
.../compute/model/ReplicationDiskPair.java | 12 +-
.../services/compute/model/Reservation.java | 177 +-
.../model/ReservationAggregatedList.java | 18 +-
.../compute/model/ReservationBlock.java | 147 +-
.../ReservationBlockPhysicalTopology.java | 6 +-
...ervationBlockPhysicalTopologyInstance.java | 6 +-
.../compute/model/ReservationList.java | 15 +-
.../compute/model/ReservationParams.java | 78 +
.../compute/model/ReservationSlot.java | 315 +
.../ReservationSlotPhysicalTopology.java | 138 +
.../compute/model/ReservationSlotStatus.java | 114 +
.../model/ReservationSlotsGetResponse.java | 63 +
.../ReservationSlotsGetVersionRequest.java | 66 +
.../model/ReservationSlotsListResponse.java | 383 +
.../compute/model/ReservationSubBlock.java | 114 +-
...ReservationSubBlocksGetVersionRequest.java | 66 +
.../compute/model/ResourcePolicy.java | 48 +-
.../model/ResourcePolicyAggregatedList.java | 18 +-
.../model/ResourcePolicyDailyCycle.java | 12 +-
.../model/ResourcePolicyHourlyCycle.java | 12 +-
.../compute/model/ResourcePolicyList.java | 15 +-
.../model/ResourcePolicyResourceStatus.java | 15 +-
...rceStatusInstanceSchedulePolicyStatus.java | 21 +-
.../ResourcePolicyWeeklyCycleDayOfWeek.java | 12 +-
.../compute/model/ResourceStatus.java | 111 +-
...sourceStatusEffectiveInstanceMetadata.java | 24 +
...ourceStatusReservationConsumptionInfo.java | 33 +-
.../services/compute/model/RiskDetails.java | 12 +-
.../model/RiskDetailsGlobalDnsInsight.java | 6 +-
.../api/services/compute/model/Rollout.java | 86 +-
.../services/compute/model/RolloutPlan.java | 39 +-
...loutPlanWaveOrchestrationOptionsDelay.java | 6 +-
...ValidationTimeBasedValidationMetadata.java | 6 +-
.../model/RolloutPlansListResponse.java | 15 +-
...outWaveDetailsOrchestratedWaveDetails.java | 54 +
...OrchestratedWaveDetailsLocationStatus.java | 66 +
.../compute/model/RolloutsListResponse.java | 15 +-
.../api/services/compute/model/Route.java | 162 +-
.../api/services/compute/model/RouteList.java | 12 +-
.../api/services/compute/model/Router.java | 18 +-
.../compute/model/RouterAggregatedList.java | 18 +-
.../services/compute/model/RouterBgpPeer.java | 36 +-
.../compute/model/RouterInterface.java | 36 +-
.../services/compute/model/RouterList.java | 12 +-
.../model/RouterStatusBgpPeerStatus.java | 132 +-
.../compute/model/RouterStatusNatStatus.java | 63 +-
.../RouterStatusNatStatusNatRuleStatus.java | 39 +-
.../compute/model/RouterStatusResponse.java | 6 +-
.../compute/model/RoutersListBgpRoutes.java | 21 +-
.../compute/model/RoutersListNamedSets.java | 21 +-
.../model/RoutersListRoutePolicies.java | 24 +-
.../compute/model/SavedAttachedDisk.java | 57 +-
.../api/services/compute/model/SavedDisk.java | 48 +-
.../services/compute/model/Screenshot.java | 6 +-
.../model/SecurityPoliciesAggregatedList.java | 24 +-
.../compute/model/SecurityPolicy.java | 66 +-
.../model/SecurityPolicyAssociation.java | 18 +-
.../SecurityPolicyDdosProtectionConfig.java | 54 +-
.../compute/model/SecurityPolicyList.java | 15 +-
.../compute/model/SecurityPolicyRule.java | 30 +-
...cyRulePreconfiguredWafConfigExclusion.java | 27 +
.../compute/model/SerialPortOutput.java | 15 +-
.../compute/model/ServiceAttachment.java | 69 +-
.../ServiceAttachmentAggregatedList.java | 18 +-
.../compute/model/ServiceAttachmentList.java | 9 +-
.../model/ShieldedInstanceIdentity.java | 12 +-
.../compute/model/ShieldedVmIdentity.java | 12 +-
.../api/services/compute/model/Snapshot.java | 294 +-
.../compute/model/SnapshotAggregatedList.java | 24 +-
.../services/compute/model/SnapshotGroup.java | 54 +-
.../services/compute/model/SnapshotList.java | 12 +-
.../compute/model/SnapshotParams.java | 24 +-
.../model/SnapshotRecycleBinPolicy.java | 87 +
.../model/SnapshotRecycleBinPolicyRule.java | 66 +
...napshotRecycleBinPolicyRuleRuleConfig.java | 69 +
.../compute/model/SnapshotResourceStatus.java | 18 +-
.../model/SnapshotUpdateKmsKeyRequest.java | 78 +
...otsGetEffectiveRecycleBinRuleResponse.java | 66 +
.../compute/model/SslCertificate.java | 42 +-
.../model/SslCertificateAggregatedList.java | 24 +-
.../compute/model/SslCertificateList.java | 12 +-
.../SslCertificateManagedSslCertificate.java | 15 +-
.../model/SslPoliciesAggregatedList.java | 24 +-
.../compute/model/SslPoliciesList.java | 51 +-
.../api/services/compute/model/SslPolicy.java | 120 +-
.../services/compute/model/StoragePool.java | 108 +-
.../model/StoragePoolAggregatedList.java | 24 +-
.../compute/model/StoragePoolDisk.java | 66 +-
.../compute/model/StoragePoolList.java | 24 +-
.../compute/model/StoragePoolListDisks.java | 65 +-
.../compute/model/StoragePoolParams.java | 78 +
.../model/StoragePoolResourceStatus.java | 30 +-
.../compute/model/StoragePoolType.java | 15 +-
.../model/StoragePoolTypeAggregatedList.java | 12 +-
.../compute/model/StoragePoolTypeList.java | 15 +-
.../compute/model/StructuredEntries.java | 6 +-
.../services/compute/model/Subnetwork.java | 183 +-
.../model/SubnetworkAggregatedList.java | 24 +-
.../compute/model/SubnetworkList.java | 15 +-
.../model/SubnetworkSecondaryRange.java | 114 +-
.../compute/model/TargetGrpcProxy.java | 39 +-
.../compute/model/TargetGrpcProxyList.java | 9 +-
.../compute/model/TargetHttpProxy.java | 33 +-
.../model/TargetHttpProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpProxyList.java | 15 +-
.../compute/model/TargetHttpsProxy.java | 33 +-
.../model/TargetHttpsProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpsProxyList.java | 15 +-
.../compute/model/TargetInstance.java | 33 +-
.../model/TargetInstanceAggregatedList.java | 18 +-
.../compute/model/TargetInstanceList.java | 12 +-
.../services/compute/model/TargetPool.java | 24 +-
.../model/TargetPoolAggregatedList.java | 24 +-
.../model/TargetPoolInstanceHealth.java | 12 +-
.../compute/model/TargetPoolList.java | 15 +-
.../compute/model/TargetSslProxy.java | 15 +-
.../compute/model/TargetSslProxyList.java | 12 +-
.../compute/model/TargetTcpProxy.java | 51 +-
.../model/TargetTcpProxyAggregatedList.java | 24 +-
.../compute/model/TargetTcpProxyList.java | 12 +-
.../compute/model/TargetVpnGateway.java | 15 +-
.../model/TargetVpnGatewayAggregatedList.java | 21 +-
.../compute/model/TargetVpnGatewayList.java | 15 +-
.../api/services/compute/model/TimeZone.java | 90 +
.../compute/model/UpcomingMaintenance.java | 24 +
.../api/services/compute/model/UrlMap.java | 30 +-
.../services/compute/model/UrlMapList.java | 12 +-
.../compute/model/UrlMapsAggregatedList.java | 18 +-
.../compute/model/UsableSubnetwork.java | 12 +-
.../model/UsableSubnetworkSecondaryRange.java | 9 +-
.../UsableSubnetworksAggregatedList.java | 30 +-
.../compute/model/VmEndpointNatMappings.java | 6 +-
...dpointNatMappingsInterfaceNatMappings.java | 72 +-
...gsInterfaceNatMappingsNatRuleMappings.java | 66 +-
.../model/VmEndpointNatMappingsList.java | 18 +-
.../services/compute/model/VmExtension.java | 90 +
.../compute/model/VmExtensionPolicy.java | 72 +-
...ExtensionPolicyAggregatedListResponse.java | 24 +-
.../compute/model/VmExtensionPolicyList.java | 74 +-
.../compute/model/VmExtensionState.java | 213 +
.../services/compute/model/VpnGateway.java | 33 +-
.../model/VpnGatewayAggregatedList.java | 18 +-
.../compute/model/VpnGatewayList.java | 12 +-
.../compute/model/VpnGatewayStatus.java | 6 +-
.../compute/model/VpnGatewayStatusTunnel.java | 24 +-
.../model/VpnGatewayStatusVpnConnection.java | 24 +-
.../model/VpnGatewayVpnGatewayInterface.java | 66 +-
.../api/services/compute/model/VpnTunnel.java | 12 +-
.../model/VpnTunnelAggregatedList.java | 18 +-
.../services/compute/model/VpnTunnelList.java | 12 +-
.../WaitForReplicationCatchUpRequest.java | 6 +-
.../api/services/compute/model/Wire.java | 48 +-
.../api/services/compute/model/WireGroup.java | 54 +-
.../services/compute/model/WireGroupList.java | 15 +-
.../compute/model/WireGroupServiceLevel.java | 15 +-
.../compute/model/WireGroupTopology.java | 6 +-
.../model/WireGroupTopologyEndpoint.java | 18 +-
.../services/compute/model/XpnHostList.java | 15 +-
.../api/services/compute/model/Zone.java | 33 +-
.../api/services/compute/model/ZoneList.java | 12 +-
.../compute/model/ZoneResourceStatus.java | 72 +
.../alpha/2.0.0/pom.xml | 4 +-
.../beta/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 121264 ++++++++-------
.../compute/model/AcceleratorType.java | 15 +-
.../model/AcceleratorTypeAggregatedList.java | 24 +-
.../compute/model/AcceleratorTypeList.java | 18 +-
.../services/compute/model/AccessConfig.java | 6 +-
.../api/services/compute/model/Address.java | 63 +-
.../compute/model/AddressAggregatedList.java | 24 +-
.../services/compute/model/AddressList.java | 12 +-
.../model/AllocationAggregateReservation.java | 24 +-
...UAllocationReservedInstanceProperties.java | 2 +-
.../AllocationSpecificSKUReservation.java | 12 +-
.../services/compute/model/AttachedDisk.java | 120 +-
.../model/AttachedDiskInitializeParams.java | 24 +-
.../services/compute/model/Autoscaler.java | 75 +-
.../model/AutoscalerAggregatedList.java | 27 +-
.../compute/model/AutoscalerList.java | 15 +-
.../api/services/compute/model/Backend.java | 24 +
.../BackendBackendOrchestrationInfo.java | 66 +
.../services/compute/model/BackendBucket.java | 30 +-
.../model/BackendBucketAggregatedList.java | 12 +-
.../compute/model/BackendBucketList.java | 12 +-
.../model/BackendBucketListUsable.java | 18 +-
.../compute/model/BackendBucketUsedBy.java | 6 +-
.../compute/model/BackendService.java | 63 +-
.../model/BackendServiceAggregatedList.java | 18 +-
.../BackendServiceDynamicForwarding.java | 24 +
...dServiceDynamicForwardingForwardProxy.java | 90 +
.../model/BackendServiceFailoverPolicy.java | 6 +-
.../model/BackendServiceGroupHealth.java | 12 +-
.../compute/model/BackendServiceIAP.java | 6 +-
.../compute/model/BackendServiceList.java | 15 +-
.../model/BackendServiceListUsable.java | 18 +-
.../BackendServiceOrchestrationInfo.java | 66 +
.../compute/model/BackendServiceUsedBy.java | 12 +-
.../api/services/compute/model/BgpRoute.java | 30 +-
.../compute/model/BgpRouteAsPath.java | 30 +-
.../compute/model/BulkInsertDiskResource.java | 48 +
.../model/BulkInsertInstanceResource.java | 24 +
...InstanceResourcePerInstanceProperties.java | 6 +-
.../services/compute/model/CachePolicy.java | 405 +
.../model/CachePolicyCacheKeyPolicy.java | 307 +
.../CachePolicyNegativeCachingPolicy.java | 102 +
.../services/compute/model/Commitment.java | 105 +-
.../model/CommitmentAggregatedList.java | 24 +-
.../compute/model/CommitmentList.java | 15 +-
.../model/CommitmentResourceStatus.java | 18 +-
.../compute/model/CompositeHealthCheck.java | 57 +-
.../CompositeHealthCheckAggregatedList.java | 18 +-
.../model/CompositeHealthCheckList.java | 12 +-
.../compute/model/CrossSiteNetwork.java | 33 +-
.../compute/model/CrossSiteNetworkList.java | 18 +-
.../api/services/compute/model/Disk.java | 285 +-
.../compute/model/DiskAggregatedList.java | 24 +-
.../compute/model/DiskAsyncReplication.java | 54 +-
.../api/services/compute/model/DiskList.java | 12 +-
.../services/compute/model/DiskParams.java | 24 +-
.../api/services/compute/model/DiskType.java | 6 +-
.../compute/model/DiskTypeAggregatedList.java | 18 +-
.../services/compute/model/DiskTypeList.java | 12 +-
.../compute/model/DistributionPolicy.java | 18 +-
.../model/ExchangedPeeringRoutesList.java | 18 +-
.../compute/model/ExternalVpnGateway.java | 57 +-
.../compute/model/ExternalVpnGatewayList.java | 12 +-
.../model/ExternalVpnGatewayParams.java | 87 +
.../api/services/compute/model/Firewall.java | 21 +-
.../services/compute/model/FirewallList.java | 15 +-
...ewallPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/FirewallPolicy.java | 93 +-
.../model/FirewallPolicyAssociation.java | 12 +-
.../compute/model/FirewallPolicyList.java | 9 +-
.../compute/model/FirewallPolicyRule.java | 18 +-
.../model/FirewallPolicyRuleMatcher.java | 54 +
.../model/FirewallPolicyRuleSecureTag.java | 12 +-
.../compute/model/FixedOrPercent.java | 9 +-
.../compute/model/FlexibleTimeRange.java | 39 +-
.../compute/model/ForwardingRule.java | 105 +-
.../model/ForwardingRuleAggregatedList.java | 24 +-
.../compute/model/ForwardingRuleList.java | 12 +-
.../compute/model/FutureReservation.java | 102 +-
.../model/FutureReservationStatus.java | 81 +-
...vationStatusExistingMatchingUsageInfo.java | 12 +-
...reReservationStatusLastKnownGoodState.java | 45 +-
...tKnownGoodStateFutureReservationSpecs.java | 18 +-
...ureReservationsAggregatedListResponse.java | 27 +-
.../model/FutureReservationsListResponse.java | 24 +-
.../model/FutureResourcesRecommendation.java | 12 +-
.../model/GetVersionOperationMetadata.java | 63 +
.../GetVersionOperationMetadataSbomInfo.java | 96 +
.../model/GlobalVmExtensionPolicy.java | 51 +-
.../model/GlobalVmExtensionPolicyList.java | 18 +-
...obalVmExtensionPolicyRolloutOperation.java | 6 +-
...ionPolicyRolloutOperationRolloutInput.java | 99 +-
...onPolicyRolloutOperationRolloutStatus.java | 24 +-
...OperationRolloutStatusRolloutMetadata.java | 48 +-
...sRolloutMetadataLocationRolloutStatus.java | 67 +
.../compute/model/GuestAttributes.java | 27 +-
.../model/HealthAggregationPolicy.java | 57 +-
...HealthAggregationPolicyAggregatedList.java | 18 +-
.../model/HealthAggregationPolicyList.java | 12 +-
.../services/compute/model/HealthCheck.java | 21 +-
.../compute/model/HealthCheckList.java | 12 +-
.../compute/model/HealthCheckService.java | 48 +-
.../HealthCheckServiceAggregatedList.java | 401 +
.../model/HealthCheckServicesList.java | 54 +-
.../model/HealthCheckServicesScopedList.java | 278 +
.../model/HealthChecksAggregatedList.java | 18 +-
.../services/compute/model/HealthSource.java | 51 +-
.../model/HealthSourceAggregatedList.java | 18 +-
.../compute/model/HealthSourceList.java | 6 +-
.../compute/model/HttpHeaderMatch.java | 6 +-
.../compute/model/HttpHealthCheck.java | 9 +-
.../compute/model/HttpHealthCheckList.java | 12 +-
.../model/HttpQueryParameterMatch.java | 6 +-
.../compute/model/HttpRouteAction.java | 27 +
.../compute/model/HttpRouteRuleMatch.java | 72 +-
.../compute/model/HttpsHealthCheck.java | 6 +-
.../compute/model/HttpsHealthCheckList.java | 12 +-
.../api/services/compute/model/Image.java | 186 +-
.../api/services/compute/model/ImageList.java | 12 +-
.../services/compute/model/ImageParams.java | 24 +-
.../api/services/compute/model/Instance.java | 156 +-
.../compute/model/InstanceAggregatedList.java | 24 +-
.../model/InstanceConsumptionData.java | 12 +-
.../model/InstanceConsumptionInfo.java | 24 +-
.../model/InstanceFlexibilityPolicy.java | 75 +
...nceFlexibilityPolicyInstanceSelection.java | 134 +
.../services/compute/model/InstanceGroup.java | 98 +-
.../model/InstanceGroupAggregatedList.java | 62 +-
.../compute/model/InstanceGroupList.java | 56 +-
.../compute/model/InstanceGroupManager.java | 99 +-
.../InstanceGroupManagerActionsSummary.java | 215 +-
.../InstanceGroupManagerAggregatedList.java | 65 +-
.../model/InstanceGroupManagerList.java | 56 +-
.../model/InstanceGroupManagerParams.java | 21 +-
.../InstanceGroupManagerResizeRequest.java | 78 +-
...stanceGroupManagerResizeRequestStatus.java | 64 +-
...ManagerResizeRequestStatusLastAttempt.java | 8 +-
...roupManagerResizeRequestsListResponse.java | 56 +-
.../model/InstanceGroupManagerStatus.java | 120 +-
...GroupManagerStatusAcceleratorTopology.java | 117 +
...pologyAcceleratorTopologyStateDetails.java | 370 +
...eGroupManagerStatusAllInstancesConfig.java | 24 +-
...oupManagerStatusBulkInstanceOperation.java | 12 +-
...ulkInstanceOperationLastProgressCheck.java | 26 +-
...oupManagerStatusInstanceStatusSummary.java | 404 +
.../InstanceGroupManagerStatusStateful.java | 66 +-
...nagerStatusStatefulPerInstanceConfigs.java | 15 +-
...stanceGroupManagerStatusVersionTarget.java | 18 +-
...ConfigureAcceleratorTopologiesRequest.java | 102 +
...questAcceleratorTopologyConfiguration.java | 99 +
...vailableAcceleratorTopologiesResponse.java | 24 +
...logiesResponseAcceleratorTopologyInfo.java | 69 +
...ogiesResponseAcceleratorTopologyState.java | 420 +
...stanceGroupManagersListErrorsResponse.java | 30 +-
...pManagersListManagedInstancesResponse.java | 30 +-
...oupManagersListPerInstanceConfigsResp.java | 38 +-
.../InstanceGroupManagersScopedList.java | 28 +-
.../model/InstanceGroupsListInstances.java | 59 +-
.../model/InstanceGroupsScopedList.java | 22 +-
.../services/compute/model/InstanceList.java | 15 +-
.../compute/model/InstanceListReferrers.java | 18 +-
.../model/InstanceManagedByIgmError.java | 27 +-
...anagedByIgmErrorInstanceActionDetails.java | 42 +-
...ManagedByIgmErrorManagedInstanceError.java | 12 +-
.../compute/model/InstanceParams.java | 24 +-
.../compute/model/InstanceProperties.java | 42 +-
.../compute/model/InstanceSettings.java | 21 +-
.../model/InstanceSettingsMetadata.java | 6 +-
.../compute/model/InstanceTemplate.java | 51 +-
.../model/InstanceTemplateAggregatedList.java | 12 +-
.../compute/model/InstanceTemplateList.java | 18 +-
.../compute/model/InstanceWithNamedPorts.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
...llsResponseOrganizationFirewallPolicy.java | 9 +-
.../compute/model/InstantSnapshot.java | 210 +-
.../model/InstantSnapshotAggregatedList.java | 24 +-
.../compute/model/InstantSnapshotGroup.java | 360 +
.../model/InstantSnapshotGroupParameters.java | 78 +
.../InstantSnapshotGroupResourceStatus.java | 90 +
.../model/InstantSnapshotGroupSourceInfo.java | 84 +
.../compute/model/InstantSnapshotList.java | 12 +-
.../compute/model/InstantSnapshotParams.java | 78 +
.../services/compute/model/Interconnect.java | 195 +-
.../compute/model/InterconnectAttachment.java | 285 +-
.../InterconnectAttachmentAggregatedList.java | 24 +-
...ectAttachmentConfigurationConstraints.java | 33 +-
.../model/InterconnectAttachmentGroup.java | 30 +-
...redAvailabilitySLAIntendedSlaBlockers.java | 78 +-
...AttachmentGroupLogicalStructureRegion.java | 6 +-
...hmentGroupLogicalStructureRegionMetro.java | 12 +-
...upLogicalStructureRegionMetroFacility.java | 6 +-
...gicalStructureRegionMetroFacilityZone.java | 18 +-
...erconnectAttachmentGroupsListResponse.java | 9 +-
...nectAttachmentGroupsOperationalStatus.java | 12 +-
...oupsOperationalStatusAttachmentStatus.java | 42 +-
.../model/InterconnectAttachmentList.java | 18 +-
.../compute/model/InterconnectGroup.java | 30 +-
...yCapabilityIntendedCapabilityBlockers.java | 66 +-
...erconnectGroupPhysicalStructureMetros.java | 12 +-
...roupPhysicalStructureMetrosFacilities.java | 12 +-
...hysicalStructureMetrosFacilitiesZones.java | 24 +-
.../model/InterconnectGroupsListResponse.java | 9 +-
.../InterconnectGroupsOperationalStatus.java | 24 +-
...psOperationalStatusInterconnectStatus.java | 27 +-
.../compute/model/InterconnectList.java | 15 +-
.../compute/model/InterconnectLocation.java | 123 +-
...nectLocationCrossSiteInterconnectInfo.java | 15 +-
.../model/InterconnectLocationList.java | 18 +-
.../model/InterconnectLocationRegionInfo.java | 36 +-
.../model/InterconnectRemoteLocation.java | 216 +-
...InterconnectRemoteLocationConstraints.java | 30 +-
.../model/InterconnectRemoteLocationList.java | 18 +-
...ectRemoteLocationPermittedConnections.java | 12 +-
.../api/services/compute/model/License.java | 57 +-
.../services/compute/model/LicenseCode.java | 63 +-
.../model/LicenseCodeLicenseAlias.java | 12 +-
.../services/compute/model/LicenseParams.java | 78 +
.../compute/model/LicensesListResponse.java | 6 +-
.../model/ListInstantSnapshotGroups.java | 431 +
.../compute/model/ListSnapshotGroups.java | 425 +
.../compute/model/LocationPolicy.java | 48 +-
.../LocationPolicyZoneConfiguration.java | 69 +
.../services/compute/model/MachineImage.java | 102 +-
.../compute/model/MachineImageList.java | 18 +-
.../compute/model/MachineImageParams.java | 78 +
.../services/compute/model/MachineType.java | 9 +-
.../model/MachineTypeAggregatedList.java | 24 +-
.../compute/model/MachineTypeList.java | 15 +-
.../compute/model/ManagedInstance.java | 207 +-
.../ManagedInstanceAllInstancesConfig.java | 12 +-
.../model/ManagedInstanceInstanceHealth.java | 15 +-
.../model/ManagedInstanceLastAttempt.java | 12 +-
...stancePropertiesFromFlexibilityPolicy.java | 12 +-
.../model/ManagedInstanceScheduling.java | 18 +-
.../compute/model/ManagedInstanceVersion.java | 18 +-
.../api/services/compute/model/Metadata.java | 6 +-
.../api/services/compute/model/MultiMig.java | 45 +-
.../compute/model/MultiMigMember.java | 216 +
.../compute/model/MultiMigMemberList.java | 386 +
.../compute/model/MultiMigMemberStatus.java | 66 +
.../compute/model/MultiMigStatus.java | 36 +-
.../MultiMigStatusAcceleratorTopology.java | 24 +-
...logyAcceleratorTopologyStateLastCheck.java | 26 +-
.../services/compute/model/MultiMigsList.java | 12 +-
.../api/services/compute/model/NamedSet.java | 224 +
.../api/services/compute/model/NatIpInfo.java | 12 +-
.../model/NatIpInfoNatIpInfoMapping.java | 18 +-
.../api/services/compute/model/Network.java | 39 +-
.../compute/model/NetworkAttachment.java | 90 +-
.../NetworkAttachmentConnectedEndpoint.java | 9 +-
.../model/NetworkEdgeSecurityService.java | 45 +-
...workEdgeSecurityServiceAggregatedList.java | 27 +-
.../compute/model/NetworkEndpointGroup.java | 57 +-
.../NetworkEndpointGroupAggregatedList.java | 27 +-
...rkEndpointGroupLbNetworkEndpointGroup.java | 12 +-
.../model/NetworkEndpointGroupList.java | 18 +-
.../model/NetworkEndpointGroupPscData.java | 24 +-
...orkEndpointGroupsListNetworkEndpoints.java | 6 +-
.../NetworkEndpointGroupsScopedList.java | 22 +-
.../NetworkEndpointWithHealthStatus.java | 12 +-
.../NetworkFirewallPolicyAggregatedList.java | 24 +-
.../compute/model/NetworkInterface.java | 72 +-
.../services/compute/model/NetworkList.java | 12 +-
.../compute/model/NetworkPeering.java | 27 +-
.../services/compute/model/NetworkPolicy.java | 66 +-
.../model/NetworkPolicyAggregatedList.java | 24 +-
.../compute/model/NetworkPolicyList.java | 9 +-
...etworkPolicyTrafficClassificationRule.java | 21 +-
...icyTrafficClassificationRuleSecureTag.java | 12 +-
.../compute/model/NetworkProfile.java | 66 +-
.../model/NetworkProfileNetworkFeatures.java | 156 +-
...workFeaturesPredefinedSubnetworkRange.java | 90 +
.../model/NetworkProfilesListResponse.java | 24 +-
.../compute/model/NetworkRoutingConfig.java | 12 +-
...orksCancelRequestRemovePeeringRequest.java | 66 +
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
...llsResponseOrganizationFirewallPolicy.java | 12 +-
.../api/services/compute/model/NodeGroup.java | 42 +-
.../model/NodeGroupAggregatedList.java | 24 +-
.../services/compute/model/NodeGroupList.java | 15 +-
.../model/NodeGroupMaintenanceWindow.java | 12 +-
.../services/compute/model/NodeGroupNode.java | 30 +-
.../compute/model/NodeGroupsListNodes.java | 56 +-
.../services/compute/model/NodeTemplate.java | 57 +-
.../model/NodeTemplateAggregatedList.java | 24 +-
.../compute/model/NodeTemplateList.java | 15 +-
.../api/services/compute/model/NodeType.java | 27 +-
.../compute/model/NodeTypeAggregatedList.java | 24 +-
.../services/compute/model/NodeTypeList.java | 15 +-
.../compute/model/NotificationEndpoint.java | 51 +-
.../NotificationEndpointAggregatedList.java | 401 +
.../model/NotificationEndpointList.java | 12 +-
.../NotificationEndpointsScopedList.java | 278 +
.../api/services/compute/model/Operation.java | 54 +-
.../model/OperationAggregatedList.java | 18 +-
.../services/compute/model/OperationList.java | 9 +-
...urityPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/PacketMirroring.java | 30 +-
.../model/PacketMirroringAggregatedList.java | 18 +-
.../PacketMirroringForwardingRuleInfo.java | 6 +-
.../compute/model/PacketMirroringList.java | 15 +-
...oringMirroredResourceInfoInstanceInfo.java | 6 +-
...rroringMirroredResourceInfoSubnetInfo.java | 6 +-
.../model/PacketMirroringNetworkInfo.java | 6 +-
.../services/compute/model/PathMatcher.java | 21 +-
.../compute/model/PreviewFeature.java | 42 +-
.../compute/model/PreviewFeatureList.java | 15 +-
.../compute/model/PreviewFeatureStatus.java | 12 +-
.../PreviewFeatureStatusReleaseStatus.java | 6 +-
.../api/services/compute/model/Project.java | 36 +-
.../model/ProjectsGetXpnResources.java | 36 +-
.../compute/model/PublicAdvertisedPrefix.java | 54 +-
.../model/PublicAdvertisedPrefixList.java | 12 +-
.../compute/model/PublicDelegatedPrefix.java | 84 +-
.../PublicDelegatedPrefixAggregatedList.java | 21 +-
.../model/PublicDelegatedPrefixList.java | 12 +-
...legatedPrefixPublicDelegatedSubPrefix.java | 42 +-
.../api/services/compute/model/Reference.java | 6 +-
.../api/services/compute/model/Region.java | 28 +-
.../compute/model/RegionAutoscalerList.java | 12 +-
.../compute/model/RegionDiskTypeList.java | 15 +-
.../model/RegionInstanceGroupList.java | 50 +-
.../model/RegionInstanceGroupManagerList.java | 56 +-
...roupManagerResizeRequestsListResponse.java | 65 +-
...nceGroupManagersAdoptInstancesRequest.java | 72 +
...stanceGroupManagersListErrorsResponse.java | 24 +-
...eGroupManagersListInstanceConfigsResp.java | 38 +-
...nceGroupManagersListInstancesResponse.java | 24 +-
.../RegionInstanceGroupsListInstances.java | 50 +-
.../services/compute/model/RegionList.java | 12 +-
...PoliciesGetEffectiveFirewallsResponse.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 39 +-
.../services/compute/model/Reservation.java | 171 +-
.../model/ReservationAggregatedList.java | 18 +-
.../compute/model/ReservationBlock.java | 129 +-
.../ReservationBlockPhysicalTopology.java | 6 +-
...ervationBlockPhysicalTopologyInstance.java | 6 +-
.../compute/model/ReservationList.java | 15 +-
.../compute/model/ReservationParams.java | 78 +
.../compute/model/ReservationSlot.java | 315 +
.../ReservationSlotPhysicalTopology.java | 138 +
.../compute/model/ReservationSlotStatus.java | 114 +
.../model/ReservationSlotsGetResponse.java | 63 +
.../ReservationSlotsGetVersionRequest.java | 66 +
.../model/ReservationSlotsListResponse.java | 383 +
.../compute/model/ReservationSubBlock.java | 114 +-
...ReservationSubBlocksGetVersionRequest.java | 66 +
.../compute/model/ResourcePolicy.java | 42 +-
.../model/ResourcePolicyAggregatedList.java | 18 +-
.../model/ResourcePolicyDailyCycle.java | 12 +-
.../model/ResourcePolicyHourlyCycle.java | 12 +-
.../compute/model/ResourcePolicyList.java | 15 +-
.../model/ResourcePolicyResourceStatus.java | 15 +-
...rceStatusInstanceSchedulePolicyStatus.java | 21 +-
.../ResourcePolicyWeeklyCycleDayOfWeek.java | 12 +-
.../compute/model/ResourceStatus.java | 60 +-
...sourceStatusEffectiveInstanceMetadata.java | 24 +
...ourceStatusReservationConsumptionInfo.java | 9 +-
.../api/services/compute/model/Rollout.java | 38 +-
.../services/compute/model/RolloutPlan.java | 39 +-
...loutPlanWaveOrchestrationOptionsDelay.java | 6 +-
...ValidationTimeBasedValidationMetadata.java | 6 +-
.../model/RolloutPlansListResponse.java | 15 +-
.../compute/model/RolloutsListResponse.java | 15 +-
.../api/services/compute/model/Route.java | 156 +-
.../api/services/compute/model/RouteList.java | 12 +-
.../api/services/compute/model/Router.java | 12 +-
.../compute/model/RouterAggregatedList.java | 18 +-
.../services/compute/model/RouterBgpPeer.java | 36 +-
.../compute/model/RouterInterface.java | 36 +-
.../services/compute/model/RouterList.java | 12 +-
.../model/RouterStatusBgpPeerStatus.java | 126 +-
.../compute/model/RouterStatusNatStatus.java | 63 +-
.../RouterStatusNatStatusNatRuleStatus.java | 39 +-
.../compute/model/RouterStatusResponse.java | 6 +-
.../model/RoutersGetNamedSetResponse.java | 87 +
.../compute/model/RoutersListBgpRoutes.java | 21 +-
.../compute/model/RoutersListNamedSets.java | 431 +
.../model/RoutersListRoutePolicies.java | 24 +-
.../compute/model/SavedAttachedDisk.java | 57 +-
.../api/services/compute/model/SavedDisk.java | 48 +-
.../services/compute/model/Scheduling.java | 30 +
.../services/compute/model/Screenshot.java | 6 +-
.../model/SecurityPoliciesAggregatedList.java | 24 +-
.../compute/model/SecurityPolicy.java | 66 +-
.../model/SecurityPolicyAssociation.java | 18 +-
.../SecurityPolicyDdosProtectionConfig.java | 78 +
.../compute/model/SecurityPolicyList.java | 9 +-
.../compute/model/SecurityPolicyRule.java | 18 +-
...cyRulePreconfiguredWafConfigExclusion.java | 27 +
.../compute/model/SerialPortOutput.java | 15 +-
.../compute/model/ServiceAttachment.java | 69 +-
.../ServiceAttachmentAggregatedList.java | 18 +-
.../compute/model/ServiceAttachmentList.java | 9 +-
.../model/ShieldedInstanceIdentity.java | 12 +-
.../compute/model/ShieldedVmIdentity.java | 12 +-
.../api/services/compute/model/Snapshot.java | 318 +-
.../compute/model/SnapshotAggregatedList.java | 24 +-
.../services/compute/model/SnapshotGroup.java | 330 +
.../model/SnapshotGroupParameters.java | 132 +
.../model/SnapshotGroupSourceInfo.java | 84 +
...otGroupSourceInstantSnapshotGroupInfo.java | 84 +
.../services/compute/model/SnapshotList.java | 12 +-
.../compute/model/SnapshotParams.java | 24 +-
.../compute/model/SslCertificate.java | 36 +-
.../model/SslCertificateAggregatedList.java | 24 +-
.../compute/model/SslCertificateList.java | 12 +-
.../SslCertificateManagedSslCertificate.java | 15 +-
.../model/SslPoliciesAggregatedList.java | 24 +-
.../compute/model/SslPoliciesList.java | 51 +-
.../api/services/compute/model/SslPolicy.java | 72 +-
.../services/compute/model/StoragePool.java | 126 +-
.../model/StoragePoolAggregatedList.java | 24 +-
.../compute/model/StoragePoolDisk.java | 66 +-
...oragePoolExapoolProvisionedCapacityGb.java | 114 +
.../compute/model/StoragePoolList.java | 24 +-
.../compute/model/StoragePoolListDisks.java | 65 +-
.../compute/model/StoragePoolParams.java | 78 +
.../model/StoragePoolResourceStatus.java | 102 +-
.../compute/model/StoragePoolType.java | 15 +-
.../model/StoragePoolTypeAggregatedList.java | 12 +-
.../compute/model/StoragePoolTypeList.java | 15 +-
.../compute/model/StructuredEntries.java | 6 +-
.../services/compute/model/Subnetwork.java | 147 +-
.../model/SubnetworkAggregatedList.java | 24 +-
.../compute/model/SubnetworkList.java | 15 +-
.../model/SubnetworkSecondaryRange.java | 57 +-
.../compute/model/TargetGrpcProxy.java | 39 +-
.../compute/model/TargetGrpcProxyList.java | 9 +-
.../compute/model/TargetHttpProxy.java | 27 +-
.../model/TargetHttpProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpProxyList.java | 15 +-
.../compute/model/TargetHttpsProxy.java | 27 +-
.../model/TargetHttpsProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpsProxyList.java | 15 +-
.../compute/model/TargetInstance.java | 27 +-
.../model/TargetInstanceAggregatedList.java | 18 +-
.../compute/model/TargetInstanceList.java | 12 +-
.../services/compute/model/TargetPool.java | 18 +-
.../model/TargetPoolAggregatedList.java | 24 +-
.../model/TargetPoolInstanceHealth.java | 12 +-
.../compute/model/TargetPoolList.java | 15 +-
.../compute/model/TargetSslProxy.java | 15 +-
.../compute/model/TargetSslProxyList.java | 12 +-
.../compute/model/TargetTcpProxy.java | 51 +-
.../model/TargetTcpProxyAggregatedList.java | 24 +-
.../compute/model/TargetTcpProxyList.java | 12 +-
.../compute/model/TargetVpnGateway.java | 42 +-
.../model/TargetVpnGatewayAggregatedList.java | 21 +-
.../compute/model/TargetVpnGatewayList.java | 15 +-
.../compute/model/TargetVpnGatewayParams.java | 87 +
.../api/services/compute/model/UrlMap.java | 30 +-
.../services/compute/model/UrlMapList.java | 12 +-
.../compute/model/UrlMapsAggregatedList.java | 18 +-
.../compute/model/UsableSubnetwork.java | 12 +-
.../model/UsableSubnetworkSecondaryRange.java | 9 +-
.../UsableSubnetworksAggregatedList.java | 30 +-
.../compute/model/VmEndpointNatMappings.java | 6 +-
...dpointNatMappingsInterfaceNatMappings.java | 72 +-
...gsInterfaceNatMappingsNatRuleMappings.java | 66 +-
.../model/VmEndpointNatMappingsList.java | 18 +-
.../compute/model/VmExtensionPolicy.java | 72 +-
...ExtensionPolicyAggregatedListResponse.java | 24 +-
.../compute/model/VmExtensionPolicyList.java | 74 +-
.../services/compute/model/VpnGateway.java | 60 +-
.../model/VpnGatewayAggregatedList.java | 18 +-
.../compute/model/VpnGatewayList.java | 12 +-
.../compute/model/VpnGatewayParams.java | 87 +
.../compute/model/VpnGatewayStatus.java | 6 +-
.../compute/model/VpnGatewayStatusTunnel.java | 24 +-
.../model/VpnGatewayStatusVpnConnection.java | 24 +-
.../model/VpnGatewayVpnGatewayInterface.java | 66 +-
.../api/services/compute/model/VpnTunnel.java | 66 +-
.../model/VpnTunnelAggregatedList.java | 18 +-
.../services/compute/model/VpnTunnelList.java | 12 +-
.../compute/model/VpnTunnelParams.java | 87 +
.../api/services/compute/model/Wire.java | 48 +-
.../api/services/compute/model/WireGroup.java | 48 +-
.../services/compute/model/WireGroupList.java | 15 +-
.../compute/model/WireGroupTopology.java | 6 +-
.../model/WireGroupTopologyEndpoint.java | 18 +-
.../compute/model/WorkloadIdentityConfig.java | 84 +
.../services/compute/model/XpnHostList.java | 15 +-
.../api/services/compute/model/Zone.java | 12 +-
.../api/services/compute/model/ZoneList.java | 12 +-
.../beta/2.0.0/pom.xml | 4 +-
.../v1/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 45843 ++++--
.../compute/model/AcceleratorType.java | 15 +-
.../model/AcceleratorTypeAggregatedList.java | 24 +-
.../compute/model/AcceleratorTypeList.java | 18 +-
.../services/compute/model/AccessConfig.java | 6 +-
.../api/services/compute/model/Address.java | 108 +-
.../compute/model/AddressAggregatedList.java | 24 +-
.../services/compute/model/AddressList.java | 12 +-
.../model/AllocationAggregateReservation.java | 6 +-
...UAllocationReservedInstanceProperties.java | 2 +-
.../AllocationSpecificSKUReservation.java | 12 +-
.../services/compute/model/AttachedDisk.java | 60 +-
.../model/AttachedDiskInitializeParams.java | 24 +-
.../services/compute/model/Autoscaler.java | 75 +-
.../model/AutoscalerAggregatedList.java | 27 +-
.../compute/model/AutoscalerList.java | 15 +-
.../api/services/compute/model/Backend.java | 24 +
.../BackendBackendOrchestrationInfo.java | 66 +
.../services/compute/model/BackendBucket.java | 12 +-
.../compute/model/BackendBucketList.java | 12 +-
.../compute/model/BackendBucketUsedBy.java | 6 +-
.../compute/model/BackendService.java | 93 +-
.../model/BackendServiceAggregatedList.java | 18 +-
.../model/BackendServiceFailoverPolicy.java | 6 +-
.../model/BackendServiceGroupHealth.java | 12 +-
.../compute/model/BackendServiceIAP.java | 6 +-
.../compute/model/BackendServiceList.java | 15 +-
.../model/BackendServiceListUsable.java | 18 +-
...viceNetworkPassThroughLbTrafficPolicy.java | 69 +
...ssThroughLbTrafficPolicyZonalAffinity.java | 135 +
.../BackendServiceOrchestrationInfo.java | 66 +
.../compute/model/BackendServiceUsedBy.java | 12 +-
.../api/services/compute/model/BgpRoute.java | 30 +-
.../compute/model/BgpRouteAsPath.java | 30 +-
.../model/BulkInsertInstanceResource.java | 24 +
...InstanceResourcePerInstanceProperties.java | 6 +-
.../compute/model/BundledLocalSsds.java | 90 +
.../model/CalendarModeAdviceRequest.java | 72 +
.../model/CalendarModeAdviceResponse.java | 71 +
.../model/CalendarModeRecommendation.java | 70 +
.../services/compute/model/Commitment.java | 105 +-
.../model/CommitmentAggregatedList.java | 24 +-
.../compute/model/CommitmentList.java | 15 +-
.../model/CommitmentResourceStatus.java | 18 +-
.../compute/model/CompositeHealthCheck.java | 397 +
.../CompositeHealthCheckAggregatedList.java | 401 +
.../model/CompositeHealthCheckList.java | 386 +
.../CompositeHealthChecksScopedList.java | 281 +
.../compute/model/CrossSiteNetwork.java | 33 +-
.../compute/model/CrossSiteNetworkList.java | 18 +-
.../api/services/compute/model/Disk.java | 219 +-
.../compute/model/DiskAggregatedList.java | 24 +-
.../compute/model/DiskAsyncReplication.java | 54 +-
.../api/services/compute/model/DiskList.java | 12 +-
.../services/compute/model/DiskParams.java | 24 +-
.../api/services/compute/model/DiskType.java | 6 +-
.../compute/model/DiskTypeAggregatedList.java | 18 +-
.../services/compute/model/DiskTypeList.java | 12 +-
.../compute/model/DistributionPolicy.java | 18 +-
.../model/ExchangedPeeringRoutesList.java | 18 +-
.../compute/model/ExternalVpnGateway.java | 57 +-
.../compute/model/ExternalVpnGatewayList.java | 12 +-
.../model/ExternalVpnGatewayParams.java | 87 +
.../api/services/compute/model/Firewall.java | 21 +-
.../services/compute/model/FirewallList.java | 15 +-
...ewallPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/FirewallPolicy.java | 63 +-
.../model/FirewallPolicyAssociation.java | 12 +-
.../compute/model/FirewallPolicyList.java | 9 +-
.../compute/model/FirewallPolicyRule.java | 18 +-
.../model/FirewallPolicyRuleMatcher.java | 54 +
.../model/FirewallPolicyRuleSecureTag.java | 12 +-
.../compute/model/FixedOrPercent.java | 9 +-
.../compute/model/FlexibleTimeRange.java | 129 +
.../compute/model/ForwardingRule.java | 63 +-
.../model/ForwardingRuleAggregatedList.java | 24 +-
.../compute/model/ForwardingRuleList.java | 12 +-
.../compute/model/FutureReservation.java | 75 +-
.../model/FutureReservationStatus.java | 81 +-
...vationStatusExistingMatchingUsageInfo.java | 12 +-
...reReservationStatusLastKnownGoodState.java | 45 +-
...tKnownGoodStateFutureReservationSpecs.java | 18 +-
...ureReservationsAggregatedListResponse.java | 27 +-
.../model/FutureReservationsListResponse.java | 24 +-
.../model/FutureResourcesRecommendation.java | 186 +
...eResourcesRecommendationOtherLocation.java | 97 +
.../compute/model/FutureResourcesSpec.java | 148 +
...FutureResourcesSpecAggregateResources.java | 117 +
.../FutureResourcesSpecLocalSsdPartition.java | 90 +
.../FutureResourcesSpecLocationPolicy.java | 72 +
...reResourcesSpecLocationPolicyLocation.java | 66 +
...tureResourcesSpecSpecificSKUResources.java | 132 +
.../FutureResourcesSpecTargetResources.java | 84 +
.../model/GetVersionOperationMetadata.java | 63 +
.../GetVersionOperationMetadataSbomInfo.java | 96 +
.../compute/model/GuestAttributes.java | 27 +-
.../HealthAggregationPoliciesScopedList.java | 276 +
.../model/HealthAggregationPolicy.java | 451 +
...HealthAggregationPolicyAggregatedList.java | 407 +
.../model/HealthAggregationPolicyList.java | 386 +
.../services/compute/model/HealthCheck.java | 21 +-
.../compute/model/HealthCheckList.java | 12 +-
.../compute/model/HealthCheckService.java | 48 +-
.../HealthCheckServiceAggregatedList.java | 401 +
.../model/HealthCheckServicesList.java | 54 +-
.../model/HealthCheckServicesScopedList.java | 278 +
.../model/HealthChecksAggregatedList.java | 18 +-
.../services/compute/model/HealthSource.java | 420 +
.../model/HealthSourceAggregatedList.java | 401 +
.../compute/model/HealthSourceList.java | 383 +
.../model/HealthSourcesScopedList.java | 278 +
.../compute/model/HttpHeaderMatch.java | 6 +-
.../compute/model/HttpHealthCheck.java | 9 +-
.../compute/model/HttpHealthCheckList.java | 12 +-
.../model/HttpQueryParameterMatch.java | 6 +-
.../compute/model/HttpRouteRuleMatch.java | 72 +-
.../compute/model/HttpsHealthCheck.java | 6 +-
.../compute/model/HttpsHealthCheckList.java | 12 +-
.../api/services/compute/model/Image.java | 150 +-
.../api/services/compute/model/ImageList.java | 12 +-
.../services/compute/model/ImageParams.java | 24 +-
.../api/services/compute/model/Instance.java | 168 +-
.../compute/model/InstanceAggregatedList.java | 24 +-
.../model/InstanceConsumptionData.java | 12 +-
.../model/InstanceConsumptionInfo.java | 24 +-
.../model/InstanceFlexibilityPolicy.java | 75 +
...nceFlexibilityPolicyInstanceSelection.java | 134 +
.../services/compute/model/InstanceGroup.java | 98 +-
.../model/InstanceGroupAggregatedList.java | 62 +-
.../compute/model/InstanceGroupList.java | 56 +-
.../compute/model/InstanceGroupManager.java | 123 +-
.../InstanceGroupManagerActionsSummary.java | 192 +-
.../InstanceGroupManagerAggregatedList.java | 65 +-
...ceGroupManagerInstanceLifecyclePolicy.java | 39 +
.../model/InstanceGroupManagerList.java | 56 +-
.../InstanceGroupManagerResizeRequest.java | 93 +-
...stanceGroupManagerResizeRequestStatus.java | 64 +-
...ManagerResizeRequestStatusLastAttempt.java | 8 +-
...roupManagerResizeRequestsListResponse.java | 56 +-
.../model/InstanceGroupManagerStatus.java | 138 +-
...GroupManagerStatusAcceleratorTopology.java | 117 +
...pologyAcceleratorTopologyStateDetails.java | 370 +
...eGroupManagerStatusAllInstancesConfig.java | 24 +-
...oupManagerStatusBulkInstanceOperation.java | 91 +
...ulkInstanceOperationLastProgressCheck.java | 368 +
...oupManagerStatusInstanceStatusSummary.java | 404 +
.../InstanceGroupManagerStatusStateful.java | 36 +-
...nagerStatusStatefulPerInstanceConfigs.java | 15 +-
...stanceGroupManagerStatusVersionTarget.java | 18 +-
.../InstanceGroupManagerTargetSizePolicy.java | 69 +
...stanceGroupManagersListErrorsResponse.java | 30 +-
...pManagersListManagedInstancesResponse.java | 30 +-
...oupManagersListPerInstanceConfigsResp.java | 38 +-
.../InstanceGroupManagersScopedList.java | 28 +-
.../model/InstanceGroupsListInstances.java | 59 +-
.../model/InstanceGroupsScopedList.java | 22 +-
.../services/compute/model/InstanceList.java | 15 +-
.../compute/model/InstanceListReferrers.java | 18 +-
.../model/InstanceManagedByIgmError.java | 27 +-
...anagedByIgmErrorInstanceActionDetails.java | 42 +-
...ManagedByIgmErrorManagedInstanceError.java | 12 +-
.../compute/model/InstanceParams.java | 24 +-
.../compute/model/InstanceProperties.java | 69 +-
.../compute/model/InstanceSettings.java | 21 +-
.../model/InstanceSettingsMetadata.java | 6 +-
.../compute/model/InstanceTemplate.java | 51 +-
.../model/InstanceTemplateAggregatedList.java | 12 +-
.../compute/model/InstanceTemplateList.java | 18 +-
.../compute/model/InstanceWithNamedPorts.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
.../compute/model/InstantSnapshot.java | 150 +-
.../model/InstantSnapshotAggregatedList.java | 24 +-
.../compute/model/InstantSnapshotList.java | 12 +-
.../compute/model/InstantSnapshotParams.java | 78 +
.../services/compute/model/Interconnect.java | 195 +-
.../compute/model/InterconnectAttachment.java | 411 +-
.../InterconnectAttachmentAggregatedList.java | 24 +-
...ectAttachmentConfigurationConstraints.java | 33 +-
.../model/InterconnectAttachmentGroup.java | 30 +-
...redAvailabilitySLAIntendedSlaBlockers.java | 78 +-
...AttachmentGroupLogicalStructureRegion.java | 6 +-
...hmentGroupLogicalStructureRegionMetro.java | 12 +-
...upLogicalStructureRegionMetroFacility.java | 6 +-
...gicalStructureRegionMetroFacilityZone.java | 18 +-
...erconnectAttachmentGroupsListResponse.java | 9 +-
...nectAttachmentGroupsOperationalStatus.java | 12 +-
...oupsOperationalStatusAttachmentStatus.java | 42 +-
.../model/InterconnectAttachmentList.java | 18 +-
.../compute/model/InterconnectGroup.java | 30 +-
...yCapabilityIntendedCapabilityBlockers.java | 66 +-
...erconnectGroupPhysicalStructureMetros.java | 12 +-
...roupPhysicalStructureMetrosFacilities.java | 12 +-
...hysicalStructureMetrosFacilitiesZones.java | 24 +-
.../model/InterconnectGroupsListResponse.java | 9 +-
.../InterconnectGroupsOperationalStatus.java | 24 +-
...psOperationalStatusInterconnectStatus.java | 27 +-
.../compute/model/InterconnectList.java | 15 +-
.../compute/model/InterconnectLocation.java | 123 +-
...nectLocationCrossSiteInterconnectInfo.java | 15 +-
.../model/InterconnectLocationList.java | 18 +-
.../model/InterconnectLocationRegionInfo.java | 36 +-
.../model/InterconnectRemoteLocation.java | 216 +-
...InterconnectRemoteLocationConstraints.java | 30 +-
.../model/InterconnectRemoteLocationList.java | 18 +-
...ectRemoteLocationPermittedConnections.java | 12 +-
.../api/services/compute/model/License.java | 57 +-
.../services/compute/model/LicenseCode.java | 63 +-
.../model/LicenseCodeLicenseAlias.java | 12 +-
.../services/compute/model/LicenseParams.java | 78 +
.../compute/model/LicensesListResponse.java | 6 +-
.../compute/model/LocationPolicy.java | 48 +-
.../LocationPolicyZoneConfiguration.java | 69 +
.../services/compute/model/MachineImage.java | 102 +-
.../compute/model/MachineImageList.java | 18 +-
.../compute/model/MachineImageParams.java | 78 +
.../services/compute/model/MachineType.java | 33 +-
.../model/MachineTypeAggregatedList.java | 24 +-
.../compute/model/MachineTypeList.java | 15 +-
.../compute/model/ManagedInstance.java | 177 +-
.../model/ManagedInstanceInstanceHealth.java | 15 +-
.../model/ManagedInstanceLastAttempt.java | 12 +-
...stancePropertiesFromFlexibilityPolicy.java | 6 +-
.../compute/model/ManagedInstanceVersion.java | 18 +-
.../api/services/compute/model/Metadata.java | 6 +-
.../api/services/compute/model/NatIpInfo.java | 12 +-
.../model/NatIpInfoNatIpInfoMapping.java | 18 +-
.../api/services/compute/model/Network.java | 39 +-
.../compute/model/NetworkAttachment.java | 90 +-
.../NetworkAttachmentConnectedEndpoint.java | 9 +-
.../model/NetworkEdgeSecurityService.java | 45 +-
...workEdgeSecurityServiceAggregatedList.java | 27 +-
.../compute/model/NetworkEndpointGroup.java | 57 +-
.../NetworkEndpointGroupAggregatedList.java | 27 +-
.../model/NetworkEndpointGroupList.java | 18 +-
.../model/NetworkEndpointGroupPscData.java | 24 +-
...orkEndpointGroupsListNetworkEndpoints.java | 6 +-
.../NetworkEndpointGroupsScopedList.java | 22 +-
.../NetworkEndpointWithHealthStatus.java | 12 +-
.../NetworkFirewallPolicyAggregatedList.java | 24 +-
.../compute/model/NetworkInterface.java | 48 +-
.../services/compute/model/NetworkList.java | 12 +-
.../compute/model/NetworkPeering.java | 27 +-
.../compute/model/NetworkProfile.java | 66 +-
.../model/NetworkProfileNetworkFeatures.java | 201 +-
...workFeaturesPredefinedSubnetworkRange.java | 90 +
.../model/NetworkProfilesListResponse.java | 24 +-
.../compute/model/NetworkRoutingConfig.java | 12 +-
...ewallsResponseEffectiveFirewallPolicy.java | 45 +-
.../api/services/compute/model/NodeGroup.java | 42 +-
.../model/NodeGroupAggregatedList.java | 24 +-
.../services/compute/model/NodeGroupList.java | 15 +-
.../model/NodeGroupMaintenanceWindow.java | 12 +-
.../services/compute/model/NodeGroupNode.java | 30 +-
.../compute/model/NodeGroupsListNodes.java | 56 +-
.../services/compute/model/NodeTemplate.java | 57 +-
.../model/NodeTemplateAggregatedList.java | 24 +-
.../compute/model/NodeTemplateList.java | 15 +-
.../api/services/compute/model/NodeType.java | 27 +-
.../compute/model/NodeTypeAggregatedList.java | 24 +-
.../services/compute/model/NodeTypeList.java | 15 +-
.../compute/model/NotificationEndpoint.java | 51 +-
.../NotificationEndpointAggregatedList.java | 401 +
.../model/NotificationEndpointList.java | 12 +-
.../NotificationEndpointsScopedList.java | 278 +
.../api/services/compute/model/Operation.java | 54 +-
.../model/OperationAggregatedList.java | 18 +-
.../services/compute/model/OperationList.java | 9 +-
...urityPoliciesListAssociationsResponse.java | 6 +-
.../compute/model/PacketMirroring.java | 30 +-
.../model/PacketMirroringAggregatedList.java | 18 +-
.../PacketMirroringForwardingRuleInfo.java | 6 +-
.../compute/model/PacketMirroringList.java | 15 +-
...oringMirroredResourceInfoInstanceInfo.java | 6 +-
...rroringMirroredResourceInfoSubnetInfo.java | 6 +-
.../model/PacketMirroringNetworkInfo.java | 6 +-
.../compute/model/PartnerMetadata.java | 128 +
.../services/compute/model/PathMatcher.java | 21 +-
.../compute/model/PreviewFeature.java | 42 +-
.../compute/model/PreviewFeatureList.java | 15 +-
.../compute/model/PreviewFeatureStatus.java | 12 +-
.../PreviewFeatureStatusReleaseStatus.java | 6 +-
.../api/services/compute/model/Project.java | 24 +-
.../model/ProjectsGetXpnResources.java | 36 +-
.../compute/model/PublicAdvertisedPrefix.java | 54 +-
.../model/PublicAdvertisedPrefixList.java | 12 +-
.../compute/model/PublicDelegatedPrefix.java | 99 +-
.../PublicDelegatedPrefixAggregatedList.java | 21 +-
.../model/PublicDelegatedPrefixList.java | 12 +-
...legatedPrefixPublicDelegatedSubPrefix.java | 57 +-
.../api/services/compute/model/Reference.java | 6 +-
.../api/services/compute/model/Region.java | 28 +-
.../compute/model/RegionAutoscalerList.java | 12 +-
.../compute/model/RegionDiskTypeList.java | 15 +-
.../model/RegionInstanceGroupList.java | 50 +-
.../model/RegionInstanceGroupManagerList.java | 56 +-
...roupManagerResizeRequestsListResponse.java | 434 +
...stanceGroupManagersListErrorsResponse.java | 24 +-
...eGroupManagersListInstanceConfigsResp.java | 38 +-
...nceGroupManagersListInstancesResponse.java | 24 +-
.../RegionInstanceGroupsListInstances.java | 50 +-
.../services/compute/model/RegionList.java | 12 +-
...PoliciesGetEffectiveFirewallsResponse.java | 18 +-
...ewallsResponseEffectiveFirewallPolicy.java | 39 +-
.../services/compute/model/Reservation.java | 165 +-
.../model/ReservationAggregatedList.java | 18 +-
.../compute/model/ReservationBlock.java | 144 +-
.../ReservationBlockPhysicalTopology.java | 6 +-
...ervationBlockPhysicalTopologyInstance.java | 6 +-
.../compute/model/ReservationList.java | 15 +-
.../compute/model/ReservationParams.java | 78 +
.../compute/model/ReservationSlot.java | 315 +
.../ReservationSlotPhysicalTopology.java | 138 +
.../compute/model/ReservationSlotStatus.java | 114 +
.../model/ReservationSlotsGetResponse.java | 63 +
.../ReservationSlotsGetVersionRequest.java | 66 +
.../model/ReservationSlotsListResponse.java | 383 +
.../compute/model/ReservationSubBlock.java | 129 +-
...ReservationSubBlocksGetVersionRequest.java | 66 +
.../compute/model/ResourcePolicy.java | 42 +-
.../model/ResourcePolicyAggregatedList.java | 18 +-
.../model/ResourcePolicyDailyCycle.java | 12 +-
.../ResourcePolicyGroupPlacementPolicy.java | 27 +
.../model/ResourcePolicyHourlyCycle.java | 12 +-
.../compute/model/ResourcePolicyList.java | 15 +-
.../model/ResourcePolicyResourceStatus.java | 15 +-
...rceStatusInstanceSchedulePolicyStatus.java | 21 +-
.../ResourcePolicyWeeklyCycleDayOfWeek.java | 12 +-
.../model/ResourcePolicyWorkloadPolicy.java | 27 +
.../compute/model/ResourceStatus.java | 54 +-
...sourceStatusEffectiveInstanceMetadata.java | 24 +
...ourceStatusReservationConsumptionInfo.java | 9 +-
.../api/services/compute/model/Route.java | 168 +-
.../api/services/compute/model/RouteList.java | 12 +-
.../api/services/compute/model/Router.java | 12 +-
.../compute/model/RouterAggregatedList.java | 18 +-
.../services/compute/model/RouterBgpPeer.java | 36 +-
.../compute/model/RouterInterface.java | 36 +-
.../services/compute/model/RouterList.java | 12 +-
.../model/RouterStatusBgpPeerStatus.java | 126 +-
.../compute/model/RouterStatusNatStatus.java | 63 +-
.../RouterStatusNatStatusNatRuleStatus.java | 39 +-
.../compute/model/RouterStatusResponse.java | 6 +-
.../compute/model/RoutersListBgpRoutes.java | 21 +-
.../model/RoutersListRoutePolicies.java | 24 +-
.../compute/model/SavedAttachedDisk.java | 57 +-
.../api/services/compute/model/SavedDisk.java | 48 +-
.../services/compute/model/Screenshot.java | 6 +-
.../model/SecurityPoliciesAggregatedList.java | 24 +-
.../compute/model/SecurityPolicy.java | 48 +-
.../SecurityPolicyAdvancedOptionsConfig.java | 27 +
.../model/SecurityPolicyAssociation.java | 18 +-
.../compute/model/SecurityPolicyList.java | 9 +-
.../compute/model/SecurityPolicyRule.java | 9 +-
.../compute/model/SerialPortOutput.java | 15 +-
.../compute/model/ServiceAttachment.java | 69 +-
.../ServiceAttachmentAggregatedList.java | 18 +-
.../ServiceAttachmentConnectedEndpoint.java | 24 +
...ServiceAttachmentConsumerProjectLimit.java | 24 +
.../compute/model/ServiceAttachmentList.java | 9 +-
.../model/ShieldedInstanceIdentity.java | 12 +-
.../api/services/compute/model/Snapshot.java | 231 +-
.../services/compute/model/SnapshotList.java | 12 +-
.../compute/model/SnapshotParams.java | 24 +-
.../model/SourceInstanceProperties.java | 24 +
.../compute/model/SslCertificate.java | 36 +-
.../model/SslCertificateAggregatedList.java | 24 +-
.../compute/model/SslCertificateList.java | 12 +-
.../SslCertificateManagedSslCertificate.java | 15 +-
.../model/SslPoliciesAggregatedList.java | 24 +-
.../compute/model/SslPoliciesList.java | 51 +-
.../api/services/compute/model/SslPolicy.java | 72 +-
.../services/compute/model/StoragePool.java | 126 +-
.../model/StoragePoolAggregatedList.java | 24 +-
.../compute/model/StoragePoolDisk.java | 66 +-
...oragePoolExapoolProvisionedCapacityGb.java | 114 +
.../compute/model/StoragePoolList.java | 24 +-
.../compute/model/StoragePoolListDisks.java | 65 +-
.../compute/model/StoragePoolParams.java | 78 +
.../model/StoragePoolResourceStatus.java | 102 +-
.../compute/model/StoragePoolType.java | 15 +-
.../model/StoragePoolTypeAggregatedList.java | 12 +-
.../compute/model/StoragePoolTypeList.java | 15 +-
.../compute/model/StructuredEntries.java | 69 +
.../services/compute/model/Subnetwork.java | 222 +-
.../model/SubnetworkAggregatedList.java | 24 +-
.../compute/model/SubnetworkList.java | 15 +-
.../model/SubnetworkSecondaryRange.java | 57 +-
.../compute/model/TargetGrpcProxy.java | 39 +-
.../compute/model/TargetGrpcProxyList.java | 9 +-
.../compute/model/TargetHttpProxy.java | 27 +-
.../model/TargetHttpProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpProxyList.java | 15 +-
.../compute/model/TargetHttpsProxy.java | 27 +-
.../model/TargetHttpsProxyAggregatedList.java | 24 +-
.../compute/model/TargetHttpsProxyList.java | 15 +-
.../compute/model/TargetInstance.java | 27 +-
.../model/TargetInstanceAggregatedList.java | 18 +-
.../compute/model/TargetInstanceList.java | 12 +-
.../services/compute/model/TargetPool.java | 18 +-
.../model/TargetPoolAggregatedList.java | 24 +-
.../model/TargetPoolInstanceHealth.java | 12 +-
.../compute/model/TargetPoolList.java | 15 +-
.../compute/model/TargetSslProxy.java | 15 +-
.../compute/model/TargetSslProxyList.java | 12 +-
.../compute/model/TargetTcpProxy.java | 27 +-
.../model/TargetTcpProxyAggregatedList.java | 24 +-
.../compute/model/TargetTcpProxyList.java | 12 +-
.../compute/model/TargetVpnGateway.java | 42 +-
.../model/TargetVpnGatewayAggregatedList.java | 21 +-
.../compute/model/TargetVpnGatewayList.java | 15 +-
.../compute/model/TargetVpnGatewayParams.java | 87 +
.../api/services/compute/model/UrlMap.java | 30 +-
.../services/compute/model/UrlMapList.java | 12 +-
.../compute/model/UrlMapsAggregatedList.java | 18 +-
.../compute/model/UsableSubnetwork.java | 12 +-
.../model/UsableSubnetworkSecondaryRange.java | 9 +-
.../UsableSubnetworksAggregatedList.java | 30 +-
.../compute/model/VmEndpointNatMappings.java | 6 +-
...dpointNatMappingsInterfaceNatMappings.java | 72 +-
...gsInterfaceNatMappingsNatRuleMappings.java | 66 +-
.../model/VmEndpointNatMappingsList.java | 18 +-
.../compute/model/VmExtensionPolicy.java | 414 +
.../VmExtensionPolicyExtensionPolicy.java | 93 +
.../VmExtensionPolicyInstanceSelector.java | 66 +
.../model/VmExtensionPolicyLabelSelector.java | 87 +
.../compute/model/VmExtensionPolicyList.java | 449 +
.../services/compute/model/VpnGateway.java | 60 +-
.../model/VpnGatewayAggregatedList.java | 18 +-
.../compute/model/VpnGatewayList.java | 12 +-
.../compute/model/VpnGatewayParams.java | 87 +
.../compute/model/VpnGatewayStatus.java | 6 +-
.../compute/model/VpnGatewayStatusTunnel.java | 24 +-
.../model/VpnGatewayStatusVpnConnection.java | 24 +-
.../model/VpnGatewayVpnGatewayInterface.java | 66 +-
.../api/services/compute/model/VpnTunnel.java | 39 +-
.../model/VpnTunnelAggregatedList.java | 18 +-
.../services/compute/model/VpnTunnelList.java | 12 +-
.../compute/model/VpnTunnelParams.java | 87 +
.../api/services/compute/model/Wire.java | 48 +-
.../api/services/compute/model/WireGroup.java | 48 +-
.../services/compute/model/WireGroupList.java | 15 +-
.../compute/model/WireGroupTopology.java | 6 +-
.../model/WireGroupTopologyEndpoint.java | 18 +-
.../compute/model/WorkloadIdentityConfig.java | 84 +
.../services/compute/model/XpnHostList.java | 15 +-
.../api/services/compute/model/Zone.java | 12 +-
.../api/services/compute/model/ZoneList.java | 12 +-
.../v1/2.0.0/pom.xml | 4 +-
1480 files changed, 161509 insertions(+), 91156 deletions(-)
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwardingForwardProxy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyCacheKeyPolicy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyNegativeCachingPolicy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CommitmentParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CompositeHealthCheckHealth.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CompositeHealthChecksGetHealthResponseHealthSourceHealth.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/DateTime.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/DiskConvertParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/DiskUpdateKmsKeyRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/DisksConvertRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FirewallPolicyRolloutOperation.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FirewallPolicyRolloutOperationRolloutInput.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FirewallPolicyRolloutOperationRolloutStatus.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FirewallPolicyRolloutOperationRolloutStatusNextRollout.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ForwardingRuleAttachedExtension.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/FutureReservationParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadata.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadataSbomInfo.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/GlobalListVmExtensionsResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/GlobalVmExtension.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/HealthSourceHealth.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/HealthSourcesGetHealthResponseSourceInfo.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/HealthSourcesGetHealthResponseSourceInfoBackendInfo.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ImageOptimizationPolicy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopology.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusInstanceStatusSummary.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersConfigureAcceleratorTopologiesRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersConfigureAcceleratorTopologiesRequestAcceleratorTopologyConfiguration.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/InstantSnapshotParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/LicenseParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ListVmExtensionStatesResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ListVmExtensionsResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/LocationPolicyZoneConfiguration.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/PeriodicPartialMaintenanceSchedule.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RegionDiskUpdateKmsKeyRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RegionInstanceGroupManagersAdoptInstancesRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RegionSnapshotUpdateKmsKeyRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlot.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlotPhysicalTopology.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlotStatus.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSlotsListResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ReservationSubBlocksGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/RolloutWaveDetailsOrchestratedWaveDetailsLocationStatus.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SnapshotRecycleBinPolicy.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SnapshotRecycleBinPolicyRule.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SnapshotRecycleBinPolicyRuleRuleConfig.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SnapshotUpdateKmsKeyRequest.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/SnapshotsGetEffectiveRecycleBinRuleResponse.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/StoragePoolParams.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/TimeZone.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/VmExtension.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/VmExtensionState.java
create mode 100644 clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/ZoneResourceStatus.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwardingForwardProxy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/CachePolicy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/CachePolicyCacheKeyPolicy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/CachePolicyNegativeCachingPolicy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ExternalVpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadata.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadataSbomInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/GlobalVmExtensionPolicyRolloutOperationRolloutStatusRolloutMetadataLocationRolloutStatus.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/HealthCheckServiceAggregatedList.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/HealthCheckServicesScopedList.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicy.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopology.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusInstanceStatusSummary.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersConfigureAcceleratorTopologiesRequest.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersConfigureAcceleratorTopologiesRequestAcceleratorTopologyConfiguration.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstanceGroupManagersGetAvailableAcceleratorTopologiesResponseAcceleratorTopologyState.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstantSnapshotGroup.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstantSnapshotGroupParameters.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstantSnapshotGroupResourceStatus.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstantSnapshotGroupSourceInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/InstantSnapshotParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/LicenseParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ListInstantSnapshotGroups.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ListSnapshotGroups.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/LocationPolicyZoneConfiguration.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MultiMigMember.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MultiMigMemberList.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/MultiMigMemberStatus.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NamedSet.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworksCancelRequestRemovePeeringRequest.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NotificationEndpointAggregatedList.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NotificationEndpointsScopedList.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RegionInstanceGroupManagersAdoptInstancesRequest.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlot.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlotPhysicalTopology.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlotStatus.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetResponse.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSlotsListResponse.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ReservationSubBlocksGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RoutersGetNamedSetResponse.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/RoutersListNamedSets.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/SnapshotGroup.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/SnapshotGroupParameters.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/SnapshotGroupSourceInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/SnapshotGroupSourceInstantSnapshotGroupInfo.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/StoragePoolExapoolProvisionedCapacityGb.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/StoragePoolParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/TargetVpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/VpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/VpnTunnelParams.java
create mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/WorkloadIdentityConfig.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceNetworkPassThroughLbTrafficPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceNetworkPassThroughLbTrafficPolicyZonalAffinity.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/BundledLocalSsds.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CalendarModeAdviceRequest.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CalendarModeAdviceResponse.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CalendarModeRecommendation.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CompositeHealthCheck.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CompositeHealthCheckAggregatedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CompositeHealthCheckList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/CompositeHealthChecksScopedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ExternalVpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FlexibleTimeRange.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesRecommendation.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesRecommendationOtherLocation.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpec.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecAggregateResources.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecLocalSsdPartition.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecLocationPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecLocationPolicyLocation.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecSpecificSKUResources.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/FutureResourcesSpecTargetResources.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadata.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/GetVersionOperationMetadataSbomInfo.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthAggregationPoliciesScopedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthAggregationPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthAggregationPolicyAggregatedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthAggregationPolicyList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthCheckServiceAggregatedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthCheckServicesScopedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthSource.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthSourceAggregatedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthSourceList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/HealthSourcesScopedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceFlexibilityPolicyInstanceSelection.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopology.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusBulkInstanceOperation.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusBulkInstanceOperationLastProgressCheck.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerStatusInstanceStatusSummary.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerTargetSizePolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstantSnapshotParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/LicenseParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/LocationPolicyZoneConfiguration.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/MachineImageParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NotificationEndpointAggregatedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NotificationEndpointsScopedList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/PartnerMetadata.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/RegionInstanceGroupManagerResizeRequestsListResponse.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlot.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlotPhysicalTopology.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlotStatus.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetResponse.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlotsGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSlotsListResponse.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/ReservationSubBlocksGetVersionRequest.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/StoragePoolExapoolProvisionedCapacityGb.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/StoragePoolParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/StructuredEntries.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TargetVpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VmExtensionPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VmExtensionPolicyExtensionPolicy.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VmExtensionPolicyInstanceSelector.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VmExtensionPolicyLabelSelector.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VmExtensionPolicyList.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VpnGatewayParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/VpnTunnelParams.java
create mode 100644 clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/WorkloadIdentityConfig.java
diff --git a/clients/google-api-services-compute/alpha/2.0.0/README.md b/clients/google-api-services-compute/alpha/2.0.0/README.md
index 8ef38116729..4ef1d0164e1 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/README.md
+++ b/clients/google-api-services-compute/alpha/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-compute
- alpha-rev20251110-2.0.0
+ alpha-rev20260306-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-compute:alpha-rev20251110-2.0.0'
+ implementation 'com.google.apis:google-api-services-compute:alpha-rev20260306-2.0.0'
}
```
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java
index 9f7414d43f7..463e29ca229 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/Compute.java
@@ -103,7 +103,7 @@ public class Compute extends com.google.api.client.googleapis.services.json.Abst
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
*
* @param jsonFactory JSON factory, which may be:
@@ -15054,16 +15054,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -15502,16 +15502,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -17866,6 +17866,242 @@ public BulkSetLabels set(String parameterName, Object value) {
return (BulkSetLabels) super.set(parameterName, value);
}
}
+ /**
+ * Converts a persistent disk to support Gen4+ VMs.
+ *
+ * Create a request for the method "disks.convert".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Convert#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone The name of the zone for this request.
+ * @param disk Name of the Disk resource, should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.DisksConvertRequest}
+ * @return the request
+ */
+ public Convert convert(java.lang.String project, java.lang.String zone, java.lang.String disk, com.google.api.services.compute.model.DisksConvertRequest content) throws java.io.IOException {
+ Convert result = new Convert(project, zone, disk, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Convert extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/disks/{disk}/convert";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ /**
+ * Converts a persistent disk to support Gen4+ VMs.
+ *
+ * Create a request for the method "disks.convert".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Convert#execute()} method to invoke the remote operation.
+ * {@link
+ * Convert#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone The name of the zone for this request.
+ * @param disk Name of the Disk resource, should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.DisksConvertRequest}
+ * @since 1.13
+ */
+ protected Convert(java.lang.String project, java.lang.String zone, java.lang.String disk, com.google.api.services.compute.model.DisksConvertRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.disk = com.google.api.client.util.Preconditions.checkNotNull(disk, "Required parameter disk must be specified.");
+ }
+
+ @Override
+ public Convert set$Xgafv(java.lang.String $Xgafv) {
+ return (Convert) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Convert setAccessToken(java.lang.String accessToken) {
+ return (Convert) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Convert setAlt(java.lang.String alt) {
+ return (Convert) super.setAlt(alt);
+ }
+
+ @Override
+ public Convert setCallback(java.lang.String callback) {
+ return (Convert) super.setCallback(callback);
+ }
+
+ @Override
+ public Convert setFields(java.lang.String fields) {
+ return (Convert) super.setFields(fields);
+ }
+
+ @Override
+ public Convert setKey(java.lang.String key) {
+ return (Convert) super.setKey(key);
+ }
+
+ @Override
+ public Convert setOauthToken(java.lang.String oauthToken) {
+ return (Convert) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Convert setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Convert) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Convert setQuotaUser(java.lang.String quotaUser) {
+ return (Convert) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Convert setUploadType(java.lang.String uploadType) {
+ return (Convert) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Convert setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Convert) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Convert setUserIp(java.lang.String userIp) {
+ return (Convert) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public Convert setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** The name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** The name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** The name of the zone for this request. */
+ public Convert setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Name of the Disk resource, should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String disk;
+
+ /** Name of the Disk resource, should conform to RFC1035.
+ */
+ public java.lang.String getDisk() {
+ return disk;
+ }
+
+ /** Name of the Disk resource, should conform to RFC1035. */
+ public Convert setDisk(java.lang.String disk) {
+ this.disk = disk;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Convert setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Convert set(String parameterName, Object value) {
+ return (Convert) super.set(parameterName, value);
+ }
+ }
/**
* Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using
* snapshots.insert instead, as that method supports more features, such as creating snapshots in a
@@ -21589,8 +21825,7 @@ public TestIamPermissions set(String parameterName, Object value) {
}
/**
* Updates the specified disk with the data included in the request. The update is performed only on
- * selected fields included as part of update-mask. Only the following fields can be modified:
- * user_license.
+ * selected fields included as part of update-mask.
*
* Create a request for the method "disks.update".
*
@@ -21624,8 +21859,7 @@ public class Update extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/vmExtensions/{extensionName}";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Retrieves details of a specific VM extension.
+ *
+ * Create a request for the method "globalVmExtensionPolicies.getVmExtension".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
+ * {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Project ID for this request.
+ * @param extensionName
+ * @since 1.13
+ */
+ protected GetVmExtension(java.lang.String project, java.lang.String extensionName) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.GlobalVmExtension.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.extensionName = com.google.api.client.util.Preconditions.checkNotNull(extensionName, "Required parameter extensionName must be specified.");
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetVmExtension set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVmExtension) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVmExtension setAccessToken(java.lang.String accessToken) {
+ return (GetVmExtension) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVmExtension setAlt(java.lang.String alt) {
+ return (GetVmExtension) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVmExtension setCallback(java.lang.String callback) {
+ return (GetVmExtension) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVmExtension setFields(java.lang.String fields) {
+ return (GetVmExtension) super.setFields(fields);
+ }
+
+ @Override
+ public GetVmExtension setKey(java.lang.String key) {
+ return (GetVmExtension) super.setKey(key);
+ }
+
+ @Override
+ public GetVmExtension setOauthToken(java.lang.String oauthToken) {
+ return (GetVmExtension) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVmExtension setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVmExtension) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVmExtension setQuotaUser(java.lang.String quotaUser) {
+ return (GetVmExtension) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVmExtension setUploadType(java.lang.String uploadType) {
+ return (GetVmExtension) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVmExtension setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVmExtension) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVmExtension setUserIp(java.lang.String userIp) {
+ return (GetVmExtension) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public GetVmExtension setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ @com.google.api.client.util.Key
+ private java.lang.String extensionName;
+
+ /**
+
+ */
+ public java.lang.String getExtensionName() {
+ return extensionName;
+ }
+
+ public GetVmExtension setExtensionName(java.lang.String extensionName) {
+ this.extensionName = extensionName;
+ return this;
+ }
+
+ @Override
+ public GetVmExtension set(String parameterName, Object value) {
+ return (GetVmExtension) super.set(parameterName, value);
+ }
+ }
/**
* Creates a new project level GlobalVmExtensionPolicy.
*
@@ -44987,6 +45427,414 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
+ /**
+ * Lists all VM extensions within a specific zone for a project. This is a read-only API.
+ *
+ * Create a request for the method "globalVmExtensionPolicies.listVmExtensions".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation.
+ *
+ * @param project Required. Project ID for this request.
+ * @return the request
+ */
+ public ListVmExtensions listVmExtensions(java.lang.String project) throws java.io.IOException {
+ ListVmExtensions result = new ListVmExtensions(project);
+ initialize(result);
+ return result;
+ }
+
+ public class ListVmExtensions extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/vmExtensions";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Lists all VM extensions within a specific zone for a project. This is a read-only API.
+ *
+ * Create a request for the method "globalVmExtensionPolicies.listVmExtensions".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation.
+ * {@link ListVmExtensions#initialize(com.google.api.client.googleapis.services.AbstractGoogle
+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Required. Project ID for this request.
+ * @since 1.13
+ */
+ protected ListVmExtensions(java.lang.String project) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.GlobalListVmExtensionsResponse.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public ListVmExtensions set$Xgafv(java.lang.String $Xgafv) {
+ return (ListVmExtensions) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public ListVmExtensions setAccessToken(java.lang.String accessToken) {
+ return (ListVmExtensions) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public ListVmExtensions setAlt(java.lang.String alt) {
+ return (ListVmExtensions) super.setAlt(alt);
+ }
+
+ @Override
+ public ListVmExtensions setCallback(java.lang.String callback) {
+ return (ListVmExtensions) super.setCallback(callback);
+ }
+
+ @Override
+ public ListVmExtensions setFields(java.lang.String fields) {
+ return (ListVmExtensions) super.setFields(fields);
+ }
+
+ @Override
+ public ListVmExtensions setKey(java.lang.String key) {
+ return (ListVmExtensions) super.setKey(key);
+ }
+
+ @Override
+ public ListVmExtensions setOauthToken(java.lang.String oauthToken) {
+ return (ListVmExtensions) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public ListVmExtensions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ListVmExtensions) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public ListVmExtensions setQuotaUser(java.lang.String quotaUser) {
+ return (ListVmExtensions) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public ListVmExtensions setUploadType(java.lang.String uploadType) {
+ return (ListVmExtensions) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public ListVmExtensions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ListVmExtensions) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public ListVmExtensions setUserIp(java.lang.String userIp) {
+ return (ListVmExtensions) super.setUserIp(userIp);
+ }
+
+ /** Required. Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Required. Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Required. Project ID for this request. */
+ public ListVmExtensions setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public ListVmExtensions setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public ListVmExtensions setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public ListVmExtensions setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public ListVmExtensions setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean returnPartialSuccess;
+
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default
+ value is false.
+
+ For example, when partial success behavior is enabled, aggregatedList for a single zone scope
+ either returns all resources in the zone or no resources, with an error code.
+ */
+ public java.lang.Boolean getReturnPartialSuccess() {
+ return returnPartialSuccess;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ public ListVmExtensions setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
+ this.returnPartialSuccess = returnPartialSuccess;
+ return this;
+ }
+
+ @Override
+ public ListVmExtensions set(String parameterName, Object value) {
+ return (ListVmExtensions) super.set(parameterName, value);
+ }
+ }
/**
* Updates a global VM extension policy.
*
@@ -47173,16 +48021,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -57514,15 +58362,13 @@ public ApplyUpdatesToInstances set(String parameterName, Object value) {
}
}
/**
- * Creates instances with per-instance configurations in this managed instance group. Instances are
- * created using the current instance template. Thecreate instances operation is marked DONE if
- * thecreateInstances request is successful. The underlying actions take additional time. You must
- * separately verify the status of thecreating or actions with the listmanagedinstances method.
+ * Updates the accelerator topologies configuration.
*
- * Create a request for the method "instanceGroupManagers.createInstances".
+ * Create a request for the method "instanceGroupManagers.configureAcceleratorTopologies".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link CreateInstances#execute()} method to invoke the remote operation.
+ * parameters, call the {@link ConfigureAcceleratorTopologies#execute()} method to invoke the remote
+ * operation.
*
* @param project Project ID for this request.
* @param zone The name of thezone
@@ -57530,36 +58376,32 @@ public ApplyUpdatesToInstances set(String parameterName, Object value) {
It should conform to RFC1035.
* @param instanceGroupManager The name of the managed instance group.
It should conform to RFC1035.
- * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersCreateInstancesRequest}
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersConfigureAcceleratorTopologiesRequest}
* @return the request
*/
- public CreateInstances createInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersCreateInstancesRequest content) throws java.io.IOException {
- CreateInstances result = new CreateInstances(project, zone, instanceGroupManager, content);
+ public ConfigureAcceleratorTopologies configureAcceleratorTopologies(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersConfigureAcceleratorTopologiesRequest content) throws java.io.IOException {
+ ConfigureAcceleratorTopologies result = new ConfigureAcceleratorTopologies(project, zone, instanceGroupManager, content);
initialize(result);
return result;
}
- public class CreateInstances extends ComputeRequest {
+ public class ConfigureAcceleratorTopologies extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances";
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/configureAcceleratorTopologies";
private final java.util.regex.Pattern PROJECT_PATTERN =
java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
/**
- * Creates instances with per-instance configurations in this managed instance group. Instances
- * are created using the current instance template. Thecreate instances operation is marked DONE
- * if thecreateInstances request is successful. The underlying actions take additional time. You
- * must separately verify the status of thecreating or actions with the listmanagedinstances
- * method.
+ * Updates the accelerator topologies configuration.
*
- * Create a request for the method "instanceGroupManagers.createInstances".
+ * Create a request for the method "instanceGroupManagers.configureAcceleratorTopologies".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link CreateInstances#execute()} method to invoke the remote operation.
- * {@link CreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
+ * parameters, call the {@link ConfigureAcceleratorTopologies#execute()} method to invoke the
+ * remote operation. {@link ConfigureAcceleratorTopologies#initialize(com.google.api.client.go
+ * ogleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance
+ * immediately after invoking the constructor.
*
* @param project Project ID for this request.
* @param zone The name of thezone
@@ -57567,10 +58409,10 @@ public class CreateInstances extends ComputeRequest {
+ public class CreateInstances extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}";
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances";
private final java.util.regex.Pattern PROJECT_PATTERN =
java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
/**
- * Deletes the specified managed instance group and all of the instances in that group. Note that
- * the instance group must not belong to a backend service. Read Deleting an instance group for
- * more information.
+ * Creates instances with per-instance configurations in this managed instance group. Instances
+ * are created using the current instance template. Thecreate instances operation is marked DONE
+ * if thecreateInstances request is successful. The underlying actions take additional time. You
+ * must separately verify the status of thecreating or actions with the listmanagedinstances
+ * method.
*
- * Create a request for the method "instanceGroupManagers.delete".
+ * Create a request for the method "instanceGroupManagers.createInstances".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
- * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
- * be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link CreateInstances#execute()} method to invoke the remote operation.
+ * {@link CreateInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
*
* @param project Project ID for this request.
- * @param zone The name of thezone where the managed
- instance group is located.
- * @param instanceGroupManager The name of the managed instance group to delete.
+ * @param zone The name of thezone
+ where the managed instance group is located.
+ It should conform to RFC1035.
+ * @param instanceGroupManager The name of the managed instance group.
+ It should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersCreateInstancesRequest}
* @since 1.13
*/
- protected Delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) {
- super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ protected CreateInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersCreateInstancesRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
@@ -57818,63 +58670,63 @@ protected Delete(java.lang.String project, java.lang.String zone, java.lang.Stri
}
@Override
- public Delete set$Xgafv(java.lang.String $Xgafv) {
- return (Delete) super.set$Xgafv($Xgafv);
+ public CreateInstances set$Xgafv(java.lang.String $Xgafv) {
+ return (CreateInstances) super.set$Xgafv($Xgafv);
}
@Override
- public Delete setAccessToken(java.lang.String accessToken) {
- return (Delete) super.setAccessToken(accessToken);
+ public CreateInstances setAccessToken(java.lang.String accessToken) {
+ return (CreateInstances) super.setAccessToken(accessToken);
}
@Override
- public Delete setAlt(java.lang.String alt) {
- return (Delete) super.setAlt(alt);
+ public CreateInstances setAlt(java.lang.String alt) {
+ return (CreateInstances) super.setAlt(alt);
}
@Override
- public Delete setCallback(java.lang.String callback) {
- return (Delete) super.setCallback(callback);
+ public CreateInstances setCallback(java.lang.String callback) {
+ return (CreateInstances) super.setCallback(callback);
}
@Override
- public Delete setFields(java.lang.String fields) {
- return (Delete) super.setFields(fields);
+ public CreateInstances setFields(java.lang.String fields) {
+ return (CreateInstances) super.setFields(fields);
}
@Override
- public Delete setKey(java.lang.String key) {
- return (Delete) super.setKey(key);
+ public CreateInstances setKey(java.lang.String key) {
+ return (CreateInstances) super.setKey(key);
}
@Override
- public Delete setOauthToken(java.lang.String oauthToken) {
- return (Delete) super.setOauthToken(oauthToken);
+ public CreateInstances setOauthToken(java.lang.String oauthToken) {
+ return (CreateInstances) super.setOauthToken(oauthToken);
}
@Override
- public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (Delete) super.setPrettyPrint(prettyPrint);
+ public CreateInstances setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (CreateInstances) super.setPrettyPrint(prettyPrint);
}
@Override
- public Delete setQuotaUser(java.lang.String quotaUser) {
- return (Delete) super.setQuotaUser(quotaUser);
+ public CreateInstances setQuotaUser(java.lang.String quotaUser) {
+ return (CreateInstances) super.setQuotaUser(quotaUser);
}
@Override
- public Delete setUploadType(java.lang.String uploadType) {
- return (Delete) super.setUploadType(uploadType);
+ public CreateInstances setUploadType(java.lang.String uploadType) {
+ return (CreateInstances) super.setUploadType(uploadType);
}
@Override
- public Delete setUploadProtocol(java.lang.String uploadProtocol) {
- return (Delete) super.setUploadProtocol(uploadProtocol);
+ public CreateInstances setUploadProtocol(java.lang.String uploadProtocol) {
+ return (CreateInstances) super.setUploadProtocol(uploadProtocol);
}
@Override
- public Delete setUserIp(java.lang.String userIp) {
- return (Delete) super.setUserIp(userIp);
+ public CreateInstances setUserIp(java.lang.String userIp) {
+ return (CreateInstances) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -57888,7 +58740,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public Delete setProject(java.lang.String project) {
+ public CreateInstances setProject(java.lang.String project) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
"Parameter project must conform to the pattern " +
@@ -57899,37 +58751,43 @@ public Delete setProject(java.lang.String project) {
}
/**
- * The name of thezone where the managed instance group is located.
+ * The name of thezone where the managed instance group is located. It should conform to
+ * RFC1035.
*/
@com.google.api.client.util.Key
private java.lang.String zone;
- /** The name of thezone where the managed instance group is located.
+ /** The name of thezone where the managed instance group is located. It should conform to RFC1035.
*/
public java.lang.String getZone() {
return zone;
}
/**
- * The name of thezone where the managed instance group is located.
+ * The name of thezone where the managed instance group is located. It should conform to
+ * RFC1035.
*/
- public Delete setZone(java.lang.String zone) {
+ public CreateInstances setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
- /** The name of the managed instance group to delete. */
+ /**
+ * The name of the managed instance group. It should conform to RFC1035.
+ */
@com.google.api.client.util.Key
private java.lang.String instanceGroupManager;
- /** The name of the managed instance group to delete.
+ /** The name of the managed instance group. It should conform to RFC1035.
*/
public java.lang.String getInstanceGroupManager() {
return instanceGroupManager;
}
- /** The name of the managed instance group to delete. */
- public Delete setInstanceGroupManager(java.lang.String instanceGroupManager) {
+ /**
+ * The name of the managed instance group. It should conform to RFC1035.
+ */
+ public CreateInstances setInstanceGroupManager(java.lang.String instanceGroupManager) {
this.instanceGroupManager = instanceGroupManager;
return this;
}
@@ -57942,7 +58800,7 @@ public Delete setInstanceGroupManager(java.lang.String instanceGroupManager) {
* For example, consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
+ * request.
*
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
@@ -57955,8 +58813,7 @@ public Delete setInstanceGroupManager(java.lang.String instanceGroupManager) {
For example, consider a situation where you make an initial request and the request times out. If
you make the request again with the same request ID, the server can check if original operation
- with the same request ID was received, and if so, will ignore the second request. This prevents
- clients from accidentally creating duplicate commitments.
+ with the same request ID was received, and if so, will ignore the second request.
The request ID must be a valid UUID with the exception that zero UUID is not supported
(00000000-0000-0000-0000-000000000000).
@@ -57973,91 +58830,70 @@ public java.lang.String getRequestId() {
* For example, consider a situation where you make an initial request and the request times
* out. If you make the request again with the same request ID, the server can check if
* original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
+ * request.
*
* The request ID must be a valid UUID with the exception that zero UUID is not supported
* (00000000-0000-0000-0000-000000000000).
*/
- public Delete setRequestId(java.lang.String requestId) {
+ public CreateInstances setRequestId(java.lang.String requestId) {
this.requestId = requestId;
return this;
}
@Override
- public Delete set(String parameterName, Object value) {
- return (Delete) super.set(parameterName, value);
+ public CreateInstances set(String parameterName, Object value) {
+ return (CreateInstances) super.set(parameterName, value);
}
}
/**
- * Flags the specified instances in the managed instance group for immediate deletion. The instances
- * are also removed from any target pools of which they were a member. This method reduces
- * thetargetSize of the managed instance group by the number of instances that you delete. This
- * operation is marked as DONE when the action is scheduled even if the instances are still being
- * deleted. You must separately verify the status of the deleting action with
- * thelistmanagedinstances method.
- *
- * If the group is part of a backend service that has enabled connection draining, it can take up to
- * 60 seconds after the connection draining duration has elapsed before the VM instance is removed
- * or deleted.
- *
- * You can specify a maximum of 1000 instances with this method per request.
+ * Deletes the specified managed instance group and all of the instances in that group. Note that
+ * the instance group must not belong to a backend service. Read Deleting an instance group for more
+ * information.
*
- * Create a request for the method "instanceGroupManagers.deleteInstances".
+ * Create a request for the method "instanceGroupManagers.delete".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link DeleteInstances#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param zone The name of thezone where the managed
instance group is located.
- * @param instanceGroupManager The name of the managed instance group.
- * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest}
+ * @param instanceGroupManager The name of the managed instance group to delete.
* @return the request
*/
- public DeleteInstances deleteInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest content) throws java.io.IOException {
- DeleteInstances result = new DeleteInstances(project, zone, instanceGroupManager, content);
+ public Delete delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) throws java.io.IOException {
+ Delete result = new Delete(project, zone, instanceGroupManager);
initialize(result);
return result;
}
- public class DeleteInstances extends ComputeRequest {
+ public class Delete extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances";
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}";
private final java.util.regex.Pattern PROJECT_PATTERN =
java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
/**
- * Flags the specified instances in the managed instance group for immediate deletion. The
- * instances are also removed from any target pools of which they were a member. This method
- * reduces thetargetSize of the managed instance group by the number of instances that you delete.
- * This operation is marked as DONE when the action is scheduled even if the instances are still
- * being deleted. You must separately verify the status of the deleting action with
- * thelistmanagedinstances method.
- *
- * If the group is part of a backend service that has enabled connection draining, it can take up
- * to 60 seconds after the connection draining duration has elapsed before the VM instance is
- * removed or deleted.
- *
- * You can specify a maximum of 1000 instances with this method per request.
+ * Deletes the specified managed instance group and all of the instances in that group. Note that
+ * the instance group must not belong to a backend service. Read Deleting an instance group for
+ * more information.
*
- * Create a request for the method "instanceGroupManagers.deleteInstances".
+ * Create a request for the method "instanceGroupManagers.delete".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link DeleteInstances#execute()} method to invoke the remote operation.
- * {@link DeleteInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
- * lientRequest)} must be called to initialize this instance immediately after invoking the
- * constructor.
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation. {@link
+ * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
* @param project Project ID for this request.
* @param zone The name of thezone where the managed
instance group is located.
- * @param instanceGroupManager The name of the managed instance group.
- * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest}
+ * @param instanceGroupManager The name of the managed instance group to delete.
* @since 1.13
*/
- protected DeleteInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest content) {
- super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ protected Delete(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager) {
+ super(Compute.this, "DELETE", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
@@ -58069,63 +58905,63 @@ protected DeleteInstances(java.lang.String project, java.lang.String zone, java.
}
@Override
- public DeleteInstances set$Xgafv(java.lang.String $Xgafv) {
- return (DeleteInstances) super.set$Xgafv($Xgafv);
+ public Delete set$Xgafv(java.lang.String $Xgafv) {
+ return (Delete) super.set$Xgafv($Xgafv);
}
@Override
- public DeleteInstances setAccessToken(java.lang.String accessToken) {
- return (DeleteInstances) super.setAccessToken(accessToken);
+ public Delete setAccessToken(java.lang.String accessToken) {
+ return (Delete) super.setAccessToken(accessToken);
}
@Override
- public DeleteInstances setAlt(java.lang.String alt) {
- return (DeleteInstances) super.setAlt(alt);
+ public Delete setAlt(java.lang.String alt) {
+ return (Delete) super.setAlt(alt);
}
@Override
- public DeleteInstances setCallback(java.lang.String callback) {
- return (DeleteInstances) super.setCallback(callback);
+ public Delete setCallback(java.lang.String callback) {
+ return (Delete) super.setCallback(callback);
}
@Override
- public DeleteInstances setFields(java.lang.String fields) {
- return (DeleteInstances) super.setFields(fields);
+ public Delete setFields(java.lang.String fields) {
+ return (Delete) super.setFields(fields);
}
@Override
- public DeleteInstances setKey(java.lang.String key) {
- return (DeleteInstances) super.setKey(key);
+ public Delete setKey(java.lang.String key) {
+ return (Delete) super.setKey(key);
}
@Override
- public DeleteInstances setOauthToken(java.lang.String oauthToken) {
- return (DeleteInstances) super.setOauthToken(oauthToken);
+ public Delete setOauthToken(java.lang.String oauthToken) {
+ return (Delete) super.setOauthToken(oauthToken);
}
@Override
- public DeleteInstances setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (DeleteInstances) super.setPrettyPrint(prettyPrint);
+ public Delete setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Delete) super.setPrettyPrint(prettyPrint);
}
@Override
- public DeleteInstances setQuotaUser(java.lang.String quotaUser) {
- return (DeleteInstances) super.setQuotaUser(quotaUser);
+ public Delete setQuotaUser(java.lang.String quotaUser) {
+ return (Delete) super.setQuotaUser(quotaUser);
}
@Override
- public DeleteInstances setUploadType(java.lang.String uploadType) {
- return (DeleteInstances) super.setUploadType(uploadType);
+ public Delete setUploadType(java.lang.String uploadType) {
+ return (Delete) super.setUploadType(uploadType);
}
@Override
- public DeleteInstances setUploadProtocol(java.lang.String uploadProtocol) {
- return (DeleteInstances) super.setUploadProtocol(uploadProtocol);
+ public Delete setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Delete) super.setUploadProtocol(uploadProtocol);
}
@Override
- public DeleteInstances setUserIp(java.lang.String userIp) {
- return (DeleteInstances) super.setUserIp(userIp);
+ public Delete setUserIp(java.lang.String userIp) {
+ return (Delete) super.setUserIp(userIp);
}
/** Project ID for this request. */
@@ -58139,7 +58975,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public DeleteInstances setProject(java.lang.String project) {
+ public Delete setProject(java.lang.String project) {
if (!getSuppressPatternChecks()) {
com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
"Parameter project must conform to the pattern " +
@@ -58164,23 +59000,274 @@ public java.lang.String getZone() {
/**
* The name of thezone where the managed instance group is located.
*/
- public DeleteInstances setZone(java.lang.String zone) {
+ public Delete setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
- /** The name of the managed instance group. */
+ /** The name of the managed instance group to delete. */
@com.google.api.client.util.Key
private java.lang.String instanceGroupManager;
- /** The name of the managed instance group.
+ /** The name of the managed instance group to delete.
*/
public java.lang.String getInstanceGroupManager() {
return instanceGroupManager;
}
- /** The name of the managed instance group. */
- public DeleteInstances setInstanceGroupManager(java.lang.String instanceGroupManager) {
+ /** The name of the managed instance group to delete. */
+ public Delete setInstanceGroupManager(java.lang.String instanceGroupManager) {
+ this.instanceGroupManager = instanceGroupManager;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Delete setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Delete set(String parameterName, Object value) {
+ return (Delete) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Flags the specified instances in the managed instance group for immediate deletion. The instances
+ * are also removed from any target pools of which they were a member. This method reduces
+ * thetargetSize of the managed instance group by the number of instances that you delete. This
+ * operation is marked as DONE when the action is scheduled even if the instances are still being
+ * deleted. You must separately verify the status of the deleting action with
+ * thelistmanagedinstances method.
+ *
+ * If the group is part of a backend service that has enabled connection draining, it can take up to
+ * 60 seconds after the connection draining duration has elapsed before the VM instance is removed
+ * or deleted.
+ *
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
+ * Create a request for the method "instanceGroupManagers.deleteInstances".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link DeleteInstances#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone The name of thezone where the managed
+ instance group is located.
+ * @param instanceGroupManager The name of the managed instance group.
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest}
+ * @return the request
+ */
+ public DeleteInstances deleteInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest content) throws java.io.IOException {
+ DeleteInstances result = new DeleteInstances(project, zone, instanceGroupManager, content);
+ initialize(result);
+ return result;
+ }
+
+ public class DeleteInstances extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Flags the specified instances in the managed instance group for immediate deletion. The
+ * instances are also removed from any target pools of which they were a member. This method
+ * reduces thetargetSize of the managed instance group by the number of instances that you delete.
+ * This operation is marked as DONE when the action is scheduled even if the instances are still
+ * being deleted. You must separately verify the status of the deleting action with
+ * thelistmanagedinstances method.
+ *
+ * If the group is part of a backend service that has enabled connection draining, it can take up
+ * to 60 seconds after the connection draining duration has elapsed before the VM instance is
+ * removed or deleted.
+ *
+ * You can specify a maximum of 1000 instances with this method per request.
+ *
+ * Create a request for the method "instanceGroupManagers.deleteInstances".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link DeleteInstances#execute()} method to invoke the remote operation.
+ * {@link DeleteInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleC
+ * lientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone The name of thezone where the managed
+ instance group is located.
+ * @param instanceGroupManager The name of the managed instance group.
+ * @param content the {@link com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest}
+ * @since 1.13
+ */
+ protected DeleteInstances(java.lang.String project, java.lang.String zone, java.lang.String instanceGroupManager, com.google.api.services.compute.model.InstanceGroupManagersDeleteInstancesRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.instanceGroupManager = com.google.api.client.util.Preconditions.checkNotNull(instanceGroupManager, "Required parameter instanceGroupManager must be specified.");
+ }
+
+ @Override
+ public DeleteInstances set$Xgafv(java.lang.String $Xgafv) {
+ return (DeleteInstances) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public DeleteInstances setAccessToken(java.lang.String accessToken) {
+ return (DeleteInstances) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public DeleteInstances setAlt(java.lang.String alt) {
+ return (DeleteInstances) super.setAlt(alt);
+ }
+
+ @Override
+ public DeleteInstances setCallback(java.lang.String callback) {
+ return (DeleteInstances) super.setCallback(callback);
+ }
+
+ @Override
+ public DeleteInstances setFields(java.lang.String fields) {
+ return (DeleteInstances) super.setFields(fields);
+ }
+
+ @Override
+ public DeleteInstances setKey(java.lang.String key) {
+ return (DeleteInstances) super.setKey(key);
+ }
+
+ @Override
+ public DeleteInstances setOauthToken(java.lang.String oauthToken) {
+ return (DeleteInstances) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public DeleteInstances setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (DeleteInstances) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public DeleteInstances setQuotaUser(java.lang.String quotaUser) {
+ return (DeleteInstances) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public DeleteInstances setUploadType(java.lang.String uploadType) {
+ return (DeleteInstances) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public DeleteInstances setUploadProtocol(java.lang.String uploadProtocol) {
+ return (DeleteInstances) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public DeleteInstances setUserIp(java.lang.String userIp) {
+ return (DeleteInstances) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public DeleteInstances setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /**
+ * The name of thezone where the managed instance group is located.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** The name of thezone where the managed instance group is located.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /**
+ * The name of thezone where the managed instance group is located.
+ */
+ public DeleteInstances setZone(java.lang.String zone) {
+ this.zone = zone;
+ return this;
+ }
+
+ /** The name of the managed instance group. */
+ @com.google.api.client.util.Key
+ private java.lang.String instanceGroupManager;
+
+ /** The name of the managed instance group.
+ */
+ public java.lang.String getInstanceGroupManager() {
+ return instanceGroupManager;
+ }
+
+ /** The name of the managed instance group. */
+ public DeleteInstances setInstanceGroupManager(java.lang.String instanceGroupManager) {
this.instanceGroupManager = instanceGroupManager;
return this;
}
@@ -67898,16 +68985,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -74874,6 +75961,246 @@ public GetShieldedVmIdentity set(String parameterName, Object value) {
return (GetShieldedVmIdentity) super.set(parameterName, value);
}
}
+ /**
+ * Retrieves details of a specific VM extension state. This is a read-only API.
+ *
+ * Create a request for the method "instances.getVmExtensionState".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtensionState#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param instance Name or id of the instance resource.
+ * @param extensionName The name of the extension to get the state for.
+ * @return the request
+ */
+ public GetVmExtensionState getVmExtensionState(java.lang.String project, java.lang.String zone, java.lang.String instance, java.lang.String extensionName) throws java.io.IOException {
+ GetVmExtensionState result = new GetVmExtensionState(project, zone, instance, extensionName);
+ initialize(result);
+ return result;
+ }
+
+ public class GetVmExtensionState extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instances/{instance}/vmExtensionStates/{extensionName}";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern INSTANCE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ private final java.util.regex.Pattern EXTENSION_NAME_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Retrieves details of a specific VM extension state. This is a read-only API.
+ *
+ * Create a request for the method "instances.getVmExtensionState".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtensionState#execute()} method to invoke the remote
+ * operation. {@link GetVmExtensionState#initialize(com.google.api.client.googleapis.services.
+ * AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param instance Name or id of the instance resource.
+ * @param extensionName The name of the extension to get the state for.
+ * @since 1.13
+ */
+ protected GetVmExtensionState(java.lang.String project, java.lang.String zone, java.lang.String instance, java.lang.String extensionName) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtensionState.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.instance = com.google.api.client.util.Preconditions.checkNotNull(instance, "Required parameter instance must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(INSTANCE_PATTERN.matcher(instance).matches(),
+ "Parameter instance must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.extensionName = com.google.api.client.util.Preconditions.checkNotNull(extensionName, "Required parameter extensionName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetVmExtensionState set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVmExtensionState) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVmExtensionState setAccessToken(java.lang.String accessToken) {
+ return (GetVmExtensionState) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVmExtensionState setAlt(java.lang.String alt) {
+ return (GetVmExtensionState) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVmExtensionState setCallback(java.lang.String callback) {
+ return (GetVmExtensionState) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVmExtensionState setFields(java.lang.String fields) {
+ return (GetVmExtensionState) super.setFields(fields);
+ }
+
+ @Override
+ public GetVmExtensionState setKey(java.lang.String key) {
+ return (GetVmExtensionState) super.setKey(key);
+ }
+
+ @Override
+ public GetVmExtensionState setOauthToken(java.lang.String oauthToken) {
+ return (GetVmExtensionState) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVmExtensionState setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVmExtensionState) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVmExtensionState setQuotaUser(java.lang.String quotaUser) {
+ return (GetVmExtensionState) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVmExtensionState setUploadType(java.lang.String uploadType) {
+ return (GetVmExtensionState) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVmExtensionState setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVmExtensionState) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVmExtensionState setUserIp(java.lang.String userIp) {
+ return (GetVmExtensionState) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public GetVmExtensionState setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public GetVmExtensionState setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Name or id of the instance resource. */
+ @com.google.api.client.util.Key
+ private java.lang.String instance;
+
+ /** Name or id of the instance resource.
+ */
+ public java.lang.String getInstance() {
+ return instance;
+ }
+
+ /** Name or id of the instance resource. */
+ public GetVmExtensionState setInstance(java.lang.String instance) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(INSTANCE_PATTERN.matcher(instance).matches(),
+ "Parameter instance must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.instance = instance;
+ return this;
+ }
+
+ /** The name of the extension to get the state for. */
+ @com.google.api.client.util.Key
+ private java.lang.String extensionName;
+
+ /** The name of the extension to get the state for.
+ */
+ public java.lang.String getExtensionName() {
+ return extensionName;
+ }
+
+ /** The name of the extension to get the state for. */
+ public GetVmExtensionState setExtensionName(java.lang.String extensionName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.extensionName = extensionName;
+ return this;
+ }
+
+ @Override
+ public GetVmExtensionState set(String parameterName, Object value) {
+ return (GetVmExtensionState) super.set(parameterName, value);
+ }
+ }
/**
* Creates an instance resource in the specified project using the data included in the request.
*
@@ -76113,6 +77440,479 @@ public ListReferrers set(String parameterName, Object value) {
return (ListReferrers) super.set(parameterName, value);
}
}
+ /**
+ * Lists all VM extensions states for a specific instance. This is a read-only API.
+ *
+ * Create a request for the method "instances.listVmExtensionStates".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensionStates#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Required. Name of the zone for this request.
+ * @param instance Name of the target instance scoping this request.
+ * @return the request
+ */
+ public ListVmExtensionStates listVmExtensionStates(java.lang.String project, java.lang.String zone, java.lang.String instance) throws java.io.IOException {
+ ListVmExtensionStates result = new ListVmExtensionStates(project, zone, instance);
+ initialize(result);
+ return result;
+ }
+
+ public class ListVmExtensionStates extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/instances/{instance}/vmExtensionStates";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern INSTANCE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Lists all VM extensions states for a specific instance. This is a read-only API.
+ *
+ * Create a request for the method "instances.listVmExtensionStates".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensionStates#execute()} method to invoke the remote
+ * operation. {@link ListVmExtensionStates#initialize(com.google.api.client.googleapis.service
+ * s.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Required. Name of the zone for this request.
+ * @param instance Name of the target instance scoping this request.
+ * @since 1.13
+ */
+ protected ListVmExtensionStates(java.lang.String project, java.lang.String zone, java.lang.String instance) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ListVmExtensionStatesResponse.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.instance = com.google.api.client.util.Preconditions.checkNotNull(instance, "Required parameter instance must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(INSTANCE_PATTERN.matcher(instance).matches(),
+ "Parameter instance must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public ListVmExtensionStates set$Xgafv(java.lang.String $Xgafv) {
+ return (ListVmExtensionStates) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public ListVmExtensionStates setAccessToken(java.lang.String accessToken) {
+ return (ListVmExtensionStates) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public ListVmExtensionStates setAlt(java.lang.String alt) {
+ return (ListVmExtensionStates) super.setAlt(alt);
+ }
+
+ @Override
+ public ListVmExtensionStates setCallback(java.lang.String callback) {
+ return (ListVmExtensionStates) super.setCallback(callback);
+ }
+
+ @Override
+ public ListVmExtensionStates setFields(java.lang.String fields) {
+ return (ListVmExtensionStates) super.setFields(fields);
+ }
+
+ @Override
+ public ListVmExtensionStates setKey(java.lang.String key) {
+ return (ListVmExtensionStates) super.setKey(key);
+ }
+
+ @Override
+ public ListVmExtensionStates setOauthToken(java.lang.String oauthToken) {
+ return (ListVmExtensionStates) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public ListVmExtensionStates setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ListVmExtensionStates) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public ListVmExtensionStates setQuotaUser(java.lang.String quotaUser) {
+ return (ListVmExtensionStates) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public ListVmExtensionStates setUploadType(java.lang.String uploadType) {
+ return (ListVmExtensionStates) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public ListVmExtensionStates setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ListVmExtensionStates) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public ListVmExtensionStates setUserIp(java.lang.String userIp) {
+ return (ListVmExtensionStates) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public ListVmExtensionStates setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Required. Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Required. Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Required. Name of the zone for this request. */
+ public ListVmExtensionStates setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /** Name of the target instance scoping this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String instance;
+
+ /** Name of the target instance scoping this request.
+ */
+ public java.lang.String getInstance() {
+ return instance;
+ }
+
+ /** Name of the target instance scoping this request. */
+ public ListVmExtensionStates setInstance(java.lang.String instance) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(INSTANCE_PATTERN.matcher(instance).matches(),
+ "Parameter instance must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.instance = instance;
+ return this;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public ListVmExtensionStates setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public ListVmExtensionStates setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public ListVmExtensionStates setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public ListVmExtensionStates setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean returnPartialSuccess;
+
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default
+ value is false.
+
+ For example, when partial success behavior is enabled, aggregatedList for a single zone scope
+ either returns all resources in the zone or no resources, with an error code.
+ */
+ public java.lang.Boolean getReturnPartialSuccess() {
+ return returnPartialSuccess;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ public ListVmExtensionStates setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
+ this.returnPartialSuccess = returnPartialSuccess;
+ return this;
+ }
+
+ @Override
+ public ListVmExtensionStates set(String parameterName, Object value) {
+ return (ListVmExtensionStates) super.set(parameterName, value);
+ }
+ }
/**
* Patches partner metadata of the specified instance.
*
@@ -83389,6 +85189,26 @@ public Update setClearSecureTag(java.lang.Boolean clearSecureTag) {
return this;
}
+ /**
+ * Whether to discard local SSDs from the instance during restart default value is false.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean discardLocalSsd;
+
+ /** Whether to discard local SSDs from the instance during restart default value is false.
+ */
+ public java.lang.Boolean getDiscardLocalSsd() {
+ return discardLocalSsd;
+ }
+
+ /**
+ * Whether to discard local SSDs from the instance during restart default value is false.
+ */
+ public Update setDiscardLocalSsd(java.lang.Boolean discardLocalSsd) {
+ this.discardLocalSsd = discardLocalSsd;
+ return this;
+ }
+
/**
* Specifies the action to take when updating an instance even if the updated properties do
* not require it. If not specified, then Compute Engine acts based on the minimum action that
@@ -90828,16 +92648,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -95687,16 +97507,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** The list of fields to update. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** The list of fields to update.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** The list of fields to update. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -102054,16 +103874,16 @@ public Update setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Update setUpdateMask(String updateMask) {
+ public Update setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -108859,16 +110679,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** Indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -110289,6 +112109,12 @@ public Get set(String parameterName, Object value) {
* Creates a network endpoint group in the specified project using the parameters that are included
* in the request.
*
+ * Note: Use the following APIs to manage network endpoint groups: - To manage NEGs with
+ * zonal scope (such as zonal NEGs, hybrid connectivity NEGs): zonal API - To manage
+ * NEGs with regional scope (such as regional internet NEGs, serverless NEGs, Private Service
+ * Connect NEGs): regional API - To manage NEGs with global scope (such as global internet
+ * NEGs):global API
+ *
* Create a request for the method "networkEndpointGroups.insert".
*
* This request holds the parameters needed by the compute server. After setting any optional
@@ -110318,6 +112144,12 @@ public class Insert extends ComputeRequestThe typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.OrganizationSnapshotRecycleBinPolicy.List request = compute.organizationSnapshotRecycleBinPolicy().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public OrganizationSnapshotRecycleBinPolicy organizationSnapshotRecycleBinPolicy() {
+ return new OrganizationSnapshotRecycleBinPolicy();
+ }
+
+ /**
+ * The "organizationSnapshotRecycleBinPolicy" collection of methods.
+ */
+ public class OrganizationSnapshotRecycleBinPolicy {
+
+ /**
+ * Returns the specified SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "organizationSnapshotRecycleBinPolicy.get".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param organization Organization ID for this request.
+ * @return the request
+ */
+ public Get get(java.lang.String organization) throws java.io.IOException {
+ Get result = new Get(organization);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "{+organization}/global/snapshotRecycleBinPolicy";
+
+ private final java.util.regex.Pattern ORGANIZATION_PATTERN =
+ java.util.regex.Pattern.compile("organizations/[0-9]{0,20}");
+
+ /**
+ * Returns the specified SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "organizationSnapshotRecycleBinPolicy.get".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param organization Organization ID for this request.
+ * @since 1.13
+ */
+ protected Get(java.lang.String organization) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.SnapshotRecycleBinPolicy.class);
+ this.organization = com.google.api.client.util.Preconditions.checkNotNull(organization, "Required parameter organization must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ORGANIZATION_PATTERN.matcher(organization).matches(),
+ "Parameter organization must conform to the pattern " +
+ "organizations/[0-9]{0,20}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Get setUserIp(java.lang.String userIp) {
+ return (Get) super.setUserIp(userIp);
+ }
+
+ /** Organization ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String organization;
+
+ /** Organization ID for this request.
+ */
+ public java.lang.String getOrganization() {
+ return organization;
+ }
+
+ /** Organization ID for this request. */
+ public Get setOrganization(java.lang.String organization) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ORGANIZATION_PATTERN.matcher(organization).matches(),
+ "Parameter organization must conform to the pattern " +
+ "organizations/[0-9]{0,20}");
+ }
+ this.organization = organization;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Patches the SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "organizationSnapshotRecycleBinPolicy.patch".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ *
+ * @param organization Organization ID for this request.
+ * @param content the {@link com.google.api.services.compute.model.SnapshotRecycleBinPolicy}
+ * @return the request
+ */
+ public Patch patch(java.lang.String organization, com.google.api.services.compute.model.SnapshotRecycleBinPolicy content) throws java.io.IOException {
+ Patch result = new Patch(organization, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Patch extends ComputeRequest {
+
+ private static final String REST_PATH = "{+organization}/global/snapshotRecycleBinPolicy";
+
+ private final java.util.regex.Pattern ORGANIZATION_PATTERN =
+ java.util.regex.Pattern.compile("organizations/[0-9]{0,20}");
+
+ /**
+ * Patches the SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "organizationSnapshotRecycleBinPolicy.patch".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param organization Organization ID for this request.
+ * @param content the {@link com.google.api.services.compute.model.SnapshotRecycleBinPolicy}
+ * @since 1.13
+ */
+ protected Patch(java.lang.String organization, com.google.api.services.compute.model.SnapshotRecycleBinPolicy content) {
+ super(Compute.this, "PATCH", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.organization = com.google.api.client.util.Preconditions.checkNotNull(organization, "Required parameter organization must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ORGANIZATION_PATTERN.matcher(organization).matches(),
+ "Parameter organization must conform to the pattern " +
+ "organizations/[0-9]{0,20}");
+ }
+ }
+
+ @Override
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
+ }
+
+ @Override
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
+ }
+
+ @Override
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
+ }
+
+ @Override
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
+ }
+
+ @Override
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Patch setUserIp(java.lang.String userIp) {
+ return (Patch) super.setUserIp(userIp);
+ }
+
+ /** Organization ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String organization;
+
+ /** Organization ID for this request.
+ */
+ public java.lang.String getOrganization() {
+ return organization;
+ }
+
+ /** Organization ID for this request. */
+ public Patch setOrganization(java.lang.String organization) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ORGANIZATION_PATTERN.matcher(organization).matches(),
+ "Parameter organization must conform to the pattern " +
+ "organizations/[0-9]{0,20}");
+ }
+ this.organization = organization;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Patch setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /** update_mask indicates fields to be updated as part of this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** update_mask indicates fields to be updated as part of this request.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /** update_mask indicates fields to be updated as part of this request. */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
+ @Override
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
+ }
+ }
+
+ }
+
/**
* An accessor for creating requests from the PacketMirrorings collection.
*
@@ -154892,16 +157090,16 @@ public Update setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Update setUpdateMask(String updateMask) {
+ public Update setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -156110,6 +158308,214 @@ public Get set(String parameterName, Object value) {
return (Get) super.set(parameterName, value);
}
}
+ /**
+ * Gets the most recent health check results for this regional CompositeHealthCheck.
+ *
+ * Create a request for the method "regionCompositeHealthChecks.getHealth".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link GetHealth#execute()} method to invoke the remote operation.
+ *
+ * @param project Name of the project scoping this request.
+ * @param region Name of the region scoping this request.
+ * @param compositeHealthCheck Name of the CompositeHealthCheck resource to get health for.
+ * @return the request
+ */
+ public GetHealth getHealth(java.lang.String project, java.lang.String region, java.lang.String compositeHealthCheck) throws java.io.IOException {
+ GetHealth result = new GetHealth(project, region, compositeHealthCheck);
+ initialize(result);
+ return result;
+ }
+
+ public class GetHealth extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/regions/{region}/compositeHealthChecks/{compositeHealthCheck}/getHealth";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern REGION_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern COMPOSITE_HEALTH_CHECK_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Gets the most recent health check results for this regional CompositeHealthCheck.
+ *
+ * Create a request for the method "regionCompositeHealthChecks.getHealth".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetHealth#execute()} method to invoke the remote operation.
+ * {@link
+ * GetHealth#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Name of the project scoping this request.
+ * @param region Name of the region scoping this request.
+ * @param compositeHealthCheck Name of the CompositeHealthCheck resource to get health for.
+ * @since 1.13
+ */
+ protected GetHealth(java.lang.String project, java.lang.String region, java.lang.String compositeHealthCheck) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.CompositeHealthCheckHealth.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(),
+ "Parameter region must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.compositeHealthCheck = com.google.api.client.util.Preconditions.checkNotNull(compositeHealthCheck, "Required parameter compositeHealthCheck must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(COMPOSITE_HEALTH_CHECK_PATTERN.matcher(compositeHealthCheck).matches(),
+ "Parameter compositeHealthCheck must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetHealth set$Xgafv(java.lang.String $Xgafv) {
+ return (GetHealth) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetHealth setAccessToken(java.lang.String accessToken) {
+ return (GetHealth) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetHealth setAlt(java.lang.String alt) {
+ return (GetHealth) super.setAlt(alt);
+ }
+
+ @Override
+ public GetHealth setCallback(java.lang.String callback) {
+ return (GetHealth) super.setCallback(callback);
+ }
+
+ @Override
+ public GetHealth setFields(java.lang.String fields) {
+ return (GetHealth) super.setFields(fields);
+ }
+
+ @Override
+ public GetHealth setKey(java.lang.String key) {
+ return (GetHealth) super.setKey(key);
+ }
+
+ @Override
+ public GetHealth setOauthToken(java.lang.String oauthToken) {
+ return (GetHealth) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetHealth setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetHealth) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetHealth setQuotaUser(java.lang.String quotaUser) {
+ return (GetHealth) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetHealth setUploadType(java.lang.String uploadType) {
+ return (GetHealth) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetHealth setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetHealth) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetHealth setUserIp(java.lang.String userIp) {
+ return (GetHealth) super.setUserIp(userIp);
+ }
+
+ /** Name of the project scoping this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Name of the project scoping this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Name of the project scoping this request. */
+ public GetHealth setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the region scoping this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String region;
+
+ /** Name of the region scoping this request.
+ */
+ public java.lang.String getRegion() {
+ return region;
+ }
+
+ /** Name of the region scoping this request. */
+ public GetHealth setRegion(java.lang.String region) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(),
+ "Parameter region must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.region = region;
+ return this;
+ }
+
+ /** Name of the CompositeHealthCheck resource to get health for. */
+ @com.google.api.client.util.Key
+ private java.lang.String compositeHealthCheck;
+
+ /** Name of the CompositeHealthCheck resource to get health for.
+ */
+ public java.lang.String getCompositeHealthCheck() {
+ return compositeHealthCheck;
+ }
+
+ /** Name of the CompositeHealthCheck resource to get health for. */
+ public GetHealth setCompositeHealthCheck(java.lang.String compositeHealthCheck) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(COMPOSITE_HEALTH_CHECK_PATTERN.matcher(compositeHealthCheck).matches(),
+ "Parameter compositeHealthCheck must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.compositeHealthCheck = compositeHealthCheck;
+ return this;
+ }
+
+ @Override
+ public GetHealth set(String parameterName, Object value) {
+ return (GetHealth) super.set(parameterName, value);
+ }
+ }
/**
* Create a CompositeHealthCheck in the specified project in the given region using the parameters
* that are included in the request.
@@ -157628,16 +160034,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -162525,8 +164931,7 @@ public TestIamPermissions set(String parameterName, Object value) {
}
/**
* Update the specified disk with the data included in the request. Update is performed only on
- * selected fields included as part of update-mask. Only the following fields can be modified:
- * user_license.
+ * selected fields included as part of update-mask.
*
* Create a request for the method "regionDisks.update".
*
@@ -162560,8 +164965,7 @@ public class Update extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/regions/{region}/healthSources/{healthSource}/getHealth";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern REGION_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern HEALTH_SOURCE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Gets the most recent health check results for this regional HealthSource.
+ *
+ * Create a request for the method "regionHealthSources.getHealth".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetHealth#execute()} method to invoke the remote operation.
+ * {@link
+ * GetHealth#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Name of the project scoping this request.
+ * @param region Name of the region scoping this request.
+ * @param healthSource Name of the HealthSource resource to get health for.
+ * @since 1.13
+ */
+ protected GetHealth(java.lang.String project, java.lang.String region, java.lang.String healthSource) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.HealthSourceHealth.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(),
+ "Parameter region must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.healthSource = com.google.api.client.util.Preconditions.checkNotNull(healthSource, "Required parameter healthSource must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(HEALTH_SOURCE_PATTERN.matcher(healthSource).matches(),
+ "Parameter healthSource must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetHealth set$Xgafv(java.lang.String $Xgafv) {
+ return (GetHealth) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetHealth setAccessToken(java.lang.String accessToken) {
+ return (GetHealth) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetHealth setAlt(java.lang.String alt) {
+ return (GetHealth) super.setAlt(alt);
+ }
+
+ @Override
+ public GetHealth setCallback(java.lang.String callback) {
+ return (GetHealth) super.setCallback(callback);
+ }
+
+ @Override
+ public GetHealth setFields(java.lang.String fields) {
+ return (GetHealth) super.setFields(fields);
+ }
+
+ @Override
+ public GetHealth setKey(java.lang.String key) {
+ return (GetHealth) super.setKey(key);
+ }
+
+ @Override
+ public GetHealth setOauthToken(java.lang.String oauthToken) {
+ return (GetHealth) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetHealth setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetHealth) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetHealth setQuotaUser(java.lang.String quotaUser) {
+ return (GetHealth) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetHealth setUploadType(java.lang.String uploadType) {
+ return (GetHealth) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetHealth setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetHealth) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetHealth setUserIp(java.lang.String userIp) {
+ return (GetHealth) super.setUserIp(userIp);
+ }
+
+ /** Name of the project scoping this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Name of the project scoping this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Name of the project scoping this request. */
+ public GetHealth setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the region scoping this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String region;
+
+ /** Name of the region scoping this request.
+ */
+ public java.lang.String getRegion() {
+ return region;
+ }
+
+ /** Name of the region scoping this request. */
+ public GetHealth setRegion(java.lang.String region) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(REGION_PATTERN.matcher(region).matches(),
+ "Parameter region must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.region = region;
+ return this;
+ }
+
+ /** Name of the HealthSource resource to get health for. */
+ @com.google.api.client.util.Key
+ private java.lang.String healthSource;
+
+ /** Name of the HealthSource resource to get health for.
+ */
+ public java.lang.String getHealthSource() {
+ return healthSource;
+ }
+
+ /** Name of the HealthSource resource to get health for. */
+ public GetHealth setHealthSource(java.lang.String healthSource) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(HEALTH_SOURCE_PATTERN.matcher(healthSource).matches(),
+ "Parameter healthSource must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.healthSource = healthSource;
+ return this;
+ }
+
+ @Override
+ public GetHealth set(String parameterName, Object value) {
+ return (GetHealth) super.set(parameterName, value);
+ }
+ }
/**
* Create a HealthSource in the specified project in the given region using the parameters that are
* included in the request.
@@ -172999,6 +175613,245 @@ public AbandonInstances set(String parameterName, Object value) {
return (AbandonInstances) super.set(parameterName, value);
}
}
+ /**
+ * Flags the specified instances to be adopted to the managed instance group. Adopting an instance
+ * does not change the instance status, but it adds the instance to any target pools that are
+ * applied by the managed instance group. This method increases the targetSize of the managed
+ * instance group by the number of instances that you adopt. This operation is marked as DONE when
+ * the action is scheduled even if the instances have not been adopted to the group yet. You must
+ * separately verify the status of the adopting action with the listManagedInstances method.
+ *
+ * Create a request for the method "regionInstanceGroupManagers.adoptInstances".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link AdoptInstances#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param region Name of the region scoping this request. It should conform to RFC1035.
+ * @param instanceGroupManager Name of the managed instance group. It should conform to RFC1035 or be a
+ resource ID.
+ * @param content the {@link com.google.api.services.compute.model.RegionInstanceGroupManagersAdoptInstancesRequest}
+ * @return the request
+ */
+ public AdoptInstances adoptInstances(java.lang.String project, java.lang.String region, java.lang.String instanceGroupManager, com.google.api.services.compute.model.RegionInstanceGroupManagersAdoptInstancesRequest content) throws java.io.IOException {
+ AdoptInstances result = new AdoptInstances(project, region, instanceGroupManager, content);
+ initialize(result);
+ return result;
+ }
+
+ public class AdoptInstances extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/adoptInstances";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Flags the specified instances to be adopted to the managed instance group. Adopting an instance
+ * does not change the instance status, but it adds the instance to any target pools that are
+ * applied by the managed instance group. This method increases the targetSize of the managed
+ * instance group by the number of instances that you adopt. This operation is marked as DONE when
+ * the action is scheduled even if the instances have not been adopted to the group yet. You must
+ * separately verify the status of the adopting action with the listManagedInstances method.
+ *
+ * Create a request for the method "regionInstanceGroupManagers.adoptInstances".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link AdoptInstances#execute()} method to invoke the remote operation.
+ * {@link AdoptInstances#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Project ID for this request.
+ * @param region Name of the region scoping this request. It should conform to RFC1035.
+ * @param instanceGroupManager Name of the managed instance group. It should conform to RFC1035 or be a
+ resource ID.
+ * @param content the {@link com.google.api.services.compute.model.RegionInstanceGroupManagersAdoptInstancesRequest}
+ * @since 1.13
+ */
+ protected AdoptInstances(java.lang.String project, java.lang.String region, java.lang.String instanceGroupManager, com.google.api.services.compute.model.RegionInstanceGroupManagersAdoptInstancesRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.region = com.google.api.client.util.Preconditions.checkNotNull(region, "Required parameter region must be specified.");
+ this.instanceGroupManager = com.google.api.client.util.Preconditions.checkNotNull(instanceGroupManager, "Required parameter instanceGroupManager must be specified.");
+ }
+
+ @Override
+ public AdoptInstances set$Xgafv(java.lang.String $Xgafv) {
+ return (AdoptInstances) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public AdoptInstances setAccessToken(java.lang.String accessToken) {
+ return (AdoptInstances) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public AdoptInstances setAlt(java.lang.String alt) {
+ return (AdoptInstances) super.setAlt(alt);
+ }
+
+ @Override
+ public AdoptInstances setCallback(java.lang.String callback) {
+ return (AdoptInstances) super.setCallback(callback);
+ }
+
+ @Override
+ public AdoptInstances setFields(java.lang.String fields) {
+ return (AdoptInstances) super.setFields(fields);
+ }
+
+ @Override
+ public AdoptInstances setKey(java.lang.String key) {
+ return (AdoptInstances) super.setKey(key);
+ }
+
+ @Override
+ public AdoptInstances setOauthToken(java.lang.String oauthToken) {
+ return (AdoptInstances) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public AdoptInstances setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (AdoptInstances) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public AdoptInstances setQuotaUser(java.lang.String quotaUser) {
+ return (AdoptInstances) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public AdoptInstances setUploadType(java.lang.String uploadType) {
+ return (AdoptInstances) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public AdoptInstances setUploadProtocol(java.lang.String uploadProtocol) {
+ return (AdoptInstances) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public AdoptInstances setUserIp(java.lang.String userIp) {
+ return (AdoptInstances) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public AdoptInstances setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the region scoping this request. It should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String region;
+
+ /** Name of the region scoping this request. It should conform to RFC1035.
+ */
+ public java.lang.String getRegion() {
+ return region;
+ }
+
+ /** Name of the region scoping this request. It should conform to RFC1035. */
+ public AdoptInstances setRegion(java.lang.String region) {
+ this.region = region;
+ return this;
+ }
+
+ /**
+ * Name of the managed instance group. It should conform to RFC1035 or be a resource ID.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String instanceGroupManager;
+
+ /** Name of the managed instance group. It should conform to RFC1035 or be a resource ID.
+ */
+ public java.lang.String getInstanceGroupManager() {
+ return instanceGroupManager;
+ }
+
+ /**
+ * Name of the managed instance group. It should conform to RFC1035 or be a resource ID.
+ */
+ public AdoptInstances setInstanceGroupManager(java.lang.String instanceGroupManager) {
+ this.instanceGroupManager = instanceGroupManager;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public AdoptInstances setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public AdoptInstances set(String parameterName, Object value) {
+ return (AdoptInstances) super.set(parameterName, value);
+ }
+ }
/**
* Apply updates to selected instances the managed instance group.
*
@@ -189335,6 +192188,12 @@ public Get set(String parameterName, Object value) {
* Creates a network endpoint group in the specified project using the parameters that are included
* in the request.
*
+ * Note: Use the following APIs to manage network endpoint groups: - To manage NEGs with
+ * zonal scope (such as zonal NEGs, hybrid connectivity NEGs): zonal API - To manage
+ * NEGs with regional scope (such as regional internet NEGs, serverless NEGs, Private Service
+ * Connect NEGs): regional API - To manage NEGs with global scope (such as global internet
+ * NEGs):global API
+ *
* Create a request for the method "regionNetworkEndpointGroups.insert".
*
* This request holds the parameters needed by the compute server. After setting any optional
@@ -189364,6 +192223,12 @@ public class Insert extends ComputeRequestThe typical use is:
*
* {@code Compute compute = new Compute(...);}
- * {@code Compute.ReservationSubBlocks.List request = compute.reservationSubBlocks().list(parameters ...)}
+ * {@code Compute.ReservationSlots.List request = compute.reservationSlots().list(parameters ...)}
*
*
* @return the resource collection
*/
- public ReservationSubBlocks reservationSubBlocks() {
- return new ReservationSubBlocks();
+ public ReservationSlots reservationSlots() {
+ return new ReservationSlots();
}
/**
- * The "reservationSubBlocks" collection of methods.
+ * The "reservationSlots" collection of methods.
*/
- public class ReservationSubBlocks {
+ public class ReservationSlots {
/**
- * Retrieves information about the specified reservation subBlock.
+ * Retrieves information about the specified reservation slot.
*
- * Create a request for the method "reservationSubBlocks.get".
+ * Create a request for the method "reservationSlots.get".
*
* This request holds the parameters needed by the compute server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- * @param reservationSubBlock The name of the reservation subBlock.
- Name should conform to RFC1035 or be a resource ID.
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the parent reservation and parent block, formatted as
+ reservations/{reservation_name}/re
+ * servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+ * @param reservationSlot The name of the reservation slot, formatted as RFC1035 or a resource ID
+ number.
* @return the request
*/
- public Get get(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) throws java.io.IOException {
- Get result = new Get(project, zone, parentName, reservationSubBlock);
+ public Get get(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot) throws java.io.IOException {
+ Get result = new Get(project, zone, parentName, reservationSlot);
initialize(result);
return result;
}
- public class Get extends ComputeRequest {
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}";
- private static final String REST_PATH = "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}";
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
/**
- * Retrieves information about the specified reservation subBlock.
+ * Retrieves information about the specified reservation slot.
*
- * Create a request for the method "reservationSubBlocks.get".
+ * Create a request for the method "reservationSlots.get".
*
* This request holds the parameters needed by the the compute server. After setting any optional
* parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
* Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- * @param reservationSubBlock The name of the reservation subBlock.
- Name should conform to RFC1035 or be a resource ID.
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the parent reservation and parent block, formatted as
+ reservations/{reservation_name}/re
+ * servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+ * @param reservationSlot The name of the reservation slot, formatted as RFC1035 or a resource ID
+ number.
* @since 1.13
*/
- protected Get(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) {
- super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ReservationSubBlocksGetResponse.class);
+ protected Get(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ReservationSlotsGetResponse.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
- this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
+ this.reservationSlot = com.google.api.client.util.Preconditions.checkNotNull(reservationSlot, "Required parameter reservationSlot must be specified.");
}
@Override
@@ -221865,6 +224742,220 @@ public Get setUserIp(java.lang.String userIp) {
return (Get) super.setUserIp(userIp);
}
+ /** The project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** The project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** The project ID for this request. */
+ public Get setProject(java.lang.String project) {
+ this.project = project;
+ return this;
+ }
+
+ /** The name of the zone for this request, formatted as RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** The name of the zone for this request, formatted as RFC1035.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** The name of the zone for this request, formatted as RFC1035. */
+ public Get setZone(java.lang.String zone) {
+ this.zone = zone;
+ return this;
+ }
+
+ /**
+ * The name of the parent reservation and parent block, formatted as reservations/{reservation
+ * _name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_blo
+ * ck_name}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parentName;
+
+ /** The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/r
+ eservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
+ */
+ public java.lang.String getParentName() {
+ return parentName;
+ }
+
+ /**
+ * The name of the parent reservation and parent block, formatted as reservations/{reservation
+ * _name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_blo
+ * ck_name}
+ */
+ public Get setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
+ this.parentName = parentName;
+ return this;
+ }
+
+ /**
+ * The name of the reservation slot, formatted as RFC1035 or a resource ID number.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String reservationSlot;
+
+ /** The name of the reservation slot, formatted as RFC1035 or a resource ID number.
+ */
+ public java.lang.String getReservationSlot() {
+ return reservationSlot;
+ }
+
+ /**
+ * The name of the reservation slot, formatted as RFC1035 or a resource ID number.
+ */
+ public Get setReservationSlot(java.lang.String reservationSlot) {
+ this.reservationSlot = reservationSlot;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Allows customers to get SBOM versions of a reservation slot.
+ *
+ * Create a request for the method "reservationSlots.getVersion".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link GetVersion#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ reservations/{reservation_name
+ * }/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_n
+ * ame}
+ * @param reservationSlot The name of the reservation slot.
+ Name should conform to RFC1035 or be a resource ID.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSlotsGetVersionRequest}
+ * @return the request
+ */
+ public GetVersion getVersion(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot, com.google.api.services.compute.model.ReservationSlotsGetVersionRequest content) throws java.io.IOException {
+ GetVersion result = new GetVersion(project, zone, parentName, reservationSlot, content);
+ initialize(result);
+ return result;
+ }
+
+ public class GetVersion extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}/getVersion";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+
+ /**
+ * Allows customers to get SBOM versions of a reservation slot.
+ *
+ * Create a request for the method "reservationSlots.getVersion".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVersion#execute()} method to invoke the remote operation.
+ * {@link
+ * GetVersion#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ reservations/{reservation_name
+ * }/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_n
+ * ame}
+ * @param reservationSlot The name of the reservation slot.
+ Name should conform to RFC1035 or be a resource ID.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSlotsGetVersionRequest}
+ * @since 1.13
+ */
+ protected GetVersion(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot, com.google.api.services.compute.model.ReservationSlotsGetVersionRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
+ this.reservationSlot = com.google.api.client.util.Preconditions.checkNotNull(reservationSlot, "Required parameter reservationSlot must be specified.");
+ }
+
+ @Override
+ public GetVersion set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVersion) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVersion setAccessToken(java.lang.String accessToken) {
+ return (GetVersion) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVersion setAlt(java.lang.String alt) {
+ return (GetVersion) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVersion setCallback(java.lang.String callback) {
+ return (GetVersion) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVersion setFields(java.lang.String fields) {
+ return (GetVersion) super.setFields(fields);
+ }
+
+ @Override
+ public GetVersion setKey(java.lang.String key) {
+ return (GetVersion) super.setKey(key);
+ }
+
+ @Override
+ public GetVersion setOauthToken(java.lang.String oauthToken) {
+ return (GetVersion) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVersion setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVersion) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVersion setQuotaUser(java.lang.String quotaUser) {
+ return (GetVersion) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVersion setUploadType(java.lang.String uploadType) {
+ return (GetVersion) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVersion setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVersion) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVersion setUserIp(java.lang.String userIp) {
+ return (GetVersion) super.setUserIp(userIp);
+ }
+
/** Project ID for this request. */
@com.google.api.client.util.Key
private java.lang.String project;
@@ -221876,7 +224967,7 @@ public java.lang.String getProject() {
}
/** Project ID for this request. */
- public Get setProject(java.lang.String project) {
+ public GetVersion setProject(java.lang.String project) {
this.project = project;
return this;
}
@@ -221892,87 +224983,128 @@ public java.lang.String getZone() {
}
/** Name of the zone for this request. Zone name should conform to RFC1035. */
- public Get setZone(java.lang.String zone) {
+ public GetVersion setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
/**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * The name of the parent reservation and parent block. In the format of reservations/{reserva
+ * tion_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub
+ * _block_name}
*/
@com.google.api.client.util.Key
private java.lang.String parentName;
- /** The name of the parent reservation and parent block. In the format of
- reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ /** The name of the parent reservation and parent block. In the format of reservations/{reservation_nam
+ e}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
*/
public java.lang.String getParentName() {
return parentName;
}
/**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * The name of the parent reservation and parent block. In the format of reservations/{reserva
+ * tion_name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub
+ * _block_name}
*/
- public Get setParentName(java.lang.String parentName) {
+ public GetVersion setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
this.parentName = parentName;
return this;
}
/**
- * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ * The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
*/
@com.google.api.client.util.Key
- private java.lang.String reservationSubBlock;
+ private java.lang.String reservationSlot;
- /** The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ /** The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
*/
- public java.lang.String getReservationSubBlock() {
- return reservationSubBlock;
+ public java.lang.String getReservationSlot() {
+ return reservationSlot;
}
/**
- * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ * The name of the reservation slot. Name should conform to RFC1035 or be a resource ID.
*/
- public Get setReservationSubBlock(java.lang.String reservationSubBlock) {
- this.reservationSubBlock = reservationSubBlock;
+ public GetVersion setReservationSlot(java.lang.String reservationSlot) {
+ this.reservationSlot = reservationSlot;
return this;
}
- /** View of the subBlock. */
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
@com.google.api.client.util.Key
- private java.lang.String view;
+ private java.lang.String requestId;
- /** View of the subBlock.
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
*/
- public java.lang.String getView() {
- return view;
+ public java.lang.String getRequestId() {
+ return requestId;
}
- /** View of the subBlock. */
- public Get setView(java.lang.String view) {
- this.view = view;
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public GetVersion setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
return this;
}
@Override
- public Get set(String parameterName, Object value) {
- return (Get) super.set(parameterName, value);
+ public GetVersion set(String parameterName, Object value) {
+ return (GetVersion) super.set(parameterName, value);
}
}
/**
- * Retrieves a list of reservation subBlocks under a single reservation.
+ * Retrieves a list of reservation slots under a single reservation.
*
- * Create a request for the method "reservationSubBlocks.list".
+ * Create a request for the method "reservationSlots.list".
*
* This request holds the parameters needed by the compute server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the parent reservation and parent block, formatted as
+ reservations/{reservation_name}/re
+ * servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
* @return the request
*/
public List list(java.lang.String project, java.lang.String zone, java.lang.String parentName) throws java.io.IOException {
@@ -221981,31 +225113,40 @@ public List list(java.lang.String project, java.lang.String zone, java.lang.Stri
return result;
}
- public class List extends ComputeRequest {
+ public class List extends ComputeRequest {
- private static final String REST_PATH = "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks";
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSlots";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
/**
- * Retrieves a list of reservation subBlocks under a single reservation.
+ * Retrieves a list of reservation slots under a single reservation.
*
- * Create a request for the method "reservationSubBlocks.list".
+ * Create a request for the method "reservationSlots.list".
*
* This request holds the parameters needed by the the compute server. After setting any optional
* parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
* List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
* called to initialize this instance immediately after invoking the constructor.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the parent reservation and parent block, formatted as
+ reservations/{reservation_name}/re
+ * servationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
* @since 1.13
*/
protected List(java.lang.String project, java.lang.String zone, java.lang.String parentName) {
- super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ReservationSubBlocksListResponse.class);
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ReservationSlotsListResponse.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
}
@Override
@@ -222078,57 +225219,64 @@ public List setUserIp(java.lang.String userIp) {
return (List) super.setUserIp(userIp);
}
- /** Project ID for this request. */
+ /** The project ID for this request. */
@com.google.api.client.util.Key
private java.lang.String project;
- /** Project ID for this request.
+ /** The project ID for this request.
*/
public java.lang.String getProject() {
return project;
}
- /** Project ID for this request. */
+ /** The project ID for this request. */
public List setProject(java.lang.String project) {
this.project = project;
return this;
}
- /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ /** The name of the zone for this request, formatted as RFC1035. */
@com.google.api.client.util.Key
private java.lang.String zone;
- /** Name of the zone for this request. Zone name should conform to RFC1035.
+ /** The name of the zone for this request, formatted as RFC1035.
*/
public java.lang.String getZone() {
return zone;
}
- /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ /** The name of the zone for this request, formatted as RFC1035. */
public List setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
/**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * The name of the parent reservation and parent block, formatted as reservations/{reservation
+ * _name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_blo
+ * ck_name}
*/
@com.google.api.client.util.Key
private java.lang.String parentName;
- /** The name of the parent reservation and parent block. In the format of
- reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ /** The name of the parent reservation and parent block, formatted as reservations/{reservation_name}/r
+ eservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_block_name}
*/
public java.lang.String getParentName() {
return parentName;
}
/**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * The name of the parent reservation and parent block, formatted as reservations/{reservation
+ * _name}/reservationBlocks/{reservation_block_name}/reservationSubBlocks/{reservation_sub_blo
+ * ck_name}
*/
public List setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
this.parentName = parentName;
return this;
}
@@ -222403,254 +225551,243 @@ public List set(String parameterName, Object value) {
}
}
/**
- * Allows customers to perform maintenance on a reservation subBlock
+ * Update a reservation slot in the specified sub-block.
*
- * Create a request for the method "reservationSubBlocks.performMaintenance".
+ * Create a request for the method "reservationSlots.update".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link PerformMaintenance#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- * @param reservationSubBlock The name of the reservation subBlock.
- Name should conform to RFC1035 or be a resource ID.
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the sub-block resource.
+ * @param reservationSlot The name of the slot resource.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSlot}
* @return the request
*/
- public PerformMaintenance performMaintenance(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) throws java.io.IOException {
- PerformMaintenance result = new PerformMaintenance(project, zone, parentName, reservationSubBlock);
+ public Update update(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot, com.google.api.services.compute.model.ReservationSlot content) throws java.io.IOException {
+ Update result = new Update(project, zone, parentName, reservationSlot, content);
initialize(result);
return result;
}
- public class PerformMaintenance extends ComputeRequest {
+ public class Update extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}";
- private static final String REST_PATH = "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance";
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
/**
- * Allows customers to perform maintenance on a reservation subBlock
+ * Update a reservation slot in the specified sub-block.
*
- * Create a request for the method "reservationSubBlocks.performMaintenance".
+ * Create a request for the method "reservationSlots.update".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link PerformMaintenance#execute()} method to invoke the remote
- * operation. {@link PerformMaintenance#initialize(com.google.api.client.googleapis.services.A
- * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
- * invoking the constructor.
+ * parameters, call the {@link Update#execute()} method to invoke the remote operation. {@link
+ * Update#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
*
- * @param project Project ID for this request.
- * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
- * @param parentName The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- * @param reservationSubBlock The name of the reservation subBlock.
- Name should conform to RFC1035 or be a resource ID.
+ * @param project The project ID for this request.
+ * @param zone The name of the zone for this request, formatted as RFC1035.
+ * @param parentName The name of the sub-block resource.
+ * @param reservationSlot The name of the slot resource.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSlot}
* @since 1.13
*/
- protected PerformMaintenance(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) {
- super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ protected Update(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSlot, com.google.api.services.compute.model.ReservationSlot content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
- this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
+ this.reservationSlot = com.google.api.client.util.Preconditions.checkNotNull(reservationSlot, "Required parameter reservationSlot must be specified.");
}
@Override
- public PerformMaintenance set$Xgafv(java.lang.String $Xgafv) {
- return (PerformMaintenance) super.set$Xgafv($Xgafv);
+ public Update set$Xgafv(java.lang.String $Xgafv) {
+ return (Update) super.set$Xgafv($Xgafv);
}
@Override
- public PerformMaintenance setAccessToken(java.lang.String accessToken) {
- return (PerformMaintenance) super.setAccessToken(accessToken);
+ public Update setAccessToken(java.lang.String accessToken) {
+ return (Update) super.setAccessToken(accessToken);
}
@Override
- public PerformMaintenance setAlt(java.lang.String alt) {
- return (PerformMaintenance) super.setAlt(alt);
+ public Update setAlt(java.lang.String alt) {
+ return (Update) super.setAlt(alt);
}
@Override
- public PerformMaintenance setCallback(java.lang.String callback) {
- return (PerformMaintenance) super.setCallback(callback);
+ public Update setCallback(java.lang.String callback) {
+ return (Update) super.setCallback(callback);
}
@Override
- public PerformMaintenance setFields(java.lang.String fields) {
- return (PerformMaintenance) super.setFields(fields);
+ public Update setFields(java.lang.String fields) {
+ return (Update) super.setFields(fields);
}
@Override
- public PerformMaintenance setKey(java.lang.String key) {
- return (PerformMaintenance) super.setKey(key);
+ public Update setKey(java.lang.String key) {
+ return (Update) super.setKey(key);
}
@Override
- public PerformMaintenance setOauthToken(java.lang.String oauthToken) {
- return (PerformMaintenance) super.setOauthToken(oauthToken);
+ public Update setOauthToken(java.lang.String oauthToken) {
+ return (Update) super.setOauthToken(oauthToken);
}
@Override
- public PerformMaintenance setPrettyPrint(java.lang.Boolean prettyPrint) {
- return (PerformMaintenance) super.setPrettyPrint(prettyPrint);
+ public Update setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Update) super.setPrettyPrint(prettyPrint);
}
@Override
- public PerformMaintenance setQuotaUser(java.lang.String quotaUser) {
- return (PerformMaintenance) super.setQuotaUser(quotaUser);
+ public Update setQuotaUser(java.lang.String quotaUser) {
+ return (Update) super.setQuotaUser(quotaUser);
}
@Override
- public PerformMaintenance setUploadType(java.lang.String uploadType) {
- return (PerformMaintenance) super.setUploadType(uploadType);
+ public Update setUploadType(java.lang.String uploadType) {
+ return (Update) super.setUploadType(uploadType);
}
@Override
- public PerformMaintenance setUploadProtocol(java.lang.String uploadProtocol) {
- return (PerformMaintenance) super.setUploadProtocol(uploadProtocol);
+ public Update setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Update) super.setUploadProtocol(uploadProtocol);
}
@Override
- public PerformMaintenance setUserIp(java.lang.String userIp) {
- return (PerformMaintenance) super.setUserIp(userIp);
+ public Update setUserIp(java.lang.String userIp) {
+ return (Update) super.setUserIp(userIp);
}
- /** Project ID for this request. */
+ /** The project ID for this request. */
@com.google.api.client.util.Key
private java.lang.String project;
- /** Project ID for this request.
+ /** The project ID for this request.
*/
public java.lang.String getProject() {
return project;
}
- /** Project ID for this request. */
- public PerformMaintenance setProject(java.lang.String project) {
+ /** The project ID for this request. */
+ public Update setProject(java.lang.String project) {
this.project = project;
return this;
}
- /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ /** The name of the zone for this request, formatted as RFC1035. */
@com.google.api.client.util.Key
private java.lang.String zone;
- /** Name of the zone for this request. Zone name should conform to RFC1035.
+ /** The name of the zone for this request, formatted as RFC1035.
*/
public java.lang.String getZone() {
return zone;
}
- /** Name of the zone for this request. Zone name should conform to RFC1035. */
- public PerformMaintenance setZone(java.lang.String zone) {
+ /** The name of the zone for this request, formatted as RFC1035. */
+ public Update setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
- /**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- */
+ /** The name of the sub-block resource. */
@com.google.api.client.util.Key
private java.lang.String parentName;
- /** The name of the parent reservation and parent block. In the format of
- reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ /** The name of the sub-block resource.
*/
public java.lang.String getParentName() {
return parentName;
}
- /**
- * The name of the parent reservation and parent block. In the format of
- * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
- */
- public PerformMaintenance setParentName(java.lang.String parentName) {
+ /** The name of the sub-block resource. */
+ public Update setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "reservations/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})/reservationSubBlocks/([a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19})");
+ }
this.parentName = parentName;
return this;
}
- /**
- * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
- */
+ /** The name of the slot resource. */
@com.google.api.client.util.Key
- private java.lang.String reservationSubBlock;
+ private java.lang.String reservationSlot;
- /** The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ /** The name of the slot resource.
*/
- public java.lang.String getReservationSubBlock() {
- return reservationSubBlock;
+ public java.lang.String getReservationSlot() {
+ return reservationSlot;
}
- /**
- * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
- */
- public PerformMaintenance setReservationSubBlock(java.lang.String reservationSubBlock) {
- this.reservationSubBlock = reservationSubBlock;
+ /** The name of the slot resource. */
+ public Update setReservationSlot(java.lang.String reservationSlot) {
+ this.reservationSlot = reservationSlot;
return this;
}
- /**
- * An optional request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server will know to ignore the request if it has already been
- * completed.
- *
- * For example, consider a situation where you make an initial request and the request times
- * out. If you make the request again with the same request ID, the server can check if
- * original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
- *
- * The request ID must be a valid UUID with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
- */
+ /** The fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private java.lang.String requestId;
-
- /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
- your request, the server will know to ignore the request if it has already been completed.
-
- For example, consider a situation where you make an initial request and the request times out. If
- you make the request again with the same request ID, the server can check if original operation
- with the same request ID was received, and if so, will ignore the second request. This prevents
- clients from accidentally creating duplicate commitments.
+ private java.lang.String updateMask;
- The request ID must be a valid UUID with the exception that zero UUID is not supported
- (00000000-0000-0000-0000-000000000000).
+ /** The fields to be updated as part of this request.
*/
- public java.lang.String getRequestId() {
- return requestId;
+ public java.lang.String getUpdateMask() {
+ return updateMask;
}
- /**
- * An optional request ID to identify requests. Specify a unique request ID so that if you
- * must retry your request, the server will know to ignore the request if it has already been
- * completed.
- *
- * For example, consider a situation where you make an initial request and the request times
- * out. If you make the request again with the same request ID, the server can check if
- * original operation with the same request ID was received, and if so, will ignore the second
- * request. This prevents clients from accidentally creating duplicate commitments.
- *
- * The request ID must be a valid UUID with the exception that zero UUID is not supported
- * (00000000-0000-0000-0000-000000000000).
- */
- public PerformMaintenance setRequestId(java.lang.String requestId) {
- this.requestId = requestId;
+ /** The fields to be updated as part of this request. */
+ public Update setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
return this;
}
@Override
- public PerformMaintenance set(String parameterName, Object value) {
- return (PerformMaintenance) super.set(parameterName, value);
+ public Update set(String parameterName, Object value) {
+ return (Update) super.set(parameterName, value);
}
}
+
+ }
+
+ /**
+ * An accessor for creating requests from the ReservationSubBlocks collection.
+ *
+ * The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.ReservationSubBlocks.List request = compute.reservationSubBlocks().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public ReservationSubBlocks reservationSubBlocks() {
+ return new ReservationSubBlocks();
+ }
+
+ /**
+ * The "reservationSubBlocks" collection of methods.
+ */
+ public class ReservationSubBlocks {
+
/**
- * Allows customers to report a faulty subBlock.
+ * Retrieves information about the specified reservation subBlock.
*
- * Create a request for the method "reservationSubBlocks.reportFaulty".
+ * Create a request for the method "reservationSubBlocks.get".
*
* This request holds the parameters needed by the compute server. After setting any optional
- * parameters, call the {@link ReportFaulty#execute()} method to invoke the remote operation.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
*
* @param project Project ID for this request.
* @param zone Name of the zone for this request. Zone name should conform to RFC1035.
@@ -222658,29 +225795,30 @@ public PerformMaintenance set(String parameterName, Object value) {
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
* @param reservationSubBlock The name of the reservation subBlock.
Name should conform to RFC1035 or be a resource ID.
- * @param content the {@link com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest}
* @return the request
*/
- public ReportFaulty reportFaulty(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest content) throws java.io.IOException {
- ReportFaulty result = new ReportFaulty(project, zone, parentName, reservationSubBlock, content);
+ public Get get(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) throws java.io.IOException {
+ Get result = new Get(project, zone, parentName, reservationSubBlock);
initialize(result);
return result;
}
- public class ReportFaulty extends ComputeRequest {
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}";
- private static final String REST_PATH = "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty";
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
/**
- * Allows customers to report a faulty subBlock.
+ * Retrieves information about the specified reservation subBlock.
*
- * Create a request for the method "reservationSubBlocks.reportFaulty".
+ * Create a request for the method "reservationSubBlocks.get".
*
* This request holds the parameters needed by the the compute server. After setting any optional
- * parameters, call the {@link ReportFaulty#execute()} method to invoke the remote operation.
- * {@link
- * ReportFaulty#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
- * must be called to initialize this instance immediately after invoking the constructor.
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
*
* @param project Project ID for this request.
* @param zone Name of the zone for this request. Zone name should conform to RFC1035.
@@ -222688,75 +225826,89 @@ public class ReportFaulty extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/getVersion";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
+
+ /**
+ * Allows customers to get SBOM versions of a reservation subBlock.
+ *
+ * Create a request for the method "reservationSubBlocks.getVersion".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVersion#execute()} method to invoke the remote operation.
+ * {@link
+ * GetVersion#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param reservationSubBlock The name of the reservation subBlock.
+ Name should conform to RFC1035 or be a resource ID.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSubBlocksGetVersionRequest}
+ * @since 1.13
+ */
+ protected GetVersion(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlocksGetVersionRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
+ }
+
+ @Override
+ public GetVersion set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVersion) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVersion setAccessToken(java.lang.String accessToken) {
+ return (GetVersion) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVersion setAlt(java.lang.String alt) {
+ return (GetVersion) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVersion setCallback(java.lang.String callback) {
+ return (GetVersion) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVersion setFields(java.lang.String fields) {
+ return (GetVersion) super.setFields(fields);
+ }
+
+ @Override
+ public GetVersion setKey(java.lang.String key) {
+ return (GetVersion) super.setKey(key);
+ }
+
+ @Override
+ public GetVersion setOauthToken(java.lang.String oauthToken) {
+ return (GetVersion) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVersion setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVersion) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVersion setQuotaUser(java.lang.String quotaUser) {
+ return (GetVersion) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVersion setUploadType(java.lang.String uploadType) {
+ return (GetVersion) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVersion setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVersion) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVersion setUserIp(java.lang.String userIp) {
+ return (GetVersion) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public GetVersion setProject(java.lang.String project) {
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ public GetVersion setZone(java.lang.String zone) {
+ this.zone = zone;
+ return this;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parentName;
+
+ /** The name of the parent reservation and parent block. In the format of
+ reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public java.lang.String getParentName() {
+ return parentName;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public GetVersion setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.parentName = parentName;
+ return this;
+ }
+
+ /**
+ * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String reservationSubBlock;
+
+ /** The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ public java.lang.String getReservationSubBlock() {
+ return reservationSubBlock;
+ }
+
+ /**
+ * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ public GetVersion setReservationSubBlock(java.lang.String reservationSubBlock) {
+ this.reservationSubBlock = reservationSubBlock;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public GetVersion setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public GetVersion set(String parameterName, Object value) {
+ return (GetVersion) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Retrieves a list of reservation subBlocks under a single reservation.
+ *
+ * Create a request for the method "reservationSubBlocks.list".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @return the request
+ */
+ public List list(java.lang.String project, java.lang.String zone, java.lang.String parentName) throws java.io.IOException {
+ List result = new List(project, zone, parentName);
+ initialize(result);
+ return result;
+ }
+
+ public class List extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
+
+ /**
+ * Retrieves a list of reservation subBlocks under a single reservation.
+ *
+ * Create a request for the method "reservationSubBlocks.list".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. {@link
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @since 1.13
+ */
+ protected List(java.lang.String project, java.lang.String zone, java.lang.String parentName) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ReservationSubBlocksListResponse.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public List set$Xgafv(java.lang.String $Xgafv) {
+ return (List) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public List setAccessToken(java.lang.String accessToken) {
+ return (List) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public List setAlt(java.lang.String alt) {
+ return (List) super.setAlt(alt);
+ }
+
+ @Override
+ public List setCallback(java.lang.String callback) {
+ return (List) super.setCallback(callback);
+ }
+
+ @Override
+ public List setFields(java.lang.String fields) {
+ return (List) super.setFields(fields);
+ }
+
+ @Override
+ public List setKey(java.lang.String key) {
+ return (List) super.setKey(key);
+ }
+
+ @Override
+ public List setOauthToken(java.lang.String oauthToken) {
+ return (List) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public List setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (List) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public List setQuotaUser(java.lang.String quotaUser) {
+ return (List) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public List setUploadType(java.lang.String uploadType) {
+ return (List) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public List setUploadProtocol(java.lang.String uploadProtocol) {
+ return (List) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public List setUserIp(java.lang.String userIp) {
+ return (List) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public List setProject(java.lang.String project) {
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ public List setZone(java.lang.String zone) {
+ this.zone = zone;
+ return this;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parentName;
+
+ /** The name of the parent reservation and parent block. In the format of
+ reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public java.lang.String getParentName() {
+ return parentName;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public List setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.parentName = parentName;
+ return this;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public List setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public List setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public List setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public List setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean returnPartialSuccess;
+
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default
+ value is false.
+
+ For example, when partial success behavior is enabled, aggregatedList for a single zone scope
+ either returns all resources in the zone or no resources, with an error code.
+ */
+ public java.lang.Boolean getReturnPartialSuccess() {
+ return returnPartialSuccess;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
+ this.returnPartialSuccess = returnPartialSuccess;
+ return this;
+ }
+
+ @Override
+ public List set(String parameterName, Object value) {
+ return (List) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Allows customers to perform maintenance on a reservation subBlock
+ *
+ * Create a request for the method "reservationSubBlocks.performMaintenance".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link PerformMaintenance#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param reservationSubBlock The name of the reservation subBlock.
+ Name should conform to RFC1035 or be a resource ID.
+ * @return the request
+ */
+ public PerformMaintenance performMaintenance(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) throws java.io.IOException {
+ PerformMaintenance result = new PerformMaintenance(project, zone, parentName, reservationSubBlock);
+ initialize(result);
+ return result;
+ }
+
+ public class PerformMaintenance extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
+
+ /**
+ * Allows customers to perform maintenance on a reservation subBlock
+ *
+ * Create a request for the method "reservationSubBlocks.performMaintenance".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link PerformMaintenance#execute()} method to invoke the remote
+ * operation. {@link PerformMaintenance#initialize(com.google.api.client.googleapis.services.A
+ * bstractGoogleClientRequest)} must be called to initialize this instance immediately after
+ * invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param reservationSubBlock The name of the reservation subBlock.
+ Name should conform to RFC1035 or be a resource ID.
+ * @since 1.13
+ */
+ protected PerformMaintenance(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
+ }
+
+ @Override
+ public PerformMaintenance set$Xgafv(java.lang.String $Xgafv) {
+ return (PerformMaintenance) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public PerformMaintenance setAccessToken(java.lang.String accessToken) {
+ return (PerformMaintenance) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public PerformMaintenance setAlt(java.lang.String alt) {
+ return (PerformMaintenance) super.setAlt(alt);
+ }
+
+ @Override
+ public PerformMaintenance setCallback(java.lang.String callback) {
+ return (PerformMaintenance) super.setCallback(callback);
+ }
+
+ @Override
+ public PerformMaintenance setFields(java.lang.String fields) {
+ return (PerformMaintenance) super.setFields(fields);
+ }
+
+ @Override
+ public PerformMaintenance setKey(java.lang.String key) {
+ return (PerformMaintenance) super.setKey(key);
+ }
+
+ @Override
+ public PerformMaintenance setOauthToken(java.lang.String oauthToken) {
+ return (PerformMaintenance) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public PerformMaintenance setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (PerformMaintenance) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public PerformMaintenance setQuotaUser(java.lang.String quotaUser) {
+ return (PerformMaintenance) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public PerformMaintenance setUploadType(java.lang.String uploadType) {
+ return (PerformMaintenance) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public PerformMaintenance setUploadProtocol(java.lang.String uploadProtocol) {
+ return (PerformMaintenance) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public PerformMaintenance setUserIp(java.lang.String userIp) {
+ return (PerformMaintenance) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public PerformMaintenance setProject(java.lang.String project) {
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ public PerformMaintenance setZone(java.lang.String zone) {
+ this.zone = zone;
+ return this;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String parentName;
+
+ /** The name of the parent reservation and parent block. In the format of
+ reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public java.lang.String getParentName() {
+ return parentName;
+ }
+
+ /**
+ * The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ */
+ public PerformMaintenance setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.parentName = parentName;
+ return this;
+ }
+
+ /**
+ * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String reservationSubBlock;
+
+ /** The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ public java.lang.String getReservationSubBlock() {
+ return reservationSubBlock;
+ }
+
+ /**
+ * The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
+ */
+ public PerformMaintenance setReservationSubBlock(java.lang.String reservationSubBlock) {
+ this.reservationSubBlock = reservationSubBlock;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public PerformMaintenance setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public PerformMaintenance set(String parameterName, Object value) {
+ return (PerformMaintenance) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Allows customers to report a faulty subBlock.
+ *
+ * Create a request for the method "reservationSubBlocks.reportFaulty".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link ReportFaulty#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param reservationSubBlock The name of the reservation subBlock.
+ Name should conform to RFC1035 or be a resource ID.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest}
+ * @return the request
+ */
+ public ReportFaulty reportFaulty(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest content) throws java.io.IOException {
+ ReportFaulty result = new ReportFaulty(project, zone, parentName, reservationSubBlock, content);
+ initialize(result);
+ return result;
+ }
+
+ public class ReportFaulty extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty";
+
+ private final java.util.regex.Pattern PARENT_NAME_PATTERN =
+ java.util.regex.Pattern.compile("^reservations/[^/]+/reservationBlocks/[^/]+$");
+
+ /**
+ * Allows customers to report a faulty subBlock.
+ *
+ * Create a request for the method "reservationSubBlocks.reportFaulty".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link ReportFaulty#execute()} method to invoke the remote operation.
+ * {@link
+ * ReportFaulty#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
+ * must be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request. Zone name should conform to RFC1035.
+ * @param parentName The name of the parent reservation and parent block. In the format of
+ * reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
+ * @param reservationSubBlock The name of the reservation subBlock.
+ Name should conform to RFC1035 or be a resource ID.
+ * @param content the {@link com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest}
+ * @since 1.13
+ */
+ protected ReportFaulty(java.lang.String project, java.lang.String zone, java.lang.String parentName, java.lang.String reservationSubBlock, com.google.api.services.compute.model.ReservationSubBlocksReportFaultyRequest content) {
+ super(Compute.this, "POST", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ this.parentName = com.google.api.client.util.Preconditions.checkNotNull(parentName, "Required parameter parentName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
+ this.reservationSubBlock = com.google.api.client.util.Preconditions.checkNotNull(reservationSubBlock, "Required parameter reservationSubBlock must be specified.");
+ }
+
+ @Override
+ public ReportFaulty set$Xgafv(java.lang.String $Xgafv) {
+ return (ReportFaulty) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public ReportFaulty setAccessToken(java.lang.String accessToken) {
+ return (ReportFaulty) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public ReportFaulty setAlt(java.lang.String alt) {
+ return (ReportFaulty) super.setAlt(alt);
+ }
+
+ @Override
+ public ReportFaulty setCallback(java.lang.String callback) {
+ return (ReportFaulty) super.setCallback(callback);
+ }
+
+ @Override
+ public ReportFaulty setFields(java.lang.String fields) {
+ return (ReportFaulty) super.setFields(fields);
+ }
+
+ @Override
+ public ReportFaulty setKey(java.lang.String key) {
+ return (ReportFaulty) super.setKey(key);
+ }
+
+ @Override
+ public ReportFaulty setOauthToken(java.lang.String oauthToken) {
+ return (ReportFaulty) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public ReportFaulty setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ReportFaulty) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public ReportFaulty setQuotaUser(java.lang.String quotaUser) {
+ return (ReportFaulty) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public ReportFaulty setUploadType(java.lang.String uploadType) {
+ return (ReportFaulty) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public ReportFaulty setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ReportFaulty) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public ReportFaulty setUserIp(java.lang.String userIp) {
+ return (ReportFaulty) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public ReportFaulty setProject(java.lang.String project) {
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. Zone name should conform to RFC1035. */
+ public ReportFaulty setZone(java.lang.String zone) {
this.zone = zone;
return this;
}
@@ -222810,6 +227152,11 @@ public java.lang.String getParentName() {
* reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
*/
public ReportFaulty setParentName(java.lang.String parentName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PARENT_NAME_PATTERN.matcher(parentName).matches(),
+ "Parameter parentName must conform to the pattern " +
+ "^reservations/[^/]+/reservationBlocks/[^/]+$");
+ }
this.parentName = parentName;
return this;
}
@@ -225856,16 +230203,16 @@ public Update setRequestId(java.lang.String requestId) {
/** Update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Update_mask indicates fields to be updated as part of this request. */
- public Update setUpdateMask(String updateMask) {
+ public Update setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -227964,16 +232311,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -230445,6 +234792,480 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
+ /**
+ * Pauses a Rollout.
+ *
+ * Create a request for the method "rollouts.pause".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Pause#execute()} method to invoke the remote operation.
+ *
+ * @param project Required. Project ID for this request.
+ * @param rollout Required. Name of the Rollout resource to pause.
+ * @return the request
+ */
+ public Pause pause(java.lang.String project, java.lang.String rollout) throws java.io.IOException {
+ Pause result = new Pause(project, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Pause extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/rollouts/{rollout}/pause";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Pauses a Rollout.
+ *
+ * Create a request for the method "rollouts.pause".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Pause#execute()} method to invoke the remote operation. {@link
+ * Pause#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Required. Project ID for this request.
+ * @param rollout Required. Name of the Rollout resource to pause.
+ * @since 1.13
+ */
+ protected Pause(java.lang.String project, java.lang.String rollout) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public Pause set$Xgafv(java.lang.String $Xgafv) {
+ return (Pause) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Pause setAccessToken(java.lang.String accessToken) {
+ return (Pause) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Pause setAlt(java.lang.String alt) {
+ return (Pause) super.setAlt(alt);
+ }
+
+ @Override
+ public Pause setCallback(java.lang.String callback) {
+ return (Pause) super.setCallback(callback);
+ }
+
+ @Override
+ public Pause setFields(java.lang.String fields) {
+ return (Pause) super.setFields(fields);
+ }
+
+ @Override
+ public Pause setKey(java.lang.String key) {
+ return (Pause) super.setKey(key);
+ }
+
+ @Override
+ public Pause setOauthToken(java.lang.String oauthToken) {
+ return (Pause) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Pause setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Pause) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Pause setQuotaUser(java.lang.String quotaUser) {
+ return (Pause) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Pause setUploadType(java.lang.String uploadType) {
+ return (Pause) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Pause setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Pause) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Pause setUserIp(java.lang.String userIp) {
+ return (Pause) super.setUserIp(userIp);
+ }
+
+ /** Required. Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Required. Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Required. Project ID for this request. */
+ public Pause setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Required. Name of the Rollout resource to pause. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Required. Name of the Rollout resource to pause.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Required. Name of the Rollout resource to pause. */
+ public Pause setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the
+ current etag of the Rollout.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ public Pause setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Pause setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Pause set(String parameterName, Object value) {
+ return (Pause) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Resumes a Rollout.
+ *
+ * Create a request for the method "rollouts.resume".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Resume#execute()} method to invoke the remote operation.
+ *
+ * @param project Required. Project ID for this request.
+ * @param rollout Required. Name of the Rollout resource to resume.
+ * @return the request
+ */
+ public Resume resume(java.lang.String project, java.lang.String rollout) throws java.io.IOException {
+ Resume result = new Resume(project, rollout);
+ initialize(result);
+ return result;
+ }
+
+ public class Resume extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/rollouts/{rollout}/resume";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ROLLOUT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Resumes a Rollout.
+ *
+ * Create a request for the method "rollouts.resume".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Resume#execute()} method to invoke the remote operation. {@link
+ * Resume#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Required. Project ID for this request.
+ * @param rollout Required. Name of the Rollout resource to resume.
+ * @since 1.13
+ */
+ protected Resume(java.lang.String project, java.lang.String rollout) {
+ super(Compute.this, "POST", REST_PATH, null, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.rollout = com.google.api.client.util.Preconditions.checkNotNull(rollout, "Required parameter rollout must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public Resume set$Xgafv(java.lang.String $Xgafv) {
+ return (Resume) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Resume setAccessToken(java.lang.String accessToken) {
+ return (Resume) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Resume setAlt(java.lang.String alt) {
+ return (Resume) super.setAlt(alt);
+ }
+
+ @Override
+ public Resume setCallback(java.lang.String callback) {
+ return (Resume) super.setCallback(callback);
+ }
+
+ @Override
+ public Resume setFields(java.lang.String fields) {
+ return (Resume) super.setFields(fields);
+ }
+
+ @Override
+ public Resume setKey(java.lang.String key) {
+ return (Resume) super.setKey(key);
+ }
+
+ @Override
+ public Resume setOauthToken(java.lang.String oauthToken) {
+ return (Resume) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Resume setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Resume) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Resume setQuotaUser(java.lang.String quotaUser) {
+ return (Resume) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Resume setUploadType(java.lang.String uploadType) {
+ return (Resume) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Resume setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Resume) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Resume setUserIp(java.lang.String userIp) {
+ return (Resume) super.setUserIp(userIp);
+ }
+
+ /** Required. Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Required. Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Required. Project ID for this request. */
+ public Resume setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Required. Name of the Rollout resource to resume. */
+ @com.google.api.client.util.Key
+ private java.lang.String rollout;
+
+ /** Required. Name of the Rollout resource to resume.
+ */
+ public java.lang.String getRollout() {
+ return rollout;
+ }
+
+ /** Required. Name of the Rollout resource to resume. */
+ public Resume setRollout(java.lang.String rollout) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ROLLOUT_PATTERN.matcher(rollout).matches(),
+ "Parameter rollout must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.rollout = rollout;
+ return this;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String etag;
+
+ /** The etag of the Rollout. If this is provided, the request will only succeed if the etag matches the
+ current etag of the Rollout.
+ */
+ public java.lang.String getEtag() {
+ return etag;
+ }
+
+ /**
+ * The etag of the Rollout. If this is provided, the request will only succeed if the etag
+ * matches the current etag of the Rollout.
+ */
+ public Resume setEtag(java.lang.String etag) {
+ this.etag = etag;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Resume setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ @Override
+ public Resume set(String parameterName, Object value) {
+ return (Resume) super.set(parameterName, value);
+ }
+ }
}
@@ -241092,16 +245913,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** Indicates fields to be cleared as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Indicates fields to be cleared as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Indicates fields to be cleared as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -241294,16 +246115,16 @@ public PatchRule setPriority(java.lang.Integer priority) {
/** Indicates fields to be cleared as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** Indicates fields to be cleared as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** Indicates fields to be cleared as part of this request. */
- public PatchRule setUpdateMask(String updateMask) {
+ public PatchRule setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -245866,6 +250687,372 @@ public TestIamPermissions set(String parameterName, Object value) {
}
+ /**
+ * An accessor for creating requests from the SnapshotRecycleBinPolicy collection.
+ *
+ * The typical use is:
+ *
+ * {@code Compute compute = new Compute(...);}
+ * {@code Compute.SnapshotRecycleBinPolicy.List request = compute.snapshotRecycleBinPolicy().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public SnapshotRecycleBinPolicy snapshotRecycleBinPolicy() {
+ return new SnapshotRecycleBinPolicy();
+ }
+
+ /**
+ * The "snapshotRecycleBinPolicy" collection of methods.
+ */
+ public class SnapshotRecycleBinPolicy {
+
+ /**
+ * Returns the specified SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "snapshotRecycleBinPolicy.get".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @return the request
+ */
+ public Get get(java.lang.String project) throws java.io.IOException {
+ Get result = new Get(project);
+ initialize(result);
+ return result;
+ }
+
+ public class Get extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/snapshotRecycleBinPolicy";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Returns the specified SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "snapshotRecycleBinPolicy.get".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Get#execute()} method to invoke the remote operation. {@link
+ * Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
+ * called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @since 1.13
+ */
+ protected Get(java.lang.String project) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.SnapshotRecycleBinPolicy.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public Get set$Xgafv(java.lang.String $Xgafv) {
+ return (Get) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Get setAccessToken(java.lang.String accessToken) {
+ return (Get) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Get setAlt(java.lang.String alt) {
+ return (Get) super.setAlt(alt);
+ }
+
+ @Override
+ public Get setCallback(java.lang.String callback) {
+ return (Get) super.setCallback(callback);
+ }
+
+ @Override
+ public Get setFields(java.lang.String fields) {
+ return (Get) super.setFields(fields);
+ }
+
+ @Override
+ public Get setKey(java.lang.String key) {
+ return (Get) super.setKey(key);
+ }
+
+ @Override
+ public Get setOauthToken(java.lang.String oauthToken) {
+ return (Get) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Get setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Get) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Get setQuotaUser(java.lang.String quotaUser) {
+ return (Get) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Get setUploadType(java.lang.String uploadType) {
+ return (Get) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Get setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Get) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Get setUserIp(java.lang.String userIp) {
+ return (Get) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public Get setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ @Override
+ public Get set(String parameterName, Object value) {
+ return (Get) super.set(parameterName, value);
+ }
+ }
+ /**
+ * Patches the SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "snapshotRecycleBinPolicy.patch".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation.
+ *
+ * @param project Project ID for this request.
+ * @param content the {@link com.google.api.services.compute.model.SnapshotRecycleBinPolicy}
+ * @return the request
+ */
+ public Patch patch(java.lang.String project, com.google.api.services.compute.model.SnapshotRecycleBinPolicy content) throws java.io.IOException {
+ Patch result = new Patch(project, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Patch extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/snapshotRecycleBinPolicy";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ /**
+ * Patches the SnapshotRecycleBinPolicy.
+ *
+ * Create a request for the method "snapshotRecycleBinPolicy.patch".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link Patch#execute()} method to invoke the remote operation. {@link
+ * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
+ * be called to initialize this instance immediately after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param content the {@link com.google.api.services.compute.model.SnapshotRecycleBinPolicy}
+ * @since 1.13
+ */
+ protected Patch(java.lang.String project, com.google.api.services.compute.model.SnapshotRecycleBinPolicy content) {
+ super(Compute.this, "PATCH", REST_PATH, content, com.google.api.services.compute.model.Operation.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ }
+
+ @Override
+ public Patch set$Xgafv(java.lang.String $Xgafv) {
+ return (Patch) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Patch setAccessToken(java.lang.String accessToken) {
+ return (Patch) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Patch setAlt(java.lang.String alt) {
+ return (Patch) super.setAlt(alt);
+ }
+
+ @Override
+ public Patch setCallback(java.lang.String callback) {
+ return (Patch) super.setCallback(callback);
+ }
+
+ @Override
+ public Patch setFields(java.lang.String fields) {
+ return (Patch) super.setFields(fields);
+ }
+
+ @Override
+ public Patch setKey(java.lang.String key) {
+ return (Patch) super.setKey(key);
+ }
+
+ @Override
+ public Patch setOauthToken(java.lang.String oauthToken) {
+ return (Patch) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Patch setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Patch) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Patch setQuotaUser(java.lang.String quotaUser) {
+ return (Patch) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Patch setUploadType(java.lang.String uploadType) {
+ return (Patch) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Patch) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public Patch setUserIp(java.lang.String userIp) {
+ return (Patch) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public Patch setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String requestId;
+
+ /** An optional request ID to identify requests. Specify a unique request ID so that if you must retry
+ your request, the server will know to ignore the request if it has already been completed.
+
+ For example, consider a situation where you make an initial request and the request times out. If
+ you make the request again with the same request ID, the server can check if original operation
+ with the same request ID was received, and if so, will ignore the second request. This prevents
+ clients from accidentally creating duplicate commitments.
+
+ The request ID must be a valid UUID with the exception that zero UUID is not supported
+ (00000000-0000-0000-0000-000000000000).
+ */
+ public java.lang.String getRequestId() {
+ return requestId;
+ }
+
+ /**
+ * An optional request ID to identify requests. Specify a unique request ID so that if you
+ * must retry your request, the server will know to ignore the request if it has already been
+ * completed.
+ *
+ * For example, consider a situation where you make an initial request and the request times
+ * out. If you make the request again with the same request ID, the server can check if
+ * original operation with the same request ID was received, and if so, will ignore the second
+ * request. This prevents clients from accidentally creating duplicate commitments.
+ *
+ * The request ID must be a valid UUID with the exception that zero UUID is not supported
+ * (00000000-0000-0000-0000-000000000000).
+ */
+ public Patch setRequestId(java.lang.String requestId) {
+ this.requestId = requestId;
+ return this;
+ }
+
+ /** update_mask indicates fields to be updated as part of this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String updateMask;
+
+ /** update_mask indicates fields to be updated as part of this request.
+ */
+ public java.lang.String getUpdateMask() {
+ return updateMask;
+ }
+
+ /** update_mask indicates fields to be updated as part of this request. */
+ public Patch setUpdateMask(java.lang.String updateMask) {
+ this.updateMask = updateMask;
+ return this;
+ }
+
+ @Override
+ public Patch set(String parameterName, Object value) {
+ return (Patch) super.set(parameterName, value);
+ }
+ }
+
+ }
+
/**
* An accessor for creating requests from the SnapshotSettings collection.
*
@@ -246210,16 +251397,16 @@ public Patch setRequestId(java.lang.String requestId) {
/** update_mask indicates fields to be updated as part of this request. */
@com.google.api.client.util.Key
- private String updateMask;
+ private java.lang.String updateMask;
/** update_mask indicates fields to be updated as part of this request.
*/
- public String getUpdateMask() {
+ public java.lang.String getUpdateMask() {
return updateMask;
}
/** update_mask indicates fields to be updated as part of this request. */
- public Patch setUpdateMask(String updateMask) {
+ public Patch setUpdateMask(java.lang.String updateMask) {
this.updateMask = updateMask;
return this;
}
@@ -247124,6 +252311,185 @@ public Get set(String parameterName, Object value) {
return (Get) super.set(parameterName, value);
}
}
+ /**
+ * Returns the effective recycle bin rule for a snapshot by merging org and project level rules. If
+ * no rules are defined at org and project level, the standard default rule is returned.
+ *
+ * Create a request for the method "snapshots.getEffectiveRecycleBinRule".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link GetEffectiveRecycleBinRule#execute()} method to invoke the remote
+ * operation.
+ *
+ * @param project Project ID for this request.
+ * @param snapshot Name of the Snapshot resource to get the effective recycle bin rule for.
+ * @return the request
+ */
+ public GetEffectiveRecycleBinRule getEffectiveRecycleBinRule(java.lang.String project, java.lang.String snapshot) throws java.io.IOException {
+ GetEffectiveRecycleBinRule result = new GetEffectiveRecycleBinRule(project, snapshot);
+ initialize(result);
+ return result;
+ }
+
+ public class GetEffectiveRecycleBinRule extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/global/snapshots/{snapshot}/getEffectiveRecycleBinRule";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern SNAPSHOT_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Returns the effective recycle bin rule for a snapshot by merging org and project level rules.
+ * If no rules are defined at org and project level, the standard default rule is returned.
+ *
+ * Create a request for the method "snapshots.getEffectiveRecycleBinRule".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetEffectiveRecycleBinRule#execute()} method to invoke the remote
+ * operation. {@link GetEffectiveRecycleBinRule#initialize(com.google.api.client.googleapis.se
+ * rvices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
+ * after invoking the constructor.
+ *
+ * @param project Project ID for this request.
+ * @param snapshot Name of the Snapshot resource to get the effective recycle bin rule for.
+ * @since 1.13
+ */
+ protected GetEffectiveRecycleBinRule(java.lang.String project, java.lang.String snapshot) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.SnapshotsGetEffectiveRecycleBinRuleResponse.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.snapshot = com.google.api.client.util.Preconditions.checkNotNull(snapshot, "Required parameter snapshot must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(SNAPSHOT_PATTERN.matcher(snapshot).matches(),
+ "Parameter snapshot must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule set$Xgafv(java.lang.String $Xgafv) {
+ return (GetEffectiveRecycleBinRule) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setAccessToken(java.lang.String accessToken) {
+ return (GetEffectiveRecycleBinRule) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setAlt(java.lang.String alt) {
+ return (GetEffectiveRecycleBinRule) super.setAlt(alt);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setCallback(java.lang.String callback) {
+ return (GetEffectiveRecycleBinRule) super.setCallback(callback);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setFields(java.lang.String fields) {
+ return (GetEffectiveRecycleBinRule) super.setFields(fields);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setKey(java.lang.String key) {
+ return (GetEffectiveRecycleBinRule) super.setKey(key);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setOauthToken(java.lang.String oauthToken) {
+ return (GetEffectiveRecycleBinRule) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetEffectiveRecycleBinRule) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setQuotaUser(java.lang.String quotaUser) {
+ return (GetEffectiveRecycleBinRule) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setUploadType(java.lang.String uploadType) {
+ return (GetEffectiveRecycleBinRule) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetEffectiveRecycleBinRule) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule setUserIp(java.lang.String userIp) {
+ return (GetEffectiveRecycleBinRule) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public GetEffectiveRecycleBinRule setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the Snapshot resource to get the effective recycle bin rule for. */
+ @com.google.api.client.util.Key
+ private java.lang.String snapshot;
+
+ /** Name of the Snapshot resource to get the effective recycle bin rule for.
+ */
+ public java.lang.String getSnapshot() {
+ return snapshot;
+ }
+
+ /** Name of the Snapshot resource to get the effective recycle bin rule for. */
+ public GetEffectiveRecycleBinRule setSnapshot(java.lang.String snapshot) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(SNAPSHOT_PATTERN.matcher(snapshot).matches(),
+ "Parameter snapshot must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.snapshot = snapshot;
+ return this;
+ }
+
+ @Override
+ public GetEffectiveRecycleBinRule set(String parameterName, Object value) {
+ return (GetEffectiveRecycleBinRule) super.set(parameterName, value);
+ }
+ }
/**
* Gets the access control policy for a resource. May be empty if no such policy or resource exists.
*
@@ -248430,10 +253796,11 @@ public TestIamPermissions set(String parameterName, Object value) {
*
* @param project Project ID for this request.
* @param snapshot Name of the snapshot resource to update. Should conform to RFC1035.
+ * @param content the {@link com.google.api.services.compute.model.SnapshotUpdateKmsKeyRequest}
* @return the request
*/
- public UpdateKmsKey updateKmsKey(java.lang.String project, java.lang.String snapshot) throws java.io.IOException {
- UpdateKmsKey result = new UpdateKmsKey(project, snapshot);
+ public UpdateKmsKey updateKmsKey(java.lang.String project, java.lang.String snapshot, com.google.api.services.compute.model.SnapshotUpdateKmsKeyRequest content) throws java.io.IOException {
+ UpdateKmsKey result = new UpdateKmsKey(project, snapshot, content);
initialize(result);
return result;
}
@@ -248461,10 +253828,11 @@ public class UpdateKmsKey extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/vmExtensions/{extensionName}";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ private final java.util.regex.Pattern EXTENSION_NAME_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+
+ /**
+ * Retrieves details of a specific VM extension.
+ *
+ * Create a request for the method "zoneVmExtensionPolicies.getVmExtension".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link GetVmExtension#execute()} method to invoke the remote operation.
+ * {@link GetVmExtension#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
+ * ientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Project ID for this request.
+ * @param zone Name of the zone for this request.
+ * @param extensionName
+ * @since 1.13
+ */
+ protected GetVmExtension(java.lang.String project, java.lang.String zone, java.lang.String extensionName) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.VmExtension.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.extensionName = com.google.api.client.util.Preconditions.checkNotNull(extensionName, "Required parameter extensionName must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public GetVmExtension set$Xgafv(java.lang.String $Xgafv) {
+ return (GetVmExtension) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public GetVmExtension setAccessToken(java.lang.String accessToken) {
+ return (GetVmExtension) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public GetVmExtension setAlt(java.lang.String alt) {
+ return (GetVmExtension) super.setAlt(alt);
+ }
+
+ @Override
+ public GetVmExtension setCallback(java.lang.String callback) {
+ return (GetVmExtension) super.setCallback(callback);
+ }
+
+ @Override
+ public GetVmExtension setFields(java.lang.String fields) {
+ return (GetVmExtension) super.setFields(fields);
+ }
+
+ @Override
+ public GetVmExtension setKey(java.lang.String key) {
+ return (GetVmExtension) super.setKey(key);
+ }
+
+ @Override
+ public GetVmExtension setOauthToken(java.lang.String oauthToken) {
+ return (GetVmExtension) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public GetVmExtension setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (GetVmExtension) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public GetVmExtension setQuotaUser(java.lang.String quotaUser) {
+ return (GetVmExtension) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public GetVmExtension setUploadType(java.lang.String uploadType) {
+ return (GetVmExtension) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public GetVmExtension setUploadProtocol(java.lang.String uploadProtocol) {
+ return (GetVmExtension) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public GetVmExtension setUserIp(java.lang.String userIp) {
+ return (GetVmExtension) super.setUserIp(userIp);
+ }
+
+ /** Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Project ID for this request. */
+ public GetVmExtension setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public GetVmExtension setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ @com.google.api.client.util.Key
+ private java.lang.String extensionName;
+
+ /**
+
+ */
+ public java.lang.String getExtensionName() {
+ return extensionName;
+ }
+
+ public GetVmExtension setExtensionName(java.lang.String extensionName) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(EXTENSION_NAME_PATTERN.matcher(extensionName).matches(),
+ "Parameter extensionName must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}");
+ }
+ this.extensionName = extensionName;
+ return this;
+ }
+
+ @Override
+ public GetVmExtension set(String parameterName, Object value) {
+ return (GetVmExtension) super.set(parameterName, value);
+ }
+ }
/**
* Creates a new zone-level VM extension policy within a project.
*
@@ -292341,6 +297916,446 @@ public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
}
}
+ /**
+ * Lists all VM extensions within a specific zone for a project. This is a read-only API.
+ *
+ * Create a request for the method "zoneVmExtensionPolicies.listVmExtensions".
+ *
+ * This request holds the parameters needed by the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation.
+ *
+ * @param project Required. Project ID for this request.
+ * @param zone Name of the zone for this request.
+ * @return the request
+ */
+ public ListVmExtensions listVmExtensions(java.lang.String project, java.lang.String zone) throws java.io.IOException {
+ ListVmExtensions result = new ListVmExtensions(project, zone);
+ initialize(result);
+ return result;
+ }
+
+ public class ListVmExtensions extends ComputeRequest {
+
+ private static final String REST_PATH = "projects/{project}/zones/{zone}/vmExtensions";
+
+ private final java.util.regex.Pattern PROJECT_PATTERN =
+ java.util.regex.Pattern.compile("(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+
+ private final java.util.regex.Pattern ZONE_PATTERN =
+ java.util.regex.Pattern.compile("[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+
+ /**
+ * Lists all VM extensions within a specific zone for a project. This is a read-only API.
+ *
+ * Create a request for the method "zoneVmExtensionPolicies.listVmExtensions".
+ *
+ * This request holds the parameters needed by the the compute server. After setting any optional
+ * parameters, call the {@link ListVmExtensions#execute()} method to invoke the remote operation.
+ * {@link ListVmExtensions#initialize(com.google.api.client.googleapis.services.AbstractGoogle
+ * ClientRequest)} must be called to initialize this instance immediately after invoking the
+ * constructor.
+ *
+ * @param project Required. Project ID for this request.
+ * @param zone Name of the zone for this request.
+ * @since 1.13
+ */
+ protected ListVmExtensions(java.lang.String project, java.lang.String zone) {
+ super(Compute.this, "GET", REST_PATH, null, com.google.api.services.compute.model.ListVmExtensionsResponse.class);
+ this.project = com.google.api.client.util.Preconditions.checkNotNull(project, "Required parameter project must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.zone = com.google.api.client.util.Preconditions.checkNotNull(zone, "Required parameter zone must be specified.");
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ }
+
+ @Override
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
+ return super.executeUsingHead();
+ }
+
+ @Override
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
+ return super.buildHttpRequestUsingHead();
+ }
+
+ @Override
+ public ListVmExtensions set$Xgafv(java.lang.String $Xgafv) {
+ return (ListVmExtensions) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public ListVmExtensions setAccessToken(java.lang.String accessToken) {
+ return (ListVmExtensions) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public ListVmExtensions setAlt(java.lang.String alt) {
+ return (ListVmExtensions) super.setAlt(alt);
+ }
+
+ @Override
+ public ListVmExtensions setCallback(java.lang.String callback) {
+ return (ListVmExtensions) super.setCallback(callback);
+ }
+
+ @Override
+ public ListVmExtensions setFields(java.lang.String fields) {
+ return (ListVmExtensions) super.setFields(fields);
+ }
+
+ @Override
+ public ListVmExtensions setKey(java.lang.String key) {
+ return (ListVmExtensions) super.setKey(key);
+ }
+
+ @Override
+ public ListVmExtensions setOauthToken(java.lang.String oauthToken) {
+ return (ListVmExtensions) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public ListVmExtensions setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (ListVmExtensions) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public ListVmExtensions setQuotaUser(java.lang.String quotaUser) {
+ return (ListVmExtensions) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public ListVmExtensions setUploadType(java.lang.String uploadType) {
+ return (ListVmExtensions) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public ListVmExtensions setUploadProtocol(java.lang.String uploadProtocol) {
+ return (ListVmExtensions) super.setUploadProtocol(uploadProtocol);
+ }
+
+ @Override
+ public ListVmExtensions setUserIp(java.lang.String userIp) {
+ return (ListVmExtensions) super.setUserIp(userIp);
+ }
+
+ /** Required. Project ID for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String project;
+
+ /** Required. Project ID for this request.
+ */
+ public java.lang.String getProject() {
+ return project;
+ }
+
+ /** Required. Project ID for this request. */
+ public ListVmExtensions setProject(java.lang.String project) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(PROJECT_PATTERN.matcher(project).matches(),
+ "Parameter project must conform to the pattern " +
+ "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))");
+ }
+ this.project = project;
+ return this;
+ }
+
+ /** Name of the zone for this request. */
+ @com.google.api.client.util.Key
+ private java.lang.String zone;
+
+ /** Name of the zone for this request.
+ */
+ public java.lang.String getZone() {
+ return zone;
+ }
+
+ /** Name of the zone for this request. */
+ public ListVmExtensions setZone(java.lang.String zone) {
+ if (!getSuppressPatternChecks()) {
+ com.google.api.client.util.Preconditions.checkArgument(ZONE_PATTERN.matcher(zone).matches(),
+ "Parameter zone must conform to the pattern " +
+ "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?");
+ }
+ this.zone = zone;
+ return this;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String filter;
+
+ /** A filter expression that filters resources listed in the response. Most Compute resources support
+ two types of filter expressions: expressions that support regular expressions and expressions that
+ follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in
+ one request.
+
+ If you want to use AIP-160, your expression must specify the field name, an operator, and the value
+ that you want to use for filtering. The value must be a string, a number, or a boolean. The
+ operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+
+ For example, if you are filtering Compute Engine instances, you can exclude instances named
+ `example-instance` by specifying `name != example-instance`.
+
+ The `:*` comparison can be used to test whether a key has been defined. For example, to find all
+ objects with `owner` label use: ``` labels.owner:* ```
+
+ You can also filter nested fields. For example, you could specify `scheduling.automaticRestart =
+ false` to include instances only if they are not scheduled for automatic restarts. You can use
+ filtering on nested fields to filter based onresource labels.
+
+ To filter on multiple expressions, provide each separate expression within parentheses. For
+ example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default,
+ each expression is an `AND` expression. However, you can include `AND` and `OR` expressions
+ explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell")
+ AND (scheduling.automaticRestart = true) ```
+
+ If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against
+ a single un-parenthesized expression with or without quotes or against multiple parenthesized
+ expressions. Examples:
+
+ `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted
+ literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+
+ The literal value is interpreted as a regular expression using GoogleRE2 library syntax. The
+ literal value must match the entire field.
+
+ For example, to filter for instances that do not end with name "instance", you would use `name ne
+ .*instance`.
+
+ You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public java.lang.String getFilter() {
+ return filter;
+ }
+
+ /**
+ * A filter expression that filters resources listed in the response. Most Compute resources
+ * support two types of filter expressions: expressions that support regular expressions and
+ * expressions that follow API improvement proposal AIP-160. These two types of filter
+ * expressions cannot be mixed in one request.
+ *
+ * If you want to use AIP-160, your expression must specify the field name, an operator, and
+ * the value that you want to use for filtering. The value must be a string, a number, or a
+ * boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`.
+ *
+ * For example, if you are filtering Compute Engine instances, you can exclude instances named
+ * `example-instance` by specifying `name != example-instance`.
+ *
+ * The `:*` comparison can be used to test whether a key has been defined. For example, to
+ * find all objects with `owner` label use: ``` labels.owner:* ```
+ *
+ * You can also filter nested fields. For example, you could specify
+ * `scheduling.automaticRestart = false` to include instances only if they are not scheduled
+ * for automatic restarts. You can use filtering on nested fields to filter based onresource
+ * labels.
+ *
+ * To filter on multiple expressions, provide each separate expression within parentheses. For
+ * example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
+ * default, each expression is an `AND` expression. However, you can include `AND` and `OR`
+ * expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform =
+ * "Intel Broadwell") AND (scheduling.automaticRestart = true) ```
+ *
+ * If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator
+ * against a single un-parenthesized expression with or without quotes or against multiple
+ * parenthesized expressions. Examples:
+ *
+ * `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq
+ * "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")`
+ *
+ * The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
+ * The literal value must match the entire field.
+ *
+ * For example, to filter for instances that do not end with name "instance", you would use
+ * `name ne .*instance`.
+ *
+ * You cannot combine constraints on multiple fields using regular expressions.
+ */
+ public ListVmExtensions setFilter(java.lang.String filter) {
+ this.filter = filter;
+ return this;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Long maxResults;
+
+ /** The maximum number of results per page that should be returned. If the number of available results
+ is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the
+ next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive.
+ (Default: `500`) [default: 500] [minimum: 0]
+ */
+ public java.lang.Long getMaxResults() {
+ return maxResults;
+ }
+
+ /**
+ * The maximum number of results per page that should be returned. If the number of available
+ * results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be
+ * used to get the next page of results in subsequent list requests. Acceptable values are `0`
+ * to `500`, inclusive. (Default: `500`)
+ */
+ public ListVmExtensions setMaxResults(java.lang.Long maxResults) {
+ this.maxResults = maxResults;
+ return this;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String orderBy;
+
+ /** Sorts list results by a certain order. By default, results are returned in alphanumerical order
+ based on the resource name.
+
+ You can also sort results in descending order based on the creation timestamp using
+ `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in
+ reverse chronological order (newest result first). Use this to sort resources like operations so
+ that the newest operation is returned first.
+
+ Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public java.lang.String getOrderBy() {
+ return orderBy;
+ }
+
+ /**
+ * Sorts list results by a certain order. By default, results are returned in alphanumerical
+ * order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp using
+ * `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
+ * field in reverse chronological order (newest result first). Use this to sort resources like
+ * operations so that the newest operation is returned first.
+ *
+ * Currently, only sorting by `name` or `creationTimestamp desc` is supported.
+ */
+ public ListVmExtensions setOrderBy(java.lang.String orderBy) {
+ this.orderBy = orderBy;
+ return this;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String pageToken;
+
+ /** Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list
+ request to get the next page of results.
+ */
+ public java.lang.String getPageToken() {
+ return pageToken;
+ }
+
+ /**
+ * Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a
+ * previous list request to get the next page of results.
+ */
+ public ListVmExtensions setPageToken(java.lang.String pageToken) {
+ this.pageToken = pageToken;
+ return this;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean returnPartialSuccess;
+
+ /** Opt-in for partial success behavior which provides partial results in case of failure. The default
+ value is false.
+
+ For example, when partial success behavior is enabled, aggregatedList for a single zone scope
+ either returns all resources in the zone or no resources, with an error code.
+ */
+ public java.lang.Boolean getReturnPartialSuccess() {
+ return returnPartialSuccess;
+ }
+
+ /**
+ * Opt-in for partial success behavior which provides partial results in case of failure. The
+ * default value is false.
+ *
+ * For example, when partial success behavior is enabled, aggregatedList for a single zone
+ * scope either returns all resources in the zone or no resources, with an error code.
+ */
+ public ListVmExtensions setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
+ this.returnPartialSuccess = returnPartialSuccess;
+ return this;
+ }
+
+ @Override
+ public ListVmExtensions set(String parameterName, Object value) {
+ return (ListVmExtensions) super.set(parameterName, value);
+ }
+ }
/**
* Modifies an existing zone VM extension policy.
*
@@ -293216,8 +299231,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}
* Android: {@code newCompatibleTransport} from
* {@code com.google.api.client.extensions.android.http.AndroidHttp}
- * Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
- *
+ * Java: {@code com.google.api.client.http.javanet.NetHttpTransport}
*
* @param jsonFactory JSON factory, which may be:
*
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorType.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorType.java
index 08e2952935c..c6d65048c01 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorType.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorType.java
@@ -62,7 +62,8 @@ public final class AcceleratorType extends com.google.api.client.json.GenericJso
private java.math.BigInteger id;
/**
- * [Output Only] The type of the resource. Alwayscompute#acceleratorType for accelerator types.
+ * Output only. [Output Only] The type of the resource. Alwayscompute#acceleratorType for
+ * accelerator types.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -83,14 +84,14 @@ public final class AcceleratorType extends com.google.api.client.json.GenericJso
private java.lang.String name;
/**
- * [Output Only] Server-defined, fully qualified URL for this resource.
+ * Output only. [Output Only] Server-defined, fully qualified URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource's resource id.
+ * Output only. [Output Only] Server-defined URL for this resource's resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -174,7 +175,8 @@ public AcceleratorType setId(java.math.BigInteger id) {
}
/**
- * [Output Only] The type of the resource. Alwayscompute#acceleratorType for accelerator types.
+ * Output only. [Output Only] The type of the resource. Alwayscompute#acceleratorType for
+ * accelerator types.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -182,7 +184,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] The type of the resource. Alwayscompute#acceleratorType for accelerator types.
+ * Output only. [Output Only] The type of the resource. Alwayscompute#acceleratorType for
+ * accelerator types.
* @param kind kind or {@code null} for none
*/
public AcceleratorType setKind(java.lang.String kind) {
@@ -225,7 +228,7 @@ public AcceleratorType setName(java.lang.String name) {
}
/**
- * [Output Only] Server-defined, fully qualified URL for this resource.
+ * Output only. [Output Only] Server-defined, fully qualified URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -233,7 +236,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined, fully qualified URL for this resource.
+ * Output only. [Output Only] Server-defined, fully qualified URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public AcceleratorType setSelfLink(java.lang.String selfLink) {
@@ -242,7 +245,7 @@ public AcceleratorType setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource's resource id.
+ * Output only. [Output Only] Server-defined URL for this resource's resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -250,7 +253,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource's resource id.
+ * Output only. [Output Only] Server-defined URL for this resource's resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public AcceleratorType setSelfLinkWithId(java.lang.String selfLinkWithId) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeAggregatedList.java
index 01a36ed3d8c..8ef1a82145b 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeAggregatedList.java
@@ -44,8 +44,8 @@ public final class AcceleratorTypeAggregatedList extends com.google.api.client.j
private java.util.Map items;
/**
- * [Output Only] Type of resource. Alwayscompute#acceleratorTypeAggregatedList for aggregated
- * lists of accelerator types.
+ * Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeAggregatedList for
+ * aggregated lists of accelerator types.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -62,14 +62,14 @@ public final class AcceleratorTypeAggregatedList extends com.google.api.client.j
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -117,8 +117,8 @@ public AcceleratorTypeAggregatedList setItems(java.util.Map getUnreachables() {
@@ -184,7 +184,7 @@ public java.util.List getUnreachables() {
}
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* @param unreachables unreachables or {@code null} for none
*/
public AcceleratorTypeAggregatedList setUnreachables(java.util.List unreachables) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeList.java
index d6ce17db7a8..8573d2e33b6 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AcceleratorTypeList.java
@@ -50,8 +50,8 @@ public final class AcceleratorTypeList extends com.google.api.client.json.Generi
}
/**
- * [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator
- * types.
+ * Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of
+ * accelerator types.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -68,7 +68,7 @@ public final class AcceleratorTypeList extends com.google.api.client.json.Generi
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -116,8 +116,8 @@ public AcceleratorTypeList setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator
- * types.
+ * Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of
+ * accelerator types.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -125,8 +125,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of accelerator
- * types.
+ * Output only. [Output Only] Type of resource. Alwayscompute#acceleratorTypeList for lists of
+ * accelerator types.
* @param kind kind or {@code null} for none
*/
public AcceleratorTypeList setKind(java.lang.String kind) {
@@ -158,7 +158,7 @@ public AcceleratorTypeList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -166,7 +166,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public AcceleratorTypeList setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AccessConfig.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AccessConfig.java
index a580a435efb..c75f8b296d1 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AccessConfig.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AccessConfig.java
@@ -49,7 +49,7 @@ public final class AccessConfig extends com.google.api.client.json.GenericJson {
private java.lang.Integer externalIpv6PrefixLength;
/**
- * [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -89,7 +89,7 @@ public final class AccessConfig extends com.google.api.client.json.GenericJson {
private java.lang.String networkTier;
/**
- * [Output Only] The public DNS domain name for the instance.
+ * Output only. [Output Only] The public DNS domain name for the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -183,7 +183,7 @@ public AccessConfig setExternalIpv6PrefixLength(java.lang.Integer externalIpv6Pr
}
/**
- * [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -191,7 +191,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
* @param kind kind or {@code null} for none
*/
public AccessConfig setKind(java.lang.String kind) {
@@ -275,7 +275,7 @@ public AccessConfig setNetworkTier(java.lang.String networkTier) {
}
/**
- * [Output Only] The public DNS domain name for the instance.
+ * Output only. [Output Only] The public DNS domain name for the instance.
* @return value or {@code null} for none
*/
public java.lang.String getPublicDnsName() {
@@ -283,7 +283,7 @@ public java.lang.String getPublicDnsName() {
}
/**
- * [Output Only] The public DNS domain name for the instance.
+ * Output only. [Output Only] The public DNS domain name for the instance.
* @param publicDnsName publicDnsName or {@code null} for none
*/
public AccessConfig setPublicDnsName(java.lang.String publicDnsName) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Address.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Address.java
index 1b937310746..f967635148e 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Address.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Address.java
@@ -54,7 +54,7 @@ public final class Address extends com.google.api.client.json.GenericJson {
private java.lang.String addressType;
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -68,7 +68,8 @@ public final class Address extends com.google.api.client.json.GenericJson {
private java.lang.String description;
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -104,7 +105,7 @@ public final class Address extends com.google.api.client.json.GenericJson {
private java.lang.String ipv6EndpointType;
/**
- * [Output Only] Type of the resource. Always compute#address for addresses.
+ * Output only. [Output Only] Type of the resource. Always compute#address for addresses.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -190,9 +191,9 @@ public final class Address extends com.google.api.client.json.GenericJson {
private java.lang.String purpose;
/**
- * [Output Only] The URL of the region where a regional address resides. For regional addresses,
- * you must specify the region as a path parameter in the HTTP request URL. *This field is not
- * applicable to global addresses.*
+ * Output only. [Output Only] The URL of the region where a regional address resides. For regional
+ * addresses, you must specify the region as a path parameter in the HTTP request URL. *This field
+ * is not applicable to global addresses.*
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -206,17 +207,17 @@ public final class Address extends com.google.api.client.json.GenericJson {
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLinkWithId;
/**
- * [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. An
- * address that is RESERVING is currently in the process of being reserved. A RESERVED address is
- * currently reserved and available to use. An IN_USE address is currently being used by another
- * resource and is not available.
+ * Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED,
+ * or IN_USE. An address that is RESERVING is currently in the process of being reserved. A
+ * RESERVED address is currently reserved and available to use. An IN_USE address is currently
+ * being used by another resource and is not available.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -275,7 +276,7 @@ public Address setAddressType(java.lang.String addressType) {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getCreationTimestamp() {
@@ -283,7 +284,7 @@ public java.lang.String getCreationTimestamp() {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @param creationTimestamp creationTimestamp or {@code null} for none
*/
public Address setCreationTimestamp(java.lang.String creationTimestamp) {
@@ -309,7 +310,8 @@ public Address setDescription(java.lang.String description) {
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @return value or {@code null} for none
*/
public java.math.BigInteger getId() {
@@ -317,7 +319,8 @@ public java.math.BigInteger getId() {
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @param id id or {@code null} for none
*/
public Address setId(java.math.BigInteger id) {
@@ -393,7 +396,7 @@ public Address setIpv6EndpointType(java.lang.String ipv6EndpointType) {
}
/**
- * [Output Only] Type of the resource. Always compute#address for addresses.
+ * Output only. [Output Only] Type of the resource. Always compute#address for addresses.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -401,7 +404,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of the resource. Always compute#address for addresses.
+ * Output only. [Output Only] Type of the resource. Always compute#address for addresses.
* @param kind kind or {@code null} for none
*/
public Address setKind(java.lang.String kind) {
@@ -629,9 +632,9 @@ public Address setPurpose(java.lang.String purpose) {
}
/**
- * [Output Only] The URL of the region where a regional address resides. For regional addresses,
- * you must specify the region as a path parameter in the HTTP request URL. *This field is not
- * applicable to global addresses.*
+ * Output only. [Output Only] The URL of the region where a regional address resides. For regional
+ * addresses, you must specify the region as a path parameter in the HTTP request URL. *This field
+ * is not applicable to global addresses.*
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
@@ -639,9 +642,9 @@ public java.lang.String getRegion() {
}
/**
- * [Output Only] The URL of the region where a regional address resides. For regional addresses,
- * you must specify the region as a path parameter in the HTTP request URL. *This field is not
- * applicable to global addresses.*
+ * Output only. [Output Only] The URL of the region where a regional address resides. For regional
+ * addresses, you must specify the region as a path parameter in the HTTP request URL. *This field
+ * is not applicable to global addresses.*
* @param region region or {@code null} for none
*/
public Address setRegion(java.lang.String region) {
@@ -667,7 +670,7 @@ public Address setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -675,7 +678,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public Address setSelfLinkWithId(java.lang.String selfLinkWithId) {
@@ -684,10 +687,10 @@ public Address setSelfLinkWithId(java.lang.String selfLinkWithId) {
}
/**
- * [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. An
- * address that is RESERVING is currently in the process of being reserved. A RESERVED address is
- * currently reserved and available to use. An IN_USE address is currently being used by another
- * resource and is not available.
+ * Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED,
+ * or IN_USE. An address that is RESERVING is currently in the process of being reserved. A
+ * RESERVED address is currently reserved and available to use. An IN_USE address is currently
+ * being used by another resource and is not available.
* @return value or {@code null} for none
*/
public java.lang.String getStatus() {
@@ -695,10 +698,10 @@ public java.lang.String getStatus() {
}
/**
- * [Output Only] The status of the address, which can be one ofRESERVING, RESERVED, or IN_USE. An
- * address that is RESERVING is currently in the process of being reserved. A RESERVED address is
- * currently reserved and available to use. An IN_USE address is currently being used by another
- * resource and is not available.
+ * Output only. [Output Only] The status of the address, which can be one ofRESERVING, RESERVED,
+ * or IN_USE. An address that is RESERVING is currently in the process of being reserved. A
+ * RESERVED address is currently reserved and available to use. An IN_USE address is currently
+ * being used by another resource and is not available.
* @param status status or {@code null} for none
*/
public Address setStatus(java.lang.String status) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressAggregatedList.java
index ce17cb61122..981d91082fb 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressAggregatedList.java
@@ -44,8 +44,8 @@ public final class AddressAggregatedList extends com.google.api.client.json.Gene
private java.util.Map items;
/**
- * [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated lists of
- * addresses.
+ * Output only. [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated
+ * lists of addresses.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -62,14 +62,14 @@ public final class AddressAggregatedList extends com.google.api.client.json.Gene
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -117,8 +117,8 @@ public AddressAggregatedList setItems(java.util.Map
}
/**
- * [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated lists of
- * addresses.
+ * Output only. [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated
+ * lists of addresses.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -126,8 +126,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated lists of
- * addresses.
+ * Output only. [Output Only] Type of resource. Alwayscompute#addressAggregatedList for aggregated
+ * lists of addresses.
* @param kind kind or {@code null} for none
*/
public AddressAggregatedList setKind(java.lang.String kind) {
@@ -159,7 +159,7 @@ public AddressAggregatedList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -167,7 +167,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public AddressAggregatedList setSelfLink(java.lang.String selfLink) {
@@ -176,7 +176,7 @@ public AddressAggregatedList setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* @return value or {@code null} for none
*/
public java.util.List getUnreachables() {
@@ -184,7 +184,7 @@ public java.util.List getUnreachables() {
}
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* @param unreachables unreachables or {@code null} for none
*/
public AddressAggregatedList setUnreachables(java.util.List unreachables) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressList.java
index 68e6eb54491..62ab8af2ff8 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AddressList.java
@@ -50,7 +50,7 @@ public final class AddressList extends com.google.api.client.json.GenericJson {
}
/**
- * [Output Only] Type of resource. Always compute#addressList for lists of addresses.
+ * Output only. [Output Only] Type of resource. Always compute#addressList for lists of addresses.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -67,7 +67,7 @@ public final class AddressList extends com.google.api.client.json.GenericJson {
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -115,7 +115,7 @@ public AddressList setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Always compute#addressList for lists of addresses.
+ * Output only. [Output Only] Type of resource. Always compute#addressList for lists of addresses.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -123,7 +123,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Always compute#addressList for lists of addresses.
+ * Output only. [Output Only] Type of resource. Always compute#addressList for lists of addresses.
* @param kind kind or {@code null} for none
*/
public AddressList setKind(java.lang.String kind) {
@@ -155,7 +155,7 @@ public AddressList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -163,7 +163,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public AddressList setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationAggregateReservation.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationAggregateReservation.java
index f35db35aee5..9684fa1e3a2 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationAggregateReservation.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationAggregateReservation.java
@@ -40,22 +40,22 @@ public final class AllocationAggregateReservation extends com.google.api.client.
private java.lang.Integer hostCount;
/**
- * Number of hosts currently in use. If there is one or more Instances running on the host, it is
- * considered in use.
+ * Output only. Number of hosts currently in use. If there is one or more Instances running on the
+ * host, it is considered in use.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer inUseHostCount;
/**
- * Number of instances currently in use in this reservation.
+ * Output only. Number of instances currently in use in this reservation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer inUseInstanceCount;
/**
- * [Output only] List of resources currently in use.
+ * Output only. [Output only] List of resources currently in use.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -102,8 +102,8 @@ public AllocationAggregateReservation setHostCount(java.lang.Integer hostCount)
}
/**
- * Number of hosts currently in use. If there is one or more Instances running on the host, it is
- * considered in use.
+ * Output only. Number of hosts currently in use. If there is one or more Instances running on the
+ * host, it is considered in use.
* @return value or {@code null} for none
*/
public java.lang.Integer getInUseHostCount() {
@@ -111,8 +111,8 @@ public java.lang.Integer getInUseHostCount() {
}
/**
- * Number of hosts currently in use. If there is one or more Instances running on the host, it is
- * considered in use.
+ * Output only. Number of hosts currently in use. If there is one or more Instances running on the
+ * host, it is considered in use.
* @param inUseHostCount inUseHostCount or {@code null} for none
*/
public AllocationAggregateReservation setInUseHostCount(java.lang.Integer inUseHostCount) {
@@ -121,7 +121,7 @@ public AllocationAggregateReservation setInUseHostCount(java.lang.Integer inUseH
}
/**
- * Number of instances currently in use in this reservation.
+ * Output only. Number of instances currently in use in this reservation.
* @return value or {@code null} for none
*/
public java.lang.Integer getInUseInstanceCount() {
@@ -129,7 +129,7 @@ public java.lang.Integer getInUseInstanceCount() {
}
/**
- * Number of instances currently in use in this reservation.
+ * Output only. Number of instances currently in use in this reservation.
* @param inUseInstanceCount inUseInstanceCount or {@code null} for none
*/
public AllocationAggregateReservation setInUseInstanceCount(java.lang.Integer inUseInstanceCount) {
@@ -138,7 +138,7 @@ public AllocationAggregateReservation setInUseInstanceCount(java.lang.Integer in
}
/**
- * [Output only] List of resources currently in use.
+ * Output only. [Output only] List of resources currently in use.
* @return value or {@code null} for none
*/
public java.util.List getInUseResources() {
@@ -146,7 +146,7 @@ public java.util.List getInU
}
/**
- * [Output only] List of resources currently in use.
+ * Output only. [Output only] List of resources currently in use.
* @param inUseResources inUseResources or {@code null} for none
*/
public AllocationAggregateReservation setInUseResources(java.util.List inUseResources) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUAllocationReservedInstanceProperties.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUAllocationReservedInstanceProperties.java
index 54dce0f90d4..5a212f176c5 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUAllocationReservedInstanceProperties.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUAllocationReservedInstanceProperties.java
@@ -17,7 +17,7 @@
package com.google.api.services.compute.model;
/**
- * Properties of the SKU instances being reserved. Next ID: 9
+ * Properties of the SKU instances being reserved. Next ID: 10
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUReservation.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUReservation.java
index d928aa8151f..de9079076b2 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUReservation.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AllocationSpecificSKUReservation.java
@@ -30,7 +30,7 @@
public final class AllocationSpecificSKUReservation extends com.google.api.client.json.GenericJson {
/**
- * [Output Only] Indicates how many instances are actually usable currently.
+ * Output only. [Output Only] Indicates how many instances are actually usable currently.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -44,7 +44,7 @@ public final class AllocationSpecificSKUReservation extends com.google.api.clien
private java.lang.Long count;
/**
- * [Output Only] Indicates how many instances are in use.
+ * Output only. [Output Only] Indicates how many instances are in use.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -72,7 +72,7 @@ public final class AllocationSpecificSKUReservation extends com.google.api.clien
private java.lang.String sourceInstanceTemplate;
/**
- * [Output Only] Indicates how many instances are actually usable currently.
+ * Output only. [Output Only] Indicates how many instances are actually usable currently.
* @return value or {@code null} for none
*/
public java.lang.Long getAssuredCount() {
@@ -80,7 +80,7 @@ public java.lang.Long getAssuredCount() {
}
/**
- * [Output Only] Indicates how many instances are actually usable currently.
+ * Output only. [Output Only] Indicates how many instances are actually usable currently.
* @param assuredCount assuredCount or {@code null} for none
*/
public AllocationSpecificSKUReservation setAssuredCount(java.lang.Long assuredCount) {
@@ -106,7 +106,7 @@ public AllocationSpecificSKUReservation setCount(java.lang.Long count) {
}
/**
- * [Output Only] Indicates how many instances are in use.
+ * Output only. [Output Only] Indicates how many instances are in use.
* @return value or {@code null} for none
*/
public java.lang.Long getInUseCount() {
@@ -114,7 +114,7 @@ public java.lang.Long getInUseCount() {
}
/**
- * [Output Only] Indicates how many instances are in use.
+ * Output only. [Output Only] Indicates how many instances are in use.
* @param inUseCount inUseCount or {@code null} for none
*/
public AllocationSpecificSKUReservation setInUseCount(java.lang.Long inUseCount) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDisk.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDisk.java
index cbd43c65f04..35d4504dab6 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDisk.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDisk.java
@@ -30,7 +30,8 @@
public final class AttachedDisk extends com.google.api.client.json.GenericJson {
/**
- * [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64.
+ * Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64 or
+ * X86_64.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -116,8 +117,9 @@ public final class AttachedDisk extends com.google.api.client.json.GenericJson {
private java.util.List guestOsFeatures;
/**
- * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you
- * have many disks attached to an instance, each disk would have a unique index number.
+ * Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the boot
+ * disk. If you have many disks attached to an instance, each disk would have a unique index
+ * number.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -145,25 +147,25 @@ public final class AttachedDisk extends com.google.api.client.json.GenericJson {
private java.lang.String interface__;
/**
- * [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
- * [Output Only] Any valid publicly visible licenses.
+ * Output only. [Output Only] Any valid publicly visible licenses.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List licenses;
/**
- * [Output Only] Whether to indicate the attached disk is locked. The locked disk is not allowed
- * to be detached from the instance, or to be used as the source of the snapshot creation, and the
- * image creation. The instance with at least one locked attached disk is not allow to be used as
- * source of machine image creation, instant snapshot creation, and not allowed to be deleted with
- * --keep-disk parameter set to true for locked disks.
+ * Output only. [Output Only] Whether to indicate the attached disk is locked. The locked disk is
+ * not allowed to be detached from the instance, or to be used as the source of the snapshot
+ * creation, and the image creation. The instance with at least one locked attached disk is not
+ * allow to be used as source of machine image creation, instant snapshot creation, and not
+ * allowed to be deleted with --keep-disk parameter set to true for locked disks.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -178,16 +180,16 @@ public final class AttachedDisk extends com.google.api.client.json.GenericJson {
private java.lang.String mode;
/**
- * For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to
- * PRESERVED if the LocalSSD data has been saved to a persistent location by customer request.
- * (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
+ * Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is
+ * set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer
+ * request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String savedState;
/**
- * [Output Only] shielded vm initial state stored on disk
+ * Output only. [Output Only] shielded vm initial state stored on disk
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -217,16 +219,8 @@ public final class AttachedDisk extends com.google.api.client.json.GenericJson {
private java.lang.String type;
/**
- * [Output Only] A list of user provided licenses. It represents a list of URLs to the license
- * resource. Unlike regular licenses, user provided licenses can be modified after the disk is
- * created.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.util.List userLicenses;
-
- /**
- * [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64.
+ * Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64 or
+ * X86_64.
* @return value or {@code null} for none
*/
public java.lang.String getArchitecture() {
@@ -234,7 +228,8 @@ public java.lang.String getArchitecture() {
}
/**
- * [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64.
+ * Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64 or
+ * X86_64.
* @param architecture architecture or {@code null} for none
*/
public AttachedDisk setArchitecture(java.lang.String architecture) {
@@ -422,8 +417,9 @@ public AttachedDisk setGuestOsFeatures(java.util.List guestOsFea
}
/**
- * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you
- * have many disks attached to an instance, each disk would have a unique index number.
+ * Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the boot
+ * disk. If you have many disks attached to an instance, each disk would have a unique index
+ * number.
* @return value or {@code null} for none
*/
public java.lang.Integer getIndex() {
@@ -431,8 +427,9 @@ public java.lang.Integer getIndex() {
}
/**
- * [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you
- * have many disks attached to an instance, each disk would have a unique index number.
+ * Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the boot
+ * disk. If you have many disks attached to an instance, each disk would have a unique index
+ * number.
* @param index index or {@code null} for none
*/
public AttachedDisk setIndex(java.lang.Integer index) {
@@ -489,7 +486,7 @@ public AttachedDisk setInterface(java.lang.String interface__) {
}
/**
- * [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -497,7 +494,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
+ * Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
* @param kind kind or {@code null} for none
*/
public AttachedDisk setKind(java.lang.String kind) {
@@ -506,7 +503,7 @@ public AttachedDisk setKind(java.lang.String kind) {
}
/**
- * [Output Only] Any valid publicly visible licenses.
+ * Output only. [Output Only] Any valid publicly visible licenses.
* @return value or {@code null} for none
*/
public java.util.List getLicenses() {
@@ -514,7 +511,7 @@ public java.util.List getLicenses() {
}
/**
- * [Output Only] Any valid publicly visible licenses.
+ * Output only. [Output Only] Any valid publicly visible licenses.
* @param licenses licenses or {@code null} for none
*/
public AttachedDisk setLicenses(java.util.List licenses) {
@@ -523,11 +520,11 @@ public AttachedDisk setLicenses(java.util.List licenses) {
}
/**
- * [Output Only] Whether to indicate the attached disk is locked. The locked disk is not allowed
- * to be detached from the instance, or to be used as the source of the snapshot creation, and the
- * image creation. The instance with at least one locked attached disk is not allow to be used as
- * source of machine image creation, instant snapshot creation, and not allowed to be deleted with
- * --keep-disk parameter set to true for locked disks.
+ * Output only. [Output Only] Whether to indicate the attached disk is locked. The locked disk is
+ * not allowed to be detached from the instance, or to be used as the source of the snapshot
+ * creation, and the image creation. The instance with at least one locked attached disk is not
+ * allow to be used as source of machine image creation, instant snapshot creation, and not
+ * allowed to be deleted with --keep-disk parameter set to true for locked disks.
* @return value or {@code null} for none
*/
public java.lang.Boolean getLocked() {
@@ -535,11 +532,11 @@ public java.lang.Boolean getLocked() {
}
/**
- * [Output Only] Whether to indicate the attached disk is locked. The locked disk is not allowed
- * to be detached from the instance, or to be used as the source of the snapshot creation, and the
- * image creation. The instance with at least one locked attached disk is not allow to be used as
- * source of machine image creation, instant snapshot creation, and not allowed to be deleted with
- * --keep-disk parameter set to true for locked disks.
+ * Output only. [Output Only] Whether to indicate the attached disk is locked. The locked disk is
+ * not allowed to be detached from the instance, or to be used as the source of the snapshot
+ * creation, and the image creation. The instance with at least one locked attached disk is not
+ * allow to be used as source of machine image creation, instant snapshot creation, and not
+ * allowed to be deleted with --keep-disk parameter set to true for locked disks.
* @param locked locked or {@code null} for none
*/
public AttachedDisk setLocked(java.lang.Boolean locked) {
@@ -567,9 +564,9 @@ public AttachedDisk setMode(java.lang.String mode) {
}
/**
- * For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to
- * PRESERVED if the LocalSSD data has been saved to a persistent location by customer request.
- * (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
+ * Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is
+ * set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer
+ * request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
* @return value or {@code null} for none
*/
public java.lang.String getSavedState() {
@@ -577,9 +574,9 @@ public java.lang.String getSavedState() {
}
/**
- * For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to
- * PRESERVED if the LocalSSD data has been saved to a persistent location by customer request.
- * (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
+ * Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is
+ * set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer
+ * request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.
* @param savedState savedState or {@code null} for none
*/
public AttachedDisk setSavedState(java.lang.String savedState) {
@@ -588,7 +585,7 @@ public AttachedDisk setSavedState(java.lang.String savedState) {
}
/**
- * [Output Only] shielded vm initial state stored on disk
+ * Output only. [Output Only] shielded vm initial state stored on disk
* @return value or {@code null} for none
*/
public InitialStateConfig getShieldedInstanceInitialState() {
@@ -596,7 +593,7 @@ public InitialStateConfig getShieldedInstanceInitialState() {
}
/**
- * [Output Only] shielded vm initial state stored on disk
+ * Output only. [Output Only] shielded vm initial state stored on disk
* @param shieldedInstanceInitialState shieldedInstanceInitialState or {@code null} for none
*/
public AttachedDisk setShieldedInstanceInitialState(InitialStateConfig shieldedInstanceInitialState) {
@@ -656,27 +653,6 @@ public AttachedDisk setType(java.lang.String type) {
return this;
}
- /**
- * [Output Only] A list of user provided licenses. It represents a list of URLs to the license
- * resource. Unlike regular licenses, user provided licenses can be modified after the disk is
- * created.
- * @return value or {@code null} for none
- */
- public java.util.List getUserLicenses() {
- return userLicenses;
- }
-
- /**
- * [Output Only] A list of user provided licenses. It represents a list of URLs to the license
- * resource. Unlike regular licenses, user provided licenses can be modified after the disk is
- * created.
- * @param userLicenses userLicenses or {@code null} for none
- */
- public AttachedDisk setUserLicenses(java.util.List userLicenses) {
- this.userLicenses = userLicenses;
- return this;
- }
-
@Override
public AttachedDisk set(String fieldName, Object value) {
return (AttachedDisk) super.set(fieldName, value);
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDiskInitializeParams.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDiskInitializeParams.java
index 9927defc051..d6970391ad7 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDiskInitializeParams.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AttachedDiskInitializeParams.java
@@ -178,9 +178,11 @@ public final class AttachedDiskInitializeParams extends com.google.api.client.js
private java.util.List replicaZones;
/**
- * Resource manager tags to be bound to the disk. Tag keys and values have the same definition as
- * resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the
- * format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+ * Input only. Resource manager tags to be bound to the disk. Tag keys and values have the same
+ * definition as resource manager tags. Keys and values can be either in numeric format, such as
+ * `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as
+ * `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored
+ * (both PUT & PATCH) when empty.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -616,9 +618,11 @@ public AttachedDiskInitializeParams setReplicaZones(java.util.List getResourceManagerTags() {
@@ -626,9 +630,11 @@ public java.util.Map getResourceManagerTags() {
}
/**
- * Resource manager tags to be bound to the disk. Tag keys and values have the same definition as
- * resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the
- * format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+ * Input only. Resource manager tags to be bound to the disk. Tag keys and values have the same
+ * definition as resource manager tags. Keys and values can be either in numeric format, such as
+ * `tagKeys/{tag_key_id}` and `tagValues/456` or in namespaced format such as
+ * `{org_id|project_id}/{tag_key_short_name}` and `{tag_value_short_name}`. The field is ignored
+ * (both PUT & PATCH) when empty.
* @param resourceManagerTags resourceManagerTags or {@code null} for none
*/
public AttachedDiskInitializeParams setResourceManagerTags(java.util.Map resourceManagerTags) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Autoscaler.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Autoscaler.java
index 0e71506aa31..8fb74a0a0b1 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Autoscaler.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Autoscaler.java
@@ -53,7 +53,7 @@ public final class Autoscaler extends com.google.api.client.json.GenericJson {
private AutoscalingPolicy autoscalingPolicy;
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -67,14 +67,15 @@ public final class Autoscaler extends com.google.api.client.json.GenericJson {
private java.lang.String description;
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.math.BigInteger id;
/**
- * [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
+ * Output only. [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -92,25 +93,25 @@ public final class Autoscaler extends com.google.api.client.json.GenericJson {
private java.lang.String name;
/**
- * [Output Only] Target recommended MIG size (number of instances) computed by autoscaler.
- * Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is
- * different from ON. This field is empty when autoscaler is not connected to an existing managed
- * instance group or autoscaler did not generate its prediction.
+ * Output only. [Output Only] Target recommended MIG size (number of instances) computed by
+ * autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy
+ * mode is different from ON. This field is empty when autoscaler is not connected to an existing
+ * managed instance group or autoscaler did not generate its prediction.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer recommendedSize;
/**
- * [Output Only] URL of theregion where the instance group resides (for autoscalers living in
- * regional scope).
+ * Output only. [Output Only] URL of theregion where the instance group resides (for autoscalers
+ * living in regional scope).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String region;
/**
- * [Output Only] Status information of existing scaling schedules.
+ * Output only. [Output Only] Status information of existing scaling schedules.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -124,7 +125,7 @@ public final class Autoscaler extends com.google.api.client.json.GenericJson {
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -162,8 +163,8 @@ public final class Autoscaler extends com.google.api.client.json.GenericJson {
private java.lang.String target;
/**
- * [Output Only] URL of thezone where the instance group resides (for autoscalers living in zonal
- * scope).
+ * Output only. [Output Only] URL of thezone where the instance group resides (for autoscalers
+ * living in zonal scope).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -195,7 +196,7 @@ public Autoscaler setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy) {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getCreationTimestamp() {
@@ -203,7 +204,7 @@ public java.lang.String getCreationTimestamp() {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @param creationTimestamp creationTimestamp or {@code null} for none
*/
public Autoscaler setCreationTimestamp(java.lang.String creationTimestamp) {
@@ -229,7 +230,8 @@ public Autoscaler setDescription(java.lang.String description) {
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @return value or {@code null} for none
*/
public java.math.BigInteger getId() {
@@ -237,7 +239,8 @@ public java.math.BigInteger getId() {
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @param id id or {@code null} for none
*/
public Autoscaler setId(java.math.BigInteger id) {
@@ -246,7 +249,7 @@ public Autoscaler setId(java.math.BigInteger id) {
}
/**
- * [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
+ * Output only. [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -254,7 +257,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
+ * Output only. [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
* @param kind kind or {@code null} for none
*/
public Autoscaler setKind(java.lang.String kind) {
@@ -288,10 +291,10 @@ public Autoscaler setName(java.lang.String name) {
}
/**
- * [Output Only] Target recommended MIG size (number of instances) computed by autoscaler.
- * Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is
- * different from ON. This field is empty when autoscaler is not connected to an existing managed
- * instance group or autoscaler did not generate its prediction.
+ * Output only. [Output Only] Target recommended MIG size (number of instances) computed by
+ * autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy
+ * mode is different from ON. This field is empty when autoscaler is not connected to an existing
+ * managed instance group or autoscaler did not generate its prediction.
* @return value or {@code null} for none
*/
public java.lang.Integer getRecommendedSize() {
@@ -299,10 +302,10 @@ public java.lang.Integer getRecommendedSize() {
}
/**
- * [Output Only] Target recommended MIG size (number of instances) computed by autoscaler.
- * Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is
- * different from ON. This field is empty when autoscaler is not connected to an existing managed
- * instance group or autoscaler did not generate its prediction.
+ * Output only. [Output Only] Target recommended MIG size (number of instances) computed by
+ * autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy
+ * mode is different from ON. This field is empty when autoscaler is not connected to an existing
+ * managed instance group or autoscaler did not generate its prediction.
* @param recommendedSize recommendedSize or {@code null} for none
*/
public Autoscaler setRecommendedSize(java.lang.Integer recommendedSize) {
@@ -311,8 +314,8 @@ public Autoscaler setRecommendedSize(java.lang.Integer recommendedSize) {
}
/**
- * [Output Only] URL of theregion where the instance group resides (for autoscalers living in
- * regional scope).
+ * Output only. [Output Only] URL of theregion where the instance group resides (for autoscalers
+ * living in regional scope).
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
@@ -320,8 +323,8 @@ public java.lang.String getRegion() {
}
/**
- * [Output Only] URL of theregion where the instance group resides (for autoscalers living in
- * regional scope).
+ * Output only. [Output Only] URL of theregion where the instance group resides (for autoscalers
+ * living in regional scope).
* @param region region or {@code null} for none
*/
public Autoscaler setRegion(java.lang.String region) {
@@ -330,7 +333,7 @@ public Autoscaler setRegion(java.lang.String region) {
}
/**
- * [Output Only] Status information of existing scaling schedules.
+ * Output only. [Output Only] Status information of existing scaling schedules.
* @return value or {@code null} for none
*/
public java.util.Map getScalingScheduleStatus() {
@@ -338,7 +341,7 @@ public java.util.Map getScalingScheduleStatus() {
}
/**
- * [Output Only] Status information of existing scaling schedules.
+ * Output only. [Output Only] Status information of existing scaling schedules.
* @param scalingScheduleStatus scalingScheduleStatus or {@code null} for none
*/
public Autoscaler setScalingScheduleStatus(java.util.Map scalingScheduleStatus) {
@@ -364,7 +367,7 @@ public Autoscaler setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -372,7 +375,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public Autoscaler setSelfLinkWithId(java.lang.String selfLinkWithId) {
@@ -452,8 +455,8 @@ public Autoscaler setTarget(java.lang.String target) {
}
/**
- * [Output Only] URL of thezone where the instance group resides (for autoscalers living in zonal
- * scope).
+ * Output only. [Output Only] URL of thezone where the instance group resides (for autoscalers
+ * living in zonal scope).
* @return value or {@code null} for none
*/
public java.lang.String getZone() {
@@ -461,8 +464,8 @@ public java.lang.String getZone() {
}
/**
- * [Output Only] URL of thezone where the instance group resides (for autoscalers living in zonal
- * scope).
+ * Output only. [Output Only] URL of thezone where the instance group resides (for autoscalers
+ * living in zonal scope).
* @param zone zone or {@code null} for none
*/
public Autoscaler setZone(java.lang.String zone) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerAggregatedList.java
index 579ee9e1a4a..0b34b95a635 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerAggregatedList.java
@@ -44,8 +44,8 @@ public final class AutoscalerAggregatedList extends com.google.api.client.json.G
private java.util.Map items;
/**
- * [Output Only] Type of resource. Alwayscompute#autoscalerAggregatedList for aggregated lists of
- * autoscalers.
+ * Output only. [Output Only] Type of resource. Alwayscompute#autoscalerAggregatedList for
+ * aggregated lists of autoscalers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -62,14 +62,15 @@ public final class AutoscalerAggregatedList extends com.google.api.client.json.G
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -117,8 +118,8 @@ public AutoscalerAggregatedList setItems(java.util.Map getUnreachables() {
@@ -184,7 +186,8 @@ public java.util.List getUnreachables() {
}
/**
- * [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder
+ * Output only. [Output Only] Unreachable resources. end_interface:
+ * MixerListResponseWithEtagBuilder
* @param unreachables unreachables or {@code null} for none
*/
public AutoscalerAggregatedList setUnreachables(java.util.List unreachables) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerList.java
index a53c5719b71..3fe3fa8efb5 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/AutoscalerList.java
@@ -50,7 +50,8 @@ public final class AutoscalerList extends com.google.api.client.json.GenericJson
}
/**
- * [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.
+ * Output only. [Output Only] Type of resource. Always compute#autoscalerList for lists of
+ * autoscalers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -67,7 +68,7 @@ public final class AutoscalerList extends com.google.api.client.json.GenericJson
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -115,7 +116,8 @@ public AutoscalerList setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.
+ * Output only. [Output Only] Type of resource. Always compute#autoscalerList for lists of
+ * autoscalers.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -123,7 +125,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.
+ * Output only. [Output Only] Type of resource. Always compute#autoscalerList for lists of
+ * autoscalers.
* @param kind kind or {@code null} for none
*/
public AutoscalerList setKind(java.lang.String kind) {
@@ -155,7 +158,7 @@ public AutoscalerList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -163,7 +166,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public AutoscalerList setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Backend.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Backend.java
index b40ba7c0d02..d60df557631 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Backend.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Backend.java
@@ -189,6 +189,13 @@ public final class Backend extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.Float maxUtilization;
+ /**
+ * Information about the resource or system that manages the backend.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private BackendBackendOrchestrationInfo orchestrationInfo;
+
/**
* This field indicates whether this backend should be fully utilized before sending traffic to
* backends with default preference. The possible values are: - PREFERRED: Backends with
@@ -201,6 +208,16 @@ public final class Backend extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String preference;
+ /**
+ * Represents a service backend (e.g., Cloud Run service, PSC Service Attachment). e.g.
+ * "run.googleapis.com/projects/123456789/locations/us-central1/services/my-service" for Cloud
+ * Run service. "compute.googleapis.com/projects/123456789/regions/us-
+ * central1/serviceAttachments/my-service-attachment" for PSC Service Attachment.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String service;
+
/**
* The value may be {@code null}.
*/
@@ -575,6 +592,23 @@ public Backend setMaxUtilization(java.lang.Float maxUtilization) {
return this;
}
+ /**
+ * Information about the resource or system that manages the backend.
+ * @return value or {@code null} for none
+ */
+ public BackendBackendOrchestrationInfo getOrchestrationInfo() {
+ return orchestrationInfo;
+ }
+
+ /**
+ * Information about the resource or system that manages the backend.
+ * @param orchestrationInfo orchestrationInfo or {@code null} for none
+ */
+ public Backend setOrchestrationInfo(BackendBackendOrchestrationInfo orchestrationInfo) {
+ this.orchestrationInfo = orchestrationInfo;
+ return this;
+ }
+
/**
* This field indicates whether this backend should be fully utilized before sending traffic to
* backends with default preference. The possible values are: - PREFERRED: Backends with
@@ -602,6 +636,29 @@ public Backend setPreference(java.lang.String preference) {
return this;
}
+ /**
+ * Represents a service backend (e.g., Cloud Run service, PSC Service Attachment). e.g.
+ * "run.googleapis.com/projects/123456789/locations/us-central1/services/my-service" for Cloud
+ * Run service. "compute.googleapis.com/projects/123456789/regions/us-
+ * central1/serviceAttachments/my-service-attachment" for PSC Service Attachment.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getService() {
+ return service;
+ }
+
+ /**
+ * Represents a service backend (e.g., Cloud Run service, PSC Service Attachment). e.g.
+ * "run.googleapis.com/projects/123456789/locations/us-central1/services/my-service" for Cloud
+ * Run service. "compute.googleapis.com/projects/123456789/regions/us-
+ * central1/serviceAttachments/my-service-attachment" for PSC Service Attachment.
+ * @param service service or {@code null} for none
+ */
+ public Backend setService(java.lang.String service) {
+ this.service = service;
+ return this;
+ }
+
/**
* @return value or {@code null} for none
*/
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java
new file mode 100644
index 00000000000..b296411823a
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBackendOrchestrationInfo.java
@@ -0,0 +1,66 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * A message containing information about the resource or system that manages the backend.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class BackendBackendOrchestrationInfo extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The URI of the resource or system that manages the backend.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resourceUri;
+
+ /**
+ * The URI of the resource or system that manages the backend.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getResourceUri() {
+ return resourceUri;
+ }
+
+ /**
+ * The URI of the resource or system that manages the backend.
+ * @param resourceUri resourceUri or {@code null} for none
+ */
+ public BackendBackendOrchestrationInfo setResourceUri(java.lang.String resourceUri) {
+ this.resourceUri = resourceUri;
+ return this;
+ }
+
+ @Override
+ public BackendBackendOrchestrationInfo set(String fieldName, Object value) {
+ return (BackendBackendOrchestrationInfo) super.set(fieldName, value);
+ }
+
+ @Override
+ public BackendBackendOrchestrationInfo clone() {
+ return (BackendBackendOrchestrationInfo) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucket.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucket.java
index 5c9634eb5fd..b771bc12479 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucket.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucket.java
@@ -99,7 +99,7 @@ public final class BackendBucket extends com.google.api.client.json.GenericJson
private java.math.BigInteger id;
/**
- * Type of the resource.
+ * Output only. Type of the resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -135,9 +135,9 @@ public final class BackendBucket extends com.google.api.client.json.GenericJson
private BackendBucketParams params;
/**
- * [Output Only] URL of the region where the regional backend bucket resides. This field is not
- * applicable to global backend buckets. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend bucket resides. This
+ * field is not applicable to global backend buckets. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -151,14 +151,14 @@ public final class BackendBucket extends com.google.api.client.json.GenericJson
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLinkWithId;
/**
- * [Output Only] List of resources referencing that backend bucket.
+ * Output only. [Output Only] List of resources referencing that backend bucket.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -324,7 +324,7 @@ public BackendBucket setId(java.math.BigInteger id) {
}
/**
- * Type of the resource.
+ * Output only. Type of the resource.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -332,7 +332,7 @@ public java.lang.String getKind() {
}
/**
- * Type of the resource.
+ * Output only. Type of the resource.
* @param kind kind or {@code null} for none
*/
public BackendBucket setKind(java.lang.String kind) {
@@ -408,9 +408,9 @@ public BackendBucket setParams(BackendBucketParams params) {
}
/**
- * [Output Only] URL of the region where the regional backend bucket resides. This field is not
- * applicable to global backend buckets. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend bucket resides. This
+ * field is not applicable to global backend buckets. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
@@ -418,9 +418,9 @@ public java.lang.String getRegion() {
}
/**
- * [Output Only] URL of the region where the regional backend bucket resides. This field is not
- * applicable to global backend buckets. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend bucket resides. This
+ * field is not applicable to global backend buckets. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* @param region region or {@code null} for none
*/
public BackendBucket setRegion(java.lang.String region) {
@@ -446,7 +446,7 @@ public BackendBucket setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -454,7 +454,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public BackendBucket setSelfLinkWithId(java.lang.String selfLinkWithId) {
@@ -463,7 +463,7 @@ public BackendBucket setSelfLinkWithId(java.lang.String selfLinkWithId) {
}
/**
- * [Output Only] List of resources referencing that backend bucket.
+ * Output only. [Output Only] List of resources referencing that backend bucket.
* @return value or {@code null} for none
*/
public java.util.List getUsedBy() {
@@ -471,7 +471,7 @@ public java.util.List getUsedBy() {
}
/**
- * [Output Only] List of resources referencing that backend bucket.
+ * Output only. [Output Only] List of resources referencing that backend bucket.
* @param usedBy usedBy or {@code null} for none
*/
public BackendBucket setUsedBy(java.util.List usedBy) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketAggregatedList.java
index 8333e93f482..f4416b7bc94 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketAggregatedList.java
@@ -44,7 +44,7 @@ public final class BackendBucketAggregatedList extends com.google.api.client.jso
private java.util.Map items;
/**
- * Type of resource.
+ * Output only. Type of resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class BackendBucketAggregatedList extends com.google.api.client.jso
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -109,7 +109,7 @@ public BackendBucketAggregatedList setItems(java.util.Map items) {
}
/**
- * Type of resource.
+ * Output only. Type of resource.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -123,7 +123,7 @@ public java.lang.String getKind() {
}
/**
- * Type of resource.
+ * Output only. Type of resource.
* @param kind kind or {@code null} for none
*/
public BackendBucketList setKind(java.lang.String kind) {
@@ -155,7 +155,7 @@ public BackendBucketList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -163,7 +163,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public BackendBucketList setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketListUsable.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketListUsable.java
index 02ce2377248..ee9f13e6fba 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketListUsable.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketListUsable.java
@@ -50,8 +50,8 @@ public final class BackendBucketListUsable extends com.google.api.client.json.Ge
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of usable
- * backend buckets.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of
+ * usable backend buckets.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -68,7 +68,7 @@ public final class BackendBucketListUsable extends com.google.api.client.json.Ge
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -116,8 +116,8 @@ public BackendBucketListUsable setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of usable
- * backend buckets.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of
+ * usable backend buckets.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -125,8 +125,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of usable
- * backend buckets.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendBucketList for lists of
+ * usable backend buckets.
* @param kind kind or {@code null} for none
*/
public BackendBucketListUsable setKind(java.lang.String kind) {
@@ -158,7 +158,7 @@ public BackendBucketListUsable setNextPageToken(java.lang.String nextPageToken)
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -166,7 +166,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public BackendBucketListUsable setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketUsedBy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketUsedBy.java
index da75c481ccb..e7045e0c2e3 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketUsedBy.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendBucketUsedBy.java
@@ -30,14 +30,14 @@
public final class BackendBucketUsedBy extends com.google.api.client.json.GenericJson {
/**
- * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
+ * Output only. [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String reference;
/**
- * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
+ * Output only. [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
* @return value or {@code null} for none
*/
public java.lang.String getReference() {
@@ -45,7 +45,7 @@ public java.lang.String getReference() {
}
/**
- * [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
+ * Output only. [Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.
* @param reference reference or {@code null} for none
*/
public BackendBucketUsedBy setReference(java.lang.String reference) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendService.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendService.java
index 1b561672057..bb421cd8506 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendService.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendService.java
@@ -135,7 +135,7 @@ public final class BackendService extends com.google.api.client.json.GenericJson
private ConsistentHashLoadBalancerSettings consistentHash;
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -339,7 +339,8 @@ public final class BackendService extends com.google.api.client.json.GenericJson
private java.lang.String ipAddressSelectionPolicy;
/**
- * [Output Only] Type of resource. Always compute#backendService for backend services.
+ * Output only. [Output Only] Type of resource. Always compute#backendService for backend
+ * services.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -468,6 +469,13 @@ public final class BackendService extends com.google.api.client.json.GenericJson
@com.google.api.client.util.Key
private BackendServiceNetworkPassThroughLbTrafficPolicy networkPassThroughLbTrafficPolicy;
+ /**
+ * Information about the resource or system that manages the backend service.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private BackendServiceOrchestrationInfo orchestrationInfo;
+
/**
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool
* of each individual proxy instance that processes the traffic for the given backend service. If
@@ -542,9 +550,9 @@ public final class BackendService extends com.google.api.client.json.GenericJson
private java.lang.String protocol;
/**
- * [Output Only] URL of the region where the regional backend service resides. This field is not
- * applicable to global backend services. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend service resides. This
+ * field is not applicable to global backend services. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -574,7 +582,7 @@ public final class BackendService extends com.google.api.client.json.GenericJson
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -654,27 +662,12 @@ public final class BackendService extends com.google.api.client.json.GenericJson
private BackendServiceTlsSettings tlsSettings;
/**
- * [Output Only] List of resources referencing given backend service.
+ * Output only. [Output Only] List of resources referencing given backend service.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List usedBy;
- /**
- * The network scope of the backends that can be added to the backend service. This field can be
- * either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
- *
- * A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends
- * in global VPC networks.
- *
- * When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have
- * backends in regional networks in the same scope as the backend service. Note: if not specified
- * then GLOBAL_VPC_NETWORK will be used.
- * The value may be {@code null}.
- */
- @com.google.api.client.util.Key
- private java.lang.String vpcNetworkScope;
-
/**
* Lifetime of cookies in seconds. This setting is applicable to Application Load Balancers and
* Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity.
@@ -875,7 +868,7 @@ public BackendService setConsistentHash(ConsistentHashLoadBalancerSettings consi
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getCreationTimestamp() {
@@ -883,7 +876,7 @@ public java.lang.String getCreationTimestamp() {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @param creationTimestamp creationTimestamp or {@code null} for none
*/
public BackendService setCreationTimestamp(java.lang.String creationTimestamp) {
@@ -1372,7 +1365,8 @@ public BackendService setIpAddressSelectionPolicy(java.lang.String ipAddressSele
}
/**
- * [Output Only] Type of resource. Always compute#backendService for backend services.
+ * Output only. [Output Only] Type of resource. Always compute#backendService for backend
+ * services.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -1380,7 +1374,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Always compute#backendService for backend services.
+ * Output only. [Output Only] Type of resource. Always compute#backendService for backend
+ * services.
* @param kind kind or {@code null} for none
*/
public BackendService setKind(java.lang.String kind) {
@@ -1661,6 +1656,23 @@ public BackendService setNetworkPassThroughLbTrafficPolicy(BackendServiceNetwork
return this;
}
+ /**
+ * Information about the resource or system that manages the backend service.
+ * @return value or {@code null} for none
+ */
+ public BackendServiceOrchestrationInfo getOrchestrationInfo() {
+ return orchestrationInfo;
+ }
+
+ /**
+ * Information about the resource or system that manages the backend service.
+ * @param orchestrationInfo orchestrationInfo or {@code null} for none
+ */
+ public BackendService setOrchestrationInfo(BackendServiceOrchestrationInfo orchestrationInfo) {
+ this.orchestrationInfo = orchestrationInfo;
+ return this;
+ }
+
/**
* Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool
* of each individual proxy instance that processes the traffic for the given backend service. If
@@ -1823,9 +1835,9 @@ public BackendService setProtocol(java.lang.String protocol) {
}
/**
- * [Output Only] URL of the region where the regional backend service resides. This field is not
- * applicable to global backend services. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend service resides. This
+ * field is not applicable to global backend services. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
@@ -1833,9 +1845,9 @@ public java.lang.String getRegion() {
}
/**
- * [Output Only] URL of the region where the regional backend service resides. This field is not
- * applicable to global backend services. You must specify this field as part of the HTTP request
- * URL. It is not settable as a field in the request body.
+ * Output only. [Output Only] URL of the region where the regional backend service resides. This
+ * field is not applicable to global backend services. You must specify this field as part of the
+ * HTTP request URL. It is not settable as a field in the request body.
* @param region region or {@code null} for none
*/
public BackendService setRegion(java.lang.String region) {
@@ -1899,7 +1911,7 @@ public BackendService setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -1907,7 +1919,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public BackendService setSelfLinkWithId(java.lang.String selfLinkWithId) {
@@ -2083,7 +2095,7 @@ public BackendService setTlsSettings(BackendServiceTlsSettings tlsSettings) {
}
/**
- * [Output Only] List of resources referencing given backend service.
+ * Output only. [Output Only] List of resources referencing given backend service.
* @return value or {@code null} for none
*/
public java.util.List getUsedBy() {
@@ -2091,7 +2103,7 @@ public java.util.List getUsedBy() {
}
/**
- * [Output Only] List of resources referencing given backend service.
+ * Output only. [Output Only] List of resources referencing given backend service.
* @param usedBy usedBy or {@code null} for none
*/
public BackendService setUsedBy(java.util.List usedBy) {
@@ -2099,39 +2111,6 @@ public BackendService setUsedBy(java.util.List usedBy) {
return this;
}
- /**
- * The network scope of the backends that can be added to the backend service. This field can be
- * either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
- *
- * A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends
- * in global VPC networks.
- *
- * When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have
- * backends in regional networks in the same scope as the backend service. Note: if not specified
- * then GLOBAL_VPC_NETWORK will be used.
- * @return value or {@code null} for none
- */
- public java.lang.String getVpcNetworkScope() {
- return vpcNetworkScope;
- }
-
- /**
- * The network scope of the backends that can be added to the backend service. This field can be
- * either GLOBAL_VPC_NETWORK orREGIONAL_VPC_NETWORK.
- *
- * A backend service with the VPC scope set to GLOBAL_VPC_NETWORK is only allowed to have backends
- * in global VPC networks.
- *
- * When the VPC scope is set to REGIONAL_VPC_NETWORK the backend service is only allowed to have
- * backends in regional networks in the same scope as the backend service. Note: if not specified
- * then GLOBAL_VPC_NETWORK will be used.
- * @param vpcNetworkScope vpcNetworkScope or {@code null} for none
- */
- public BackendService setVpcNetworkScope(java.lang.String vpcNetworkScope) {
- this.vpcNetworkScope = vpcNetworkScope;
- return this;
- }
-
@Override
public BackendService set(String fieldName, Object value) {
return (BackendService) super.set(fieldName, value);
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceAggregatedList.java
index e0afada0240..313198d23b6 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceAggregatedList.java
@@ -44,7 +44,7 @@ public final class BackendServiceAggregatedList extends com.google.api.client.js
private java.util.Map items;
/**
- * Type of resource.
+ * Output only. Type of resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -61,14 +61,14 @@ public final class BackendServiceAggregatedList extends com.google.api.client.js
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -116,7 +116,7 @@ public BackendServiceAggregatedList setItems(java.util.Map getUnreachables() {
@@ -181,7 +181,7 @@ public java.util.List getUnreachables() {
}
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* @param unreachables unreachables or {@code null} for none
*/
public BackendServiceAggregatedList setUnreachables(java.util.List unreachables) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwarding.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwarding.java
index 0cedf515d3b..cf815c0675f 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwarding.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwarding.java
@@ -29,6 +29,13 @@
@SuppressWarnings("javadoc")
public final class BackendServiceDynamicForwarding extends com.google.api.client.json.GenericJson {
+ /**
+ * Dynamic Forwarding Proxy configuration.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private BackendServiceDynamicForwardingForwardProxy forwardProxy;
+
/**
* IP:PORT based dynamic forwarding configuration.
* The value may be {@code null}.
@@ -36,6 +43,23 @@ public final class BackendServiceDynamicForwarding extends com.google.api.client
@com.google.api.client.util.Key
private BackendServiceDynamicForwardingIpPortSelection ipPortSelection;
+ /**
+ * Dynamic Forwarding Proxy configuration.
+ * @return value or {@code null} for none
+ */
+ public BackendServiceDynamicForwardingForwardProxy getForwardProxy() {
+ return forwardProxy;
+ }
+
+ /**
+ * Dynamic Forwarding Proxy configuration.
+ * @param forwardProxy forwardProxy or {@code null} for none
+ */
+ public BackendServiceDynamicForwarding setForwardProxy(BackendServiceDynamicForwardingForwardProxy forwardProxy) {
+ this.forwardProxy = forwardProxy;
+ return this;
+ }
+
/**
* IP:PORT based dynamic forwarding configuration.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwardingForwardProxy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwardingForwardProxy.java
new file mode 100644
index 00000000000..030061819d7
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceDynamicForwardingForwardProxy.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * Defines Dynamic Forwarding Proxy configuration.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class BackendServiceDynamicForwardingForwardProxy extends com.google.api.client.json.GenericJson {
+
+ /**
+ * A boolean flag enabling dynamic forwarding proxy.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean enabled;
+
+ /**
+ * Determines the dynamic forwarding proxy mode.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String proxyMode;
+
+ /**
+ * A boolean flag enabling dynamic forwarding proxy.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getEnabled() {
+ return enabled;
+ }
+
+ /**
+ * A boolean flag enabling dynamic forwarding proxy.
+ * @param enabled enabled or {@code null} for none
+ */
+ public BackendServiceDynamicForwardingForwardProxy setEnabled(java.lang.Boolean enabled) {
+ this.enabled = enabled;
+ return this;
+ }
+
+ /**
+ * Determines the dynamic forwarding proxy mode.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getProxyMode() {
+ return proxyMode;
+ }
+
+ /**
+ * Determines the dynamic forwarding proxy mode.
+ * @param proxyMode proxyMode or {@code null} for none
+ */
+ public BackendServiceDynamicForwardingForwardProxy setProxyMode(java.lang.String proxyMode) {
+ this.proxyMode = proxyMode;
+ return this;
+ }
+
+ @Override
+ public BackendServiceDynamicForwardingForwardProxy set(String fieldName, Object value) {
+ return (BackendServiceDynamicForwardingForwardProxy) super.set(fieldName, value);
+ }
+
+ @Override
+ public BackendServiceDynamicForwardingForwardProxy clone() {
+ return (BackendServiceDynamicForwardingForwardProxy) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceFailoverPolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceFailoverPolicy.java
index efdb6b23e77..6d41f11341d 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceFailoverPolicy.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceFailoverPolicy.java
@@ -38,7 +38,7 @@
public final class BackendServiceFailoverPolicy extends com.google.api.client.json.GenericJson {
/**
- * This can be set to true only if the protocol isTCP.
+ * This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.
*
* The default is false.
* The value may be {@code null}.
@@ -73,7 +73,7 @@ public final class BackendServiceFailoverPolicy extends com.google.api.client.js
private java.lang.Float failoverRatio;
/**
- * This can be set to true only if the protocol isTCP.
+ * This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.
*
* The default is false.
* @return value or {@code null} for none
@@ -83,7 +83,7 @@ public java.lang.Boolean getDisableConnectionDrainOnFailover() {
}
/**
- * This can be set to true only if the protocol isTCP.
+ * This can be set to true if the protocol isTCP, UDP, or UNSPECIFIED.
*
* The default is false.
* @param disableConnectionDrainOnFailover disableConnectionDrainOnFailover or {@code null} for none
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceGroupHealth.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceGroupHealth.java
index bc3239368af..2df9c4eb5fe 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceGroupHealth.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceGroupHealth.java
@@ -45,8 +45,8 @@ public final class BackendServiceGroupHealth extends com.google.api.client.json.
private java.util.List healthStatus;
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the
+ * health of backend services.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -89,8 +89,8 @@ public BackendServiceGroupHealth setHealthStatus(java.util.List he
}
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the
+ * health of backend services.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -98,8 +98,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the health of
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceGroupHealth for the
+ * health of backend services.
* @param kind kind or {@code null} for none
*/
public BackendServiceGroupHealth setKind(java.lang.String kind) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceIAP.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceIAP.java
index f6f65dd63bf..e8084deee88 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceIAP.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceIAP.java
@@ -62,7 +62,7 @@ public final class BackendServiceIAP extends com.google.api.client.json.GenericJ
private java.lang.String oauth2ClientSecret;
/**
- * [Output Only] SHA256 hash value for the field oauth2_client_secret above.
+ * Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -145,7 +145,7 @@ public BackendServiceIAP setOauth2ClientSecret(java.lang.String oauth2ClientSecr
}
/**
- * [Output Only] SHA256 hash value for the field oauth2_client_secret above.
+ * Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
* @return value or {@code null} for none
*/
public java.lang.String getOauth2ClientSecretSha256() {
@@ -153,7 +153,7 @@ public java.lang.String getOauth2ClientSecretSha256() {
}
/**
- * [Output Only] SHA256 hash value for the field oauth2_client_secret above.
+ * Output only. [Output Only] SHA256 hash value for the field oauth2_client_secret above.
* @param oauth2ClientSecretSha256 oauth2ClientSecretSha256 or {@code null} for none
*/
public BackendServiceIAP setOauth2ClientSecretSha256(java.lang.String oauth2ClientSecretSha256) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceList.java
index 55bacc0e85b..a9fbe1babdc 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceList.java
@@ -50,7 +50,8 @@ public final class BackendServiceList extends com.google.api.client.json.Generic
}
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of
+ * backend services.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -67,7 +68,7 @@ public final class BackendServiceList extends com.google.api.client.json.Generic
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -115,7 +116,8 @@ public BackendServiceList setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of
+ * backend services.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -123,7 +125,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#backendServiceList for lists of
+ * backend services.
* @param kind kind or {@code null} for none
*/
public BackendServiceList setKind(java.lang.String kind) {
@@ -155,7 +158,7 @@ public BackendServiceList setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -163,7 +166,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public BackendServiceList setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceListUsable.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceListUsable.java
index 68b53b5decb..eeee3073ad5 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceListUsable.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceListUsable.java
@@ -50,8 +50,8 @@ public final class BackendServiceListUsable extends com.google.api.client.json.G
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists
+ * of usable backend services.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -68,7 +68,7 @@ public final class BackendServiceListUsable extends com.google.api.client.json.G
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -116,8 +116,8 @@ public BackendServiceListUsable setItems(java.util.List items) {
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists
+ * of usable backend services.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -125,8 +125,8 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable
- * backend services.
+ * Output only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists
+ * of usable backend services.
* @param kind kind or {@code null} for none
*/
public BackendServiceListUsable setKind(java.lang.String kind) {
@@ -158,7 +158,7 @@ public BackendServiceListUsable setNextPageToken(java.lang.String nextPageToken)
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -166,7 +166,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* @param selfLink selfLink or {@code null} for none
*/
public BackendServiceListUsable setSelfLink(java.lang.String selfLink) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java
new file mode 100644
index 00000000000..a3e10b1d879
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceOrchestrationInfo.java
@@ -0,0 +1,66 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * A message containing information about the resource or system that manages the backend service.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class BackendServiceOrchestrationInfo extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The resource URI of the resource or system that manages the backend service.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resourceUri;
+
+ /**
+ * The resource URI of the resource or system that manages the backend service.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getResourceUri() {
+ return resourceUri;
+ }
+
+ /**
+ * The resource URI of the resource or system that manages the backend service.
+ * @param resourceUri resourceUri or {@code null} for none
+ */
+ public BackendServiceOrchestrationInfo setResourceUri(java.lang.String resourceUri) {
+ this.resourceUri = resourceUri;
+ return this;
+ }
+
+ @Override
+ public BackendServiceOrchestrationInfo set(String fieldName, Object value) {
+ return (BackendServiceOrchestrationInfo) super.set(fieldName, value);
+ }
+
+ @Override
+ public BackendServiceOrchestrationInfo clone() {
+ return (BackendServiceOrchestrationInfo) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceUsedBy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceUsedBy.java
index cebbcab9361..d1f47ab4d6d 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceUsedBy.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BackendServiceUsedBy.java
@@ -30,16 +30,16 @@
public final class BackendServiceUsedBy extends com.google.api.client.json.GenericJson {
/**
- * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps,
- * TargetTcpProxies, TargetSslProxies and ForwardingRule.
+ * Output only. [Output Only] Server-defined URL for resources referencing given BackendService
+ * like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String reference;
/**
- * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps,
- * TargetTcpProxies, TargetSslProxies and ForwardingRule.
+ * Output only. [Output Only] Server-defined URL for resources referencing given BackendService
+ * like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.
* @return value or {@code null} for none
*/
public java.lang.String getReference() {
@@ -47,8 +47,8 @@ public java.lang.String getReference() {
}
/**
- * [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps,
- * TargetTcpProxies, TargetSslProxies and ForwardingRule.
+ * Output only. [Output Only] Server-defined URL for resources referencing given BackendService
+ * like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.
* @param reference reference or {@code null} for none
*/
public BackendServiceUsedBy setReference(java.lang.String reference) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRoute.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRoute.java
index 9c057f2e6c6..f4e2917b118 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRoute.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRoute.java
@@ -30,42 +30,42 @@
public final class BgpRoute extends com.google.api.client.json.GenericJson {
/**
- * [Output only] AS-PATH for the route
+ * Output only. [Output only] AS-PATH for the route
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List asPaths;
/**
- * [Output only] BGP communities in human-readable A:B format.
+ * Output only. [Output only] BGP communities in human-readable A:B format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List communities;
/**
- * [Output only] Destination IP range for the route, in human-readable CIDR format
+ * Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private BgpRouteNetworkLayerReachabilityInformation destination;
/**
- * [Output only] BGP multi-exit discriminator
+ * Output only. [Output only] BGP multi-exit discriminator
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Long med;
/**
- * [Output only] BGP origin (EGP, IGP or INCOMPLETE)
+ * Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String origin;
/**
- * [Output only] AS-PATH for the route
+ * Output only. [Output only] AS-PATH for the route
* @return value or {@code null} for none
*/
public java.util.List getAsPaths() {
@@ -73,7 +73,7 @@ public java.util.List getAsPaths() {
}
/**
- * [Output only] AS-PATH for the route
+ * Output only. [Output only] AS-PATH for the route
* @param asPaths asPaths or {@code null} for none
*/
public BgpRoute setAsPaths(java.util.List asPaths) {
@@ -82,7 +82,7 @@ public BgpRoute setAsPaths(java.util.List asPaths) {
}
/**
- * [Output only] BGP communities in human-readable A:B format.
+ * Output only. [Output only] BGP communities in human-readable A:B format.
* @return value or {@code null} for none
*/
public java.util.List getCommunities() {
@@ -90,7 +90,7 @@ public java.util.List getCommunities() {
}
/**
- * [Output only] BGP communities in human-readable A:B format.
+ * Output only. [Output only] BGP communities in human-readable A:B format.
* @param communities communities or {@code null} for none
*/
public BgpRoute setCommunities(java.util.List communities) {
@@ -99,7 +99,7 @@ public BgpRoute setCommunities(java.util.List communities) {
}
/**
- * [Output only] Destination IP range for the route, in human-readable CIDR format
+ * Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
* @return value or {@code null} for none
*/
public BgpRouteNetworkLayerReachabilityInformation getDestination() {
@@ -107,7 +107,7 @@ public BgpRouteNetworkLayerReachabilityInformation getDestination() {
}
/**
- * [Output only] Destination IP range for the route, in human-readable CIDR format
+ * Output only. [Output only] Destination IP range for the route, in human-readable CIDR format
* @param destination destination or {@code null} for none
*/
public BgpRoute setDestination(BgpRouteNetworkLayerReachabilityInformation destination) {
@@ -116,7 +116,7 @@ public BgpRoute setDestination(BgpRouteNetworkLayerReachabilityInformation desti
}
/**
- * [Output only] BGP multi-exit discriminator
+ * Output only. [Output only] BGP multi-exit discriminator
* @return value or {@code null} for none
*/
public java.lang.Long getMed() {
@@ -124,7 +124,7 @@ public java.lang.Long getMed() {
}
/**
- * [Output only] BGP multi-exit discriminator
+ * Output only. [Output only] BGP multi-exit discriminator
* @param med med or {@code null} for none
*/
public BgpRoute setMed(java.lang.Long med) {
@@ -133,7 +133,7 @@ public BgpRoute setMed(java.lang.Long med) {
}
/**
- * [Output only] BGP origin (EGP, IGP or INCOMPLETE)
+ * Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
* @return value or {@code null} for none
*/
public java.lang.String getOrigin() {
@@ -141,7 +141,7 @@ public java.lang.String getOrigin() {
}
/**
- * [Output only] BGP origin (EGP, IGP or INCOMPLETE)
+ * Output only. [Output only] BGP origin (EGP, IGP or INCOMPLETE)
* @param origin origin or {@code null} for none
*/
public BgpRoute setOrigin(java.lang.String origin) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRouteAsPath.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRouteAsPath.java
index da0ffd82c86..34de456cbc3 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRouteAsPath.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BgpRouteAsPath.java
@@ -30,30 +30,30 @@
public final class BgpRouteAsPath extends com.google.api.client.json.GenericJson {
/**
- * [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
+ * Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List asns;
/**
- * [Output only] ASNs in the path segment. This field is for better support of 32 bit ASNs as the
- * other asns field suffers from overflow when the ASN is larger. When type is SEQUENCE, these are
- * ordered.
+ * Output only. [Output only] ASNs in the path segment. This field is for better support of 32 bit
+ * ASNs as the other asns field suffers from overflow when the ASN is larger. When type is
+ * SEQUENCE, these are ordered.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List asns32;
/**
- * [Output only] Type of AS-PATH segment (SEQUENCE or SET)
+ * Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;
/**
- * [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
+ * Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
* @return value or {@code null} for none
*/
public java.util.List getAsns() {
@@ -61,7 +61,7 @@ public java.util.List getAsns() {
}
/**
- * [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
+ * Output only. [Output only] ASNs in the path segment. When type is SEQUENCE, these are ordered.
* @param asns asns or {@code null} for none
*/
public BgpRouteAsPath setAsns(java.util.List asns) {
@@ -70,9 +70,9 @@ public BgpRouteAsPath setAsns(java.util.List asns) {
}
/**
- * [Output only] ASNs in the path segment. This field is for better support of 32 bit ASNs as the
- * other asns field suffers from overflow when the ASN is larger. When type is SEQUENCE, these are
- * ordered.
+ * Output only. [Output only] ASNs in the path segment. This field is for better support of 32 bit
+ * ASNs as the other asns field suffers from overflow when the ASN is larger. When type is
+ * SEQUENCE, these are ordered.
* @return value or {@code null} for none
*/
public java.util.List getAsns32() {
@@ -80,9 +80,9 @@ public java.util.List getAsns32() {
}
/**
- * [Output only] ASNs in the path segment. This field is for better support of 32 bit ASNs as the
- * other asns field suffers from overflow when the ASN is larger. When type is SEQUENCE, these are
- * ordered.
+ * Output only. [Output only] ASNs in the path segment. This field is for better support of 32 bit
+ * ASNs as the other asns field suffers from overflow when the ASN is larger. When type is
+ * SEQUENCE, these are ordered.
* @param asns32 asns32 or {@code null} for none
*/
public BgpRouteAsPath setAsns32(java.util.List asns32) {
@@ -91,7 +91,7 @@ public BgpRouteAsPath setAsns32(java.util.List asns32) {
}
/**
- * [Output only] Type of AS-PATH segment (SEQUENCE or SET)
+ * Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
* @return value or {@code null} for none
*/
public java.lang.String getType() {
@@ -99,7 +99,7 @@ public java.lang.String getType() {
}
/**
- * [Output only] Type of AS-PATH segment (SEQUENCE or SET)
+ * Output only. [Output only] Type of AS-PATH segment (SEQUENCE or SET)
* @param type type or {@code null} for none
*/
public BgpRouteAsPath setType(java.lang.String type) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BulkInsertInstanceResourcePerInstanceProperties.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BulkInsertInstanceResourcePerInstanceProperties.java
index aca17118fa4..e8d1e697aa7 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BulkInsertInstanceResourcePerInstanceProperties.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/BulkInsertInstanceResourcePerInstanceProperties.java
@@ -38,7 +38,7 @@ public final class BulkInsertInstanceResourcePerInstanceProperties extends com.g
private java.lang.String hostname;
/**
- * This field is only temporary. It will be removed. Do not use it.
+ * Output only. This field is only temporary. It will be removed. Do not use it.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -64,7 +64,7 @@ public BulkInsertInstanceResourcePerInstanceProperties setHostname(java.lang.Str
}
/**
- * This field is only temporary. It will be removed. Do not use it.
+ * Output only. This field is only temporary. It will be removed. Do not use it.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
@@ -72,7 +72,7 @@ public java.lang.String getName() {
}
/**
- * This field is only temporary. It will be removed. Do not use it.
+ * Output only. This field is only temporary. It will be removed. Do not use it.
* @param name name or {@code null} for none
*/
public BulkInsertInstanceResourcePerInstanceProperties setName(java.lang.String name) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CacheInvalidationRule.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CacheInvalidationRule.java
index 25df3e9b811..cb23dd5a6fa 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CacheInvalidationRule.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CacheInvalidationRule.java
@@ -29,6 +29,17 @@
@SuppressWarnings("javadoc")
public final class CacheInvalidationRule extends com.google.api.client.json.GenericJson {
+ /**
+ * If set, this invalidation rule will only apply to requests routed to the given backend service
+ * or backend bucket. For example, for a backend bucket `bb1` in the same scope as the URL map,
+ * the path would be `projects/my-project/global/backendBuckets/bb1`; and for a backend service
+ * `bs1` in the same scope as the URL map, the path would be `projects/my-
+ * project/global/backendServices/bs1`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String backendService;
+
/**
* A list of cache tags used to identify cached objects.
*
@@ -43,6 +54,15 @@ public final class CacheInvalidationRule extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private java.util.List cacheTags;
+ /**
+ * If set, this invalidation rule will only apply to responses with the given content-type.
+ * Parameters are not allowed and are ignored from the response when matching. Wildcards are not
+ * allowed.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String contentType;
+
/**
* If set, this invalidation rule will only apply to requests with a Host header matching host.
* The value may be {@code null}.
@@ -50,12 +70,45 @@ public final class CacheInvalidationRule extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private java.lang.String host;
+ /**
+ * If set, this invalidation rule will only apply to responses with the given HTTP status. Valid
+ * range is 200-599.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer httpStatus;
+
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String path;
+ /**
+ * If set, this invalidation rule will only apply to requests routed to the given backend service
+ * or backend bucket. For example, for a backend bucket `bb1` in the same scope as the URL map,
+ * the path would be `projects/my-project/global/backendBuckets/bb1`; and for a backend service
+ * `bs1` in the same scope as the URL map, the path would be `projects/my-
+ * project/global/backendServices/bs1`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getBackendService() {
+ return backendService;
+ }
+
+ /**
+ * If set, this invalidation rule will only apply to requests routed to the given backend service
+ * or backend bucket. For example, for a backend bucket `bb1` in the same scope as the URL map,
+ * the path would be `projects/my-project/global/backendBuckets/bb1`; and for a backend service
+ * `bs1` in the same scope as the URL map, the path would be `projects/my-
+ * project/global/backendServices/bs1`.
+ * @param backendService backendService or {@code null} for none
+ */
+ public CacheInvalidationRule setBackendService(java.lang.String backendService) {
+ this.backendService = backendService;
+ return this;
+ }
+
/**
* A list of cache tags used to identify cached objects.
*
@@ -87,6 +140,27 @@ public CacheInvalidationRule setCacheTags(java.util.List cache
return this;
}
+ /**
+ * If set, this invalidation rule will only apply to responses with the given content-type.
+ * Parameters are not allowed and are ignored from the response when matching. Wildcards are not
+ * allowed.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getContentType() {
+ return contentType;
+ }
+
+ /**
+ * If set, this invalidation rule will only apply to responses with the given content-type.
+ * Parameters are not allowed and are ignored from the response when matching. Wildcards are not
+ * allowed.
+ * @param contentType contentType or {@code null} for none
+ */
+ public CacheInvalidationRule setContentType(java.lang.String contentType) {
+ this.contentType = contentType;
+ return this;
+ }
+
/**
* If set, this invalidation rule will only apply to requests with a Host header matching host.
* @return value or {@code null} for none
@@ -104,6 +178,25 @@ public CacheInvalidationRule setHost(java.lang.String host) {
return this;
}
+ /**
+ * If set, this invalidation rule will only apply to responses with the given HTTP status. Valid
+ * range is 200-599.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getHttpStatus() {
+ return httpStatus;
+ }
+
+ /**
+ * If set, this invalidation rule will only apply to responses with the given HTTP status. Valid
+ * range is 200-599.
+ * @param httpStatus httpStatus or {@code null} for none
+ */
+ public CacheInvalidationRule setHttpStatus(java.lang.Integer httpStatus) {
+ this.httpStatus = httpStatus;
+ return this;
+ }
+
/**
* @return value or {@code null} for none
*/
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicy.java
new file mode 100644
index 00000000000..637cb5ec264
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicy.java
@@ -0,0 +1,405 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * Message containing CachePolicy configuration for URL Map's Route Action.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class CachePolicy extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Bypass the cache when the specified request headers are matched by name, e.g. Pragma or
+ * Authorization headers. Values are case-insensitive. Up to 5 header names can be specified. The
+ * cache is bypassed for all cachePolicy.cacheMode settings.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List cacheBypassRequestHeaderNames;
+
+ /**
+ * The CacheKeyPolicy for this CachePolicy.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private CachePolicyCacheKeyPolicy cacheKeyPolicy;
+
+ /**
+ * Specifies the cache setting for all responses from this route. If not specified, the default
+ * value is CACHE_ALL_STATIC.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String cacheMode;
+
+ /**
+ * Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-
+ * age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and
+ * default_ttl is used for the response max-age directive, along with a "public" directive. For
+ * cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if
+ * specified), or else sets the response max-age directive to the lesser of the client_ttl and
+ * default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is
+ * not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s
+ * (1 year).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Duration clientTtl;
+
+ /**
+ * Specifies the default TTL for cached content served by this origin for responses that do not
+ * have an existing valid TTL (max-age or s-maxage). Setting a TTL of "0" means "always
+ * revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL. When
+ * the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all
+ * responses. The maximum allowed value is 31,622,400s (1 year). Infrequently accessed objects may
+ * be evicted from the cache before the defined TTL.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Duration defaultTtl;
+
+ /**
+ * Specifies the maximum allowed TTL for cached content served by this origin. Cache directives
+ * that attempt to set a max-age or s-maxage higher than this, or an Expires header more than
+ * maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of
+ * an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a
+ * TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year).
+ * Infrequently accessed objects may be evicted from the cache before the defined TTL.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Duration maxTtl;
+
+ /**
+ * Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching
+ * for common errors or redirects. This can reduce the load on your origin and improve end-user
+ * experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or
+ * USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that
+ * lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to
+ * FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code,
+ * and override any caching headers. By default, Cloud CDN will apply the following default TTLs
+ * to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404
+ * (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found),
+ * 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean negativeCaching;
+
+ /**
+ * Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to
+ * configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled
+ * will use Cloud CDN's default cache TTLs. Note that when specifying an explicit
+ * negative_caching_policy, you should take care to specify a cache TTL for all response codes
+ * that you wish to cache. Cloud CDN will not apply any default negative caching when a policy
+ * exists.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List negativeCachingPolicy;
+
+ /**
+ * If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
+ * of requests to the origin.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean requestCoalescing;
+
+ /**
+ * Serve existing content from the cache (if available) when revalidating content with the origin,
+ * or when an error is encountered when refreshing the cache. This setting defines the default
+ * "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale
+ * responses that exceed the TTL configured here will not be served. The default limit (max-stale)
+ * is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-
+ * age (or s-maxage) of a cached response. The maximum allowed value is 604800 (1 week). Set this
+ * to zero (0) to disable serve-while-stale.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Duration serveWhileStale;
+
+ /**
+ * Bypass the cache when the specified request headers are matched by name, e.g. Pragma or
+ * Authorization headers. Values are case-insensitive. Up to 5 header names can be specified. The
+ * cache is bypassed for all cachePolicy.cacheMode settings.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getCacheBypassRequestHeaderNames() {
+ return cacheBypassRequestHeaderNames;
+ }
+
+ /**
+ * Bypass the cache when the specified request headers are matched by name, e.g. Pragma or
+ * Authorization headers. Values are case-insensitive. Up to 5 header names can be specified. The
+ * cache is bypassed for all cachePolicy.cacheMode settings.
+ * @param cacheBypassRequestHeaderNames cacheBypassRequestHeaderNames or {@code null} for none
+ */
+ public CachePolicy setCacheBypassRequestHeaderNames(java.util.List cacheBypassRequestHeaderNames) {
+ this.cacheBypassRequestHeaderNames = cacheBypassRequestHeaderNames;
+ return this;
+ }
+
+ /**
+ * The CacheKeyPolicy for this CachePolicy.
+ * @return value or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy getCacheKeyPolicy() {
+ return cacheKeyPolicy;
+ }
+
+ /**
+ * The CacheKeyPolicy for this CachePolicy.
+ * @param cacheKeyPolicy cacheKeyPolicy or {@code null} for none
+ */
+ public CachePolicy setCacheKeyPolicy(CachePolicyCacheKeyPolicy cacheKeyPolicy) {
+ this.cacheKeyPolicy = cacheKeyPolicy;
+ return this;
+ }
+
+ /**
+ * Specifies the cache setting for all responses from this route. If not specified, the default
+ * value is CACHE_ALL_STATIC.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getCacheMode() {
+ return cacheMode;
+ }
+
+ /**
+ * Specifies the cache setting for all responses from this route. If not specified, the default
+ * value is CACHE_ALL_STATIC.
+ * @param cacheMode cacheMode or {@code null} for none
+ */
+ public CachePolicy setCacheMode(java.lang.String cacheMode) {
+ this.cacheMode = cacheMode;
+ return this;
+ }
+
+ /**
+ * Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-
+ * age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and
+ * default_ttl is used for the response max-age directive, along with a "public" directive. For
+ * cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if
+ * specified), or else sets the response max-age directive to the lesser of the client_ttl and
+ * default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is
+ * not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s
+ * (1 year).
+ * @return value or {@code null} for none
+ */
+ public Duration getClientTtl() {
+ return clientTtl;
+ }
+
+ /**
+ * Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-
+ * age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and
+ * default_ttl is used for the response max-age directive, along with a "public" directive. For
+ * cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if
+ * specified), or else sets the response max-age directive to the lesser of the client_ttl and
+ * default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is
+ * not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s
+ * (1 year).
+ * @param clientTtl clientTtl or {@code null} for none
+ */
+ public CachePolicy setClientTtl(Duration clientTtl) {
+ this.clientTtl = clientTtl;
+ return this;
+ }
+
+ /**
+ * Specifies the default TTL for cached content served by this origin for responses that do not
+ * have an existing valid TTL (max-age or s-maxage). Setting a TTL of "0" means "always
+ * revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL. When
+ * the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all
+ * responses. The maximum allowed value is 31,622,400s (1 year). Infrequently accessed objects may
+ * be evicted from the cache before the defined TTL.
+ * @return value or {@code null} for none
+ */
+ public Duration getDefaultTtl() {
+ return defaultTtl;
+ }
+
+ /**
+ * Specifies the default TTL for cached content served by this origin for responses that do not
+ * have an existing valid TTL (max-age or s-maxage). Setting a TTL of "0" means "always
+ * revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL. When
+ * the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all
+ * responses. The maximum allowed value is 31,622,400s (1 year). Infrequently accessed objects may
+ * be evicted from the cache before the defined TTL.
+ * @param defaultTtl defaultTtl or {@code null} for none
+ */
+ public CachePolicy setDefaultTtl(Duration defaultTtl) {
+ this.defaultTtl = defaultTtl;
+ return this;
+ }
+
+ /**
+ * Specifies the maximum allowed TTL for cached content served by this origin. Cache directives
+ * that attempt to set a max-age or s-maxage higher than this, or an Expires header more than
+ * maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of
+ * an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a
+ * TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year).
+ * Infrequently accessed objects may be evicted from the cache before the defined TTL.
+ * @return value or {@code null} for none
+ */
+ public Duration getMaxTtl() {
+ return maxTtl;
+ }
+
+ /**
+ * Specifies the maximum allowed TTL for cached content served by this origin. Cache directives
+ * that attempt to set a max-age or s-maxage higher than this, or an Expires header more than
+ * maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of
+ * an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a
+ * TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year).
+ * Infrequently accessed objects may be evicted from the cache before the defined TTL.
+ * @param maxTtl maxTtl or {@code null} for none
+ */
+ public CachePolicy setMaxTtl(Duration maxTtl) {
+ this.maxTtl = maxTtl;
+ return this;
+ }
+
+ /**
+ * Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching
+ * for common errors or redirects. This can reduce the load on your origin and improve end-user
+ * experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or
+ * USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that
+ * lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to
+ * FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code,
+ * and override any caching headers. By default, Cloud CDN will apply the following default TTLs
+ * to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404
+ * (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found),
+ * 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getNegativeCaching() {
+ return negativeCaching;
+ }
+
+ /**
+ * Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching
+ * for common errors or redirects. This can reduce the load on your origin and improve end-user
+ * experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or
+ * USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that
+ * lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to
+ * FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code,
+ * and override any caching headers. By default, Cloud CDN will apply the following default TTLs
+ * to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404
+ * (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found),
+ * 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.
+ * @param negativeCaching negativeCaching or {@code null} for none
+ */
+ public CachePolicy setNegativeCaching(java.lang.Boolean negativeCaching) {
+ this.negativeCaching = negativeCaching;
+ return this;
+ }
+
+ /**
+ * Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to
+ * configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled
+ * will use Cloud CDN's default cache TTLs. Note that when specifying an explicit
+ * negative_caching_policy, you should take care to specify a cache TTL for all response codes
+ * that you wish to cache. Cloud CDN will not apply any default negative caching when a policy
+ * exists.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getNegativeCachingPolicy() {
+ return negativeCachingPolicy;
+ }
+
+ /**
+ * Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to
+ * configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled
+ * will use Cloud CDN's default cache TTLs. Note that when specifying an explicit
+ * negative_caching_policy, you should take care to specify a cache TTL for all response codes
+ * that you wish to cache. Cloud CDN will not apply any default negative caching when a policy
+ * exists.
+ * @param negativeCachingPolicy negativeCachingPolicy or {@code null} for none
+ */
+ public CachePolicy setNegativeCachingPolicy(java.util.List negativeCachingPolicy) {
+ this.negativeCachingPolicy = negativeCachingPolicy;
+ return this;
+ }
+
+ /**
+ * If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
+ * of requests to the origin.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getRequestCoalescing() {
+ return requestCoalescing;
+ }
+
+ /**
+ * If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
+ * of requests to the origin.
+ * @param requestCoalescing requestCoalescing or {@code null} for none
+ */
+ public CachePolicy setRequestCoalescing(java.lang.Boolean requestCoalescing) {
+ this.requestCoalescing = requestCoalescing;
+ return this;
+ }
+
+ /**
+ * Serve existing content from the cache (if available) when revalidating content with the origin,
+ * or when an error is encountered when refreshing the cache. This setting defines the default
+ * "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale
+ * responses that exceed the TTL configured here will not be served. The default limit (max-stale)
+ * is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-
+ * age (or s-maxage) of a cached response. The maximum allowed value is 604800 (1 week). Set this
+ * to zero (0) to disable serve-while-stale.
+ * @return value or {@code null} for none
+ */
+ public Duration getServeWhileStale() {
+ return serveWhileStale;
+ }
+
+ /**
+ * Serve existing content from the cache (if available) when revalidating content with the origin,
+ * or when an error is encountered when refreshing the cache. This setting defines the default
+ * "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale
+ * responses that exceed the TTL configured here will not be served. The default limit (max-stale)
+ * is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-
+ * age (or s-maxage) of a cached response. The maximum allowed value is 604800 (1 week). Set this
+ * to zero (0) to disable serve-while-stale.
+ * @param serveWhileStale serveWhileStale or {@code null} for none
+ */
+ public CachePolicy setServeWhileStale(Duration serveWhileStale) {
+ this.serveWhileStale = serveWhileStale;
+ return this;
+ }
+
+ @Override
+ public CachePolicy set(String fieldName, Object value) {
+ return (CachePolicy) super.set(fieldName, value);
+ }
+
+ @Override
+ public CachePolicy clone() {
+ return (CachePolicy) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyCacheKeyPolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyCacheKeyPolicy.java
new file mode 100644
index 00000000000..83241e3f631
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyCacheKeyPolicy.java
@@ -0,0 +1,307 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * Message containing what to include in the cache key for a request for Cache Policy defined on
+ * Route Action.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class CachePolicyCacheKeyPolicy extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Names of query string parameters to exclude in cache keys. All other parameters will be
+ * included. Either specify excluded_query_parameters or included_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List excludedQueryParameters;
+
+ /**
+ * If true, requests to different hosts will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the host is never included in a Backend Bucket's cache
+ * key. Attempting to set it on a route that points exclusively to Backend Buckets will result in
+ * a configuration error.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean includeHost;
+
+ /**
+ * If true, http and https requests will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the protocol is never included in a Backend Bucket's
+ * cache key. Attempting to set on a route that points exclusively to Backend Buckets will result
+ * in a configuration error.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean includeProtocol;
+
+ /**
+ * If true, include query string parameters in the cache key according to
+ * included_query_parameters and excluded_query_parameters. If neither is set, the entire query
+ * string will be included. If false, the query string will be excluded from the cache key
+ * entirely.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Boolean includeQueryString;
+
+ /**
+ * Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in
+ * the cache key Cloud CDN generates.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket. Attempting to set it on a route that points exclusively to
+ * Backend Buckets will result in a configuration error. Up to 5 cookie names can be specified.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List includedCookieNames;
+
+ /**
+ * Allows HTTP request headers (by name) to be used in the cache key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List includedHeaderNames;
+
+ /**
+ * Names of query string parameters to include in cache keys. All other parameters will be
+ * excluded. Either specify included_query_parameters or excluded_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List includedQueryParameters;
+
+ /**
+ * Names of query string parameters to exclude in cache keys. All other parameters will be
+ * included. Either specify excluded_query_parameters or included_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getExcludedQueryParameters() {
+ return excludedQueryParameters;
+ }
+
+ /**
+ * Names of query string parameters to exclude in cache keys. All other parameters will be
+ * included. Either specify excluded_query_parameters or included_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * @param excludedQueryParameters excludedQueryParameters or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setExcludedQueryParameters(java.util.List excludedQueryParameters) {
+ this.excludedQueryParameters = excludedQueryParameters;
+ return this;
+ }
+
+ /**
+ * If true, requests to different hosts will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the host is never included in a Backend Bucket's cache
+ * key. Attempting to set it on a route that points exclusively to Backend Buckets will result in
+ * a configuration error.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getIncludeHost() {
+ return includeHost;
+ }
+
+ /**
+ * If true, requests to different hosts will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the host is never included in a Backend Bucket's cache
+ * key. Attempting to set it on a route that points exclusively to Backend Buckets will result in
+ * a configuration error.
+ * @param includeHost includeHost or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludeHost(java.lang.Boolean includeHost) {
+ this.includeHost = includeHost;
+ return this;
+ }
+
+ /**
+ * If true, http and https requests will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the protocol is never included in a Backend Bucket's
+ * cache key. Attempting to set on a route that points exclusively to Backend Buckets will result
+ * in a configuration error.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getIncludeProtocol() {
+ return includeProtocol;
+ }
+
+ /**
+ * If true, http and https requests will be cached separately.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket, as the protocol is never included in a Backend Bucket's
+ * cache key. Attempting to set on a route that points exclusively to Backend Buckets will result
+ * in a configuration error.
+ * @param includeProtocol includeProtocol or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludeProtocol(java.lang.Boolean includeProtocol) {
+ this.includeProtocol = includeProtocol;
+ return this;
+ }
+
+ /**
+ * If true, include query string parameters in the cache key according to
+ * included_query_parameters and excluded_query_parameters. If neither is set, the entire query
+ * string will be included. If false, the query string will be excluded from the cache key
+ * entirely.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Boolean getIncludeQueryString() {
+ return includeQueryString;
+ }
+
+ /**
+ * If true, include query string parameters in the cache key according to
+ * included_query_parameters and excluded_query_parameters. If neither is set, the entire query
+ * string will be included. If false, the query string will be excluded from the cache key
+ * entirely.
+ *
+ * Note: This field applies to routes that use backend services. Attempting to set it on a route
+ * that points exclusively to Backend Buckets will result in a configuration error. For routes
+ * that point to a Backend Bucket, use includedQueryParameters to define which parameters should
+ * be a part of the cache key.
+ * @param includeQueryString includeQueryString or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludeQueryString(java.lang.Boolean includeQueryString) {
+ this.includeQueryString = includeQueryString;
+ return this;
+ }
+
+ /**
+ * Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in
+ * the cache key Cloud CDN generates.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket. Attempting to set it on a route that points exclusively to
+ * Backend Buckets will result in a configuration error. Up to 5 cookie names can be specified.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getIncludedCookieNames() {
+ return includedCookieNames;
+ }
+
+ /**
+ * Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in
+ * the cache key Cloud CDN generates.
+ *
+ * Note: This setting is only applicable to routes that use a Backend Service. It does not affect
+ * requests served by a Backend Bucket. Attempting to set it on a route that points exclusively to
+ * Backend Buckets will result in a configuration error. Up to 5 cookie names can be specified.
+ * @param includedCookieNames includedCookieNames or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludedCookieNames(java.util.List includedCookieNames) {
+ this.includedCookieNames = includedCookieNames;
+ return this;
+ }
+
+ /**
+ * Allows HTTP request headers (by name) to be used in the cache key.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getIncludedHeaderNames() {
+ return includedHeaderNames;
+ }
+
+ /**
+ * Allows HTTP request headers (by name) to be used in the cache key.
+ * @param includedHeaderNames includedHeaderNames or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludedHeaderNames(java.util.List includedHeaderNames) {
+ this.includedHeaderNames = includedHeaderNames;
+ return this;
+ }
+
+ /**
+ * Names of query string parameters to include in cache keys. All other parameters will be
+ * excluded. Either specify included_query_parameters or excluded_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getIncludedQueryParameters() {
+ return includedQueryParameters;
+ }
+
+ /**
+ * Names of query string parameters to include in cache keys. All other parameters will be
+ * excluded. Either specify included_query_parameters or excluded_query_parameters, not both. '&'
+ * and '=' will be percent encoded and not treated as delimiters.
+ * @param includedQueryParameters includedQueryParameters or {@code null} for none
+ */
+ public CachePolicyCacheKeyPolicy setIncludedQueryParameters(java.util.List includedQueryParameters) {
+ this.includedQueryParameters = includedQueryParameters;
+ return this;
+ }
+
+ @Override
+ public CachePolicyCacheKeyPolicy set(String fieldName, Object value) {
+ return (CachePolicyCacheKeyPolicy) super.set(fieldName, value);
+ }
+
+ @Override
+ public CachePolicyCacheKeyPolicy clone() {
+ return (CachePolicyCacheKeyPolicy) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyNegativeCachingPolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyNegativeCachingPolicy.java
new file mode 100644
index 00000000000..99e81ac96dd
--- /dev/null
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CachePolicyNegativeCachingPolicy.java
@@ -0,0 +1,102 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.compute.model;
+
+/**
+ * Specify CDN TTLs for response error codes.
+ *
+ * This is the Java data model class that specifies how to parse/serialize into the JSON that is
+ * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class CachePolicyNegativeCachingPolicy extends com.google.api.client.json.GenericJson {
+
+ /**
+ * The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308,
+ * 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status
+ * code more than once.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.Integer code;
+
+ /**
+ * The TTL (in seconds) for which to cache responses with the corresponding status code. The
+ * maximum allowed value is 1800s (30 minutes). Infrequently accessed objects may be evicted from
+ * the cache before the defined TTL.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private Duration ttl;
+
+ /**
+ * The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308,
+ * 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status
+ * code more than once.
+ * @return value or {@code null} for none
+ */
+ public java.lang.Integer getCode() {
+ return code;
+ }
+
+ /**
+ * The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308,
+ * 404, 405, 410, 421, 451 and 501 can be specified as values, and you cannot specify a status
+ * code more than once.
+ * @param code code or {@code null} for none
+ */
+ public CachePolicyNegativeCachingPolicy setCode(java.lang.Integer code) {
+ this.code = code;
+ return this;
+ }
+
+ /**
+ * The TTL (in seconds) for which to cache responses with the corresponding status code. The
+ * maximum allowed value is 1800s (30 minutes). Infrequently accessed objects may be evicted from
+ * the cache before the defined TTL.
+ * @return value or {@code null} for none
+ */
+ public Duration getTtl() {
+ return ttl;
+ }
+
+ /**
+ * The TTL (in seconds) for which to cache responses with the corresponding status code. The
+ * maximum allowed value is 1800s (30 minutes). Infrequently accessed objects may be evicted from
+ * the cache before the defined TTL.
+ * @param ttl ttl or {@code null} for none
+ */
+ public CachePolicyNegativeCachingPolicy setTtl(Duration ttl) {
+ this.ttl = ttl;
+ return this;
+ }
+
+ @Override
+ public CachePolicyNegativeCachingPolicy set(String fieldName, Object value) {
+ return (CachePolicyNegativeCachingPolicy) super.set(fieldName, value);
+ }
+
+ @Override
+ public CachePolicyNegativeCachingPolicy clone() {
+ return (CachePolicyNegativeCachingPolicy) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestDistributionPolicy.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestDistributionPolicy.java
index f3d78921e43..26ac0c12280 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestDistributionPolicy.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestDistributionPolicy.java
@@ -31,7 +31,7 @@ public final class CapacityAdviceRequestDistributionPolicy extends com.google.ap
/**
* The distribution shape to which the group converges. You can only specify the following values:
- * ANY,ANY_SINGLE_ZONE.
+ * ANY,ANY_SINGLE_ZONE,BALANCED.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -46,7 +46,7 @@ public final class CapacityAdviceRequestDistributionPolicy extends com.google.ap
/**
* The distribution shape to which the group converges. You can only specify the following values:
- * ANY,ANY_SINGLE_ZONE.
+ * ANY,ANY_SINGLE_ZONE,BALANCED.
* @return value or {@code null} for none
*/
public java.lang.String getTargetShape() {
@@ -55,7 +55,7 @@ public java.lang.String getTargetShape() {
/**
* The distribution shape to which the group converges. You can only specify the following values:
- * ANY,ANY_SINGLE_ZONE.
+ * ANY,ANY_SINGLE_ZONE,BALANCED.
* @param targetShape targetShape or {@code null} for none
*/
public CapacityAdviceRequestDistributionPolicy setTargetShape(java.lang.String targetShape) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstanceProperties.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstanceProperties.java
index eb3965e3774..4d5f99e3f89 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstanceProperties.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstanceProperties.java
@@ -29,6 +29,14 @@
@SuppressWarnings("javadoc")
public final class CapacityAdviceRequestInstanceProperties extends com.google.api.client.json.GenericJson {
+ /**
+ * Input only. Specifies the topology required to create a partition for VMs that have
+ * interconnected GPUs or TPUs. Example values: 2x2 for ct5l-hightpu-4t.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String acceleratorTopology;
+
/**
* Specifies the scheduling options.
* The value may be {@code null}.
@@ -36,6 +44,25 @@ public final class CapacityAdviceRequestInstanceProperties extends com.google.ap
@com.google.api.client.util.Key
private CapacityAdviceRequestInstancePropertiesScheduling scheduling;
+ /**
+ * Input only. Specifies the topology required to create a partition for VMs that have
+ * interconnected GPUs or TPUs. Example values: 2x2 for ct5l-hightpu-4t.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getAcceleratorTopology() {
+ return acceleratorTopology;
+ }
+
+ /**
+ * Input only. Specifies the topology required to create a partition for VMs that have
+ * interconnected GPUs or TPUs. Example values: 2x2 for ct5l-hightpu-4t.
+ * @param acceleratorTopology acceleratorTopology or {@code null} for none
+ */
+ public CapacityAdviceRequestInstanceProperties setAcceleratorTopology(java.lang.String acceleratorTopology) {
+ this.acceleratorTopology = acceleratorTopology;
+ return this;
+ }
+
/**
* Specifies the scheduling options.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstancePropertiesScheduling.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstancePropertiesScheduling.java
index a2fa1fd1198..e8addbd4cb6 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstancePropertiesScheduling.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceRequestInstancePropertiesScheduling.java
@@ -29,6 +29,13 @@
@SuppressWarnings("javadoc")
public final class CapacityAdviceRequestInstancePropertiesScheduling extends com.google.api.client.json.GenericJson {
+ /**
+ * The maximum time that instances can run before Compute Engine terminates them.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String maxRunDuration;
+
/**
* Specifies the provisioning model of the instance.
* The value may be {@code null}.
@@ -36,6 +43,23 @@ public final class CapacityAdviceRequestInstancePropertiesScheduling extends com
@com.google.api.client.util.Key
private java.lang.String provisioningModel;
+ /**
+ * The maximum time that instances can run before Compute Engine terminates them.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMaxRunDuration() {
+ return maxRunDuration;
+ }
+
+ /**
+ * The maximum time that instances can run before Compute Engine terminates them.
+ * @param maxRunDuration maxRunDuration or {@code null} for none
+ */
+ public CapacityAdviceRequestInstancePropertiesScheduling setMaxRunDuration(java.lang.String maxRunDuration) {
+ this.maxRunDuration = maxRunDuration;
+ return this;
+ }
+
/**
* Specifies the provisioning model of the instance.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationScores.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationScores.java
index 3261a84c323..2819525aa4a 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationScores.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationScores.java
@@ -29,6 +29,22 @@
@SuppressWarnings("javadoc")
public final class CapacityAdviceResponseRecommendationScores extends com.google.api.client.json.GenericJson {
+ /**
+ * The estimated run time of the majority of Spot VMs in the request before preemption. The
+ * estimate is best-effort only. It is based on history data and current conditions.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String estimatedUptime;
+
+ /**
+ * Output only. The likely maximum time that you will have to wait until Compute Engine provisions
+ * your instances.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String estimatedWaitDuration;
+
/**
* The obtainability score indicates the likelihood of successfully obtaining (provisioning) the
* requested number of VMs. The score range is 0.0 through 1.0. Higher is better.
@@ -46,6 +62,44 @@ public final class CapacityAdviceResponseRecommendationScores extends com.google
@com.google.api.client.util.Key
private java.lang.Double uptimeScore;
+ /**
+ * The estimated run time of the majority of Spot VMs in the request before preemption. The
+ * estimate is best-effort only. It is based on history data and current conditions.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getEstimatedUptime() {
+ return estimatedUptime;
+ }
+
+ /**
+ * The estimated run time of the majority of Spot VMs in the request before preemption. The
+ * estimate is best-effort only. It is based on history data and current conditions.
+ * @param estimatedUptime estimatedUptime or {@code null} for none
+ */
+ public CapacityAdviceResponseRecommendationScores setEstimatedUptime(java.lang.String estimatedUptime) {
+ this.estimatedUptime = estimatedUptime;
+ return this;
+ }
+
+ /**
+ * Output only. The likely maximum time that you will have to wait until Compute Engine provisions
+ * your instances.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getEstimatedWaitDuration() {
+ return estimatedWaitDuration;
+ }
+
+ /**
+ * Output only. The likely maximum time that you will have to wait until Compute Engine provisions
+ * your instances.
+ * @param estimatedWaitDuration estimatedWaitDuration or {@code null} for none
+ */
+ public CapacityAdviceResponseRecommendationScores setEstimatedWaitDuration(java.lang.String estimatedWaitDuration) {
+ this.estimatedWaitDuration = estimatedWaitDuration;
+ return this;
+ }
+
/**
* The obtainability score indicates the likelihood of successfully obtaining (provisioning) the
* requested number of VMs. The score range is 0.0 through 1.0. Higher is better.
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationShard.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationShard.java
index 22435677d1c..cf1960ceb7d 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationShard.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CapacityAdviceResponseRecommendationShard.java
@@ -54,7 +54,7 @@ public final class CapacityAdviceResponseRecommendationShard extends com.google.
private java.lang.String provisioningModel;
/**
- * The zone name for this shard.
+ * Output only. The zone name for this shard.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -114,7 +114,7 @@ public CapacityAdviceResponseRecommendationShard setProvisioningModel(java.lang.
}
/**
- * The zone name for this shard.
+ * Output only. The zone name for this shard.
* @return value or {@code null} for none
*/
public java.lang.String getZone() {
@@ -122,7 +122,7 @@ public java.lang.String getZone() {
}
/**
- * The zone name for this shard.
+ * Output only. The zone name for this shard.
* @param zone zone or {@code null} for none
*/
public CapacityAdviceResponseRecommendationShard setZone(java.lang.String zone) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Commitment.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Commitment.java
index cedbd614404..057eb408d04 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Commitment.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/Commitment.java
@@ -58,7 +58,7 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.lang.String category;
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -82,7 +82,7 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.lang.String description;
/**
- * [Output Only] Commitment end time inRFC3339 text format.
+ * Output only. [Output Only] Commitment end time inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -95,14 +95,15 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.util.List existingReservations;
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
private java.math.BigInteger id;
/**
- * [Output Only] Type of the resource. Always compute#commitment for commitments.
+ * Output only. [Output Only] Type of the resource. Always compute#commitment for commitments.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -134,6 +135,14 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.lang.String name;
+ /**
+ * Input only. Additional params passed with the request, but not persisted as part of resource
+ * payload.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private CommitmentParams params;
+
/**
* The minimum time duration that you commit to purchasing resources. The plan that you choose
* determines the preset term length of the commitment (which is 1 year or 3 years) and affects
@@ -146,7 +155,8 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.lang.String plan;
/**
- * [Output Only] URL of the region where the commitment and committed resources are located.
+ * Output only. [Output Only] URL of the region where the commitment and committed resources are
+ * located.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -166,7 +176,7 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.util.List reservations;
/**
- * [Output Only] Status information for Commitment resource.
+ * Output only. [Output Only] Status information for Commitment resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -181,14 +191,14 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.util.List resources;
/**
- * [Output Only] Server-defined URL for the resource.
+ * Output only. [Output Only] Server-defined URL for the resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -203,23 +213,23 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
private java.lang.String splitSourceCommitment;
/**
- * [Output Only] Commitment start time inRFC3339 text format.
+ * Output only. [Output Only] Commitment start time inRFC3339 text format.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String startTimestamp;
/**
- * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has
- * an end date defined). Status can be one of the following values: NOT_YET_ACTIVE, ACTIVE,
- * orEXPIRED.
+ * Output only. [Output Only] Status of the commitment with regards to eventual expiration (each
+ * commitment has an end date defined). Status can be one of the following values: NOT_YET_ACTIVE,
+ * ACTIVE, orEXPIRED.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String status;
/**
- * [Output Only] An optional, human-readable explanation of the status.
+ * Output only. [Output Only] An optional, human-readable explanation of the status.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -235,10 +245,11 @@ public final class Commitment extends com.google.api.client.json.GenericJson {
* COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3,
* GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2,
* GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
- * MEMORY_OPTIMIZED,MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4,STORAGE_OPTIMIZED_Z3. For example,
- * type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory
- * optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies
- * only to eligible resources of general purpose N1 machine series.
+ * GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4,
+ * STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies
+ * only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE
+ * specifies a commitment that applies only to eligible resources of general purpose N1 machine
+ * series.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -297,7 +308,7 @@ public Commitment setCategory(java.lang.String category) {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getCreationTimestamp() {
@@ -305,7 +316,7 @@ public java.lang.String getCreationTimestamp() {
}
/**
- * [Output Only] Creation timestamp inRFC3339 text format.
+ * Output only. [Output Only] Creation timestamp inRFC3339 text format.
* @param creationTimestamp creationTimestamp or {@code null} for none
*/
public Commitment setCreationTimestamp(java.lang.String creationTimestamp) {
@@ -354,7 +365,7 @@ public Commitment setDescription(java.lang.String description) {
}
/**
- * [Output Only] Commitment end time inRFC3339 text format.
+ * Output only. [Output Only] Commitment end time inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getEndTimestamp() {
@@ -362,7 +373,7 @@ public java.lang.String getEndTimestamp() {
}
/**
- * [Output Only] Commitment end time inRFC3339 text format.
+ * Output only. [Output Only] Commitment end time inRFC3339 text format.
* @param endTimestamp endTimestamp or {@code null} for none
*/
public Commitment setEndTimestamp(java.lang.String endTimestamp) {
@@ -386,7 +397,8 @@ public Commitment setExistingReservations(java.util.List exist
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @return value or {@code null} for none
*/
public java.math.BigInteger getId() {
@@ -394,7 +406,8 @@ public java.math.BigInteger getId() {
}
/**
- * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+ * Output only. [Output Only] The unique identifier for the resource. This identifier is defined
+ * by the server.
* @param id id or {@code null} for none
*/
public Commitment setId(java.math.BigInteger id) {
@@ -403,7 +416,7 @@ public Commitment setId(java.math.BigInteger id) {
}
/**
- * [Output Only] Type of the resource. Always compute#commitment for commitments.
+ * Output only. [Output Only] Type of the resource. Always compute#commitment for commitments.
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
@@ -411,7 +424,7 @@ public java.lang.String getKind() {
}
/**
- * [Output Only] Type of the resource. Always compute#commitment for commitments.
+ * Output only. [Output Only] Type of the resource. Always compute#commitment for commitments.
* @param kind kind or {@code null} for none
*/
public Commitment setKind(java.lang.String kind) {
@@ -480,6 +493,25 @@ public Commitment setName(java.lang.String name) {
return this;
}
+ /**
+ * Input only. Additional params passed with the request, but not persisted as part of resource
+ * payload.
+ * @return value or {@code null} for none
+ */
+ public CommitmentParams getParams() {
+ return params;
+ }
+
+ /**
+ * Input only. Additional params passed with the request, but not persisted as part of resource
+ * payload.
+ * @param params params or {@code null} for none
+ */
+ public Commitment setParams(CommitmentParams params) {
+ this.params = params;
+ return this;
+ }
+
/**
* The minimum time duration that you commit to purchasing resources. The plan that you choose
* determines the preset term length of the commitment (which is 1 year or 3 years) and affects
@@ -506,7 +538,8 @@ public Commitment setPlan(java.lang.String plan) {
}
/**
- * [Output Only] URL of the region where the commitment and committed resources are located.
+ * Output only. [Output Only] URL of the region where the commitment and committed resources are
+ * located.
* @return value or {@code null} for none
*/
public java.lang.String getRegion() {
@@ -514,7 +547,8 @@ public java.lang.String getRegion() {
}
/**
- * [Output Only] URL of the region where the commitment and committed resources are located.
+ * Output only. [Output Only] URL of the region where the commitment and committed resources are
+ * located.
* @param region region or {@code null} for none
*/
public Commitment setRegion(java.lang.String region) {
@@ -552,7 +586,7 @@ public Commitment setReservations(java.util.List reservations) {
}
/**
- * [Output Only] Status information for Commitment resource.
+ * Output only. [Output Only] Status information for Commitment resource.
* @return value or {@code null} for none
*/
public CommitmentResourceStatus getResourceStatus() {
@@ -560,7 +594,7 @@ public CommitmentResourceStatus getResourceStatus() {
}
/**
- * [Output Only] Status information for Commitment resource.
+ * Output only. [Output Only] Status information for Commitment resource.
* @param resourceStatus resourceStatus or {@code null} for none
*/
public Commitment setResourceStatus(CommitmentResourceStatus resourceStatus) {
@@ -588,7 +622,7 @@ public Commitment setResources(java.util.List resources) {
}
/**
- * [Output Only] Server-defined URL for the resource.
+ * Output only. [Output Only] Server-defined URL for the resource.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLink() {
@@ -596,7 +630,7 @@ public java.lang.String getSelfLink() {
}
/**
- * [Output Only] Server-defined URL for the resource.
+ * Output only. [Output Only] Server-defined URL for the resource.
* @param selfLink selfLink or {@code null} for none
*/
public Commitment setSelfLink(java.lang.String selfLink) {
@@ -605,7 +639,7 @@ public Commitment setSelfLink(java.lang.String selfLink) {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @return value or {@code null} for none
*/
public java.lang.String getSelfLinkWithId() {
@@ -613,7 +647,7 @@ public java.lang.String getSelfLinkWithId() {
}
/**
- * [Output Only] Server-defined URL for this resource with the resource id.
+ * Output only. [Output Only] Server-defined URL for this resource with the resource id.
* @param selfLinkWithId selfLinkWithId or {@code null} for none
*/
public Commitment setSelfLinkWithId(java.lang.String selfLinkWithId) {
@@ -641,7 +675,7 @@ public Commitment setSplitSourceCommitment(java.lang.String splitSourceCommitmen
}
/**
- * [Output Only] Commitment start time inRFC3339 text format.
+ * Output only. [Output Only] Commitment start time inRFC3339 text format.
* @return value or {@code null} for none
*/
public java.lang.String getStartTimestamp() {
@@ -649,7 +683,7 @@ public java.lang.String getStartTimestamp() {
}
/**
- * [Output Only] Commitment start time inRFC3339 text format.
+ * Output only. [Output Only] Commitment start time inRFC3339 text format.
* @param startTimestamp startTimestamp or {@code null} for none
*/
public Commitment setStartTimestamp(java.lang.String startTimestamp) {
@@ -658,9 +692,9 @@ public Commitment setStartTimestamp(java.lang.String startTimestamp) {
}
/**
- * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has
- * an end date defined). Status can be one of the following values: NOT_YET_ACTIVE, ACTIVE,
- * orEXPIRED.
+ * Output only. [Output Only] Status of the commitment with regards to eventual expiration (each
+ * commitment has an end date defined). Status can be one of the following values: NOT_YET_ACTIVE,
+ * ACTIVE, orEXPIRED.
* @return value or {@code null} for none
*/
public java.lang.String getStatus() {
@@ -668,9 +702,9 @@ public java.lang.String getStatus() {
}
/**
- * [Output Only] Status of the commitment with regards to eventual expiration (each commitment has
- * an end date defined). Status can be one of the following values: NOT_YET_ACTIVE, ACTIVE,
- * orEXPIRED.
+ * Output only. [Output Only] Status of the commitment with regards to eventual expiration (each
+ * commitment has an end date defined). Status can be one of the following values: NOT_YET_ACTIVE,
+ * ACTIVE, orEXPIRED.
* @param status status or {@code null} for none
*/
public Commitment setStatus(java.lang.String status) {
@@ -679,7 +713,7 @@ public Commitment setStatus(java.lang.String status) {
}
/**
- * [Output Only] An optional, human-readable explanation of the status.
+ * Output only. [Output Only] An optional, human-readable explanation of the status.
* @return value or {@code null} for none
*/
public java.lang.String getStatusMessage() {
@@ -687,7 +721,7 @@ public java.lang.String getStatusMessage() {
}
/**
- * [Output Only] An optional, human-readable explanation of the status.
+ * Output only. [Output Only] An optional, human-readable explanation of the status.
* @param statusMessage statusMessage or {@code null} for none
*/
public Commitment setStatusMessage(java.lang.String statusMessage) {
@@ -705,10 +739,11 @@ public Commitment setStatusMessage(java.lang.String statusMessage) {
* COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3,
* GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2,
* GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
- * MEMORY_OPTIMIZED,MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4,STORAGE_OPTIMIZED_Z3. For example,
- * type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory
- * optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies
- * only to eligible resources of general purpose N1 machine series.
+ * GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4,
+ * STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies
+ * only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE
+ * specifies a commitment that applies only to eligible resources of general purpose N1 machine
+ * series.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
@@ -725,10 +760,11 @@ public java.lang.String getType() {
* COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3,
* GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2,
* GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
- * MEMORY_OPTIMIZED,MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4,STORAGE_OPTIMIZED_Z3. For example,
- * type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory
- * optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies
- * only to eligible resources of general purpose N1 machine series.
+ * GRAPHICS_OPTIMIZED_G4,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4,
+ * STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies
+ * only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE
+ * specifies a commitment that applies only to eligible resources of general purpose N1 machine
+ * series.
* @param type type or {@code null} for none
*/
public Commitment setType(java.lang.String type) {
diff --git a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CommitmentAggregatedList.java b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CommitmentAggregatedList.java
index ebea0717115..f2e7e93ec6f 100644
--- a/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CommitmentAggregatedList.java
+++ b/clients/google-api-services-compute/alpha/2.0.0/com/google/api/services/compute/model/CommitmentAggregatedList.java
@@ -44,8 +44,8 @@ public final class CommitmentAggregatedList extends com.google.api.client.json.G
private java.util.Map items;
/**
- * [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
- * commitments.
+ * Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for
+ * aggregated lists of commitments.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -62,14 +62,14 @@ public final class CommitmentAggregatedList extends com.google.api.client.json.G
private java.lang.String nextPageToken;
/**
- * [Output Only] Server-defined URL for this resource.
+ * Output only. [Output Only] Server-defined URL for this resource.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String selfLink;
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -117,8 +117,8 @@ public CommitmentAggregatedList setItems(java.util.Map getUnreachables() {
@@ -184,7 +184,7 @@ public java.util.List getUnreachables() {
}
/**
- * [Output Only] Unreachable resources.
+ * Output only. [Output Only] Unreachable resources.
* @param unreachables unreachables or {@code null} for none
*/
public CommitmentAggregatedList setUnreachables(java.util.List