google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -3655,6 +3655,185 @@ module Google
|
|
3655
3655
|
execute_or_queue_command(command, &block)
|
3656
3656
|
end
|
3657
3657
|
|
3658
|
+
# Creates a region definition in your Merchant Center account.
|
3659
|
+
# @param [Fixnum] merchant_id
|
3660
|
+
# Required. The id of the merchant for which to create region definition.
|
3661
|
+
# @param [Google::Apis::ContentV2_1::Region] region_object
|
3662
|
+
# @param [String] region_id
|
3663
|
+
# Required. The id of the region to create.
|
3664
|
+
# @param [String] fields
|
3665
|
+
# Selector specifying which fields to include in a partial response.
|
3666
|
+
# @param [String] quota_user
|
3667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3669
|
+
# @param [Google::Apis::RequestOptions] options
|
3670
|
+
# Request-specific options
|
3671
|
+
#
|
3672
|
+
# @yield [result, err] Result & error if block supplied
|
3673
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
|
3674
|
+
# @yieldparam err [StandardError] error object if request failed
|
3675
|
+
#
|
3676
|
+
# @return [Google::Apis::ContentV2_1::Region]
|
3677
|
+
#
|
3678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3681
|
+
def create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3682
|
+
command = make_simple_command(:post, 'content/v2.1/{merchantId}/regions', options)
|
3683
|
+
command.request_representation = Google::Apis::ContentV2_1::Region::Representation
|
3684
|
+
command.request_object = region_object
|
3685
|
+
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
3686
|
+
command.response_class = Google::Apis::ContentV2_1::Region
|
3687
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3688
|
+
command.query['regionId'] = region_id unless region_id.nil?
|
3689
|
+
command.query['fields'] = fields unless fields.nil?
|
3690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3691
|
+
execute_or_queue_command(command, &block)
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
# Deletes a region definition from your Merchant Center account.
|
3695
|
+
# @param [Fixnum] merchant_id
|
3696
|
+
# Required. The id of the merchant for which to delete region definition.
|
3697
|
+
# @param [String] region_id
|
3698
|
+
# Required. The id of the region to delete.
|
3699
|
+
# @param [String] fields
|
3700
|
+
# Selector specifying which fields to include in a partial response.
|
3701
|
+
# @param [String] quota_user
|
3702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3704
|
+
# @param [Google::Apis::RequestOptions] options
|
3705
|
+
# Request-specific options
|
3706
|
+
#
|
3707
|
+
# @yield [result, err] Result & error if block supplied
|
3708
|
+
# @yieldparam result [NilClass] No result returned for this method
|
3709
|
+
# @yieldparam err [StandardError] error object if request failed
|
3710
|
+
#
|
3711
|
+
# @return [void]
|
3712
|
+
#
|
3713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3716
|
+
def delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
|
3717
|
+
command = make_simple_command(:delete, 'content/v2.1/{merchantId}/regions/{regionId}', options)
|
3718
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3719
|
+
command.params['regionId'] = region_id unless region_id.nil?
|
3720
|
+
command.query['fields'] = fields unless fields.nil?
|
3721
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3722
|
+
execute_or_queue_command(command, &block)
|
3723
|
+
end
|
3724
|
+
|
3725
|
+
# Retrieves a region defined in your Merchant Center account.
|
3726
|
+
# @param [Fixnum] merchant_id
|
3727
|
+
# Required. The id of the merchant for which to retrieve region definition.
|
3728
|
+
# @param [String] region_id
|
3729
|
+
# Required. The id of the region to retrieve.
|
3730
|
+
# @param [String] fields
|
3731
|
+
# Selector specifying which fields to include in a partial response.
|
3732
|
+
# @param [String] quota_user
|
3733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3735
|
+
# @param [Google::Apis::RequestOptions] options
|
3736
|
+
# Request-specific options
|
3737
|
+
#
|
3738
|
+
# @yield [result, err] Result & error if block supplied
|
3739
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
|
3740
|
+
# @yieldparam err [StandardError] error object if request failed
|
3741
|
+
#
|
3742
|
+
# @return [Google::Apis::ContentV2_1::Region]
|
3743
|
+
#
|
3744
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3745
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3746
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3747
|
+
def get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
|
3748
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/regions/{regionId}', options)
|
3749
|
+
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
3750
|
+
command.response_class = Google::Apis::ContentV2_1::Region
|
3751
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3752
|
+
command.params['regionId'] = region_id unless region_id.nil?
|
3753
|
+
command.query['fields'] = fields unless fields.nil?
|
3754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3755
|
+
execute_or_queue_command(command, &block)
|
3756
|
+
end
|
3757
|
+
|
3758
|
+
# Lists the regions in your Merchant Center account.
|
3759
|
+
# @param [Fixnum] merchant_id
|
3760
|
+
# Required. The id of the merchant for which to list region definitions.
|
3761
|
+
# @param [Fixnum] page_size
|
3762
|
+
# The maximum number of regions to return. The service may return fewer than
|
3763
|
+
# this value. If unspecified, at most 50 rules will be returned. The maximum
|
3764
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
3765
|
+
# @param [String] page_token
|
3766
|
+
# A page token, received from a previous `ListRegions` call. Provide this to
|
3767
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
3768
|
+
# to `ListRegions` must match the call that provided the page token.
|
3769
|
+
# @param [String] fields
|
3770
|
+
# Selector specifying which fields to include in a partial response.
|
3771
|
+
# @param [String] quota_user
|
3772
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3773
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3774
|
+
# @param [Google::Apis::RequestOptions] options
|
3775
|
+
# Request-specific options
|
3776
|
+
#
|
3777
|
+
# @yield [result, err] Result & error if block supplied
|
3778
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ListRegionsResponse] parsed result object
|
3779
|
+
# @yieldparam err [StandardError] error object if request failed
|
3780
|
+
#
|
3781
|
+
# @return [Google::Apis::ContentV2_1::ListRegionsResponse]
|
3782
|
+
#
|
3783
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3784
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3785
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3786
|
+
def list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3787
|
+
command = make_simple_command(:get, 'content/v2.1/{merchantId}/regions', options)
|
3788
|
+
command.response_representation = Google::Apis::ContentV2_1::ListRegionsResponse::Representation
|
3789
|
+
command.response_class = Google::Apis::ContentV2_1::ListRegionsResponse
|
3790
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3791
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3792
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3793
|
+
command.query['fields'] = fields unless fields.nil?
|
3794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3795
|
+
execute_or_queue_command(command, &block)
|
3796
|
+
end
|
3797
|
+
|
3798
|
+
# Updates a region definition in your Merchant Center account.
|
3799
|
+
# @param [Fixnum] merchant_id
|
3800
|
+
# Required. The id of the merchant for which to update region definition.
|
3801
|
+
# @param [String] region_id
|
3802
|
+
# Required. The id of the region to update.
|
3803
|
+
# @param [Google::Apis::ContentV2_1::Region] region_object
|
3804
|
+
# @param [String] update_mask
|
3805
|
+
# Optional. The field mask indicating the fields to update.
|
3806
|
+
# @param [String] fields
|
3807
|
+
# Selector specifying which fields to include in a partial response.
|
3808
|
+
# @param [String] quota_user
|
3809
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3810
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3811
|
+
# @param [Google::Apis::RequestOptions] options
|
3812
|
+
# Request-specific options
|
3813
|
+
#
|
3814
|
+
# @yield [result, err] Result & error if block supplied
|
3815
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Region] parsed result object
|
3816
|
+
# @yieldparam err [StandardError] error object if request failed
|
3817
|
+
#
|
3818
|
+
# @return [Google::Apis::ContentV2_1::Region]
|
3819
|
+
#
|
3820
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3821
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3822
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3823
|
+
def patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3824
|
+
command = make_simple_command(:patch, 'content/v2.1/{merchantId}/regions/{regionId}', options)
|
3825
|
+
command.request_representation = Google::Apis::ContentV2_1::Region::Representation
|
3826
|
+
command.request_object = region_object
|
3827
|
+
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
3828
|
+
command.response_class = Google::Apis::ContentV2_1::Region
|
3829
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3830
|
+
command.params['regionId'] = region_id unless region_id.nil?
|
3831
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3832
|
+
command.query['fields'] = fields unless fields.nil?
|
3833
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3834
|
+
execute_or_queue_command(command, &block)
|
3835
|
+
end
|
3836
|
+
|
3658
3837
|
# Creates a repricing rule for your Merchant Center account.
|
3659
3838
|
# @param [Fixnum] merchant_id
|
3660
3839
|
# Required. The id of the merchant who owns the repricing rule.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/data-catalog/docs/
|
27
27
|
module DatacatalogV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201107'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,11 +26,6 @@ module Google
|
|
26
26
|
class Binding
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `bindingId`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :binding_id
|
33
|
-
|
34
29
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
35
30
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
36
31
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -92,7 +87,6 @@ module Google
|
|
92
87
|
|
93
88
|
# Update properties of this object
|
94
89
|
def update!(**args)
|
95
|
-
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
96
90
|
@condition = args[:condition] if args.key?(:condition)
|
97
91
|
@members = args[:members] if args.key?(:members)
|
98
92
|
@role = args[:role] if args.key?(:role)
|
@@ -307,7 +307,6 @@ module Google
|
|
307
307
|
class Binding
|
308
308
|
# @private
|
309
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
-
property :binding_id, as: 'bindingId'
|
311
310
|
property :condition, as: 'condition', class: Google::Apis::DatacatalogV1beta1::Expr, decorator: Google::Apis::DatacatalogV1beta1::Expr::Representation
|
312
311
|
|
313
312
|
collection :members, as: 'members'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataflow
|
26
26
|
module DataflowV1b3
|
27
27
|
VERSION = 'V1b3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201117'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2481,7 +2481,8 @@ module Google
|
|
2481
2481
|
# @return [Google::Apis::DataflowV1b3::FlexTemplateRuntimeEnvironment]
|
2482
2482
|
attr_accessor :environment
|
2483
2483
|
|
2484
|
-
# Required. The job name to use for the created job.
|
2484
|
+
# Required. The job name to use for the created job. For update job request, job
|
2485
|
+
# name should be same as the existing running job.
|
2485
2486
|
# Corresponds to the JSON property `jobName`
|
2486
2487
|
# @return [String]
|
2487
2488
|
attr_accessor :job_name
|
@@ -2497,6 +2498,19 @@ module Google
|
|
2497
2498
|
# @return [Hash<String,String>]
|
2498
2499
|
attr_accessor :parameters
|
2499
2500
|
|
2501
|
+
# Users need to set transform_name_mappings Ex:`"oldTransformName":"
|
2502
|
+
# newTransformName",...`'
|
2503
|
+
# Corresponds to the JSON property `transformNameMappings`
|
2504
|
+
# @return [Hash<String,String>]
|
2505
|
+
attr_accessor :transform_name_mappings
|
2506
|
+
|
2507
|
+
# Set this to true if you are sending a request to update a running streaming
|
2508
|
+
# job. When set, the job name should be the same as the running job.
|
2509
|
+
# Corresponds to the JSON property `update`
|
2510
|
+
# @return [Boolean]
|
2511
|
+
attr_accessor :update
|
2512
|
+
alias_method :update?, :update
|
2513
|
+
|
2500
2514
|
def initialize(**args)
|
2501
2515
|
update!(**args)
|
2502
2516
|
end
|
@@ -2509,6 +2523,8 @@ module Google
|
|
2509
2523
|
@job_name = args[:job_name] if args.key?(:job_name)
|
2510
2524
|
@launch_options = args[:launch_options] if args.key?(:launch_options)
|
2511
2525
|
@parameters = args[:parameters] if args.key?(:parameters)
|
2526
|
+
@transform_name_mappings = args[:transform_name_mappings] if args.key?(:transform_name_mappings)
|
2527
|
+
@update = args[:update] if args.key?(:update)
|
2512
2528
|
end
|
2513
2529
|
end
|
2514
2530
|
|
@@ -1714,6 +1714,8 @@ module Google
|
|
1714
1714
|
property :job_name, as: 'jobName'
|
1715
1715
|
hash :launch_options, as: 'launchOptions'
|
1716
1716
|
hash :parameters, as: 'parameters'
|
1717
|
+
hash :transform_name_mappings, as: 'transformNameMappings'
|
1718
|
+
property :update, as: 'update'
|
1717
1719
|
end
|
1718
1720
|
end
|
1719
1721
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201120'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -232,11 +232,6 @@ module Google
|
|
232
232
|
class Binding
|
233
233
|
include Google::Apis::Core::Hashable
|
234
234
|
|
235
|
-
#
|
236
|
-
# Corresponds to the JSON property `bindingId`
|
237
|
-
# @return [String]
|
238
|
-
attr_accessor :binding_id
|
239
|
-
|
240
235
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
241
236
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
242
237
|
# documented at https://github.com/google/cel-spec.Example (Comparison): title: "
|
@@ -297,7 +292,6 @@ module Google
|
|
297
292
|
|
298
293
|
# Update properties of this object
|
299
294
|
def update!(**args)
|
300
|
-
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
301
295
|
@condition = args[:condition] if args.key?(:condition)
|
302
296
|
@members = args[:members] if args.key?(:members)
|
303
297
|
@role = args[:role] if args.key?(:role)
|
@@ -986,6 +980,11 @@ module Google
|
|
986
980
|
# @return [Array<String>]
|
987
981
|
attr_accessor :service_account_scopes
|
988
982
|
|
983
|
+
# Shielded Instance Config for clusters using shielded VMs.
|
984
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
985
|
+
# @return [Google::Apis::DataprocV1::ShieldedInstanceConfig]
|
986
|
+
attr_accessor :shielded_instance_config
|
987
|
+
|
989
988
|
# Optional. The Compute Engine subnetwork to be used for machine communications.
|
990
989
|
# Cannot be specified with network_uri.A full URL, partial URI, or short name
|
991
990
|
# are valid. Examples: https://www.googleapis.com/compute/v1/projects/[
|
@@ -1026,6 +1025,7 @@ module Google
|
|
1026
1025
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
1027
1026
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1028
1027
|
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
|
1028
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
1029
1029
|
@subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
|
1030
1030
|
@tags = args[:tags] if args.key?(:tags)
|
1031
1031
|
@zone_uri = args[:zone_uri] if args.key?(:zone_uri)
|
@@ -1378,6 +1378,11 @@ module Google
|
|
1378
1378
|
# @return [String]
|
1379
1379
|
attr_accessor :instance_name
|
1380
1380
|
|
1381
|
+
# The public key used for sharing data with this instance.
|
1382
|
+
# Corresponds to the JSON property `publicKey`
|
1383
|
+
# @return [String]
|
1384
|
+
attr_accessor :public_key
|
1385
|
+
|
1381
1386
|
def initialize(**args)
|
1382
1387
|
update!(**args)
|
1383
1388
|
end
|
@@ -1386,6 +1391,7 @@ module Google
|
|
1386
1391
|
def update!(**args)
|
1387
1392
|
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
1388
1393
|
@instance_name = args[:instance_name] if args.key?(:instance_name)
|
1394
|
+
@public_key = args[:public_key] if args.key?(:public_key)
|
1389
1395
|
end
|
1390
1396
|
end
|
1391
1397
|
|
@@ -2799,6 +2805,40 @@ module Google
|
|
2799
2805
|
end
|
2800
2806
|
end
|
2801
2807
|
|
2808
|
+
# Shielded Instance Config for clusters using shielded VMs.
|
2809
|
+
class ShieldedInstanceConfig
|
2810
|
+
include Google::Apis::Core::Hashable
|
2811
|
+
|
2812
|
+
# Optional. Defines whether instances have integrity monitoring enabled.
|
2813
|
+
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
2814
|
+
# @return [Boolean]
|
2815
|
+
attr_accessor :enable_integrity_monitoring
|
2816
|
+
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
2817
|
+
|
2818
|
+
# Optional. Defines whether instances have Secure Boot enabled.
|
2819
|
+
# Corresponds to the JSON property `enableSecureBoot`
|
2820
|
+
# @return [Boolean]
|
2821
|
+
attr_accessor :enable_secure_boot
|
2822
|
+
alias_method :enable_secure_boot?, :enable_secure_boot
|
2823
|
+
|
2824
|
+
# Optional. Defines whether instances have the vTPM enabled.
|
2825
|
+
# Corresponds to the JSON property `enableVtpm`
|
2826
|
+
# @return [Boolean]
|
2827
|
+
attr_accessor :enable_vtpm
|
2828
|
+
alias_method :enable_vtpm?, :enable_vtpm
|
2829
|
+
|
2830
|
+
def initialize(**args)
|
2831
|
+
update!(**args)
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
# Update properties of this object
|
2835
|
+
def update!(**args)
|
2836
|
+
@enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring)
|
2837
|
+
@enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot)
|
2838
|
+
@enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm)
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
|
2802
2842
|
# Specifies the selection and config of software inside the cluster.
|
2803
2843
|
class SoftwareConfig
|
2804
2844
|
include Google::Apis::Core::Hashable
|
@@ -3255,6 +3295,23 @@ module Google
|
|
3255
3295
|
# @return [Google::Apis::DataprocV1::ClusterOperation]
|
3256
3296
|
attr_accessor :create_cluster
|
3257
3297
|
|
3298
|
+
# Output only. DAG end time, only set for workflows with dag_timeout when DAG
|
3299
|
+
# ends.
|
3300
|
+
# Corresponds to the JSON property `dagEndTime`
|
3301
|
+
# @return [String]
|
3302
|
+
attr_accessor :dag_end_time
|
3303
|
+
|
3304
|
+
# Output only. DAG start time, only set for workflows with dag_timeout when DAG
|
3305
|
+
# begins.
|
3306
|
+
# Corresponds to the JSON property `dagStartTime`
|
3307
|
+
# @return [String]
|
3308
|
+
attr_accessor :dag_start_time
|
3309
|
+
|
3310
|
+
# Output only. The timeout duration for the DAG of jobs.
|
3311
|
+
# Corresponds to the JSON property `dagTimeout`
|
3312
|
+
# @return [String]
|
3313
|
+
attr_accessor :dag_timeout
|
3314
|
+
|
3258
3315
|
# The cluster operation triggered by a workflow.
|
3259
3316
|
# Corresponds to the JSON property `deleteCluster`
|
3260
3317
|
# @return [Google::Apis::DataprocV1::ClusterOperation]
|
@@ -3310,6 +3367,9 @@ module Google
|
|
3310
3367
|
@cluster_name = args[:cluster_name] if args.key?(:cluster_name)
|
3311
3368
|
@cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid)
|
3312
3369
|
@create_cluster = args[:create_cluster] if args.key?(:create_cluster)
|
3370
|
+
@dag_end_time = args[:dag_end_time] if args.key?(:dag_end_time)
|
3371
|
+
@dag_start_time = args[:dag_start_time] if args.key?(:dag_start_time)
|
3372
|
+
@dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
|
3313
3373
|
@delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
|
3314
3374
|
@end_time = args[:end_time] if args.key?(:end_time)
|
3315
3375
|
@graph = args[:graph] if args.key?(:graph)
|
@@ -3373,6 +3433,17 @@ module Google
|
|
3373
3433
|
# @return [String]
|
3374
3434
|
attr_accessor :create_time
|
3375
3435
|
|
3436
|
+
# Optional. Timeout duration for the DAG of jobs. You can use "s", "m", "h", and
|
3437
|
+
# "d" suffixes for second, minute, hour, and day duration values, respectively.
|
3438
|
+
# The timeout duration must be from 10 minutes ("10m") to 24 hours ("24h" or "1d"
|
3439
|
+
# ). The timer begins when the first job is submitted. If the workflow is
|
3440
|
+
# running at the end of the timeout period, any remaining jobs are cancelled,
|
3441
|
+
# the workflow is ended, and if the workflow was running on a managed cluster,
|
3442
|
+
# the cluster is deleted.
|
3443
|
+
# Corresponds to the JSON property `dagTimeout`
|
3444
|
+
# @return [String]
|
3445
|
+
attr_accessor :dag_timeout
|
3446
|
+
|
3376
3447
|
#
|
3377
3448
|
# Corresponds to the JSON property `id`
|
3378
3449
|
# @return [String]
|
@@ -3440,6 +3511,7 @@ module Google
|
|
3440
3511
|
# Update properties of this object
|
3441
3512
|
def update!(**args)
|
3442
3513
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3514
|
+
@dag_timeout = args[:dag_timeout] if args.key?(:dag_timeout)
|
3443
3515
|
@id = args[:id] if args.key?(:id)
|
3444
3516
|
@jobs = args[:jobs] if args.key?(:jobs)
|
3445
3517
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -388,6 +388,12 @@ module Google
|
|
388
388
|
include Google::Apis::Core::JsonObjectSupport
|
389
389
|
end
|
390
390
|
|
391
|
+
class ShieldedInstanceConfig
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
391
397
|
class SoftwareConfig
|
392
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
399
|
|
@@ -536,7 +542,6 @@ module Google
|
|
536
542
|
class Binding
|
537
543
|
# @private
|
538
544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
-
property :binding_id, as: 'bindingId'
|
540
545
|
property :condition, as: 'condition', class: Google::Apis::DataprocV1::Expr, decorator: Google::Apis::DataprocV1::Expr::Representation
|
541
546
|
|
542
547
|
collection :members, as: 'members'
|
@@ -725,6 +730,8 @@ module Google
|
|
725
730
|
|
726
731
|
property :service_account, as: 'serviceAccount'
|
727
732
|
collection :service_account_scopes, as: 'serviceAccountScopes'
|
733
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::DataprocV1::ShieldedInstanceConfig, decorator: Google::Apis::DataprocV1::ShieldedInstanceConfig::Representation
|
734
|
+
|
728
735
|
property :subnetwork_uri, as: 'subnetworkUri'
|
729
736
|
collection :tags, as: 'tags'
|
730
737
|
property :zone_uri, as: 'zoneUri'
|
@@ -809,6 +816,7 @@ module Google
|
|
809
816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
810
817
|
property :instance_id, as: 'instanceId'
|
811
818
|
property :instance_name, as: 'instanceName'
|
819
|
+
property :public_key, as: 'publicKey'
|
812
820
|
end
|
813
821
|
end
|
814
822
|
|
@@ -1164,6 +1172,15 @@ module Google
|
|
1164
1172
|
end
|
1165
1173
|
end
|
1166
1174
|
|
1175
|
+
class ShieldedInstanceConfig
|
1176
|
+
# @private
|
1177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1178
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
1179
|
+
property :enable_secure_boot, as: 'enableSecureBoot'
|
1180
|
+
property :enable_vtpm, as: 'enableVtpm'
|
1181
|
+
end
|
1182
|
+
end
|
1183
|
+
|
1167
1184
|
class SoftwareConfig
|
1168
1185
|
# @private
|
1169
1186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1280,6 +1297,9 @@ module Google
|
|
1280
1297
|
property :cluster_uuid, as: 'clusterUuid'
|
1281
1298
|
property :create_cluster, as: 'createCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
|
1282
1299
|
|
1300
|
+
property :dag_end_time, as: 'dagEndTime'
|
1301
|
+
property :dag_start_time, as: 'dagStartTime'
|
1302
|
+
property :dag_timeout, as: 'dagTimeout'
|
1283
1303
|
property :delete_cluster, as: 'deleteCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
|
1284
1304
|
|
1285
1305
|
property :end_time, as: 'endTime'
|
@@ -1308,6 +1328,7 @@ module Google
|
|
1308
1328
|
# @private
|
1309
1329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1310
1330
|
property :create_time, as: 'createTime'
|
1331
|
+
property :dag_timeout, as: 'dagTimeout'
|
1311
1332
|
property :id, as: 'id'
|
1312
1333
|
collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::OrderedJob, decorator: Google::Apis::DataprocV1::OrderedJob::Representation
|
1313
1334
|
|