google-api-client 0.23.3 → 0.23.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +4 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +269 -0
- data/generated/google/apis/bigquery_v2/representations.rb +93 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +16 -69
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -11
- data/generated/google/apis/civicinfo_v2/service.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -1
- data/generated/google/apis/cloudprofiler_v2.rb +40 -0
- data/generated/google/apis/cloudprofiler_v2/classes.rb +167 -0
- data/generated/google/apis/cloudprofiler_v2/representations.rb +77 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +179 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +769 -146
- data/generated/google/apis/compute_alpha/representations.rb +294 -22
- data/generated/google/apis/compute_alpha/service.rb +868 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +52 -89
- data/generated/google/apis/compute_beta/representations.rb +1 -18
- data/generated/google/apis/compute_beta/service.rb +0 -250
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +165 -16
- data/generated/google/apis/compute_v1/representations.rb +61 -0
- data/generated/google/apis/compute_v1/service.rb +208 -0
- data/generated/google/apis/content_v2/classes.rb +10 -10
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +60 -43
- data/generated/google/apis/content_v2sandbox/representations.rb +2 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +22 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +101 -5
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +28 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +101 -6
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -22
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +84 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +12 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +77 -6
- data/generated/google/apis/ml_v1/representations.rb +7 -0
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -5
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -1
- data/generated/google/apis/script_v1.rb +2 -8
- data/generated/google/apis/script_v1/service.rb +1 -7
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +13 -16
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +6 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -921,6 +921,58 @@ module Google
|
|
921
921
|
execute_or_queue_command(command, &block)
|
922
922
|
end
|
923
923
|
|
924
|
+
# Adds the given Signed URL Key to the backend bucket.
|
925
|
+
# @param [String] project
|
926
|
+
# Project ID for this request.
|
927
|
+
# @param [String] backend_bucket
|
928
|
+
# Name of the BackendBucket resource to which the Signed URL Key should be added.
|
929
|
+
# The name should conform to RFC1035.
|
930
|
+
# @param [Google::Apis::ComputeV1::SignedUrlKey] signed_url_key_object
|
931
|
+
# @param [String] request_id
|
932
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
933
|
+
# that if you must retry your request, the server will know to ignore the
|
934
|
+
# request if it has already been completed.
|
935
|
+
# For example, consider a situation where you make an initial request and the
|
936
|
+
# request times out. If you make the request again with the same request ID, the
|
937
|
+
# server can check if original operation with the same request ID was received,
|
938
|
+
# and if so, will ignore the second request. This prevents clients from
|
939
|
+
# accidentally creating duplicate commitments.
|
940
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
941
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
942
|
+
# @param [String] fields
|
943
|
+
# Selector specifying which fields to include in a partial response.
|
944
|
+
# @param [String] quota_user
|
945
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
946
|
+
# characters.
|
947
|
+
# @param [String] user_ip
|
948
|
+
# Deprecated. Please use quotaUser instead.
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
950
|
+
# Request-specific options
|
951
|
+
#
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
953
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
955
|
+
#
|
956
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
957
|
+
#
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
|
+
def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
962
|
+
command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options)
|
963
|
+
command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation
|
964
|
+
command.request_object = signed_url_key_object
|
965
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
966
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
967
|
+
command.params['project'] = project unless project.nil?
|
968
|
+
command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
|
969
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
970
|
+
command.query['fields'] = fields unless fields.nil?
|
971
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
972
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
973
|
+
execute_or_queue_command(command, &block)
|
974
|
+
end
|
975
|
+
|
924
976
|
# Deletes the specified BackendBucket resource.
|
925
977
|
# @param [String] project
|
926
978
|
# Project ID for this request.
|
@@ -969,6 +1021,58 @@ module Google
|
|
969
1021
|
execute_or_queue_command(command, &block)
|
970
1022
|
end
|
971
1023
|
|
1024
|
+
# Deletes the given Signed URL Key from the backend bucket.
|
1025
|
+
# @param [String] project
|
1026
|
+
# Project ID for this request.
|
1027
|
+
# @param [String] backend_bucket
|
1028
|
+
# Name of the BackendBucket resource to which the Signed URL Key should be added.
|
1029
|
+
# The name should conform to RFC1035.
|
1030
|
+
# @param [String] key_name
|
1031
|
+
# The name of the Signed URL Key to delete.
|
1032
|
+
# @param [String] request_id
|
1033
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
1034
|
+
# that if you must retry your request, the server will know to ignore the
|
1035
|
+
# request if it has already been completed.
|
1036
|
+
# For example, consider a situation where you make an initial request and the
|
1037
|
+
# request times out. If you make the request again with the same request ID, the
|
1038
|
+
# server can check if original operation with the same request ID was received,
|
1039
|
+
# and if so, will ignore the second request. This prevents clients from
|
1040
|
+
# accidentally creating duplicate commitments.
|
1041
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
1042
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
1043
|
+
# @param [String] fields
|
1044
|
+
# Selector specifying which fields to include in a partial response.
|
1045
|
+
# @param [String] quota_user
|
1046
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1047
|
+
# characters.
|
1048
|
+
# @param [String] user_ip
|
1049
|
+
# Deprecated. Please use quotaUser instead.
|
1050
|
+
# @param [Google::Apis::RequestOptions] options
|
1051
|
+
# Request-specific options
|
1052
|
+
#
|
1053
|
+
# @yield [result, err] Result & error if block supplied
|
1054
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
1055
|
+
# @yieldparam err [StandardError] error object if request failed
|
1056
|
+
#
|
1057
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
1058
|
+
#
|
1059
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1060
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1061
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1062
|
+
def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1063
|
+
command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options)
|
1064
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
1065
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
1066
|
+
command.params['project'] = project unless project.nil?
|
1067
|
+
command.params['backendBucket'] = backend_bucket unless backend_bucket.nil?
|
1068
|
+
command.query['keyName'] = key_name unless key_name.nil?
|
1069
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1070
|
+
command.query['fields'] = fields unless fields.nil?
|
1071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1072
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1073
|
+
execute_or_queue_command(command, &block)
|
1074
|
+
end
|
1075
|
+
|
972
1076
|
# Returns the specified BackendBucket resource. Gets a list of available backend
|
973
1077
|
# buckets by making a list() request.
|
974
1078
|
# @param [String] project
|
@@ -1232,6 +1336,58 @@ module Google
|
|
1232
1336
|
execute_or_queue_command(command, &block)
|
1233
1337
|
end
|
1234
1338
|
|
1339
|
+
# Adds the given Signed URL Key to the specified backend service.
|
1340
|
+
# @param [String] project
|
1341
|
+
# Project ID for this request.
|
1342
|
+
# @param [String] backend_service
|
1343
|
+
# Name of the BackendService resource to which the Signed URL Key should be
|
1344
|
+
# added. The name should conform to RFC1035.
|
1345
|
+
# @param [Google::Apis::ComputeV1::SignedUrlKey] signed_url_key_object
|
1346
|
+
# @param [String] request_id
|
1347
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
1348
|
+
# that if you must retry your request, the server will know to ignore the
|
1349
|
+
# request if it has already been completed.
|
1350
|
+
# For example, consider a situation where you make an initial request and the
|
1351
|
+
# request times out. If you make the request again with the same request ID, the
|
1352
|
+
# server can check if original operation with the same request ID was received,
|
1353
|
+
# and if so, will ignore the second request. This prevents clients from
|
1354
|
+
# accidentally creating duplicate commitments.
|
1355
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
1356
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
1357
|
+
# @param [String] fields
|
1358
|
+
# Selector specifying which fields to include in a partial response.
|
1359
|
+
# @param [String] quota_user
|
1360
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1361
|
+
# characters.
|
1362
|
+
# @param [String] user_ip
|
1363
|
+
# Deprecated. Please use quotaUser instead.
|
1364
|
+
# @param [Google::Apis::RequestOptions] options
|
1365
|
+
# Request-specific options
|
1366
|
+
#
|
1367
|
+
# @yield [result, err] Result & error if block supplied
|
1368
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
1369
|
+
# @yieldparam err [StandardError] error object if request failed
|
1370
|
+
#
|
1371
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
1372
|
+
#
|
1373
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1374
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1375
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1376
|
+
def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1377
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options)
|
1378
|
+
command.request_representation = Google::Apis::ComputeV1::SignedUrlKey::Representation
|
1379
|
+
command.request_object = signed_url_key_object
|
1380
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
1381
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
1382
|
+
command.params['project'] = project unless project.nil?
|
1383
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
1384
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1385
|
+
command.query['fields'] = fields unless fields.nil?
|
1386
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1387
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1388
|
+
execute_or_queue_command(command, &block)
|
1389
|
+
end
|
1390
|
+
|
1235
1391
|
# Retrieves the list of all BackendService resources, regional and global,
|
1236
1392
|
# available to the specified project.
|
1237
1393
|
# @param [String] project
|
@@ -1352,6 +1508,58 @@ module Google
|
|
1352
1508
|
execute_or_queue_command(command, &block)
|
1353
1509
|
end
|
1354
1510
|
|
1511
|
+
# Deletes the given Signed URL Key from the specified backend service.
|
1512
|
+
# @param [String] project
|
1513
|
+
# Project ID for this request.
|
1514
|
+
# @param [String] backend_service
|
1515
|
+
# Name of the BackendService resource to which the Signed URL Key should be
|
1516
|
+
# added. The name should conform to RFC1035.
|
1517
|
+
# @param [String] key_name
|
1518
|
+
# The name of the Signed URL Key to delete.
|
1519
|
+
# @param [String] request_id
|
1520
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
1521
|
+
# that if you must retry your request, the server will know to ignore the
|
1522
|
+
# request if it has already been completed.
|
1523
|
+
# For example, consider a situation where you make an initial request and the
|
1524
|
+
# request times out. If you make the request again with the same request ID, the
|
1525
|
+
# server can check if original operation with the same request ID was received,
|
1526
|
+
# and if so, will ignore the second request. This prevents clients from
|
1527
|
+
# accidentally creating duplicate commitments.
|
1528
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
1529
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
1530
|
+
# @param [String] fields
|
1531
|
+
# Selector specifying which fields to include in a partial response.
|
1532
|
+
# @param [String] quota_user
|
1533
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1534
|
+
# characters.
|
1535
|
+
# @param [String] user_ip
|
1536
|
+
# Deprecated. Please use quotaUser instead.
|
1537
|
+
# @param [Google::Apis::RequestOptions] options
|
1538
|
+
# Request-specific options
|
1539
|
+
#
|
1540
|
+
# @yield [result, err] Result & error if block supplied
|
1541
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
1542
|
+
# @yieldparam err [StandardError] error object if request failed
|
1543
|
+
#
|
1544
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
1545
|
+
#
|
1546
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1547
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1548
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1549
|
+
def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1550
|
+
command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options)
|
1551
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
1552
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
1553
|
+
command.params['project'] = project unless project.nil?
|
1554
|
+
command.params['backendService'] = backend_service unless backend_service.nil?
|
1555
|
+
command.query['keyName'] = key_name unless key_name.nil?
|
1556
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1557
|
+
command.query['fields'] = fields unless fields.nil?
|
1558
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1559
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1560
|
+
execute_or_queue_command(command, &block)
|
1561
|
+
end
|
1562
|
+
|
1355
1563
|
# Returns the specified BackendService resource. Gets a list of available
|
1356
1564
|
# backend services by making a list() request.
|
1357
1565
|
# @param [String] project
|
@@ -2759,24 +2759,24 @@ module Google
|
|
2759
2759
|
attr_accessor :additional_charge_summaries
|
2760
2760
|
|
2761
2761
|
# [required] Customer balance on this invoice. A positive amount means the
|
2762
|
-
# customer is paying, a negative one means the customer is receiving money. Note
|
2763
|
-
#
|
2764
|
-
#
|
2762
|
+
# customer is paying, a negative one means the customer is receiving money. Note:
|
2763
|
+
# the sum of merchant_balance, customer_balance and google_balance must always
|
2764
|
+
# be zero.
|
2765
2765
|
# Corresponds to the JSON property `customerBalance`
|
2766
2766
|
# @return [Google::Apis::ContentV2::Amount]
|
2767
2767
|
attr_accessor :customer_balance
|
2768
2768
|
|
2769
2769
|
# [required] Google balance on this invoice. A positive amount means Google is
|
2770
|
-
# paying, a negative one means Google is receiving money. Note
|
2771
|
-
#
|
2770
|
+
# paying, a negative one means Google is receiving money. Note: the sum of
|
2771
|
+
# merchant_balance, customer_balance and google_balance must always be zero.
|
2772
2772
|
# Corresponds to the JSON property `googleBalance`
|
2773
2773
|
# @return [Google::Apis::ContentV2::Amount]
|
2774
2774
|
attr_accessor :google_balance
|
2775
2775
|
|
2776
2776
|
# [required] Merchant balance on this invoice. A positive amount means the
|
2777
|
-
# merchant is paying, a negative one means the merchant is receiving money. Note
|
2778
|
-
#
|
2779
|
-
#
|
2777
|
+
# merchant is paying, a negative one means the merchant is receiving money. Note:
|
2778
|
+
# the sum of merchant_balance, customer_balance and google_balance must always
|
2779
|
+
# be zero.
|
2780
2780
|
# Corresponds to the JSON property `merchantBalance`
|
2781
2781
|
# @return [Google::Apis::ContentV2::Amount]
|
2782
2782
|
attr_accessor :merchant_balance
|
@@ -5806,7 +5806,7 @@ module Google
|
|
5806
5806
|
attr_accessor :carrier
|
5807
5807
|
|
5808
5808
|
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
5809
|
-
# and can be provided only if
|
5809
|
+
# and can be provided only if status is delivered.
|
5810
5810
|
# Corresponds to the JSON property `deliveryDate`
|
5811
5811
|
# @return [String]
|
5812
5812
|
attr_accessor :delivery_date
|
@@ -6686,7 +6686,7 @@ module Google
|
|
6686
6686
|
attr_accessor :carrier
|
6687
6687
|
|
6688
6688
|
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
6689
|
-
# and can be provided only if
|
6689
|
+
# and can be provided only if status is delivered.
|
6690
6690
|
# Corresponds to the JSON property `deliveryDate`
|
6691
6691
|
# @return [String]
|
6692
6692
|
attr_accessor :delivery_date
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2sandbox
|
28
28
|
VERSION = 'V2sandbox'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = ''
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -26,12 +26,12 @@ module Google
|
|
26
26
|
class Amount
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Value before taxes.
|
29
|
+
# [required] Value before taxes.
|
30
30
|
# Corresponds to the JSON property `pretax`
|
31
31
|
# @return [Google::Apis::ContentV2sandbox::Price]
|
32
32
|
attr_accessor :pretax
|
33
33
|
|
34
|
-
# Tax value.
|
34
|
+
# [required] Tax value.
|
35
35
|
# Corresponds to the JSON property `tax`
|
36
36
|
# @return [Google::Apis::ContentV2sandbox::Price]
|
37
37
|
attr_accessor :tax
|
@@ -118,30 +118,30 @@ module Google
|
|
118
118
|
# @return [Array<Google::Apis::ContentV2sandbox::InvoiceSummaryAdditionalChargeSummary>]
|
119
119
|
attr_accessor :additional_charge_summaries
|
120
120
|
|
121
|
-
# Customer balance on this invoice. A positive amount means the
|
122
|
-
# paying, a negative one means the customer is receiving money. Note
|
123
|
-
#
|
124
|
-
#
|
121
|
+
# [required] Customer balance on this invoice. A positive amount means the
|
122
|
+
# customer is paying, a negative one means the customer is receiving money. Note:
|
123
|
+
# the sum of merchant_balance, customer_balance and google_balance must always
|
124
|
+
# be zero.
|
125
125
|
# Corresponds to the JSON property `customerBalance`
|
126
126
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
127
127
|
attr_accessor :customer_balance
|
128
128
|
|
129
|
-
# Google balance on this invoice. A positive amount means Google is
|
130
|
-
# negative one means Google is receiving money. Note
|
131
|
-
#
|
129
|
+
# [required] Google balance on this invoice. A positive amount means Google is
|
130
|
+
# paying, a negative one means Google is receiving money. Note: the sum of
|
131
|
+
# merchant_balance, customer_balance and google_balance must always be zero.
|
132
132
|
# Corresponds to the JSON property `googleBalance`
|
133
133
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
134
134
|
attr_accessor :google_balance
|
135
135
|
|
136
|
-
# Merchant balance on this invoice. A positive amount means the
|
137
|
-
# paying, a negative one means the merchant is receiving money. Note
|
138
|
-
#
|
139
|
-
#
|
136
|
+
# [required] Merchant balance on this invoice. A positive amount means the
|
137
|
+
# merchant is paying, a negative one means the merchant is receiving money. Note:
|
138
|
+
# the sum of merchant_balance, customer_balance and google_balance must always
|
139
|
+
# be zero.
|
140
140
|
# Corresponds to the JSON property `merchantBalance`
|
141
141
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
142
142
|
attr_accessor :merchant_balance
|
143
143
|
|
144
|
-
# Total price for the product.
|
144
|
+
# [required] Total price for the product.
|
145
145
|
# Corresponds to the JSON property `productTotal`
|
146
146
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
147
147
|
attr_accessor :product_total
|
@@ -170,12 +170,12 @@ module Google
|
|
170
170
|
class InvoiceSummaryAdditionalChargeSummary
|
171
171
|
include Google::Apis::Core::Hashable
|
172
172
|
|
173
|
-
# Total additional charge for this type.
|
173
|
+
# [required] Total additional charge for this type.
|
174
174
|
# Corresponds to the JSON property `totalAmount`
|
175
175
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
176
176
|
attr_accessor :total_amount
|
177
177
|
|
178
|
-
# Type of the additional charge.
|
178
|
+
# [required] Type of the additional charge.
|
179
179
|
# Corresponds to the JSON property `type`
|
180
180
|
# @return [String]
|
181
181
|
attr_accessor :type
|
@@ -1186,7 +1186,7 @@ module Google
|
|
1186
1186
|
attr_accessor :creation_date
|
1187
1187
|
|
1188
1188
|
# Date on which the shipment has been delivered, in ISO 8601 format. Present
|
1189
|
-
# only if status is
|
1189
|
+
# only if status is delivered
|
1190
1190
|
# Corresponds to the JSON property `deliveryDate`
|
1191
1191
|
# @return [String]
|
1192
1192
|
attr_accessor :delivery_date
|
@@ -1264,27 +1264,28 @@ module Google
|
|
1264
1264
|
class OrderinvoicesCreateChargeInvoiceRequest
|
1265
1265
|
include Google::Apis::Core::Hashable
|
1266
1266
|
|
1267
|
-
# The ID of the invoice.
|
1267
|
+
# [required] The ID of the invoice.
|
1268
1268
|
# Corresponds to the JSON property `invoiceId`
|
1269
1269
|
# @return [String]
|
1270
1270
|
attr_accessor :invoice_id
|
1271
1271
|
|
1272
|
-
# Invoice summary.
|
1272
|
+
# [required] Invoice summary.
|
1273
1273
|
# Corresponds to the JSON property `invoiceSummary`
|
1274
1274
|
# @return [Google::Apis::ContentV2sandbox::InvoiceSummary]
|
1275
1275
|
attr_accessor :invoice_summary
|
1276
1276
|
|
1277
|
-
# Invoice details per line item.
|
1277
|
+
# [required] Invoice details per line item.
|
1278
1278
|
# Corresponds to the JSON property `lineItemInvoices`
|
1279
1279
|
# @return [Array<Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice>]
|
1280
1280
|
attr_accessor :line_item_invoices
|
1281
1281
|
|
1282
|
-
# The ID of the operation, unique across all operations for a given
|
1282
|
+
# [required] The ID of the operation, unique across all operations for a given
|
1283
|
+
# order.
|
1283
1284
|
# Corresponds to the JSON property `operationId`
|
1284
1285
|
# @return [String]
|
1285
1286
|
attr_accessor :operation_id
|
1286
1287
|
|
1287
|
-
# ID of the shipment group.
|
1288
|
+
# [required] ID of the shipment group.
|
1288
1289
|
# Corresponds to the JSON property `shipmentGroupId`
|
1289
1290
|
# @return [String]
|
1290
1291
|
attr_accessor :shipment_group_id
|
@@ -1333,24 +1334,25 @@ module Google
|
|
1333
1334
|
class OrderinvoicesCreateRefundInvoiceRequest
|
1334
1335
|
include Google::Apis::Core::Hashable
|
1335
1336
|
|
1336
|
-
# The ID of the invoice.
|
1337
|
+
# [required] The ID of the invoice.
|
1337
1338
|
# Corresponds to the JSON property `invoiceId`
|
1338
1339
|
# @return [String]
|
1339
1340
|
attr_accessor :invoice_id
|
1340
1341
|
|
1341
|
-
# The ID of the operation, unique across all operations for a given
|
1342
|
+
# [required] The ID of the operation, unique across all operations for a given
|
1343
|
+
# order.
|
1342
1344
|
# Corresponds to the JSON property `operationId`
|
1343
1345
|
# @return [String]
|
1344
1346
|
attr_accessor :operation_id
|
1345
1347
|
|
1346
|
-
# Option to create a refund-only invoice. Exactly one of
|
1347
|
-
#
|
1348
|
+
# Option to create a refund-only invoice. Exactly one of refundOnlyOption or
|
1349
|
+
# returnOption must be provided.
|
1348
1350
|
# Corresponds to the JSON property `refundOnlyOption`
|
1349
1351
|
# @return [Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceRefundOption]
|
1350
1352
|
attr_accessor :refund_only_option
|
1351
1353
|
|
1352
1354
|
# Option to create an invoice for a refund and mark all items within the invoice
|
1353
|
-
# as returned. Exactly one of
|
1355
|
+
# as returned. Exactly one of refundOnlyOption or returnOption must be provided.
|
1354
1356
|
# Corresponds to the JSON property `returnOption`
|
1355
1357
|
# @return [Google::Apis::ContentV2sandbox::OrderinvoicesCustomBatchRequestEntryCreateRefundInvoiceReturnOption]
|
1356
1358
|
attr_accessor :return_option
|
@@ -1409,7 +1411,7 @@ module Google
|
|
1409
1411
|
# @return [String]
|
1410
1412
|
attr_accessor :description
|
1411
1413
|
|
1412
|
-
# Reason for the refund.
|
1414
|
+
# [required] Reason for the refund.
|
1413
1415
|
# Corresponds to the JSON property `reason`
|
1414
1416
|
# @return [String]
|
1415
1417
|
attr_accessor :reason
|
@@ -1434,7 +1436,7 @@ module Google
|
|
1434
1436
|
# @return [String]
|
1435
1437
|
attr_accessor :description
|
1436
1438
|
|
1437
|
-
# Reason for the return.
|
1439
|
+
# [required] Reason for the return.
|
1438
1440
|
# Corresponds to the JSON property `reason`
|
1439
1441
|
# @return [String]
|
1440
1442
|
attr_accessor :reason
|
@@ -2562,6 +2564,12 @@ module Google
|
|
2562
2564
|
# @return [String]
|
2563
2565
|
attr_accessor :carrier
|
2564
2566
|
|
2567
|
+
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
2568
|
+
# and can be provided only if status is delivered.
|
2569
|
+
# Corresponds to the JSON property `deliveryDate`
|
2570
|
+
# @return [String]
|
2571
|
+
attr_accessor :delivery_date
|
2572
|
+
|
2565
2573
|
# The ID of the shipment.
|
2566
2574
|
# Corresponds to the JSON property `shipmentId`
|
2567
2575
|
# @return [String]
|
@@ -2584,6 +2592,7 @@ module Google
|
|
2584
2592
|
# Update properties of this object
|
2585
2593
|
def update!(**args)
|
2586
2594
|
@carrier = args[:carrier] if args.key?(:carrier)
|
2595
|
+
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
2587
2596
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
2588
2597
|
@status = args[:status] if args.key?(:status)
|
2589
2598
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
@@ -3435,6 +3444,12 @@ module Google
|
|
3435
3444
|
# @return [String]
|
3436
3445
|
attr_accessor :carrier
|
3437
3446
|
|
3447
|
+
# Date on which the shipment has been delivered, in ISO 8601 format. Optional
|
3448
|
+
# and can be provided only if status is delivered.
|
3449
|
+
# Corresponds to the JSON property `deliveryDate`
|
3450
|
+
# @return [String]
|
3451
|
+
attr_accessor :delivery_date
|
3452
|
+
|
3438
3453
|
# The ID of the operation. Unique across all operations for a given order.
|
3439
3454
|
# Corresponds to the JSON property `operationId`
|
3440
3455
|
# @return [String]
|
@@ -3462,6 +3477,7 @@ module Google
|
|
3462
3477
|
# Update properties of this object
|
3463
3478
|
def update!(**args)
|
3464
3479
|
@carrier = args[:carrier] if args.key?(:carrier)
|
3480
|
+
@delivery_date = args[:delivery_date] if args.key?(:delivery_date)
|
3465
3481
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
3466
3482
|
@shipment_id = args[:shipment_id] if args.key?(:shipment_id)
|
3467
3483
|
@status = args[:status] if args.key?(:status)
|
@@ -3524,13 +3540,13 @@ module Google
|
|
3524
3540
|
class Promotion
|
3525
3541
|
include Google::Apis::Core::Hashable
|
3526
3542
|
|
3527
|
-
# Amount of the promotion. The values here are the promotion applied
|
3528
|
-
# price pretax and to the total of the tax amounts.
|
3543
|
+
# [required] Amount of the promotion. The values here are the promotion applied
|
3544
|
+
# to the unit price pretax and to the total of the tax amounts.
|
3529
3545
|
# Corresponds to the JSON property `promotionAmount`
|
3530
3546
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
3531
3547
|
attr_accessor :promotion_amount
|
3532
3548
|
|
3533
|
-
# ID of the promotion.
|
3549
|
+
# [required] ID of the promotion.
|
3534
3550
|
# Corresponds to the JSON property `promotionId`
|
3535
3551
|
# @return [String]
|
3536
3552
|
attr_accessor :promotion_id
|
@@ -3550,17 +3566,17 @@ module Google
|
|
3550
3566
|
class ShipmentInvoice
|
3551
3567
|
include Google::Apis::Core::Hashable
|
3552
3568
|
|
3553
|
-
# Invoice summary.
|
3569
|
+
# [required] Invoice summary.
|
3554
3570
|
# Corresponds to the JSON property `invoiceSummary`
|
3555
3571
|
# @return [Google::Apis::ContentV2sandbox::InvoiceSummary]
|
3556
3572
|
attr_accessor :invoice_summary
|
3557
3573
|
|
3558
|
-
# Invoice details per line item.
|
3574
|
+
# [required] Invoice details per line item.
|
3559
3575
|
# Corresponds to the JSON property `lineItemInvoices`
|
3560
3576
|
# @return [Array<Google::Apis::ContentV2sandbox::ShipmentInvoiceLineItemInvoice>]
|
3561
3577
|
attr_accessor :line_item_invoices
|
3562
3578
|
|
3563
|
-
# ID of the shipment group.
|
3579
|
+
# [required] ID of the shipment group.
|
3564
3580
|
# Corresponds to the JSON property `shipmentGroupId`
|
3565
3581
|
# @return [String]
|
3566
3582
|
attr_accessor :shipment_group_id
|
@@ -3592,12 +3608,12 @@ module Google
|
|
3592
3608
|
# @return [String]
|
3593
3609
|
attr_accessor :product_id
|
3594
3610
|
|
3595
|
-
# Unit IDs to define specific units within the line item.
|
3611
|
+
# [required] Unit IDs to define specific units within the line item.
|
3596
3612
|
# Corresponds to the JSON property `shipmentUnitIds`
|
3597
3613
|
# @return [Array<String>]
|
3598
3614
|
attr_accessor :shipment_unit_ids
|
3599
3615
|
|
3600
|
-
# Invoice details for a single unit.
|
3616
|
+
# [required] Invoice details for a single unit.
|
3601
3617
|
# Corresponds to the JSON property `unitInvoice`
|
3602
3618
|
# @return [Google::Apis::ContentV2sandbox::UnitInvoice]
|
3603
3619
|
attr_accessor :unit_invoice
|
@@ -3955,7 +3971,7 @@ module Google
|
|
3955
3971
|
# @return [Array<Google::Apis::ContentV2sandbox::Promotion>]
|
3956
3972
|
attr_accessor :promotions
|
3957
3973
|
|
3958
|
-
# Price of the unit, before applying taxes.
|
3974
|
+
# [required] Price of the unit, before applying taxes.
|
3959
3975
|
# Corresponds to the JSON property `unitPricePretax`
|
3960
3976
|
# @return [Google::Apis::ContentV2sandbox::Price]
|
3961
3977
|
attr_accessor :unit_price_pretax
|
@@ -3982,7 +3998,7 @@ module Google
|
|
3982
3998
|
class UnitInvoiceAdditionalCharge
|
3983
3999
|
include Google::Apis::Core::Hashable
|
3984
4000
|
|
3985
|
-
# Amount of the additional charge.
|
4001
|
+
# [required] Amount of the additional charge.
|
3986
4002
|
# Corresponds to the JSON property `additionalChargeAmount`
|
3987
4003
|
# @return [Google::Apis::ContentV2sandbox::Amount]
|
3988
4004
|
attr_accessor :additional_charge_amount
|
@@ -3992,7 +4008,7 @@ module Google
|
|
3992
4008
|
# @return [Array<Google::Apis::ContentV2sandbox::Promotion>]
|
3993
4009
|
attr_accessor :additional_charge_promotions
|
3994
4010
|
|
3995
|
-
# Type of the additional charge.
|
4011
|
+
# [required] Type of the additional charge.
|
3996
4012
|
# Corresponds to the JSON property `type`
|
3997
4013
|
# @return [String]
|
3998
4014
|
attr_accessor :type
|
@@ -4013,17 +4029,18 @@ module Google
|
|
4013
4029
|
class UnitInvoiceTaxLine
|
4014
4030
|
include Google::Apis::Core::Hashable
|
4015
4031
|
|
4016
|
-
# Tax amount for the tax type.
|
4032
|
+
# [required] Tax amount for the tax type.
|
4017
4033
|
# Corresponds to the JSON property `taxAmount`
|
4018
4034
|
# @return [Google::Apis::ContentV2sandbox::Price]
|
4019
4035
|
attr_accessor :tax_amount
|
4020
4036
|
|
4021
|
-
# Optional name of the tax type.
|
4037
|
+
# Optional name of the tax type. This should only be provided if taxType is
|
4038
|
+
# otherFeeTax.
|
4022
4039
|
# Corresponds to the JSON property `taxName`
|
4023
4040
|
# @return [String]
|
4024
4041
|
attr_accessor :tax_name
|
4025
4042
|
|
4026
|
-
# Type of the tax.
|
4043
|
+
# [required] Type of the tax.
|
4027
4044
|
# Corresponds to the JSON property `taxType`
|
4028
4045
|
# @return [String]
|
4029
4046
|
attr_accessor :tax_type
|