google-api-client 0.31.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/continuous/linux.cfg +11 -1
- data/.kokoro/continuous/osx.cfg +5 -0
- data/.kokoro/continuous/windows.cfg +10 -0
- data/.kokoro/presubmit/linux.cfg +11 -1
- data/.kokoro/presubmit/osx.cfg +5 -0
- data/.kokoro/presubmit/windows.cfg +10 -0
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +241 -0
- data/generated/google/apis/bigquery_v2/representations.rb +115 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/blogger_v3/service.rb +6 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
- data/generated/google/apis/cloudiot_v1/service.rb +18 -17
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
- data/generated/google/apis/cloudkms_v1/service.rb +33 -27
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -42
- data/generated/google/apis/compute_alpha/representations.rb +5 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +10 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1327 -4
- data/generated/google/apis/compute_v1/representations.rb +439 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +111 -0
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +0 -226
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +324 -38
- data/generated/google/apis/dataproc_v1/representations.rb +97 -0
- data/generated/google/apis/dataproc_v1/service.rb +613 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
- data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
- data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
- data/generated/google/apis/dialogflow_v2/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
- data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +3 -4
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +2 -2
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +9 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +8 -0
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +2 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +8 -0
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
- data/generated/google/apis/fitness_v1.rb +19 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -41
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +62 -29
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +114 -49
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +12 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -10
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
- data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
- data/generated/google/apis/recommender_v1beta1.rb +34 -0
- data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
- data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +3553 -33
- data/generated/google/apis/run_v1/representations.rb +1186 -4
- data/generated/google/apis/run_v1/service.rb +2509 -23
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
- data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
- data/generated/google/apis/run_v1beta1/representations.rb +421 -0
- data/generated/google/apis/run_v1beta1/service.rb +172 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
- data/generated/google/apis/safebrowsing_v4.rb +5 -2
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
- data/generated/google/apis/securitycenter_v1/service.rb +13 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
- data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +78 -2
- data/generated/google/apis/spanner_v1/representations.rb +44 -0
- data/generated/google/apis/spanner_v1/service.rb +35 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +73 -19
- data/generated/google/apis/speech_v1/representations.rb +18 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +6 -6
- data/generated/google/apis/speech_v2beta/representations.rb +2 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +42 -0
- data/generated/google/apis/testing_v1/representations.rb +18 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
- data/generated/google/apis/translate_v3beta1/service.rb +31 -31
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +6 -156
- data/generated/google/apis/vision_v1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
- data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
- data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
- data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
- data/lib/google/apis/version.rb +1 -1
- metadata +18 -6
- data/generated/google/apis/dfareporting_v3_1.rb +0 -40
- data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
- data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
- data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -610,6 +610,7 @@ module Google
|
|
610
610
|
property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
|
611
611
|
|
612
612
|
property :continuous_analysis, as: 'continuousAnalysis'
|
613
|
+
property :cpe, as: 'cpe'
|
613
614
|
property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
|
614
615
|
|
615
616
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190930'
|
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'
|
@@ -1255,9 +1255,11 @@ module Google
|
|
1255
1255
|
include Google::Apis::Core::Hashable
|
1256
1256
|
|
1257
1257
|
# Optional. The policy format version to be returned.
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
#
|
1258
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1259
|
+
# rejected.
|
1260
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
1261
|
+
# Policies without any conditional bindings may specify any valid value or
|
1262
|
+
# leave the field unset.
|
1261
1263
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
1262
1264
|
# @return [Fixnum]
|
1263
1265
|
attr_accessor :requested_policy_version
|
@@ -2125,25 +2127,34 @@ module Google
|
|
2125
2127
|
|
2126
2128
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
2127
2129
|
# specify access control policies for Cloud Platform resources.
|
2128
|
-
# A `Policy`
|
2129
|
-
# `members` to a `role
|
2130
|
-
# Google
|
2131
|
-
# defined by IAM.
|
2130
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2131
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2132
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2133
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
2134
|
+
# optionally specify a `condition`, which is a logic expression that further
|
2135
|
+
# constrains the role binding based on attributes about the request and/or
|
2136
|
+
# target resource.
|
2132
2137
|
# **JSON Example**
|
2133
2138
|
# `
|
2134
2139
|
# "bindings": [
|
2135
2140
|
# `
|
2136
|
-
# "role": "roles/
|
2141
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
2137
2142
|
# "members": [
|
2138
2143
|
# "user:mike@example.com",
|
2139
2144
|
# "group:admins@example.com",
|
2140
2145
|
# "domain:google.com",
|
2141
|
-
# "serviceAccount:my-
|
2146
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
2142
2147
|
# ]
|
2143
2148
|
# `,
|
2144
2149
|
# `
|
2145
|
-
# "role": "roles/
|
2146
|
-
# "members": ["user:
|
2150
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
2151
|
+
# "members": ["user:eve@example.com"],
|
2152
|
+
# "condition": `
|
2153
|
+
# "title": "expirable access",
|
2154
|
+
# "description": "Does not grant access after Sep 2020",
|
2155
|
+
# "expression": "request.time <
|
2156
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
2157
|
+
# `
|
2147
2158
|
# `
|
2148
2159
|
# ]
|
2149
2160
|
# `
|
@@ -2153,17 +2164,22 @@ module Google
|
|
2153
2164
|
# - user:mike@example.com
|
2154
2165
|
# - group:admins@example.com
|
2155
2166
|
# - domain:google.com
|
2156
|
-
# - serviceAccount:my-
|
2157
|
-
# role: roles/
|
2167
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2168
|
+
# role: roles/resourcemanager.organizationAdmin
|
2158
2169
|
# - members:
|
2159
|
-
# - user:
|
2160
|
-
# role: roles/
|
2170
|
+
# - user:eve@example.com
|
2171
|
+
# role: roles/resourcemanager.organizationViewer
|
2172
|
+
# condition:
|
2173
|
+
# title: expirable access
|
2174
|
+
# description: Does not grant access after Sep 2020
|
2175
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2161
2176
|
# For a description of IAM and its features, see the
|
2162
2177
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
2163
2178
|
class Policy
|
2164
2179
|
include Google::Apis::Core::Hashable
|
2165
2180
|
|
2166
|
-
# Associates a list of `members` to a `role`.
|
2181
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
2182
|
+
# `condition` that determines when binding is in effect.
|
2167
2183
|
# `bindings` with no members will result in an error.
|
2168
2184
|
# Corresponds to the JSON property `bindings`
|
2169
2185
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Binding>]
|
@@ -2177,13 +2193,24 @@ module Google
|
|
2177
2193
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2178
2194
|
# ensure that their change will be applied to the same version of the policy.
|
2179
2195
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
2180
|
-
# policy is overwritten.
|
2196
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
2197
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
2198
|
+
# does not meet the version requirements.
|
2181
2199
|
# Corresponds to the JSON property `etag`
|
2182
2200
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2183
2201
|
# @return [String]
|
2184
2202
|
attr_accessor :etag
|
2185
2203
|
|
2186
|
-
#
|
2204
|
+
# Specifies the format of the policy.
|
2205
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2206
|
+
# rejected.
|
2207
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
2208
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
2209
|
+
# or removing a conditional binding from the stored conditional policy.
|
2210
|
+
# Operations on non-conditional policies may specify any valid value or
|
2211
|
+
# leave the field unset.
|
2212
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
2213
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
2187
2214
|
# Corresponds to the JSON property `version`
|
2188
2215
|
# @return [Fixnum]
|
2189
2216
|
attr_accessor :version
|
@@ -2365,25 +2392,34 @@ module Google
|
|
2365
2392
|
|
2366
2393
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
2367
2394
|
# specify access control policies for Cloud Platform resources.
|
2368
|
-
# A `Policy`
|
2369
|
-
# `members` to a `role
|
2370
|
-
# Google
|
2371
|
-
# defined by IAM.
|
2395
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2396
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2397
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2398
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
2399
|
+
# optionally specify a `condition`, which is a logic expression that further
|
2400
|
+
# constrains the role binding based on attributes about the request and/or
|
2401
|
+
# target resource.
|
2372
2402
|
# **JSON Example**
|
2373
2403
|
# `
|
2374
2404
|
# "bindings": [
|
2375
2405
|
# `
|
2376
|
-
# "role": "roles/
|
2406
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
2377
2407
|
# "members": [
|
2378
2408
|
# "user:mike@example.com",
|
2379
2409
|
# "group:admins@example.com",
|
2380
2410
|
# "domain:google.com",
|
2381
|
-
# "serviceAccount:my-
|
2411
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
2382
2412
|
# ]
|
2383
2413
|
# `,
|
2384
2414
|
# `
|
2385
|
-
# "role": "roles/
|
2386
|
-
# "members": ["user:
|
2415
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
2416
|
+
# "members": ["user:eve@example.com"],
|
2417
|
+
# "condition": `
|
2418
|
+
# "title": "expirable access",
|
2419
|
+
# "description": "Does not grant access after Sep 2020",
|
2420
|
+
# "expression": "request.time <
|
2421
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
2422
|
+
# `
|
2387
2423
|
# `
|
2388
2424
|
# ]
|
2389
2425
|
# `
|
@@ -2393,11 +2429,15 @@ module Google
|
|
2393
2429
|
# - user:mike@example.com
|
2394
2430
|
# - group:admins@example.com
|
2395
2431
|
# - domain:google.com
|
2396
|
-
# - serviceAccount:my-
|
2397
|
-
# role: roles/
|
2432
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2433
|
+
# role: roles/resourcemanager.organizationAdmin
|
2398
2434
|
# - members:
|
2399
|
-
# - user:
|
2400
|
-
# role: roles/
|
2435
|
+
# - user:eve@example.com
|
2436
|
+
# role: roles/resourcemanager.organizationViewer
|
2437
|
+
# condition:
|
2438
|
+
# title: expirable access
|
2439
|
+
# description: Does not grant access after Sep 2020
|
2440
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2401
2441
|
# For a description of IAM and its features, see the
|
2402
2442
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
2403
2443
|
# Corresponds to the JSON property `policy`
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190930'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -364,51 +364,6 @@ module Google
|
|
364
364
|
execute_or_queue_command(command, &block)
|
365
365
|
end
|
366
366
|
|
367
|
-
# Updates a Merchant Center account. This method supports patch semantics.
|
368
|
-
# @param [Fixnum] merchant_id
|
369
|
-
# The ID of the managing account. If this parameter is not the same as accountId,
|
370
|
-
# then this account must be a multi-client account and accountId must be the ID
|
371
|
-
# of a sub-account of this account.
|
372
|
-
# @param [Fixnum] account_id
|
373
|
-
# The ID of the account.
|
374
|
-
# @param [Google::Apis::ContentV2::Account] account_object
|
375
|
-
# @param [Boolean] dry_run
|
376
|
-
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
377
|
-
# mode checks the validity of the request and returns errors (if any).
|
378
|
-
# @param [String] fields
|
379
|
-
# Selector specifying which fields to include in a partial response.
|
380
|
-
# @param [String] quota_user
|
381
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
382
|
-
# characters.
|
383
|
-
# @param [String] user_ip
|
384
|
-
# Deprecated. Please use quotaUser instead.
|
385
|
-
# @param [Google::Apis::RequestOptions] options
|
386
|
-
# Request-specific options
|
387
|
-
#
|
388
|
-
# @yield [result, err] Result & error if block supplied
|
389
|
-
# @yieldparam result [Google::Apis::ContentV2::Account] parsed result object
|
390
|
-
# @yieldparam err [StandardError] error object if request failed
|
391
|
-
#
|
392
|
-
# @return [Google::Apis::ContentV2::Account]
|
393
|
-
#
|
394
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
395
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
396
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
397
|
-
def patch_account(merchant_id, account_id, account_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
398
|
-
command = make_simple_command(:patch, '{merchantId}/accounts/{accountId}', options)
|
399
|
-
command.request_representation = Google::Apis::ContentV2::Account::Representation
|
400
|
-
command.request_object = account_object
|
401
|
-
command.response_representation = Google::Apis::ContentV2::Account::Representation
|
402
|
-
command.response_class = Google::Apis::ContentV2::Account
|
403
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
404
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
405
|
-
command.query['dryRun'] = dry_run unless dry_run.nil?
|
406
|
-
command.query['fields'] = fields unless fields.nil?
|
407
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
408
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
409
|
-
execute_or_queue_command(command, &block)
|
410
|
-
end
|
411
|
-
|
412
367
|
# Updates a Merchant Center account.
|
413
368
|
# @param [Fixnum] merchant_id
|
414
369
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
@@ -688,51 +643,6 @@ module Google
|
|
688
643
|
execute_or_queue_command(command, &block)
|
689
644
|
end
|
690
645
|
|
691
|
-
# Updates the tax settings of the account. This method supports patch semantics.
|
692
|
-
# @param [Fixnum] merchant_id
|
693
|
-
# The ID of the managing account. If this parameter is not the same as accountId,
|
694
|
-
# then this account must be a multi-client account and accountId must be the ID
|
695
|
-
# of a sub-account of this account.
|
696
|
-
# @param [Fixnum] account_id
|
697
|
-
# The ID of the account for which to get/update account tax settings.
|
698
|
-
# @param [Google::Apis::ContentV2::AccountTax] account_tax_object
|
699
|
-
# @param [Boolean] dry_run
|
700
|
-
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
701
|
-
# mode checks the validity of the request and returns errors (if any).
|
702
|
-
# @param [String] fields
|
703
|
-
# Selector specifying which fields to include in a partial response.
|
704
|
-
# @param [String] quota_user
|
705
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
706
|
-
# characters.
|
707
|
-
# @param [String] user_ip
|
708
|
-
# Deprecated. Please use quotaUser instead.
|
709
|
-
# @param [Google::Apis::RequestOptions] options
|
710
|
-
# Request-specific options
|
711
|
-
#
|
712
|
-
# @yield [result, err] Result & error if block supplied
|
713
|
-
# @yieldparam result [Google::Apis::ContentV2::AccountTax] parsed result object
|
714
|
-
# @yieldparam err [StandardError] error object if request failed
|
715
|
-
#
|
716
|
-
# @return [Google::Apis::ContentV2::AccountTax]
|
717
|
-
#
|
718
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
719
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
720
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
721
|
-
def patch_account_tax(merchant_id, account_id, account_tax_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
722
|
-
command = make_simple_command(:patch, '{merchantId}/accounttax/{accountId}', options)
|
723
|
-
command.request_representation = Google::Apis::ContentV2::AccountTax::Representation
|
724
|
-
command.request_object = account_tax_object
|
725
|
-
command.response_representation = Google::Apis::ContentV2::AccountTax::Representation
|
726
|
-
command.response_class = Google::Apis::ContentV2::AccountTax
|
727
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
728
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
729
|
-
command.query['dryRun'] = dry_run unless dry_run.nil?
|
730
|
-
command.query['fields'] = fields unless fields.nil?
|
731
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
732
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
733
|
-
execute_or_queue_command(command, &block)
|
734
|
-
end
|
735
|
-
|
736
646
|
# Updates the tax settings of the account.
|
737
647
|
# @param [Fixnum] merchant_id
|
738
648
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
@@ -1014,51 +924,6 @@ module Google
|
|
1014
924
|
execute_or_queue_command(command, &block)
|
1015
925
|
end
|
1016
926
|
|
1017
|
-
# Updates a datafeed configuration of your Merchant Center account. This method
|
1018
|
-
# supports patch semantics.
|
1019
|
-
# @param [Fixnum] merchant_id
|
1020
|
-
# The ID of the account that manages the datafeed. This account cannot be a
|
1021
|
-
# multi-client account.
|
1022
|
-
# @param [Fixnum] datafeed_id
|
1023
|
-
# The ID of the datafeed.
|
1024
|
-
# @param [Google::Apis::ContentV2::Datafeed] datafeed_object
|
1025
|
-
# @param [Boolean] dry_run
|
1026
|
-
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1027
|
-
# mode checks the validity of the request and returns errors (if any).
|
1028
|
-
# @param [String] fields
|
1029
|
-
# Selector specifying which fields to include in a partial response.
|
1030
|
-
# @param [String] quota_user
|
1031
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1032
|
-
# characters.
|
1033
|
-
# @param [String] user_ip
|
1034
|
-
# Deprecated. Please use quotaUser instead.
|
1035
|
-
# @param [Google::Apis::RequestOptions] options
|
1036
|
-
# Request-specific options
|
1037
|
-
#
|
1038
|
-
# @yield [result, err] Result & error if block supplied
|
1039
|
-
# @yieldparam result [Google::Apis::ContentV2::Datafeed] parsed result object
|
1040
|
-
# @yieldparam err [StandardError] error object if request failed
|
1041
|
-
#
|
1042
|
-
# @return [Google::Apis::ContentV2::Datafeed]
|
1043
|
-
#
|
1044
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1045
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1046
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1047
|
-
def patch_datafeed(merchant_id, datafeed_id, datafeed_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1048
|
-
command = make_simple_command(:patch, '{merchantId}/datafeeds/{datafeedId}', options)
|
1049
|
-
command.request_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1050
|
-
command.request_object = datafeed_object
|
1051
|
-
command.response_representation = Google::Apis::ContentV2::Datafeed::Representation
|
1052
|
-
command.response_class = Google::Apis::ContentV2::Datafeed
|
1053
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1054
|
-
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
1055
|
-
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1056
|
-
command.query['fields'] = fields unless fields.nil?
|
1057
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1058
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1059
|
-
execute_or_queue_command(command, &block)
|
1060
|
-
end
|
1061
|
-
|
1062
927
|
# Updates a datafeed configuration of your Merchant Center account.
|
1063
928
|
# @param [Fixnum] merchant_id
|
1064
929
|
# The ID of the account that manages the datafeed. This account cannot be a
|
@@ -1496,51 +1361,6 @@ module Google
|
|
1496
1361
|
execute_or_queue_command(command, &block)
|
1497
1362
|
end
|
1498
1363
|
|
1499
|
-
# Updates the LIA settings of the account. This method supports patch semantics.
|
1500
|
-
# @param [Fixnum] merchant_id
|
1501
|
-
# The ID of the managing account. If this parameter is not the same as accountId,
|
1502
|
-
# then this account must be a multi-client account and accountId must be the ID
|
1503
|
-
# of a sub-account of this account.
|
1504
|
-
# @param [Fixnum] account_id
|
1505
|
-
# The ID of the account for which to get or update LIA settings.
|
1506
|
-
# @param [Google::Apis::ContentV2::LiaSettings] lia_settings_object
|
1507
|
-
# @param [Boolean] dry_run
|
1508
|
-
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
1509
|
-
# mode checks the validity of the request and returns errors (if any).
|
1510
|
-
# @param [String] fields
|
1511
|
-
# Selector specifying which fields to include in a partial response.
|
1512
|
-
# @param [String] quota_user
|
1513
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1514
|
-
# characters.
|
1515
|
-
# @param [String] user_ip
|
1516
|
-
# Deprecated. Please use quotaUser instead.
|
1517
|
-
# @param [Google::Apis::RequestOptions] options
|
1518
|
-
# Request-specific options
|
1519
|
-
#
|
1520
|
-
# @yield [result, err] Result & error if block supplied
|
1521
|
-
# @yieldparam result [Google::Apis::ContentV2::LiaSettings] parsed result object
|
1522
|
-
# @yieldparam err [StandardError] error object if request failed
|
1523
|
-
#
|
1524
|
-
# @return [Google::Apis::ContentV2::LiaSettings]
|
1525
|
-
#
|
1526
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1527
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1528
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1529
|
-
def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1530
|
-
command = make_simple_command(:patch, '{merchantId}/liasettings/{accountId}', options)
|
1531
|
-
command.request_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1532
|
-
command.request_object = lia_settings_object
|
1533
|
-
command.response_representation = Google::Apis::ContentV2::LiaSettings::Representation
|
1534
|
-
command.response_class = Google::Apis::ContentV2::LiaSettings
|
1535
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1536
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
1537
|
-
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1538
|
-
command.query['fields'] = fields unless fields.nil?
|
1539
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1540
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1541
|
-
execute_or_queue_command(command, &block)
|
1542
|
-
end
|
1543
|
-
|
1544
1364
|
# Requests access to a specified Google My Business account.
|
1545
1365
|
# @param [Fixnum] merchant_id
|
1546
1366
|
# The ID of the managing account. If this parameter is not the same as accountId,
|
@@ -3903,52 +3723,6 @@ module Google
|
|
3903
3723
|
execute_or_queue_command(command, &block)
|
3904
3724
|
end
|
3905
3725
|
|
3906
|
-
# Updates the shipping settings of the account. This method supports patch
|
3907
|
-
# semantics.
|
3908
|
-
# @param [Fixnum] merchant_id
|
3909
|
-
# The ID of the managing account. If this parameter is not the same as accountId,
|
3910
|
-
# then this account must be a multi-client account and accountId must be the ID
|
3911
|
-
# of a sub-account of this account.
|
3912
|
-
# @param [Fixnum] account_id
|
3913
|
-
# The ID of the account for which to get/update shipping settings.
|
3914
|
-
# @param [Google::Apis::ContentV2::ShippingSettings] shipping_settings_object
|
3915
|
-
# @param [Boolean] dry_run
|
3916
|
-
# Flag to simulate a request like in a live environment. If set to true, dry-run
|
3917
|
-
# mode checks the validity of the request and returns errors (if any).
|
3918
|
-
# @param [String] fields
|
3919
|
-
# Selector specifying which fields to include in a partial response.
|
3920
|
-
# @param [String] quota_user
|
3921
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
3922
|
-
# characters.
|
3923
|
-
# @param [String] user_ip
|
3924
|
-
# Deprecated. Please use quotaUser instead.
|
3925
|
-
# @param [Google::Apis::RequestOptions] options
|
3926
|
-
# Request-specific options
|
3927
|
-
#
|
3928
|
-
# @yield [result, err] Result & error if block supplied
|
3929
|
-
# @yieldparam result [Google::Apis::ContentV2::ShippingSettings] parsed result object
|
3930
|
-
# @yieldparam err [StandardError] error object if request failed
|
3931
|
-
#
|
3932
|
-
# @return [Google::Apis::ContentV2::ShippingSettings]
|
3933
|
-
#
|
3934
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3935
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3936
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3937
|
-
def patch_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
3938
|
-
command = make_simple_command(:patch, '{merchantId}/shippingsettings/{accountId}', options)
|
3939
|
-
command.request_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3940
|
-
command.request_object = shipping_settings_object
|
3941
|
-
command.response_representation = Google::Apis::ContentV2::ShippingSettings::Representation
|
3942
|
-
command.response_class = Google::Apis::ContentV2::ShippingSettings
|
3943
|
-
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3944
|
-
command.params['accountId'] = account_id unless account_id.nil?
|
3945
|
-
command.query['dryRun'] = dry_run unless dry_run.nil?
|
3946
|
-
command.query['fields'] = fields unless fields.nil?
|
3947
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3948
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
3949
|
-
execute_or_queue_command(command, &block)
|
3950
|
-
end
|
3951
|
-
|
3952
3726
|
# Updates the shipping settings of the account.
|
3953
3727
|
# @param [Fixnum] merchant_id
|
3954
3728
|
# The ID of the managing account. If this parameter is not the same as accountId,
|