google-api-client 0.21.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +19 -0
- data/generated/google/apis/analytics_v3/representations.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +872 -162
- data/generated/google/apis/compute_alpha/representations.rb +311 -19
- data/generated/google/apis/compute_alpha/service.rb +516 -60
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +61 -2
- data/generated/google/apis/compute_beta/representations.rb +18 -0
- data/generated/google/apis/compute_beta/service.rb +7 -8
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +199 -1
- data/generated/google/apis/compute_v1/representations.rb +81 -0
- data/generated/google/apis/compute_v1/service.rb +548 -5
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +160 -8
- data/generated/google/apis/sourcerepo_v1/representations.rb +63 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +99 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180428'
|
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'
|
@@ -2936,7 +2936,7 @@ module Google
|
|
2936
2936
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
2937
2937
|
# authenticated with a Google account or a service account.
|
2938
2938
|
# * `user:`emailid``: An email address that represents a specific Google account.
|
2939
|
-
# For example, `alice@gmail.com`
|
2939
|
+
# For example, `alice@gmail.com` .
|
2940
2940
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
2941
2941
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
2942
2942
|
# * `group:`emailid``: An email address that represents a Google group. For
|
@@ -4289,6 +4289,13 @@ module Google
|
|
4289
4289
|
# @return [String]
|
4290
4290
|
attr_accessor :name
|
4291
4291
|
|
4292
|
+
# [Output Only] URL of the region where the disk type resides. Only applicable
|
4293
|
+
# for regional resources. You must specify this field as part of the HTTP
|
4294
|
+
# request URL. It is not settable as a field in the request body.
|
4295
|
+
# Corresponds to the JSON property `region`
|
4296
|
+
# @return [String]
|
4297
|
+
attr_accessor :region
|
4298
|
+
|
4292
4299
|
# [Output Only] Server-defined URL for the resource.
|
4293
4300
|
# Corresponds to the JSON property `selfLink`
|
4294
4301
|
# @return [String]
|
@@ -4320,6 +4327,7 @@ module Google
|
|
4320
4327
|
@id = args[:id] if args.key?(:id)
|
4321
4328
|
@kind = args[:kind] if args.key?(:kind)
|
4322
4329
|
@name = args[:name] if args.key?(:name)
|
4330
|
+
@region = args[:region] if args.key?(:region)
|
4323
4331
|
@self_link = args[:self_link] if args.key?(:self_link)
|
4324
4332
|
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
4325
4333
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -12861,7 +12869,8 @@ module Google
|
|
12861
12869
|
class Operation
|
12862
12870
|
include Google::Apis::Core::Hashable
|
12863
12871
|
|
12864
|
-
# [Output Only]
|
12872
|
+
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
12873
|
+
# present otherwise.
|
12865
12874
|
# Corresponds to the JSON property `clientOperationId`
|
12866
12875
|
# @return [String]
|
12867
12876
|
attr_accessor :client_operation_id
|
@@ -14967,6 +14976,56 @@ module Google
|
|
14967
14976
|
end
|
14968
14977
|
end
|
14969
14978
|
|
14979
|
+
#
|
14980
|
+
class RegionSetPolicyRequest
|
14981
|
+
include Google::Apis::Core::Hashable
|
14982
|
+
|
14983
|
+
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
14984
|
+
# policy' to specify bindings.
|
14985
|
+
# Corresponds to the JSON property `bindings`
|
14986
|
+
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
14987
|
+
attr_accessor :bindings
|
14988
|
+
|
14989
|
+
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
14990
|
+
# policy' to specify the etag.
|
14991
|
+
# Corresponds to the JSON property `etag`
|
14992
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
14993
|
+
# @return [String]
|
14994
|
+
attr_accessor :etag
|
14995
|
+
|
14996
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
14997
|
+
# access control policies for Cloud Platform resources.
|
14998
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
14999
|
+
# members` to a `role`, where the members can be user accounts, Google groups,
|
15000
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
15001
|
+
# defined by IAM.
|
15002
|
+
# **JSON Example**
|
15003
|
+
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
15004
|
+
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
15005
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
15006
|
+
# sean@example.com"] ` ] `
|
15007
|
+
# **YAML Example**
|
15008
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
15009
|
+
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
15010
|
+
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
15011
|
+
# For a description of IAM and its features, see the [IAM developer's guide](
|
15012
|
+
# https://cloud.google.com/iam/docs).
|
15013
|
+
# Corresponds to the JSON property `policy`
|
15014
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
15015
|
+
attr_accessor :policy
|
15016
|
+
|
15017
|
+
def initialize(**args)
|
15018
|
+
update!(**args)
|
15019
|
+
end
|
15020
|
+
|
15021
|
+
# Update properties of this object
|
15022
|
+
def update!(**args)
|
15023
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
15024
|
+
@etag = args[:etag] if args.key?(:etag)
|
15025
|
+
@policy = args[:policy] if args.key?(:policy)
|
15026
|
+
end
|
15027
|
+
end
|
15028
|
+
|
14970
15029
|
# Commitment for a particular resource (a Commitment is composed of one or more
|
14971
15030
|
# of these).
|
14972
15031
|
class ResourceCommitment
|
@@ -2008,6 +2008,12 @@ module Google
|
|
2008
2008
|
include Google::Apis::Core::JsonObjectSupport
|
2009
2009
|
end
|
2010
2010
|
|
2011
|
+
class RegionSetPolicyRequest
|
2012
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2013
|
+
|
2014
|
+
include Google::Apis::Core::JsonObjectSupport
|
2015
|
+
end
|
2016
|
+
|
2011
2017
|
class ResourceCommitment
|
2012
2018
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2013
2019
|
|
@@ -4035,6 +4041,7 @@ module Google
|
|
4035
4041
|
property :id, :numeric_string => true, as: 'id'
|
4036
4042
|
property :kind, as: 'kind'
|
4037
4043
|
property :name, as: 'name'
|
4044
|
+
property :region, as: 'region'
|
4038
4045
|
property :self_link, as: 'selfLink'
|
4039
4046
|
property :valid_disk_size, as: 'validDiskSize'
|
4040
4047
|
property :zone, as: 'zone'
|
@@ -6707,6 +6714,17 @@ module Google
|
|
6707
6714
|
end
|
6708
6715
|
end
|
6709
6716
|
|
6717
|
+
class RegionSetPolicyRequest
|
6718
|
+
# @private
|
6719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6720
|
+
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
|
6721
|
+
|
6722
|
+
property :etag, :base64 => true, as: 'etag'
|
6723
|
+
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
|
6724
|
+
|
6725
|
+
end
|
6726
|
+
end
|
6727
|
+
|
6710
6728
|
class ResourceCommitment
|
6711
6729
|
# @private
|
6712
6730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -122,8 +122,7 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
-
# Returns the specified accelerator type.
|
126
|
-
# types by making a list() request.
|
125
|
+
# Returns the specified accelerator type.
|
127
126
|
# @param [String] project
|
128
127
|
# Project ID for this request.
|
129
128
|
# @param [String] zone
|
@@ -9878,7 +9877,7 @@ module Google
|
|
9878
9877
|
execute_or_queue_command(command, &block)
|
9879
9878
|
end
|
9880
9879
|
|
9881
|
-
# Returns the specified interconnect.
|
9880
|
+
# Returns the specified interconnect. Get a list of available interconnects by
|
9882
9881
|
# making a list() request.
|
9883
9882
|
# @param [String] project
|
9884
9883
|
# Project ID for this request.
|
@@ -10338,7 +10337,7 @@ module Google
|
|
10338
10337
|
|
10339
10338
|
# Retrieves the list of licenses available in the specified project. This method
|
10340
10339
|
# does not get any licenses that belong to other projects, including licenses
|
10341
|
-
# attached to publicly-available images, like Debian
|
10340
|
+
# attached to publicly-available images, like Debian 9. If you want to get a
|
10342
10341
|
# list of publicly-available licenses, use this method to make a request to the
|
10343
10342
|
# respective image project, such as debian-cloud or windows-cloud.
|
10344
10343
|
# @param [String] project
|
@@ -17185,7 +17184,7 @@ module Google
|
|
17185
17184
|
# The name of the region for this request.
|
17186
17185
|
# @param [String] resource
|
17187
17186
|
# Name of the resource for this request.
|
17188
|
-
# @param [Google::Apis::ComputeBeta::
|
17187
|
+
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
17189
17188
|
# @param [String] fields
|
17190
17189
|
# Selector specifying which fields to include in a partial response.
|
17191
17190
|
# @param [String] quota_user
|
@@ -17205,10 +17204,10 @@ module Google
|
|
17205
17204
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17206
17205
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17207
17206
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17208
|
-
def set_subnetwork_iam_policy(project, region, resource,
|
17207
|
+
def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
17209
17208
|
command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options)
|
17210
|
-
command.request_representation = Google::Apis::ComputeBeta::
|
17211
|
-
command.request_object =
|
17209
|
+
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
17210
|
+
command.request_object = region_set_policy_request_object
|
17212
17211
|
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
17213
17212
|
command.response_class = Google::Apis::ComputeBeta::Policy
|
17214
17213
|
command.params['project'] = project unless project.nil?
|
@@ -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 = '20180428'
|
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'
|
@@ -3398,6 +3398,19 @@ module Google
|
|
3398
3398
|
# @return [String]
|
3399
3399
|
attr_accessor :options
|
3400
3400
|
|
3401
|
+
# [Output Only] URL of the region where the disk resides. Only applicable for
|
3402
|
+
# regional resources. You must specify this field as part of the HTTP request
|
3403
|
+
# URL. It is not settable as a field in the request body.
|
3404
|
+
# Corresponds to the JSON property `region`
|
3405
|
+
# @return [String]
|
3406
|
+
attr_accessor :region
|
3407
|
+
|
3408
|
+
# URLs of the zones where the disk should be replicated to. Only applicable for
|
3409
|
+
# regional resources.
|
3410
|
+
# Corresponds to the JSON property `replicaZones`
|
3411
|
+
# @return [Array<String>]
|
3412
|
+
attr_accessor :replica_zones
|
3413
|
+
|
3401
3414
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
3402
3415
|
# Corresponds to the JSON property `selfLink`
|
3403
3416
|
# @return [String]
|
@@ -3516,6 +3529,8 @@ module Google
|
|
3516
3529
|
@licenses = args[:licenses] if args.key?(:licenses)
|
3517
3530
|
@name = args[:name] if args.key?(:name)
|
3518
3531
|
@options = args[:options] if args.key?(:options)
|
3532
|
+
@region = args[:region] if args.key?(:region)
|
3533
|
+
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
3519
3534
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3520
3535
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
3521
3536
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -3840,6 +3855,13 @@ module Google
|
|
3840
3855
|
# @return [String]
|
3841
3856
|
attr_accessor :name
|
3842
3857
|
|
3858
|
+
# [Output Only] URL of the region where the disk type resides. Only applicable
|
3859
|
+
# for regional resources. You must specify this field as part of the HTTP
|
3860
|
+
# request URL. It is not settable as a field in the request body.
|
3861
|
+
# Corresponds to the JSON property `region`
|
3862
|
+
# @return [String]
|
3863
|
+
attr_accessor :region
|
3864
|
+
|
3843
3865
|
# [Output Only] Server-defined URL for the resource.
|
3844
3866
|
# Corresponds to the JSON property `selfLink`
|
3845
3867
|
# @return [String]
|
@@ -3871,6 +3893,7 @@ module Google
|
|
3871
3893
|
@id = args[:id] if args.key?(:id)
|
3872
3894
|
@kind = args[:kind] if args.key?(:kind)
|
3873
3895
|
@name = args[:name] if args.key?(:name)
|
3896
|
+
@region = args[:region] if args.key?(:region)
|
3874
3897
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3875
3898
|
@valid_disk_size = args[:valid_disk_size] if args.key?(:valid_disk_size)
|
3876
3899
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -11537,7 +11560,8 @@ module Google
|
|
11537
11560
|
class Operation
|
11538
11561
|
include Google::Apis::Core::Hashable
|
11539
11562
|
|
11540
|
-
# [Output Only]
|
11563
|
+
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
11564
|
+
# present otherwise.
|
11541
11565
|
# Corresponds to the JSON property `clientOperationId`
|
11542
11566
|
# @return [String]
|
11543
11567
|
attr_accessor :client_operation_id
|
@@ -12680,6 +12704,143 @@ module Google
|
|
12680
12704
|
end
|
12681
12705
|
end
|
12682
12706
|
|
12707
|
+
#
|
12708
|
+
class RegionDiskTypeList
|
12709
|
+
include Google::Apis::Core::Hashable
|
12710
|
+
|
12711
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
12712
|
+
# Corresponds to the JSON property `id`
|
12713
|
+
# @return [String]
|
12714
|
+
attr_accessor :id
|
12715
|
+
|
12716
|
+
# A list of DiskType resources.
|
12717
|
+
# Corresponds to the JSON property `items`
|
12718
|
+
# @return [Array<Google::Apis::ComputeV1::DiskType>]
|
12719
|
+
attr_accessor :items
|
12720
|
+
|
12721
|
+
# [Output Only] Type of resource. Always compute#regionDiskTypeList for region
|
12722
|
+
# disk types.
|
12723
|
+
# Corresponds to the JSON property `kind`
|
12724
|
+
# @return [String]
|
12725
|
+
attr_accessor :kind
|
12726
|
+
|
12727
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12728
|
+
# requests. If the number of results is larger than maxResults, use the
|
12729
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12730
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12731
|
+
# continue paging through the results.
|
12732
|
+
# Corresponds to the JSON property `nextPageToken`
|
12733
|
+
# @return [String]
|
12734
|
+
attr_accessor :next_page_token
|
12735
|
+
|
12736
|
+
# [Output Only] Server-defined URL for this resource.
|
12737
|
+
# Corresponds to the JSON property `selfLink`
|
12738
|
+
# @return [String]
|
12739
|
+
attr_accessor :self_link
|
12740
|
+
|
12741
|
+
# [Output Only] Informational warning message.
|
12742
|
+
# Corresponds to the JSON property `warning`
|
12743
|
+
# @return [Google::Apis::ComputeV1::RegionDiskTypeList::Warning]
|
12744
|
+
attr_accessor :warning
|
12745
|
+
|
12746
|
+
def initialize(**args)
|
12747
|
+
update!(**args)
|
12748
|
+
end
|
12749
|
+
|
12750
|
+
# Update properties of this object
|
12751
|
+
def update!(**args)
|
12752
|
+
@id = args[:id] if args.key?(:id)
|
12753
|
+
@items = args[:items] if args.key?(:items)
|
12754
|
+
@kind = args[:kind] if args.key?(:kind)
|
12755
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12756
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12757
|
+
@warning = args[:warning] if args.key?(:warning)
|
12758
|
+
end
|
12759
|
+
|
12760
|
+
# [Output Only] Informational warning message.
|
12761
|
+
class Warning
|
12762
|
+
include Google::Apis::Core::Hashable
|
12763
|
+
|
12764
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12765
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12766
|
+
# Corresponds to the JSON property `code`
|
12767
|
+
# @return [String]
|
12768
|
+
attr_accessor :code
|
12769
|
+
|
12770
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12771
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12772
|
+
# Corresponds to the JSON property `data`
|
12773
|
+
# @return [Array<Google::Apis::ComputeV1::RegionDiskTypeList::Warning::Datum>]
|
12774
|
+
attr_accessor :data
|
12775
|
+
|
12776
|
+
# [Output Only] A human-readable description of the warning code.
|
12777
|
+
# Corresponds to the JSON property `message`
|
12778
|
+
# @return [String]
|
12779
|
+
attr_accessor :message
|
12780
|
+
|
12781
|
+
def initialize(**args)
|
12782
|
+
update!(**args)
|
12783
|
+
end
|
12784
|
+
|
12785
|
+
# Update properties of this object
|
12786
|
+
def update!(**args)
|
12787
|
+
@code = args[:code] if args.key?(:code)
|
12788
|
+
@data = args[:data] if args.key?(:data)
|
12789
|
+
@message = args[:message] if args.key?(:message)
|
12790
|
+
end
|
12791
|
+
|
12792
|
+
#
|
12793
|
+
class Datum
|
12794
|
+
include Google::Apis::Core::Hashable
|
12795
|
+
|
12796
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12797
|
+
# For example, for warnings where there are no results in a list request for a
|
12798
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12799
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12800
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12801
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12802
|
+
# for IP forwarding).
|
12803
|
+
# Corresponds to the JSON property `key`
|
12804
|
+
# @return [String]
|
12805
|
+
attr_accessor :key
|
12806
|
+
|
12807
|
+
# [Output Only] A warning data value corresponding to the key.
|
12808
|
+
# Corresponds to the JSON property `value`
|
12809
|
+
# @return [String]
|
12810
|
+
attr_accessor :value
|
12811
|
+
|
12812
|
+
def initialize(**args)
|
12813
|
+
update!(**args)
|
12814
|
+
end
|
12815
|
+
|
12816
|
+
# Update properties of this object
|
12817
|
+
def update!(**args)
|
12818
|
+
@key = args[:key] if args.key?(:key)
|
12819
|
+
@value = args[:value] if args.key?(:value)
|
12820
|
+
end
|
12821
|
+
end
|
12822
|
+
end
|
12823
|
+
end
|
12824
|
+
|
12825
|
+
#
|
12826
|
+
class RegionDisksResizeRequest
|
12827
|
+
include Google::Apis::Core::Hashable
|
12828
|
+
|
12829
|
+
# The new size of the regional persistent disk, which is specified in GB.
|
12830
|
+
# Corresponds to the JSON property `sizeGb`
|
12831
|
+
# @return [Fixnum]
|
12832
|
+
attr_accessor :size_gb
|
12833
|
+
|
12834
|
+
def initialize(**args)
|
12835
|
+
update!(**args)
|
12836
|
+
end
|
12837
|
+
|
12838
|
+
# Update properties of this object
|
12839
|
+
def update!(**args)
|
12840
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
12841
|
+
end
|
12842
|
+
end
|
12843
|
+
|
12683
12844
|
# Contains a list of InstanceGroup resources.
|
12684
12845
|
class RegionInstanceGroupList
|
12685
12846
|
include Google::Apis::Core::Hashable
|
@@ -13338,6 +13499,36 @@ module Google
|
|
13338
13499
|
end
|
13339
13500
|
end
|
13340
13501
|
|
13502
|
+
#
|
13503
|
+
class RegionSetLabelsRequest
|
13504
|
+
include Google::Apis::Core::Hashable
|
13505
|
+
|
13506
|
+
# The fingerprint of the previous set of labels for this resource, used to
|
13507
|
+
# detect conflicts. The fingerprint is initially generated by Compute Engine and
|
13508
|
+
# changes after every request to modify or update labels. You must always
|
13509
|
+
# provide an up-to-date fingerprint hash in order to update or change labels.
|
13510
|
+
# Make a get() request to the resource to get the latest fingerprint.
|
13511
|
+
# Corresponds to the JSON property `labelFingerprint`
|
13512
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
13513
|
+
# @return [String]
|
13514
|
+
attr_accessor :label_fingerprint
|
13515
|
+
|
13516
|
+
# The labels to set for this resource.
|
13517
|
+
# Corresponds to the JSON property `labels`
|
13518
|
+
# @return [Hash<String,String>]
|
13519
|
+
attr_accessor :labels
|
13520
|
+
|
13521
|
+
def initialize(**args)
|
13522
|
+
update!(**args)
|
13523
|
+
end
|
13524
|
+
|
13525
|
+
# Update properties of this object
|
13526
|
+
def update!(**args)
|
13527
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
13528
|
+
@labels = args[:labels] if args.key?(:labels)
|
13529
|
+
end
|
13530
|
+
end
|
13531
|
+
|
13341
13532
|
# Commitment for a particular resource (a Commitment is composed of one or more
|
13342
13533
|
# of these).
|
13343
13534
|
class ResourceCommitment
|
@@ -15446,6 +15637,12 @@ module Google
|
|
15446
15637
|
# @return [String]
|
15447
15638
|
attr_accessor :description
|
15448
15639
|
|
15640
|
+
# Whether to enable flow logging for this subnetwork.
|
15641
|
+
# Corresponds to the JSON property `enableFlowLogs`
|
15642
|
+
# @return [Boolean]
|
15643
|
+
attr_accessor :enable_flow_logs
|
15644
|
+
alias_method :enable_flow_logs?, :enable_flow_logs
|
15645
|
+
|
15449
15646
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
15450
15647
|
# This field is used in optimistic locking. This field will be ignored when
|
15451
15648
|
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
|
@@ -15534,6 +15731,7 @@ module Google
|
|
15534
15731
|
def update!(**args)
|
15535
15732
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
15536
15733
|
@description = args[:description] if args.key?(:description)
|
15734
|
+
@enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
|
15537
15735
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
15538
15736
|
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
15539
15737
|
@id = args[:id] if args.key?(:id)
|