google-api-client 0.9.19 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/api_names.yaml +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +20 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -7
- data/generated/google/apis/androidenterprise_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +86 -25
- data/generated/google/apis/appengine_v1beta5/representations.rb +31 -12
- data/generated/google/apis/appengine_v1beta5/service.rb +33 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- 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 +27 -18
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- 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 +243 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +64 -0
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +443 -13
- data/generated/google/apis/compute_beta/representations.rb +155 -0
- data/generated/google/apis/compute_beta/service.rb +383 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -13
- data/generated/google/apis/compute_v1/representations.rb +13 -0
- data/generated/google/apis/compute_v1/service.rb +89 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +48 -0
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +367 -7
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2/service.rb +55 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +4 -3
- data/generated/google/apis/dfareporting_v2_6/service.rb +48 -29
- data/generated/google/apis/dns_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 +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- 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/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +9 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -10
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +39 -6
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +22 -18
- data/generated/google/apis/logging_v2beta1/service.rb +17 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +26 -24
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.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/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +771 -75
- data/generated/google/apis/sheets_v4/representations.rb +125 -10
- data/generated/google/apis/sheets_v4/service.rb +39 -2
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +25 -25
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +20 -19
- data/generated/google/apis/youtube_v3/representations.rb +3 -4
- data/generated/google/apis/youtube_v3/service.rb +35 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161019'
|
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'
|
@@ -415,8 +415,12 @@ module Google
|
|
415
415
|
attr_accessor :mode
|
416
416
|
|
417
417
|
# Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
418
|
-
#
|
419
|
-
#
|
418
|
+
# When creating a new instance, one of initializeParams.sourceImage or disks.
|
419
|
+
# source is required.
|
420
|
+
# If desired, you can also attach existing non-root persistent disks using this
|
421
|
+
# property. This field is only applicable for persistent disks.
|
422
|
+
# Note that for InstanceTemplate, specify the disk name, not the URL for the
|
423
|
+
# disk.
|
420
424
|
# Corresponds to the JSON property `source`
|
421
425
|
# @return [String]
|
422
426
|
attr_accessor :source
|
@@ -483,8 +487,8 @@ module Google
|
|
483
487
|
# @return [String]
|
484
488
|
attr_accessor :disk_type
|
485
489
|
|
486
|
-
# The source image
|
487
|
-
#
|
490
|
+
# The source image to create this disk. When creating a new instance, one of
|
491
|
+
# initializeParams.sourceImage or disks.source is required.
|
488
492
|
# To create a disk with one of the public operating system images, specify the
|
489
493
|
# image by its family name. For example, specify family/debian-8 to use the
|
490
494
|
# latest Debian 8 image:
|
@@ -498,6 +502,7 @@ module Google
|
|
498
502
|
# latest version of the image in that family. Replace the image name with family/
|
499
503
|
# family-name:
|
500
504
|
# global/images/family/my-private-family
|
505
|
+
# If the source image is deleted later, this field will not be set.
|
501
506
|
# Corresponds to the JSON property `sourceImage`
|
502
507
|
# @return [String]
|
503
508
|
attr_accessor :source_image
|
@@ -1370,20 +1375,23 @@ module Google
|
|
1370
1375
|
class DeprecationStatus
|
1371
1376
|
include Google::Apis::Core::Hashable
|
1372
1377
|
|
1373
|
-
# An optional RFC3339 timestamp on or after which the
|
1374
|
-
#
|
1378
|
+
# An optional RFC3339 timestamp on or after which the state of this resource is
|
1379
|
+
# intended to change to DELETED. This is only informational and the status will
|
1380
|
+
# not change unless the client explicitly changes it.
|
1375
1381
|
# Corresponds to the JSON property `deleted`
|
1376
1382
|
# @return [String]
|
1377
1383
|
attr_accessor :deleted
|
1378
1384
|
|
1379
|
-
# An optional RFC3339 timestamp on or after which the
|
1380
|
-
#
|
1385
|
+
# An optional RFC3339 timestamp on or after which the state of this resource is
|
1386
|
+
# intended to change to DEPRECATED. This is only informational and the status
|
1387
|
+
# will not change unless the client explicitly changes it.
|
1381
1388
|
# Corresponds to the JSON property `deprecated`
|
1382
1389
|
# @return [String]
|
1383
1390
|
attr_accessor :deprecated
|
1384
1391
|
|
1385
|
-
# An optional RFC3339 timestamp on or after which the
|
1386
|
-
#
|
1392
|
+
# An optional RFC3339 timestamp on or after which the state of this resource is
|
1393
|
+
# intended to change to OBSOLETE. This is only informational and the status will
|
1394
|
+
# not change unless the client explicitly changes it.
|
1387
1395
|
# Corresponds to the JSON property `obsolete`
|
1388
1396
|
# @return [String]
|
1389
1397
|
attr_accessor :obsolete
|
@@ -6068,9 +6076,9 @@ module Google
|
|
6068
6076
|
# @return [String]
|
6069
6077
|
attr_accessor :target_id
|
6070
6078
|
|
6071
|
-
# [Output Only] The URL of the resource that the operation modifies.
|
6072
|
-
#
|
6073
|
-
# snapshot was created from.
|
6079
|
+
# [Output Only] The URL of the resource that the operation modifies. For
|
6080
|
+
# operations related to creating a snapshot, this points to the persistent disk
|
6081
|
+
# that the snapshot was created from.
|
6074
6082
|
# Corresponds to the JSON property `targetLink`
|
6075
6083
|
# @return [String]
|
6076
6084
|
attr_accessor :target_link
|
@@ -8165,6 +8173,28 @@ module Google
|
|
8165
8173
|
end
|
8166
8174
|
end
|
8167
8175
|
|
8176
|
+
#
|
8177
|
+
class SubnetworksExpandIpCidrRangeRequest
|
8178
|
+
include Google::Apis::Core::Hashable
|
8179
|
+
|
8180
|
+
# The IP (in CIDR format or netmask) of internal addresses that are legal on
|
8181
|
+
# this Subnetwork. This range should be disjoint from other subnetworks within
|
8182
|
+
# this network. This range can only be larger than (i.e. a superset of) the
|
8183
|
+
# range previously defined before the update.
|
8184
|
+
# Corresponds to the JSON property `ipCidrRange`
|
8185
|
+
# @return [String]
|
8186
|
+
attr_accessor :ip_cidr_range
|
8187
|
+
|
8188
|
+
def initialize(**args)
|
8189
|
+
update!(**args)
|
8190
|
+
end
|
8191
|
+
|
8192
|
+
# Update properties of this object
|
8193
|
+
def update!(**args)
|
8194
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
8195
|
+
end
|
8196
|
+
end
|
8197
|
+
|
8168
8198
|
#
|
8169
8199
|
class SubnetworksScopedList
|
8170
8200
|
include Google::Apis::Core::Hashable
|
@@ -1024,6 +1024,12 @@ module Google
|
|
1024
1024
|
include Google::Apis::Core::JsonObjectSupport
|
1025
1025
|
end
|
1026
1026
|
|
1027
|
+
class SubnetworksExpandIpCidrRangeRequest
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1029
|
+
|
1030
|
+
include Google::Apis::Core::JsonObjectSupport
|
1031
|
+
end
|
1032
|
+
|
1027
1033
|
class SubnetworksScopedList
|
1028
1034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1029
1035
|
|
@@ -3317,6 +3323,13 @@ module Google
|
|
3317
3323
|
end
|
3318
3324
|
end
|
3319
3325
|
|
3326
|
+
class SubnetworksExpandIpCidrRangeRequest
|
3327
|
+
# @private
|
3328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3329
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
3330
|
+
end
|
3331
|
+
end
|
3332
|
+
|
3320
3333
|
class SubnetworksScopedList
|
3321
3334
|
# @private
|
3322
3335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4377,6 +4377,9 @@ module Google
|
|
4377
4377
|
# The name of the zone where the managed instance group is located.
|
4378
4378
|
# @param [String] instance_group_manager
|
4379
4379
|
# The name of the managed instance group.
|
4380
|
+
# @param [String] filter
|
4381
|
+
# @param [Fixnum] max_results
|
4382
|
+
# @param [String] page_token
|
4380
4383
|
# @param [String] fields
|
4381
4384
|
# Selector specifying which fields to include in a partial response.
|
4382
4385
|
# @param [String] quota_user
|
@@ -4398,13 +4401,16 @@ module Google
|
|
4398
4401
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4399
4402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4400
4403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4401
|
-
def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4404
|
+
def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4402
4405
|
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
4403
4406
|
command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse::Representation
|
4404
4407
|
command.response_class = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse
|
4405
4408
|
command.params['project'] = project unless project.nil?
|
4406
4409
|
command.params['zone'] = zone unless zone.nil?
|
4407
4410
|
command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
|
4411
|
+
command.query['filter'] = filter unless filter.nil?
|
4412
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
4413
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4408
4414
|
command.query['fields'] = fields unless fields.nil?
|
4409
4415
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4410
4416
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -6650,6 +6656,44 @@ module Google
|
|
6650
6656
|
execute_or_queue_command(command, &block)
|
6651
6657
|
end
|
6652
6658
|
|
6659
|
+
# Switches the network mode from auto subnet mode to custom subnet mode.
|
6660
|
+
# @param [String] project
|
6661
|
+
# Project ID for this request.
|
6662
|
+
# @param [String] network
|
6663
|
+
# Name of the network to be updated.
|
6664
|
+
# @param [String] fields
|
6665
|
+
# Selector specifying which fields to include in a partial response.
|
6666
|
+
# @param [String] quota_user
|
6667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6669
|
+
# Overrides userIp if both are provided.
|
6670
|
+
# @param [String] user_ip
|
6671
|
+
# IP address of the site where the request originates. Use this if you want to
|
6672
|
+
# enforce per-user limits.
|
6673
|
+
# @param [Google::Apis::RequestOptions] options
|
6674
|
+
# Request-specific options
|
6675
|
+
#
|
6676
|
+
# @yield [result, err] Result & error if block supplied
|
6677
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
6678
|
+
# @yieldparam err [StandardError] error object if request failed
|
6679
|
+
#
|
6680
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
6681
|
+
#
|
6682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6685
|
+
def switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
6686
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options)
|
6687
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
6688
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
6689
|
+
command.params['project'] = project unless project.nil?
|
6690
|
+
command.params['network'] = network unless network.nil?
|
6691
|
+
command.query['fields'] = fields unless fields.nil?
|
6692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6693
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
6694
|
+
execute_or_queue_command(command, &block)
|
6695
|
+
end
|
6696
|
+
|
6653
6697
|
# Returns the specified Project resource.
|
6654
6698
|
# @param [String] project
|
6655
6699
|
# Project ID for this request.
|
@@ -8237,6 +8281,50 @@ module Google
|
|
8237
8281
|
execute_or_queue_command(command, &block)
|
8238
8282
|
end
|
8239
8283
|
|
8284
|
+
# Expands the IP CIDR range of the subnetwork to a specified value.
|
8285
|
+
# @param [String] project
|
8286
|
+
# Project ID for this request.
|
8287
|
+
# @param [String] region
|
8288
|
+
# Name of the region scoping this request.
|
8289
|
+
# @param [String] subnetwork
|
8290
|
+
# Name of the Subnetwork resource to update.
|
8291
|
+
# @param [Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object
|
8292
|
+
# @param [String] fields
|
8293
|
+
# Selector specifying which fields to include in a partial response.
|
8294
|
+
# @param [String] quota_user
|
8295
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8296
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8297
|
+
# Overrides userIp if both are provided.
|
8298
|
+
# @param [String] user_ip
|
8299
|
+
# IP address of the site where the request originates. Use this if you want to
|
8300
|
+
# enforce per-user limits.
|
8301
|
+
# @param [Google::Apis::RequestOptions] options
|
8302
|
+
# Request-specific options
|
8303
|
+
#
|
8304
|
+
# @yield [result, err] Result & error if block supplied
|
8305
|
+
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
8306
|
+
# @yieldparam err [StandardError] error object if request failed
|
8307
|
+
#
|
8308
|
+
# @return [Google::Apis::ComputeV1::Operation]
|
8309
|
+
#
|
8310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8313
|
+
def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
8314
|
+
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options)
|
8315
|
+
command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation
|
8316
|
+
command.request_object = subnetworks_expand_ip_cidr_range_request_object
|
8317
|
+
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
8318
|
+
command.response_class = Google::Apis::ComputeV1::Operation
|
8319
|
+
command.params['project'] = project unless project.nil?
|
8320
|
+
command.params['region'] = region unless region.nil?
|
8321
|
+
command.params['subnetwork'] = subnetwork unless subnetwork.nil?
|
8322
|
+
command.query['fields'] = fields unless fields.nil?
|
8323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8324
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
8325
|
+
execute_or_queue_command(command, &block)
|
8326
|
+
end
|
8327
|
+
|
8240
8328
|
# Returns the specified subnetwork. Get a list of available subnetworks list()
|
8241
8329
|
# request.
|
8242
8330
|
# @param [String] project
|
@@ -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 = '20161027'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -2414,6 +2414,14 @@ module Google
|
|
2414
2414
|
# @return [Google::Apis::ContentV2::LoyaltyPoints]
|
2415
2415
|
attr_accessor :loyalty_points
|
2416
2416
|
|
2417
|
+
# Store pickup information. Only supported for local inventory. Not setting
|
2418
|
+
# pickup means "don't update" while setting it to the empty value (`` in JSON)
|
2419
|
+
# means "delete". Otherwise, pickupMethod and pickupSla must be set together,
|
2420
|
+
# unless pickupMethod is "not supported".
|
2421
|
+
# Corresponds to the JSON property `pickup`
|
2422
|
+
# @return [Google::Apis::ContentV2::InventoryPickup]
|
2423
|
+
attr_accessor :pickup
|
2424
|
+
|
2417
2425
|
# The price of the product.
|
2418
2426
|
# Corresponds to the JSON property `price`
|
2419
2427
|
# @return [Google::Apis::ContentV2::Price]
|
@@ -2453,6 +2461,7 @@ module Google
|
|
2453
2461
|
@installment = args[:installment] if args.key?(:installment)
|
2454
2462
|
@kind = args[:kind] if args.key?(:kind)
|
2455
2463
|
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
2464
|
+
@pickup = args[:pickup] if args.key?(:pickup)
|
2456
2465
|
@price = args[:price] if args.key?(:price)
|
2457
2466
|
@quantity = args[:quantity] if args.key?(:quantity)
|
2458
2467
|
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
@@ -2582,6 +2591,36 @@ module Google
|
|
2582
2591
|
end
|
2583
2592
|
end
|
2584
2593
|
|
2594
|
+
#
|
2595
|
+
class InventoryPickup
|
2596
|
+
include Google::Apis::Core::Hashable
|
2597
|
+
|
2598
|
+
# Whether store pickup is available for this offer and whether the pickup option
|
2599
|
+
# should be shown as buy, reserve, or not supported. Only supported for local
|
2600
|
+
# inventory. Unless the value is "not supported", must be submitted together
|
2601
|
+
# with pickupSla.
|
2602
|
+
# Corresponds to the JSON property `pickupMethod`
|
2603
|
+
# @return [String]
|
2604
|
+
attr_accessor :pickup_method
|
2605
|
+
|
2606
|
+
# The expected date that an order will be ready for pickup, relative to when the
|
2607
|
+
# order is placed. Only supported for local inventory. Must be submitted
|
2608
|
+
# together with pickupMethod.
|
2609
|
+
# Corresponds to the JSON property `pickupSla`
|
2610
|
+
# @return [String]
|
2611
|
+
attr_accessor :pickup_sla
|
2612
|
+
|
2613
|
+
def initialize(**args)
|
2614
|
+
update!(**args)
|
2615
|
+
end
|
2616
|
+
|
2617
|
+
# Update properties of this object
|
2618
|
+
def update!(**args)
|
2619
|
+
@pickup_method = args[:pickup_method] if args.key?(:pickup_method)
|
2620
|
+
@pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla)
|
2621
|
+
end
|
2622
|
+
end
|
2623
|
+
|
2585
2624
|
#
|
2586
2625
|
class SetInventoryRequest
|
2587
2626
|
include Google::Apis::Core::Hashable
|
@@ -2601,6 +2640,14 @@ module Google
|
|
2601
2640
|
# @return [Google::Apis::ContentV2::LoyaltyPoints]
|
2602
2641
|
attr_accessor :loyalty_points
|
2603
2642
|
|
2643
|
+
# Store pickup information. Only supported for local inventory. Not setting
|
2644
|
+
# pickup means "don't update" while setting it to the empty value (`` in JSON)
|
2645
|
+
# means "delete". Otherwise, pickupMethod and pickupSla must be set together,
|
2646
|
+
# unless pickupMethod is "not supported".
|
2647
|
+
# Corresponds to the JSON property `pickup`
|
2648
|
+
# @return [Google::Apis::ContentV2::InventoryPickup]
|
2649
|
+
attr_accessor :pickup
|
2650
|
+
|
2604
2651
|
# The price of the product.
|
2605
2652
|
# Corresponds to the JSON property `price`
|
2606
2653
|
# @return [Google::Apis::ContentV2::Price]
|
@@ -2639,6 +2686,7 @@ module Google
|
|
2639
2686
|
@availability = args[:availability] if args.key?(:availability)
|
2640
2687
|
@installment = args[:installment] if args.key?(:installment)
|
2641
2688
|
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
2689
|
+
@pickup = args[:pickup] if args.key?(:pickup)
|
2642
2690
|
@price = args[:price] if args.key?(:price)
|
2643
2691
|
@quantity = args[:quantity] if args.key?(:quantity)
|
2644
2692
|
@sale_price = args[:sale_price] if args.key?(:sale_price)
|
@@ -430,6 +430,12 @@ module Google
|
|
430
430
|
include Google::Apis::Core::JsonObjectSupport
|
431
431
|
end
|
432
432
|
|
433
|
+
class InventoryPickup
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
433
439
|
class SetInventoryRequest
|
434
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
441
|
|
@@ -1714,6 +1720,8 @@ module Google
|
|
1714
1720
|
property :kind, as: 'kind'
|
1715
1721
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
1716
1722
|
|
1723
|
+
property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation
|
1724
|
+
|
1717
1725
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1718
1726
|
|
1719
1727
|
property :quantity, as: 'quantity'
|
@@ -1763,6 +1771,14 @@ module Google
|
|
1763
1771
|
end
|
1764
1772
|
end
|
1765
1773
|
|
1774
|
+
class InventoryPickup
|
1775
|
+
# @private
|
1776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1777
|
+
property :pickup_method, as: 'pickupMethod'
|
1778
|
+
property :pickup_sla, as: 'pickupSla'
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1766
1782
|
class SetInventoryRequest
|
1767
1783
|
# @private
|
1768
1784
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1771,6 +1787,8 @@ module Google
|
|
1771
1787
|
|
1772
1788
|
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
1773
1789
|
|
1790
|
+
property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation
|
1791
|
+
|
1774
1792
|
property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
1775
1793
|
|
1776
1794
|
property :quantity, as: 'quantity'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dataflow
|
27
27
|
module DataflowV1b3
|
28
28
|
VERSION = 'V1b3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160928'
|
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'
|
@@ -232,6 +232,11 @@ module Google
|
|
232
232
|
# @return [Hash<String,String>]
|
233
233
|
attr_accessor :labels
|
234
234
|
|
235
|
+
# The location which contains this job.
|
236
|
+
# Corresponds to the JSON property `location`
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :location
|
239
|
+
|
235
240
|
def initialize(**args)
|
236
241
|
update!(**args)
|
237
242
|
end
|
@@ -255,6 +260,7 @@ module Google
|
|
255
260
|
@replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id)
|
256
261
|
@temp_files = args[:temp_files] if args.key?(:temp_files)
|
257
262
|
@labels = args[:labels] if args.key?(:labels)
|
263
|
+
@location = args[:location] if args.key?(:location)
|
258
264
|
end
|
259
265
|
end
|
260
266
|
|
@@ -910,6 +916,11 @@ module Google
|
|
910
916
|
# @return [String]
|
911
917
|
attr_accessor :next_page_token
|
912
918
|
|
919
|
+
# Zero or more messages describing locations that failed to respond.
|
920
|
+
# Corresponds to the JSON property `failedLocation`
|
921
|
+
# @return [Array<Google::Apis::DataflowV1b3::FailedLocation>]
|
922
|
+
attr_accessor :failed_location
|
923
|
+
|
913
924
|
def initialize(**args)
|
914
925
|
update!(**args)
|
915
926
|
end
|
@@ -918,6 +929,27 @@ module Google
|
|
918
929
|
def update!(**args)
|
919
930
|
@jobs = args[:jobs] if args.key?(:jobs)
|
920
931
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
932
|
+
@failed_location = args[:failed_location] if args.key?(:failed_location)
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
936
|
+
# FailedLocation indicates which location failed to respond to a request for
|
937
|
+
# data.
|
938
|
+
class FailedLocation
|
939
|
+
include Google::Apis::Core::Hashable
|
940
|
+
|
941
|
+
# The name of the failed location.
|
942
|
+
# Corresponds to the JSON property `name`
|
943
|
+
# @return [String]
|
944
|
+
attr_accessor :name
|
945
|
+
|
946
|
+
def initialize(**args)
|
947
|
+
update!(**args)
|
948
|
+
end
|
949
|
+
|
950
|
+
# Update properties of this object
|
951
|
+
def update!(**args)
|
952
|
+
@name = args[:name] if args.key?(:name)
|
921
953
|
end
|
922
954
|
end
|
923
955
|
|
@@ -1182,6 +1214,11 @@ module Google
|
|
1182
1214
|
# @return [String]
|
1183
1215
|
attr_accessor :current_worker_time
|
1184
1216
|
|
1217
|
+
# The location which contains the WorkItem's job.
|
1218
|
+
# Corresponds to the JSON property `location`
|
1219
|
+
# @return [String]
|
1220
|
+
attr_accessor :location
|
1221
|
+
|
1185
1222
|
def initialize(**args)
|
1186
1223
|
update!(**args)
|
1187
1224
|
end
|
@@ -1191,6 +1228,7 @@ module Google
|
|
1191
1228
|
@worker_id = args[:worker_id] if args.key?(:worker_id)
|
1192
1229
|
@work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses)
|
1193
1230
|
@current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time)
|
1231
|
+
@location = args[:location] if args.key?(:location)
|
1194
1232
|
end
|
1195
1233
|
end
|
1196
1234
|
|
@@ -2424,6 +2462,11 @@ module Google
|
|
2424
2462
|
# @return [String]
|
2425
2463
|
attr_accessor :worker_id
|
2426
2464
|
|
2465
|
+
# The location which contains the WorkItem's job.
|
2466
|
+
# Corresponds to the JSON property `location`
|
2467
|
+
# @return [String]
|
2468
|
+
attr_accessor :location
|
2469
|
+
|
2427
2470
|
def initialize(**args)
|
2428
2471
|
update!(**args)
|
2429
2472
|
end
|
@@ -2435,6 +2478,7 @@ module Google
|
|
2435
2478
|
@requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration)
|
2436
2479
|
@current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time)
|
2437
2480
|
@worker_id = args[:worker_id] if args.key?(:worker_id)
|
2481
|
+
@location = args[:location] if args.key?(:location)
|
2438
2482
|
end
|
2439
2483
|
end
|
2440
2484
|
|