google-api-client 0.23.7 → 0.23.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +5 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +31 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +5 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +5 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +27 -22
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/{mybusiness_v3.rb → cloudtasks_v2beta3.rb} +12 -10
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1405 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +421 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +855 -0
- data/generated/google/apis/compute_alpha/classes.rb +178 -135
- data/generated/google/apis/compute_alpha/representations.rb +82 -52
- data/generated/google/apis/compute_alpha/service.rb +57 -4
- data/generated/google/apis/compute_beta/classes.rb +125 -125
- data/generated/google/apis/compute_beta/representations.rb +51 -51
- data/generated/google/apis/compute_beta/service.rb +4 -4
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +152 -0
- data/generated/google/apis/content_v2/representations.rb +77 -0
- data/generated/google/apis/content_v2/service.rb +40 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +39 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +26 -0
- data/generated/google/apis/content_v2sandbox/service.rb +40 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +299 -0
- data/generated/google/apis/dataproc_v1/representations.rb +115 -0
- data/generated/google/apis/dataproc_v1/service.rb +540 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -3
- data/generated/google/apis/dialogflow_v2beta1/service.rb +226 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +54 -6
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +85 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +32 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +97 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +28 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +37 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +9 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +4 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +56 -1
- data/generated/google/apis/spanner_v1/representations.rb +18 -0
- data/generated/google/apis/spanner_v1/service.rb +9 -3
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +11 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -1
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storage_v1/service.rb +1 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +14 -14
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/mybusiness_v3/classes.rb +0 -1864
- data/generated/google/apis/mybusiness_v3/representations.rb +0 -741
- data/generated/google/apis/mybusiness_v3/service.rb +0 -961
@@ -14367,6 +14367,59 @@ module Google
|
|
14367
14367
|
execute_or_queue_command(command, &block)
|
14368
14368
|
end
|
14369
14369
|
|
14370
|
+
# Updates the specified network peering with the data included in the request
|
14371
|
+
# Only the following fields can be modified: NetworkPeering.export_custom_routes,
|
14372
|
+
# and NetworkPeering.import_custom_routes
|
14373
|
+
# @param [String] project
|
14374
|
+
# Project ID for this request.
|
14375
|
+
# @param [String] network
|
14376
|
+
# Name of the network resource which the updated peering is belonging to.
|
14377
|
+
# @param [Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest] networks_update_peering_request_object
|
14378
|
+
# @param [String] request_id
|
14379
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
14380
|
+
# that if you must retry your request, the server will know to ignore the
|
14381
|
+
# request if it has already been completed.
|
14382
|
+
# For example, consider a situation where you make an initial request and the
|
14383
|
+
# request times out. If you make the request again with the same request ID, the
|
14384
|
+
# server can check if original operation with the same request ID was received,
|
14385
|
+
# and if so, will ignore the second request. This prevents clients from
|
14386
|
+
# accidentally creating duplicate commitments.
|
14387
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
14388
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
14389
|
+
# @param [String] fields
|
14390
|
+
# Selector specifying which fields to include in a partial response.
|
14391
|
+
# @param [String] quota_user
|
14392
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
14393
|
+
# characters.
|
14394
|
+
# @param [String] user_ip
|
14395
|
+
# Deprecated. Please use quotaUser instead.
|
14396
|
+
# @param [Google::Apis::RequestOptions] options
|
14397
|
+
# Request-specific options
|
14398
|
+
#
|
14399
|
+
# @yield [result, err] Result & error if block supplied
|
14400
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
14401
|
+
# @yieldparam err [StandardError] error object if request failed
|
14402
|
+
#
|
14403
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
14404
|
+
#
|
14405
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14406
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14407
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14408
|
+
def update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14409
|
+
command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options)
|
14410
|
+
command.request_representation = Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest::Representation
|
14411
|
+
command.request_object = networks_update_peering_request_object
|
14412
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
14413
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
14414
|
+
command.params['project'] = project unless project.nil?
|
14415
|
+
command.params['network'] = network unless network.nil?
|
14416
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
14417
|
+
command.query['fields'] = fields unless fields.nil?
|
14418
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14419
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14420
|
+
execute_or_queue_command(command, &block)
|
14421
|
+
end
|
14422
|
+
|
14370
14423
|
# Adds specified number of nodes to the node group.
|
14371
14424
|
# @param [String] project
|
14372
14425
|
# Project ID for this request.
|
@@ -21768,18 +21821,18 @@ module Google
|
|
21768
21821
|
# Request-specific options
|
21769
21822
|
#
|
21770
21823
|
# @yield [result, err] Result & error if block supplied
|
21771
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
21824
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ResourcePolicyList] parsed result object
|
21772
21825
|
# @yieldparam err [StandardError] error object if request failed
|
21773
21826
|
#
|
21774
|
-
# @return [Google::Apis::ComputeAlpha::
|
21827
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicyList]
|
21775
21828
|
#
|
21776
21829
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
21777
21830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
21778
21831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
21779
21832
|
def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
21780
21833
|
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options)
|
21781
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
21782
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
21834
|
+
command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyList::Representation
|
21835
|
+
command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyList
|
21783
21836
|
command.params['project'] = project unless project.nil?
|
21784
21837
|
command.params['region'] = region unless region.nil?
|
21785
21838
|
command.query['filter'] = filter unless filter.nil?
|
@@ -17634,131 +17634,6 @@ module Google
|
|
17634
17634
|
end
|
17635
17635
|
end
|
17636
17636
|
|
17637
|
-
#
|
17638
|
-
class ResourcePoliciesList
|
17639
|
-
include Google::Apis::Core::Hashable
|
17640
|
-
|
17641
|
-
#
|
17642
|
-
# Corresponds to the JSON property `etag`
|
17643
|
-
# @return [String]
|
17644
|
-
attr_accessor :etag
|
17645
|
-
|
17646
|
-
# [Output Only] The unique identifier for the resource. This identifier is
|
17647
|
-
# defined by the server.
|
17648
|
-
# Corresponds to the JSON property `id`
|
17649
|
-
# @return [String]
|
17650
|
-
attr_accessor :id
|
17651
|
-
|
17652
|
-
# [Output Only] A list of ResourcePolicy resources.
|
17653
|
-
# Corresponds to the JSON property `items`
|
17654
|
-
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
|
17655
|
-
attr_accessor :items
|
17656
|
-
|
17657
|
-
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
|
17658
|
-
# resourcePolicies
|
17659
|
-
# Corresponds to the JSON property `kind`
|
17660
|
-
# @return [String]
|
17661
|
-
attr_accessor :kind
|
17662
|
-
|
17663
|
-
# [Output Only] This token allows you to get the next page of results for list
|
17664
|
-
# requests. If the number of results is larger than maxResults, use the
|
17665
|
-
# nextPageToken as a value for the query parameter pageToken in the next list
|
17666
|
-
# request. Subsequent list requests will have their own nextPageToken to
|
17667
|
-
# continue paging through the results.
|
17668
|
-
# Corresponds to the JSON property `nextPageToken`
|
17669
|
-
# @return [String]
|
17670
|
-
attr_accessor :next_page_token
|
17671
|
-
|
17672
|
-
# [Output Only] Server-defined URL for this resource.
|
17673
|
-
# Corresponds to the JSON property `selfLink`
|
17674
|
-
# @return [String]
|
17675
|
-
attr_accessor :self_link
|
17676
|
-
|
17677
|
-
# [Output Only] Informational warning message.
|
17678
|
-
# Corresponds to the JSON property `warning`
|
17679
|
-
# @return [Google::Apis::ComputeBeta::ResourcePoliciesList::Warning]
|
17680
|
-
attr_accessor :warning
|
17681
|
-
|
17682
|
-
def initialize(**args)
|
17683
|
-
update!(**args)
|
17684
|
-
end
|
17685
|
-
|
17686
|
-
# Update properties of this object
|
17687
|
-
def update!(**args)
|
17688
|
-
@etag = args[:etag] if args.key?(:etag)
|
17689
|
-
@id = args[:id] if args.key?(:id)
|
17690
|
-
@items = args[:items] if args.key?(:items)
|
17691
|
-
@kind = args[:kind] if args.key?(:kind)
|
17692
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
17693
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
17694
|
-
@warning = args[:warning] if args.key?(:warning)
|
17695
|
-
end
|
17696
|
-
|
17697
|
-
# [Output Only] Informational warning message.
|
17698
|
-
class Warning
|
17699
|
-
include Google::Apis::Core::Hashable
|
17700
|
-
|
17701
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
17702
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
17703
|
-
# Corresponds to the JSON property `code`
|
17704
|
-
# @return [String]
|
17705
|
-
attr_accessor :code
|
17706
|
-
|
17707
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
17708
|
-
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
17709
|
-
# Corresponds to the JSON property `data`
|
17710
|
-
# @return [Array<Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum>]
|
17711
|
-
attr_accessor :data
|
17712
|
-
|
17713
|
-
# [Output Only] A human-readable description of the warning code.
|
17714
|
-
# Corresponds to the JSON property `message`
|
17715
|
-
# @return [String]
|
17716
|
-
attr_accessor :message
|
17717
|
-
|
17718
|
-
def initialize(**args)
|
17719
|
-
update!(**args)
|
17720
|
-
end
|
17721
|
-
|
17722
|
-
# Update properties of this object
|
17723
|
-
def update!(**args)
|
17724
|
-
@code = args[:code] if args.key?(:code)
|
17725
|
-
@data = args[:data] if args.key?(:data)
|
17726
|
-
@message = args[:message] if args.key?(:message)
|
17727
|
-
end
|
17728
|
-
|
17729
|
-
#
|
17730
|
-
class Datum
|
17731
|
-
include Google::Apis::Core::Hashable
|
17732
|
-
|
17733
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
17734
|
-
# For example, for warnings where there are no results in a list request for a
|
17735
|
-
# particular zone, this key might be scope and the key value might be the zone
|
17736
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
17737
|
-
# suggested replacement, or a warning about invalid network settings (for
|
17738
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
17739
|
-
# for IP forwarding).
|
17740
|
-
# Corresponds to the JSON property `key`
|
17741
|
-
# @return [String]
|
17742
|
-
attr_accessor :key
|
17743
|
-
|
17744
|
-
# [Output Only] A warning data value corresponding to the key.
|
17745
|
-
# Corresponds to the JSON property `value`
|
17746
|
-
# @return [String]
|
17747
|
-
attr_accessor :value
|
17748
|
-
|
17749
|
-
def initialize(**args)
|
17750
|
-
update!(**args)
|
17751
|
-
end
|
17752
|
-
|
17753
|
-
# Update properties of this object
|
17754
|
-
def update!(**args)
|
17755
|
-
@key = args[:key] if args.key?(:key)
|
17756
|
-
@value = args[:value] if args.key?(:value)
|
17757
|
-
end
|
17758
|
-
end
|
17759
|
-
end
|
17760
|
-
end
|
17761
|
-
|
17762
17637
|
#
|
17763
17638
|
class ResourcePoliciesScopedList
|
17764
17639
|
include Google::Apis::Core::Hashable
|
@@ -18226,6 +18101,131 @@ module Google
|
|
18226
18101
|
end
|
18227
18102
|
end
|
18228
18103
|
|
18104
|
+
#
|
18105
|
+
class ResourcePolicyList
|
18106
|
+
include Google::Apis::Core::Hashable
|
18107
|
+
|
18108
|
+
#
|
18109
|
+
# Corresponds to the JSON property `etag`
|
18110
|
+
# @return [String]
|
18111
|
+
attr_accessor :etag
|
18112
|
+
|
18113
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
18114
|
+
# defined by the server.
|
18115
|
+
# Corresponds to the JSON property `id`
|
18116
|
+
# @return [String]
|
18117
|
+
attr_accessor :id
|
18118
|
+
|
18119
|
+
# [Output Only] A list of ResourcePolicy resources.
|
18120
|
+
# Corresponds to the JSON property `items`
|
18121
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
|
18122
|
+
attr_accessor :items
|
18123
|
+
|
18124
|
+
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
|
18125
|
+
# resourcePolicies
|
18126
|
+
# Corresponds to the JSON property `kind`
|
18127
|
+
# @return [String]
|
18128
|
+
attr_accessor :kind
|
18129
|
+
|
18130
|
+
# [Output Only] This token allows you to get the next page of results for list
|
18131
|
+
# requests. If the number of results is larger than maxResults, use the
|
18132
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
18133
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
18134
|
+
# continue paging through the results.
|
18135
|
+
# Corresponds to the JSON property `nextPageToken`
|
18136
|
+
# @return [String]
|
18137
|
+
attr_accessor :next_page_token
|
18138
|
+
|
18139
|
+
# [Output Only] Server-defined URL for this resource.
|
18140
|
+
# Corresponds to the JSON property `selfLink`
|
18141
|
+
# @return [String]
|
18142
|
+
attr_accessor :self_link
|
18143
|
+
|
18144
|
+
# [Output Only] Informational warning message.
|
18145
|
+
# Corresponds to the JSON property `warning`
|
18146
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyList::Warning]
|
18147
|
+
attr_accessor :warning
|
18148
|
+
|
18149
|
+
def initialize(**args)
|
18150
|
+
update!(**args)
|
18151
|
+
end
|
18152
|
+
|
18153
|
+
# Update properties of this object
|
18154
|
+
def update!(**args)
|
18155
|
+
@etag = args[:etag] if args.key?(:etag)
|
18156
|
+
@id = args[:id] if args.key?(:id)
|
18157
|
+
@items = args[:items] if args.key?(:items)
|
18158
|
+
@kind = args[:kind] if args.key?(:kind)
|
18159
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
18160
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
18161
|
+
@warning = args[:warning] if args.key?(:warning)
|
18162
|
+
end
|
18163
|
+
|
18164
|
+
# [Output Only] Informational warning message.
|
18165
|
+
class Warning
|
18166
|
+
include Google::Apis::Core::Hashable
|
18167
|
+
|
18168
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
18169
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
18170
|
+
# Corresponds to the JSON property `code`
|
18171
|
+
# @return [String]
|
18172
|
+
attr_accessor :code
|
18173
|
+
|
18174
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
18175
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
18176
|
+
# Corresponds to the JSON property `data`
|
18177
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Datum>]
|
18178
|
+
attr_accessor :data
|
18179
|
+
|
18180
|
+
# [Output Only] A human-readable description of the warning code.
|
18181
|
+
# Corresponds to the JSON property `message`
|
18182
|
+
# @return [String]
|
18183
|
+
attr_accessor :message
|
18184
|
+
|
18185
|
+
def initialize(**args)
|
18186
|
+
update!(**args)
|
18187
|
+
end
|
18188
|
+
|
18189
|
+
# Update properties of this object
|
18190
|
+
def update!(**args)
|
18191
|
+
@code = args[:code] if args.key?(:code)
|
18192
|
+
@data = args[:data] if args.key?(:data)
|
18193
|
+
@message = args[:message] if args.key?(:message)
|
18194
|
+
end
|
18195
|
+
|
18196
|
+
#
|
18197
|
+
class Datum
|
18198
|
+
include Google::Apis::Core::Hashable
|
18199
|
+
|
18200
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
18201
|
+
# For example, for warnings where there are no results in a list request for a
|
18202
|
+
# particular zone, this key might be scope and the key value might be the zone
|
18203
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
18204
|
+
# suggested replacement, or a warning about invalid network settings (for
|
18205
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
18206
|
+
# for IP forwarding).
|
18207
|
+
# Corresponds to the JSON property `key`
|
18208
|
+
# @return [String]
|
18209
|
+
attr_accessor :key
|
18210
|
+
|
18211
|
+
# [Output Only] A warning data value corresponding to the key.
|
18212
|
+
# Corresponds to the JSON property `value`
|
18213
|
+
# @return [String]
|
18214
|
+
attr_accessor :value
|
18215
|
+
|
18216
|
+
def initialize(**args)
|
18217
|
+
update!(**args)
|
18218
|
+
end
|
18219
|
+
|
18220
|
+
# Update properties of this object
|
18221
|
+
def update!(**args)
|
18222
|
+
@key = args[:key] if args.key?(:key)
|
18223
|
+
@value = args[:value] if args.key?(:value)
|
18224
|
+
end
|
18225
|
+
end
|
18226
|
+
end
|
18227
|
+
end
|
18228
|
+
|
18229
18229
|
# Time window specified for weekly operations.
|
18230
18230
|
class ResourcePolicyWeeklyCycle
|
18231
18231
|
include Google::Apis::Core::Hashable
|
@@ -2422,24 +2422,6 @@ module Google
|
|
2422
2422
|
include Google::Apis::Core::JsonObjectSupport
|
2423
2423
|
end
|
2424
2424
|
|
2425
|
-
class ResourcePoliciesList
|
2426
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2427
|
-
|
2428
|
-
class Warning
|
2429
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2430
|
-
|
2431
|
-
class Datum
|
2432
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
-
|
2434
|
-
include Google::Apis::Core::JsonObjectSupport
|
2435
|
-
end
|
2436
|
-
|
2437
|
-
include Google::Apis::Core::JsonObjectSupport
|
2438
|
-
end
|
2439
|
-
|
2440
|
-
include Google::Apis::Core::JsonObjectSupport
|
2441
|
-
end
|
2442
|
-
|
2443
2425
|
class ResourcePoliciesScopedList
|
2444
2426
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2445
2427
|
|
@@ -2518,6 +2500,24 @@ module Google
|
|
2518
2500
|
include Google::Apis::Core::JsonObjectSupport
|
2519
2501
|
end
|
2520
2502
|
|
2503
|
+
class ResourcePolicyList
|
2504
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2505
|
+
|
2506
|
+
class Warning
|
2507
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2508
|
+
|
2509
|
+
class Datum
|
2510
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2511
|
+
|
2512
|
+
include Google::Apis::Core::JsonObjectSupport
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
include Google::Apis::Core::JsonObjectSupport
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
include Google::Apis::Core::JsonObjectSupport
|
2519
|
+
end
|
2520
|
+
|
2521
2521
|
class ResourcePolicyWeeklyCycle
|
2522
2522
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2523
2523
|
|
@@ -7995,39 +7995,6 @@ module Google
|
|
7995
7995
|
end
|
7996
7996
|
end
|
7997
7997
|
|
7998
|
-
class ResourcePoliciesList
|
7999
|
-
# @private
|
8000
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
8001
|
-
property :etag, as: 'etag'
|
8002
|
-
property :id, as: 'id'
|
8003
|
-
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ResourcePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicy::Representation
|
8004
|
-
|
8005
|
-
property :kind, as: 'kind'
|
8006
|
-
property :next_page_token, as: 'nextPageToken'
|
8007
|
-
property :self_link, as: 'selfLink'
|
8008
|
-
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning, decorator: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Representation
|
8009
|
-
|
8010
|
-
end
|
8011
|
-
|
8012
|
-
class Warning
|
8013
|
-
# @private
|
8014
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
8015
|
-
property :code, as: 'code'
|
8016
|
-
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum::Representation
|
8017
|
-
|
8018
|
-
property :message, as: 'message'
|
8019
|
-
end
|
8020
|
-
|
8021
|
-
class Datum
|
8022
|
-
# @private
|
8023
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
8024
|
-
property :key, as: 'key'
|
8025
|
-
property :value, as: 'value'
|
8026
|
-
end
|
8027
|
-
end
|
8028
|
-
end
|
8029
|
-
end
|
8030
|
-
|
8031
7998
|
class ResourcePoliciesScopedList
|
8032
7999
|
# @private
|
8033
8000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8162,6 +8129,39 @@ module Google
|
|
8162
8129
|
end
|
8163
8130
|
end
|
8164
8131
|
|
8132
|
+
class ResourcePolicyList
|
8133
|
+
# @private
|
8134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8135
|
+
property :etag, as: 'etag'
|
8136
|
+
property :id, as: 'id'
|
8137
|
+
collection :items, as: 'items', class: Google::Apis::ComputeBeta::ResourcePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicy::Representation
|
8138
|
+
|
8139
|
+
property :kind, as: 'kind'
|
8140
|
+
property :next_page_token, as: 'nextPageToken'
|
8141
|
+
property :self_link, as: 'selfLink'
|
8142
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::ResourcePolicyList::Warning, decorator: Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Representation
|
8143
|
+
|
8144
|
+
end
|
8145
|
+
|
8146
|
+
class Warning
|
8147
|
+
# @private
|
8148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8149
|
+
property :code, as: 'code'
|
8150
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Datum, decorator: Google::Apis::ComputeBeta::ResourcePolicyList::Warning::Datum::Representation
|
8151
|
+
|
8152
|
+
property :message, as: 'message'
|
8153
|
+
end
|
8154
|
+
|
8155
|
+
class Datum
|
8156
|
+
# @private
|
8157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8158
|
+
property :key, as: 'key'
|
8159
|
+
property :value, as: 'value'
|
8160
|
+
end
|
8161
|
+
end
|
8162
|
+
end
|
8163
|
+
end
|
8164
|
+
|
8165
8165
|
class ResourcePolicyWeeklyCycle
|
8166
8166
|
# @private
|
8167
8167
|
class Representation < Google::Apis::Core::JsonRepresentation
|