google-api-client 0.9.3 → 0.9.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 +5 -0
- data/README.md +28 -3
- data/api_names.yaml +1 -0
- data/api_names_out.yaml +418 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +2 -3
- data/generated/google/apis/adsense_v1_4/service.rb +1 -2
- data/generated/google/apis/adsensehost_v4_1.rb +3 -3
- data/generated/google/apis/adsensehost_v4_1/service.rb +2 -2
- data/generated/google/apis/analytics_v3.rb +2 -2
- data/generated/google/apis/analytics_v3/classes.rb +42 -0
- data/generated/google/apis/analytics_v3/representations.rb +6 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +16 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +2 -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 +200 -13
- data/generated/google/apis/bigquery_v2/representations.rb +54 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +2 -3
- data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -2
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -1
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +26 -6
- data/generated/google/apis/cloudlatencytest_v2.rb +2 -2
- data/generated/google/apis/cloudlatencytest_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +2 -2
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +355 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +181 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +373 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta.rb +3 -2
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +52 -30
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +1 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +110 -57
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +324 -101
- data/generated/google/apis/compute_beta/representations.rb +78 -0
- data/generated/google/apis/compute_beta/service.rb +1599 -208
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +96 -79
- data/generated/google/apis/compute_v1/service.rb +199 -169
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +10 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.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/games_v1/classes.rb +9 -2
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +4 -5
- data/generated/google/apis/genomics_v1/classes.rb +51 -0
- data/generated/google/apis/genomics_v1/representations.rb +17 -0
- data/generated/google/apis/genomics_v1/service.rb +44 -8
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/classes.rb +19 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +43 -2
- data/generated/google/apis/iam_v1.rb +36 -0
- data/generated/google/apis/iam_v1/classes.rb +665 -0
- data/generated/google/apis/iam_v1/representations.rb +325 -0
- data/generated/google/apis/iam_v1/service.rb +520 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +306 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +85 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +42 -1
- data/generated/google/apis/pagespeedonline_v2.rb +2 -2
- data/generated/google/apis/pagespeedonline_v2/service.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/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/qpx_express_v1.rb +2 -2
- data/generated/google/apis/qpx_express_v1/service.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +2 -3
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -2
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +2 -2
- data/generated/google/apis/site_verification_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +2 -2
- data/generated/google/apis/tagmanager_v1/service.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 +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +1 -2
- data/generated/google/apis/youtubereporting_v1/service.rb +4 -4
- data/lib/google/apis/core/base_service.rb +84 -6
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -0
- data/spec/google/apis/core/service_spec.rb +66 -0
- metadata +10 -2
@@ -236,6 +236,7 @@ module Google
|
|
236
236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
237
237
|
property :client_operation_id, as: 'clientOperationId'
|
238
238
|
property :creation_timestamp, as: 'creationTimestamp'
|
239
|
+
property :description, as: 'description'
|
239
240
|
property :end_time, as: 'endTime'
|
240
241
|
property :error, as: 'error', class: Google::Apis::ClouduseraccountsBeta::Operation::Error, decorator: Google::Apis::ClouduseraccountsBeta::Operation::Error::Representation
|
241
242
|
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module ClouduseraccountsBeta
|
23
23
|
# Cloud User Accounts API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Creates and manages users and groups for accessing Google Compute Engine
|
26
|
+
# virtual machines.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/clouduseraccounts_beta'
|
@@ -132,18 +133,32 @@ module Google
|
|
132
133
|
# Project ID for this request.
|
133
134
|
# @param [String] filter
|
134
135
|
# Sets a filter expression for filtering listed resources, in the form filter=`
|
135
|
-
# expression`. Your `expression` must be in the format:
|
136
|
-
#
|
137
|
-
# The
|
138
|
-
# types are supported (string, number, boolean). The
|
139
|
-
# either eq (equals) or ne (not equals). The
|
140
|
-
# to filter to. The literal value must be valid for the type of field
|
141
|
-
# number, boolean). For string fields, the literal value
|
142
|
-
# regular expression using RE2 syntax. The literal value
|
143
|
-
# field.
|
144
|
-
# For example, filter
|
136
|
+
# expression`. Your `expression` must be in the format: field_name
|
137
|
+
# comparison_string literal_string.
|
138
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
139
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
140
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
141
|
+
# to filter to. The literal value must be valid for the type of field you are
|
142
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
143
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
144
|
+
# must match the entire field.
|
145
|
+
# For example, to filter for instances that do not have a name of example-
|
146
|
+
# instance, you would use filter=name ne example-instance.
|
147
|
+
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
148
|
+
# also filter on nested fields. For example, you could filter on instances that
|
149
|
+
# have set the scheduling.automaticRestart field to true. In particular, use
|
150
|
+
# filtering on nested fields to take advantage of instance labels to organize
|
151
|
+
# and filter results based on label values.
|
152
|
+
# The Beta API also supports filtering on multiple expressions by providing each
|
153
|
+
# separate expression within parentheses. For example, (scheduling.
|
154
|
+
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
155
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
156
|
+
# to pass the filters.
|
145
157
|
# @param [Fixnum] max_results
|
146
|
-
#
|
158
|
+
# The maximum number of results per page that should be returned. If the number
|
159
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
160
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
161
|
+
# list requests.
|
147
162
|
# @param [String] order_by
|
148
163
|
# Sorts list results by a certain order. By default, results are returned in
|
149
164
|
# alphanumerical order based on the resource name.
|
@@ -154,9 +169,8 @@ module Google
|
|
154
169
|
# returned first.
|
155
170
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
156
171
|
# @param [String] page_token
|
157
|
-
# Specifies a page token to use.
|
158
|
-
#
|
159
|
-
# list request.
|
172
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
173
|
+
# a previous list request to get the next page of results.
|
160
174
|
# @param [String] fields
|
161
175
|
# Selector specifying which fields to include in a partial response.
|
162
176
|
# @param [String] quota_user
|
@@ -354,18 +368,32 @@ module Google
|
|
354
368
|
# Project ID for this request.
|
355
369
|
# @param [String] filter
|
356
370
|
# Sets a filter expression for filtering listed resources, in the form filter=`
|
357
|
-
# expression`. Your `expression` must be in the format:
|
358
|
-
#
|
359
|
-
# The
|
360
|
-
# types are supported (string, number, boolean). The
|
361
|
-
# either eq (equals) or ne (not equals). The
|
362
|
-
# to filter to. The literal value must be valid for the type of field
|
363
|
-
# number, boolean). For string fields, the literal value
|
364
|
-
# regular expression using RE2 syntax. The literal value
|
365
|
-
# field.
|
366
|
-
# For example, filter
|
371
|
+
# expression`. Your `expression` must be in the format: field_name
|
372
|
+
# comparison_string literal_string.
|
373
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
374
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
375
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
376
|
+
# to filter to. The literal value must be valid for the type of field you are
|
377
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
378
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
379
|
+
# must match the entire field.
|
380
|
+
# For example, to filter for instances that do not have a name of example-
|
381
|
+
# instance, you would use filter=name ne example-instance.
|
382
|
+
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
383
|
+
# also filter on nested fields. For example, you could filter on instances that
|
384
|
+
# have set the scheduling.automaticRestart field to true. In particular, use
|
385
|
+
# filtering on nested fields to take advantage of instance labels to organize
|
386
|
+
# and filter results based on label values.
|
387
|
+
# The Beta API also supports filtering on multiple expressions by providing each
|
388
|
+
# separate expression within parentheses. For example, (scheduling.
|
389
|
+
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
390
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
391
|
+
# to pass the filters.
|
367
392
|
# @param [Fixnum] max_results
|
368
|
-
#
|
393
|
+
# The maximum number of results per page that should be returned. If the number
|
394
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
395
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
396
|
+
# list requests.
|
369
397
|
# @param [String] order_by
|
370
398
|
# Sorts list results by a certain order. By default, results are returned in
|
371
399
|
# alphanumerical order based on the resource name.
|
@@ -376,9 +404,8 @@ module Google
|
|
376
404
|
# returned first.
|
377
405
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
378
406
|
# @param [String] page_token
|
379
|
-
# Specifies a page token to use.
|
380
|
-
#
|
381
|
-
# list request.
|
407
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
408
|
+
# a previous list request to get the next page of results.
|
382
409
|
# @param [String] fields
|
383
410
|
# Selector specifying which fields to include in a partial response.
|
384
411
|
# @param [String] quota_user
|
@@ -512,18 +539,32 @@ module Google
|
|
512
539
|
# The fully-qualified URL of the virtual machine requesting the views.
|
513
540
|
# @param [String] filter
|
514
541
|
# Sets a filter expression for filtering listed resources, in the form filter=`
|
515
|
-
# expression`. Your `expression` must be in the format:
|
516
|
-
#
|
517
|
-
# The
|
518
|
-
# types are supported (string, number, boolean). The
|
519
|
-
# either eq (equals) or ne (not equals). The
|
520
|
-
# to filter to. The literal value must be valid for the type of field
|
521
|
-
# number, boolean). For string fields, the literal value
|
522
|
-
# regular expression using RE2 syntax. The literal value
|
523
|
-
# field.
|
524
|
-
# For example, filter
|
542
|
+
# expression`. Your `expression` must be in the format: field_name
|
543
|
+
# comparison_string literal_string.
|
544
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
545
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
546
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
547
|
+
# to filter to. The literal value must be valid for the type of field you are
|
548
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
549
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
550
|
+
# must match the entire field.
|
551
|
+
# For example, to filter for instances that do not have a name of example-
|
552
|
+
# instance, you would use filter=name ne example-instance.
|
553
|
+
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
554
|
+
# also filter on nested fields. For example, you could filter on instances that
|
555
|
+
# have set the scheduling.automaticRestart field to true. In particular, use
|
556
|
+
# filtering on nested fields to take advantage of instance labels to organize
|
557
|
+
# and filter results based on label values.
|
558
|
+
# The Beta API also supports filtering on multiple expressions by providing each
|
559
|
+
# separate expression within parentheses. For example, (scheduling.
|
560
|
+
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
561
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
562
|
+
# to pass the filters.
|
525
563
|
# @param [Fixnum] max_results
|
526
|
-
#
|
564
|
+
# The maximum number of results per page that should be returned. If the number
|
565
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
566
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
567
|
+
# list requests.
|
527
568
|
# @param [String] order_by
|
528
569
|
# Sorts list results by a certain order. By default, results are returned in
|
529
570
|
# alphanumerical order based on the resource name.
|
@@ -534,9 +575,8 @@ module Google
|
|
534
575
|
# returned first.
|
535
576
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
536
577
|
# @param [String] page_token
|
537
|
-
# Specifies a page token to use.
|
538
|
-
#
|
539
|
-
# list request.
|
578
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
579
|
+
# a previous list request to get the next page of results.
|
540
580
|
# @param [String] fields
|
541
581
|
# Selector specifying which fields to include in a partial response.
|
542
582
|
# @param [String] quota_user
|
@@ -737,18 +777,32 @@ module Google
|
|
737
777
|
# Project ID for this request.
|
738
778
|
# @param [String] filter
|
739
779
|
# Sets a filter expression for filtering listed resources, in the form filter=`
|
740
|
-
# expression`. Your `expression` must be in the format:
|
741
|
-
#
|
742
|
-
# The
|
743
|
-
# types are supported (string, number, boolean). The
|
744
|
-
# either eq (equals) or ne (not equals). The
|
745
|
-
# to filter to. The literal value must be valid for the type of field
|
746
|
-
# number, boolean). For string fields, the literal value
|
747
|
-
# regular expression using RE2 syntax. The literal value
|
748
|
-
# field.
|
749
|
-
# For example, filter
|
780
|
+
# expression`. Your `expression` must be in the format: field_name
|
781
|
+
# comparison_string literal_string.
|
782
|
+
# The field_name is the name of the field you want to compare. Only atomic field
|
783
|
+
# types are supported (string, number, boolean). The comparison_string must be
|
784
|
+
# either eq (equals) or ne (not equals). The literal_string is the string value
|
785
|
+
# to filter to. The literal value must be valid for the type of field you are
|
786
|
+
# filtering by (string, number, boolean). For string fields, the literal value
|
787
|
+
# is interpreted as a regular expression using RE2 syntax. The literal value
|
788
|
+
# must match the entire field.
|
789
|
+
# For example, to filter for instances that do not have a name of example-
|
790
|
+
# instance, you would use filter=name ne example-instance.
|
791
|
+
# Compute Engine Beta API Only: If you use filtering in the Beta API, you can
|
792
|
+
# also filter on nested fields. For example, you could filter on instances that
|
793
|
+
# have set the scheduling.automaticRestart field to true. In particular, use
|
794
|
+
# filtering on nested fields to take advantage of instance labels to organize
|
795
|
+
# and filter results based on label values.
|
796
|
+
# The Beta API also supports filtering on multiple expressions by providing each
|
797
|
+
# separate expression within parentheses. For example, (scheduling.
|
798
|
+
# automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are
|
799
|
+
# treated as AND expressions, meaning that resources must match all expressions
|
800
|
+
# to pass the filters.
|
750
801
|
# @param [Fixnum] max_results
|
751
|
-
#
|
802
|
+
# The maximum number of results per page that should be returned. If the number
|
803
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
804
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
805
|
+
# list requests.
|
752
806
|
# @param [String] order_by
|
753
807
|
# Sorts list results by a certain order. By default, results are returned in
|
754
808
|
# alphanumerical order based on the resource name.
|
@@ -759,9 +813,8 @@ module Google
|
|
759
813
|
# returned first.
|
760
814
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
761
815
|
# @param [String] page_token
|
762
|
-
# Specifies a page token to use.
|
763
|
-
#
|
764
|
-
# list request.
|
816
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
817
|
+
# a previous list request to get the next page of results.
|
765
818
|
# @param [String] fields
|
766
819
|
# Selector specifying which fields to include in a partial response.
|
767
820
|
# @param [String] quota_user
|
@@ -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 = '20160302'
|
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'
|
@@ -95,7 +95,7 @@ module Google
|
|
95
95
|
# @return [String]
|
96
96
|
attr_accessor :kind
|
97
97
|
|
98
|
-
# Name of the resource
|
98
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
99
99
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
100
100
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
101
101
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -310,7 +310,7 @@ module Google
|
|
310
310
|
# [Output Only] A key that provides more detail on the warning being returned.
|
311
311
|
# For example, for warnings where there are no results in a list request for a
|
312
312
|
# particular zone, this key might be scope and the key value might be the zone
|
313
|
-
# name. Other examples might be a key indicating a deprecated resource
|
313
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
314
314
|
# suggested replacement, or a warning about invalid network settings (for
|
315
315
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
316
316
|
# for IP forwarding).
|
@@ -465,7 +465,7 @@ module Google
|
|
465
465
|
# @return [String]
|
466
466
|
attr_accessor :disk_size_gb
|
467
467
|
|
468
|
-
# Storage type of the disk.
|
468
|
+
# [Deprecated] Storage type of the disk.
|
469
469
|
# Corresponds to the JSON property `diskStorageType`
|
470
470
|
# @return [String]
|
471
471
|
attr_accessor :disk_storage_type
|
@@ -519,7 +519,10 @@ module Google
|
|
519
519
|
end
|
520
520
|
end
|
521
521
|
|
522
|
-
#
|
522
|
+
# Represents an Autoscaler resource. Autoscalers allow you to automatically
|
523
|
+
# scale virtual machine instances in managed instance groups according to an
|
524
|
+
# autoscaling policy that you define. For more information, read Autoscaling
|
525
|
+
# Groups of Instances.
|
523
526
|
class Autoscaler
|
524
527
|
include Google::Apis::Core::Hashable
|
525
528
|
|
@@ -545,7 +548,7 @@ module Google
|
|
545
548
|
# @return [String]
|
546
549
|
attr_accessor :id
|
547
550
|
|
548
|
-
# Type of the resource.
|
551
|
+
# [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
|
549
552
|
# Corresponds to the JSON property `kind`
|
550
553
|
# @return [String]
|
551
554
|
attr_accessor :kind
|
@@ -565,8 +568,7 @@ module Google
|
|
565
568
|
# @return [String]
|
566
569
|
attr_accessor :self_link
|
567
570
|
|
568
|
-
# URL of
|
569
|
-
# Autoscaler.
|
571
|
+
# URL of the managed instance group that this autoscaler will scale.
|
570
572
|
# Corresponds to the JSON property `target`
|
571
573
|
# @return [String]
|
572
574
|
attr_accessor :target
|
@@ -609,7 +611,8 @@ module Google
|
|
609
611
|
# @return [Hash<String,Google::Apis::ComputeBeta::AutoscalersScopedList>]
|
610
612
|
attr_accessor :items
|
611
613
|
|
612
|
-
# Type of resource.
|
614
|
+
# [Output Only] Type of resource. Always compute#autoscalerAggregatedList for
|
615
|
+
# aggregated lists of autoscalers.
|
613
616
|
# Corresponds to the JSON property `kind`
|
614
617
|
# @return [String]
|
615
618
|
attr_accessor :kind
|
@@ -642,7 +645,7 @@ module Google
|
|
642
645
|
end
|
643
646
|
end
|
644
647
|
|
645
|
-
# Contains a list of
|
648
|
+
# Contains a list of Autoscaler resources.
|
646
649
|
class AutoscalerList
|
647
650
|
include Google::Apis::Core::Hashable
|
648
651
|
|
@@ -657,7 +660,8 @@ module Google
|
|
657
660
|
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
|
658
661
|
attr_accessor :items
|
659
662
|
|
660
|
-
# Type of resource.
|
663
|
+
# [Output Only] Type of resource. Always compute#autoscalerList for lists of
|
664
|
+
# autoscalers.
|
661
665
|
# Corresponds to the JSON property `kind`
|
662
666
|
# @return [String]
|
663
667
|
attr_accessor :kind
|
@@ -694,13 +698,13 @@ module Google
|
|
694
698
|
class AutoscalersScopedList
|
695
699
|
include Google::Apis::Core::Hashable
|
696
700
|
|
697
|
-
# List of autoscalers contained in this scope.
|
701
|
+
# [Output Only] List of autoscalers contained in this scope.
|
698
702
|
# Corresponds to the JSON property `autoscalers`
|
699
703
|
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
|
700
704
|
attr_accessor :autoscalers
|
701
705
|
|
702
|
-
# Informational warning which replaces the list of autoscalers
|
703
|
-
# empty.
|
706
|
+
# [Output Only] Informational warning which replaces the list of autoscalers
|
707
|
+
# when the list is empty.
|
704
708
|
# Corresponds to the JSON property `warning`
|
705
709
|
# @return [Google::Apis::ComputeBeta::AutoscalersScopedList::Warning]
|
706
710
|
attr_accessor :warning
|
@@ -715,8 +719,8 @@ module Google
|
|
715
719
|
@warning = args[:warning] if args.key?(:warning)
|
716
720
|
end
|
717
721
|
|
718
|
-
# Informational warning which replaces the list of autoscalers
|
719
|
-
# empty.
|
722
|
+
# [Output Only] Informational warning which replaces the list of autoscalers
|
723
|
+
# when the list is empty.
|
720
724
|
class Warning
|
721
725
|
include Google::Apis::Core::Hashable
|
722
726
|
|
@@ -755,7 +759,7 @@ module Google
|
|
755
759
|
# [Output Only] A key that provides more detail on the warning being returned.
|
756
760
|
# For example, for warnings where there are no results in a list request for a
|
757
761
|
# particular zone, this key might be scope and the key value might be the zone
|
758
|
-
# name. Other examples might be a key indicating a deprecated resource
|
762
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
759
763
|
# suggested replacement, or a warning about invalid network settings (for
|
760
764
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
761
765
|
# for IP forwarding).
|
@@ -785,11 +789,14 @@ module Google
|
|
785
789
|
class AutoscalingPolicy
|
786
790
|
include Google::Apis::Core::Hashable
|
787
791
|
|
788
|
-
# The number of seconds that the
|
789
|
-
#
|
790
|
-
#
|
791
|
-
#
|
792
|
-
#
|
792
|
+
# The number of seconds that the autoscaler should wait before it starts
|
793
|
+
# collecting information from a new instance. This prevents the autoscaler from
|
794
|
+
# collecting information when the instance is initializing, during which the
|
795
|
+
# collected usage would not be reliable. The default time autoscaler waits is 60
|
796
|
+
# seconds.
|
797
|
+
# Virtual machine initialization times might vary because of numerous factors.
|
798
|
+
# We recommend that you test how long an instance may take to initialize. To do
|
799
|
+
# this, create an instance and time the startup process.
|
793
800
|
# Corresponds to the JSON property `coolDownPeriodSec`
|
794
801
|
# @return [Fixnum]
|
795
802
|
attr_accessor :cool_down_period_sec
|
@@ -799,27 +806,26 @@ module Google
|
|
799
806
|
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyCpuUtilization]
|
800
807
|
attr_accessor :cpu_utilization
|
801
808
|
|
802
|
-
# Configuration parameters of autoscaling based on custom metric.
|
809
|
+
# Configuration parameters of autoscaling based on a custom metric.
|
803
810
|
# Corresponds to the JSON property `customMetricUtilizations`
|
804
811
|
# @return [Array<Google::Apis::ComputeBeta::AutoscalingPolicyCustomMetricUtilization>]
|
805
812
|
attr_accessor :custom_metric_utilizations
|
806
813
|
|
807
|
-
#
|
814
|
+
# Configuration parameters of autoscaling based on load balancing.
|
808
815
|
# Corresponds to the JSON property `loadBalancingUtilization`
|
809
816
|
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyLoadBalancingUtilization]
|
810
817
|
attr_accessor :load_balancing_utilization
|
811
818
|
|
812
|
-
# The maximum number of
|
813
|
-
#
|
814
|
-
# not lower than minimal number of replicas.
|
815
|
-
# defined in Autoscaler backend.
|
819
|
+
# The maximum number of instances that the autoscaler can scale up to. This is
|
820
|
+
# required when creating or updating an autoscaler. The maximum number of
|
821
|
+
# replicas should not be lower than minimal number of replicas.
|
816
822
|
# Corresponds to the JSON property `maxNumReplicas`
|
817
823
|
# @return [Fixnum]
|
818
824
|
attr_accessor :max_num_replicas
|
819
825
|
|
820
|
-
# The minimum number of replicas that the
|
821
|
-
# less than 0. If not provided
|
822
|
-
#
|
826
|
+
# The minimum number of replicas that the autoscaler can scale down to. This
|
827
|
+
# cannot be less than 0. If not provided, autoscaler will choose a default value
|
828
|
+
# depending on maximum number of instances allowed.
|
823
829
|
# Corresponds to the JSON property `minNumReplicas`
|
824
830
|
# @return [Fixnum]
|
825
831
|
attr_accessor :min_num_replicas
|
@@ -843,10 +849,15 @@ module Google
|
|
843
849
|
class AutoscalingPolicyCpuUtilization
|
844
850
|
include Google::Apis::Core::Hashable
|
845
851
|
|
846
|
-
# The target utilization that the
|
847
|
-
#
|
848
|
-
#
|
849
|
-
# the
|
852
|
+
# The target CPU utilization that the autoscaler should maintain. Must be a
|
853
|
+
# float value in the range (0, 1]. If not specified, the default is 0.8.
|
854
|
+
# If the CPU level is below the target utilization, the autoscaler scales down
|
855
|
+
# the number of instances until it reaches the minimum number of instances you
|
856
|
+
# specified or until the average CPU of your instances reaches the target
|
857
|
+
# utilization.
|
858
|
+
# If the average CPU is above the target utilization, the autoscaler scales up
|
859
|
+
# until it reaches the maximum number of instances you specified or until the
|
860
|
+
# average utilization reaches the target utilization.
|
850
861
|
# Corresponds to the JSON property `utilizationTarget`
|
851
862
|
# @return [Float]
|
852
863
|
attr_accessor :utilization_target
|
@@ -865,22 +876,30 @@ module Google
|
|
865
876
|
class AutoscalingPolicyCustomMetricUtilization
|
866
877
|
include Google::Apis::Core::Hashable
|
867
878
|
|
868
|
-
#
|
869
|
-
#
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
879
|
+
# The identifier of the Cloud Monitoring metric. The metric cannot have negative
|
880
|
+
# values and should be a utilization metric, which means that the number of
|
881
|
+
# virtual machines handling requests should increase or decrease proportionally
|
882
|
+
# to the metric. The metric must also have a label of compute.googleapis.com/
|
883
|
+
# resource_id with the value of the instance's unique ID, although this alone
|
884
|
+
# does not guarantee that the metric is valid.
|
885
|
+
# For example, the following is a valid metric:
|
886
|
+
# compute.googleapis.com/instance/network/received_bytes_count
|
887
|
+
# The following is not a valid metric because it does not increase or decrease
|
888
|
+
# based on usage:
|
889
|
+
# compute.googleapis.com/instance/cpu/reserved_cores
|
873
890
|
# Corresponds to the JSON property `metric`
|
874
891
|
# @return [String]
|
875
892
|
attr_accessor :metric
|
876
893
|
|
877
|
-
# Target value of the metric which
|
894
|
+
# Target value of the metric which autoscaler should maintain. Must be a
|
878
895
|
# positive value.
|
879
896
|
# Corresponds to the JSON property `utilizationTarget`
|
880
897
|
# @return [Float]
|
881
898
|
attr_accessor :utilization_target
|
882
899
|
|
883
|
-
# Defines
|
900
|
+
# Defines how target utilization value is expressed for a Cloud Monitoring
|
901
|
+
# metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
|
902
|
+
# the default is GAUGE.
|
884
903
|
# Corresponds to the JSON property `utilizationTargetType`
|
885
904
|
# @return [String]
|
886
905
|
attr_accessor :utilization_target_type
|
@@ -897,16 +916,13 @@ module Google
|
|
897
916
|
end
|
898
917
|
end
|
899
918
|
|
900
|
-
#
|
919
|
+
# Configuration parameters of autoscaling based on load balancing.
|
901
920
|
class AutoscalingPolicyLoadBalancingUtilization
|
902
921
|
include Google::Apis::Core::Hashable
|
903
922
|
|
904
|
-
# Fraction of backend capacity utilization (set in HTTP load balancing
|
905
|
-
# configuration) that
|
906
|
-
# If not defined, the default is 0.8.
|
907
|
-
# capacity (in HTTP Load Balancing configuration) is set at 10 and you would
|
908
|
-
# like to keep number of instances such that each instance receives 7 QPS on
|
909
|
-
# average, set this to 0.7.
|
923
|
+
# Fraction of backend capacity utilization (set in HTTP(s) load balancing
|
924
|
+
# configuration) that autoscaler should maintain. Must be a positive float value.
|
925
|
+
# If not defined, the default is 0.8.
|
910
926
|
# Corresponds to the JSON property `utilizationTarget`
|
911
927
|
# @return [Float]
|
912
928
|
attr_accessor :utilization_target
|
@@ -1015,6 +1031,12 @@ module Google
|
|
1015
1031
|
# @return [String]
|
1016
1032
|
attr_accessor :description
|
1017
1033
|
|
1034
|
+
# If true, enable Cloud CDN for this BackendService.
|
1035
|
+
# Corresponds to the JSON property `enableCDN`
|
1036
|
+
# @return [Boolean]
|
1037
|
+
attr_accessor :enable_cdn
|
1038
|
+
alias_method :enable_cdn?, :enable_cdn
|
1039
|
+
|
1018
1040
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
1019
1041
|
# This field is used in optimistic locking. This field will be ignored when
|
1020
1042
|
# inserting a BackendService. An up-to-date fingerprint must be provided in
|
@@ -1090,6 +1112,7 @@ module Google
|
|
1090
1112
|
@backends = args[:backends] if args.key?(:backends)
|
1091
1113
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
1092
1114
|
@description = args[:description] if args.key?(:description)
|
1115
|
+
@enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
|
1093
1116
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
1094
1117
|
@health_checks = args[:health_checks] if args.key?(:health_checks)
|
1095
1118
|
@id = args[:id] if args.key?(:id)
|
@@ -1178,6 +1201,25 @@ module Google
|
|
1178
1201
|
end
|
1179
1202
|
end
|
1180
1203
|
|
1204
|
+
#
|
1205
|
+
class CacheInvalidationRule
|
1206
|
+
include Google::Apis::Core::Hashable
|
1207
|
+
|
1208
|
+
#
|
1209
|
+
# Corresponds to the JSON property `path`
|
1210
|
+
# @return [String]
|
1211
|
+
attr_accessor :path
|
1212
|
+
|
1213
|
+
def initialize(**args)
|
1214
|
+
update!(**args)
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Update properties of this object
|
1218
|
+
def update!(**args)
|
1219
|
+
@path = args[:path] if args.key?(:path)
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1181
1223
|
# Represents a customer-supplied encryption key
|
1182
1224
|
class CustomerEncryptionKey
|
1183
1225
|
include Google::Apis::Core::Hashable
|
@@ -1301,6 +1343,23 @@ module Google
|
|
1301
1343
|
# @return [String]
|
1302
1344
|
attr_accessor :kind
|
1303
1345
|
|
1346
|
+
# A fingerprint for the labels being applied to this disk, which is essentially
|
1347
|
+
# a hash of the labels set used for optimistic locking. The fingerprint is
|
1348
|
+
# initially generated by Compute Engine and changes after every request to
|
1349
|
+
# modify or update metadata. You must always provide an up-to-date fingerprint
|
1350
|
+
# hash in order to update or change labels.
|
1351
|
+
# To see the latest fingerprint, make get() request to the disk.
|
1352
|
+
# Corresponds to the JSON property `labelFingerprint`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :label_fingerprint
|
1355
|
+
|
1356
|
+
# Labels to apply to this disk. These can be later modified by the setLabels
|
1357
|
+
# method. Each label key & value must comply with RFC1035. Label values may be
|
1358
|
+
# empty.
|
1359
|
+
# Corresponds to the JSON property `labels`
|
1360
|
+
# @return [Hash<String,String>]
|
1361
|
+
attr_accessor :labels
|
1362
|
+
|
1304
1363
|
# [Output Only] Last attach timestamp in RFC3339 text format.
|
1305
1364
|
# Corresponds to the JSON property `lastAttachTimestamp`
|
1306
1365
|
# @return [String]
|
@@ -1316,7 +1375,7 @@ module Google
|
|
1316
1375
|
# @return [Array<String>]
|
1317
1376
|
attr_accessor :licenses
|
1318
1377
|
|
1319
|
-
# Name of the resource
|
1378
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
1320
1379
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
1321
1380
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
1322
1381
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -1448,6 +1507,8 @@ module Google
|
|
1448
1507
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
1449
1508
|
@id = args[:id] if args.key?(:id)
|
1450
1509
|
@kind = args[:kind] if args.key?(:kind)
|
1510
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
1511
|
+
@labels = args[:labels] if args.key?(:labels)
|
1451
1512
|
@last_attach_timestamp = args[:last_attach_timestamp] if args.key?(:last_attach_timestamp)
|
1452
1513
|
@last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
|
1453
1514
|
@licenses = args[:licenses] if args.key?(:licenses)
|
@@ -1802,7 +1863,7 @@ module Google
|
|
1802
1863
|
# [Output Only] A key that provides more detail on the warning being returned.
|
1803
1864
|
# For example, for warnings where there are no results in a list request for a
|
1804
1865
|
# particular zone, this key might be scope and the key value might be the zone
|
1805
|
-
# name. Other examples might be a key indicating a deprecated resource
|
1866
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
1806
1867
|
# suggested replacement, or a warning about invalid network settings (for
|
1807
1868
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1808
1869
|
# for IP forwarding).
|
@@ -1912,7 +1973,7 @@ module Google
|
|
1912
1973
|
# [Output Only] A key that provides more detail on the warning being returned.
|
1913
1974
|
# For example, for warnings where there are no results in a list request for a
|
1914
1975
|
# particular zone, this key might be scope and the key value might be the zone
|
1915
|
-
# name. Other examples might be a key indicating a deprecated resource
|
1976
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
1916
1977
|
# suggested replacement, or a warning about invalid network settings (for
|
1917
1978
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1918
1979
|
# for IP forwarding).
|
@@ -2387,7 +2448,7 @@ module Google
|
|
2387
2448
|
# [Output Only] A key that provides more detail on the warning being returned.
|
2388
2449
|
# For example, for warnings where there are no results in a list request for a
|
2389
2450
|
# particular zone, this key might be scope and the key value might be the zone
|
2390
|
-
# name. Other examples might be a key indicating a deprecated resource
|
2451
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
2391
2452
|
# suggested replacement, or a warning about invalid network settings (for
|
2392
2453
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
2393
2454
|
# for IP forwarding).
|
@@ -2413,6 +2474,32 @@ module Google
|
|
2413
2474
|
end
|
2414
2475
|
end
|
2415
2476
|
|
2477
|
+
#
|
2478
|
+
class GlobalSetLabelsRequest
|
2479
|
+
include Google::Apis::Core::Hashable
|
2480
|
+
|
2481
|
+
# Fingerprint of the previous set of labels for this resource, used to detect
|
2482
|
+
# conflicts.
|
2483
|
+
# Corresponds to the JSON property `labelFingerprint`
|
2484
|
+
# @return [String]
|
2485
|
+
attr_accessor :label_fingerprint
|
2486
|
+
|
2487
|
+
# The new labels for the resource.
|
2488
|
+
# Corresponds to the JSON property `labels`
|
2489
|
+
# @return [Hash<String,String>]
|
2490
|
+
attr_accessor :labels
|
2491
|
+
|
2492
|
+
def initialize(**args)
|
2493
|
+
update!(**args)
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
# Update properties of this object
|
2497
|
+
def update!(**args)
|
2498
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
2499
|
+
@labels = args[:labels] if args.key?(:labels)
|
2500
|
+
end
|
2501
|
+
end
|
2502
|
+
|
2416
2503
|
# A full or valid partial URL to a health check. For example, the following are
|
2417
2504
|
# valid URLs:
|
2418
2505
|
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
@@ -2868,6 +2955,23 @@ module Google
|
|
2868
2955
|
# @return [String]
|
2869
2956
|
attr_accessor :kind
|
2870
2957
|
|
2958
|
+
# A fingerprint for the labels being applied to this image, which is essentially
|
2959
|
+
# a hash of the labels set used for optimistic locking. The fingerprint is
|
2960
|
+
# initially generated by Compute Engine and changes after every request to
|
2961
|
+
# modify or update metadata. You must always provide an up-to-date fingerprint
|
2962
|
+
# hash in order to update or change labels.
|
2963
|
+
# To see the latest fingerprint, make get() request to retrieve the image.
|
2964
|
+
# Corresponds to the JSON property `labelFingerprint`
|
2965
|
+
# @return [String]
|
2966
|
+
attr_accessor :label_fingerprint
|
2967
|
+
|
2968
|
+
# Labels to apply to this image. These can be later modified by the setLabels
|
2969
|
+
# method. Each label key & value must comply with RFC1035. Label values may be
|
2970
|
+
# empty.
|
2971
|
+
# Corresponds to the JSON property `labels`
|
2972
|
+
# @return [Hash<String,String>]
|
2973
|
+
attr_accessor :labels
|
2974
|
+
|
2871
2975
|
# Any applicable publicly visible licenses.
|
2872
2976
|
# Corresponds to the JSON property `licenses`
|
2873
2977
|
# @return [Array<String>]
|
@@ -2945,6 +3049,8 @@ module Google
|
|
2945
3049
|
@id = args[:id] if args.key?(:id)
|
2946
3050
|
@image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key)
|
2947
3051
|
@kind = args[:kind] if args.key?(:kind)
|
3052
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
3053
|
+
@labels = args[:labels] if args.key?(:labels)
|
2948
3054
|
@licenses = args[:licenses] if args.key?(:licenses)
|
2949
3055
|
@name = args[:name] if args.key?(:name)
|
2950
3056
|
@raw_disk = args[:raw_disk] if args.key?(:raw_disk)
|
@@ -3920,7 +4026,7 @@ module Google
|
|
3920
4026
|
# [Output Only] A key that provides more detail on the warning being returned.
|
3921
4027
|
# For example, for warnings where there are no results in a list request for a
|
3922
4028
|
# particular zone, this key might be scope and the key value might be the zone
|
3923
|
-
# name. Other examples might be a key indicating a deprecated resource
|
4029
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
3924
4030
|
# suggested replacement, or a warning about invalid network settings (for
|
3925
4031
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
3926
4032
|
# for IP forwarding).
|
@@ -4193,7 +4299,7 @@ module Google
|
|
4193
4299
|
# [Output Only] A key that provides more detail on the warning being returned.
|
4194
4300
|
# For example, for warnings where there are no results in a list request for a
|
4195
4301
|
# particular zone, this key might be scope and the key value might be the zone
|
4196
|
-
# name. Other examples might be a key indicating a deprecated resource
|
4302
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
4197
4303
|
# suggested replacement, or a warning about invalid network settings (for
|
4198
4304
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4199
4305
|
# for IP forwarding).
|
@@ -4604,7 +4710,7 @@ module Google
|
|
4604
4710
|
# [Output Only] A key that provides more detail on the warning being returned.
|
4605
4711
|
# For example, for warnings where there are no results in a list request for a
|
4606
4712
|
# particular zone, this key might be scope and the key value might be the zone
|
4607
|
-
# name. Other examples might be a key indicating a deprecated resource
|
4713
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
4608
4714
|
# suggested replacement, or a warning about invalid network settings (for
|
4609
4715
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4610
4716
|
# for IP forwarding).
|
@@ -4970,7 +5076,7 @@ module Google
|
|
4970
5076
|
# [Output Only] A key that provides more detail on the warning being returned.
|
4971
5077
|
# For example, for warnings where there are no results in a list request for a
|
4972
5078
|
# particular zone, this key might be scope and the key value might be the zone
|
4973
|
-
# name. Other examples might be a key indicating a deprecated resource
|
5079
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
4974
5080
|
# suggested replacement, or a warning about invalid network settings (for
|
4975
5081
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4976
5082
|
# for IP forwarding).
|
@@ -5107,7 +5213,7 @@ module Google
|
|
5107
5213
|
# @return [String]
|
5108
5214
|
attr_accessor :code
|
5109
5215
|
|
5110
|
-
# [Output Only] Indicates the field in the request
|
5216
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
5111
5217
|
# property is optional.
|
5112
5218
|
# Corresponds to the JSON property `location`
|
5113
5219
|
# @return [String]
|
@@ -5485,7 +5591,7 @@ module Google
|
|
5485
5591
|
# @return [String]
|
5486
5592
|
attr_accessor :insert_time
|
5487
5593
|
|
5488
|
-
# [Output Only] Type of the resource. Always compute#operation for
|
5594
|
+
# [Output Only] Type of the resource. Always compute#operation for operation
|
5489
5595
|
# resources.
|
5490
5596
|
# Corresponds to the JSON property `kind`
|
5491
5597
|
# @return [String]
|
@@ -5626,7 +5732,7 @@ module Google
|
|
5626
5732
|
# @return [String]
|
5627
5733
|
attr_accessor :code
|
5628
5734
|
|
5629
|
-
# [Output Only] Indicates the field in the request
|
5735
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
5630
5736
|
# property is optional.
|
5631
5737
|
# Corresponds to the JSON property `location`
|
5632
5738
|
# @return [String]
|
@@ -5689,7 +5795,7 @@ module Google
|
|
5689
5795
|
# [Output Only] A key that provides more detail on the warning being returned.
|
5690
5796
|
# For example, for warnings where there are no results in a list request for a
|
5691
5797
|
# particular zone, this key might be scope and the key value might be the zone
|
5692
|
-
# name. Other examples might be a key indicating a deprecated resource
|
5798
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
5693
5799
|
# suggested replacement, or a warning about invalid network settings (for
|
5694
5800
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
5695
5801
|
# for IP forwarding).
|
@@ -5878,7 +5984,7 @@ module Google
|
|
5878
5984
|
# [Output Only] A key that provides more detail on the warning being returned.
|
5879
5985
|
# For example, for warnings where there are no results in a list request for a
|
5880
5986
|
# particular zone, this key might be scope and the key value might be the zone
|
5881
|
-
# name. Other examples might be a key indicating a deprecated resource
|
5987
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
5882
5988
|
# suggested replacement, or a warning about invalid network settings (for
|
5883
5989
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
5884
5990
|
# for IP forwarding).
|
@@ -5995,6 +6101,11 @@ module Google
|
|
5995
6101
|
# @return [String]
|
5996
6102
|
attr_accessor :creation_timestamp
|
5997
6103
|
|
6104
|
+
# [Output Only] Default service account used by VMs running in this project.
|
6105
|
+
# Corresponds to the JSON property `defaultServiceAccount`
|
6106
|
+
# @return [String]
|
6107
|
+
attr_accessor :default_service_account
|
6108
|
+
|
5998
6109
|
# An optional textual description of the resource.
|
5999
6110
|
# Corresponds to the JSON property `description`
|
6000
6111
|
# @return [String]
|
@@ -6047,6 +6158,7 @@ module Google
|
|
6047
6158
|
def update!(**args)
|
6048
6159
|
@common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
|
6049
6160
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
6161
|
+
@default_service_account = args[:default_service_account] if args.key?(:default_service_account)
|
6050
6162
|
@description = args[:description] if args.key?(:description)
|
6051
6163
|
@enabled_features = args[:enabled_features] if args.key?(:enabled_features)
|
6052
6164
|
@id = args[:id] if args.key?(:id)
|
@@ -6231,7 +6343,7 @@ module Google
|
|
6231
6343
|
end
|
6232
6344
|
end
|
6233
6345
|
|
6234
|
-
# Represents a
|
6346
|
+
# Represents a Route resource. A route specifies how certain packets should be
|
6235
6347
|
# handled by the network. Routes are associated with instances by tags and the
|
6236
6348
|
# set of routes for a particular instance is called its routing table.
|
6237
6349
|
# For each packet leaving a instance, the system searches that instance's
|
@@ -6239,7 +6351,7 @@ module Google
|
|
6239
6351
|
# destination IP address, preferring smaller or more specific ranges over larger
|
6240
6352
|
# ones. If there is a tie, the system selects the route with the smallest
|
6241
6353
|
# priority value. If there is still a tie, it uses the layer three and four
|
6242
|
-
# packet headers to select just one of the remaining matching
|
6354
|
+
# packet headers to select just one of the remaining matching routes. The packet
|
6243
6355
|
# is then forwarded as specified by the nextHop field of the winning route -
|
6244
6356
|
# either to another instance destination, a instance gateway or a Google Compute
|
6245
6357
|
# Engine-operated gateway.
|
@@ -6275,7 +6387,7 @@ module Google
|
|
6275
6387
|
# @return [String]
|
6276
6388
|
attr_accessor :kind
|
6277
6389
|
|
6278
|
-
# Name of the resource
|
6390
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
6279
6391
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6280
6392
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
6281
6393
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -6406,7 +6518,7 @@ module Google
|
|
6406
6518
|
# [Output Only] A key that provides more detail on the warning being returned.
|
6407
6519
|
# For example, for warnings where there are no results in a list request for a
|
6408
6520
|
# particular zone, this key might be scope and the key value might be the zone
|
6409
|
-
# name. Other examples might be a key indicating a deprecated resource
|
6521
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
6410
6522
|
# suggested replacement, or a warning about invalid network settings (for
|
6411
6523
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
6412
6524
|
# for IP forwarding).
|
@@ -6432,7 +6544,7 @@ module Google
|
|
6432
6544
|
end
|
6433
6545
|
end
|
6434
6546
|
|
6435
|
-
# Contains a list of
|
6547
|
+
# Contains a list of Route resources.
|
6436
6548
|
class RouteList
|
6437
6549
|
include Google::Apis::Core::Hashable
|
6438
6550
|
|
@@ -6521,7 +6633,11 @@ module Google
|
|
6521
6633
|
attr_accessor :kind
|
6522
6634
|
|
6523
6635
|
# Name of the resource. Provided by the client when the resource is created. The
|
6524
|
-
# name must be 1-63 characters long and comply with RFC1035.
|
6636
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6637
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
6638
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
6639
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
6640
|
+
# except the last character, which cannot be a dash.
|
6525
6641
|
# Corresponds to the JSON property `name`
|
6526
6642
|
# @return [String]
|
6527
6643
|
attr_accessor :name
|
@@ -6561,7 +6677,7 @@ module Google
|
|
6561
6677
|
end
|
6562
6678
|
end
|
6563
6679
|
|
6564
|
-
# Contains a list of
|
6680
|
+
# Contains a list of routers.
|
6565
6681
|
class RouterAggregatedList
|
6566
6682
|
include Google::Apis::Core::Hashable
|
6567
6683
|
|
@@ -6571,7 +6687,7 @@ module Google
|
|
6571
6687
|
# @return [String]
|
6572
6688
|
attr_accessor :id
|
6573
6689
|
|
6574
|
-
# A map of scoped
|
6690
|
+
# A map of scoped router lists.
|
6575
6691
|
# Corresponds to the JSON property `items`
|
6576
6692
|
# @return [Hash<String,Google::Apis::ComputeBeta::RoutersScopedList>]
|
6577
6693
|
attr_accessor :items
|
@@ -6613,8 +6729,8 @@ module Google
|
|
6613
6729
|
class RouterBgp
|
6614
6730
|
include Google::Apis::Core::Hashable
|
6615
6731
|
|
6616
|
-
# Local BGP Autonomous System Number (ASN) Can be a constant public ASN value
|
6617
|
-
# for
|
6732
|
+
# Local BGP Autonomous System Number (ASN). Can be a constant public ASN value
|
6733
|
+
# for Google, or a customer-specified private ASN. In either case, the value
|
6618
6734
|
# will be fixed for this router resource. All VPN tunnels that link to this
|
6619
6735
|
# router will have the same local ASN.
|
6620
6736
|
# Corresponds to the JSON property `asn`
|
@@ -6644,17 +6760,17 @@ module Google
|
|
6644
6760
|
# @return [Fixnum]
|
6645
6761
|
attr_accessor :advertised_route_priority
|
6646
6762
|
|
6647
|
-
# Name of the interface
|
6763
|
+
# Name of the interface the BGP peer is associated with.
|
6648
6764
|
# Corresponds to the JSON property `interfaceName`
|
6649
6765
|
# @return [String]
|
6650
6766
|
attr_accessor :interface_name
|
6651
6767
|
|
6652
|
-
# IP address of the interface inside Google
|
6768
|
+
# IP address of the interface inside Google Cloud Platform.
|
6653
6769
|
# Corresponds to the JSON property `ipAddress`
|
6654
6770
|
# @return [String]
|
6655
6771
|
attr_accessor :ip_address
|
6656
6772
|
|
6657
|
-
# Name of this BGP
|
6773
|
+
# Name of this BGP peer. The name must be 1-63 characters long and comply with
|
6658
6774
|
# RFC1035.
|
6659
6775
|
# Corresponds to the JSON property `name`
|
6660
6776
|
# @return [String]
|
@@ -6691,8 +6807,8 @@ module Google
|
|
6691
6807
|
class RouterInterface
|
6692
6808
|
include Google::Apis::Core::Hashable
|
6693
6809
|
|
6694
|
-
# IP address and range of the interface. The value should be a CIDR
|
6695
|
-
# string, for example: 169.254.0.1/30. NOTE: Do NOT
|
6810
|
+
# IP address and range of the interface. The value should be a CIDR-formatted
|
6811
|
+
# string, for example: 169.254.0.1/30. NOTE: Do NOT truncate address, as it
|
6696
6812
|
# represents IP address of interface.
|
6697
6813
|
# Corresponds to the JSON property `ipRange`
|
6698
6814
|
# @return [String]
|
@@ -6774,7 +6890,7 @@ module Google
|
|
6774
6890
|
class RouterStatus
|
6775
6891
|
include Google::Apis::Core::Hashable
|
6776
6892
|
|
6777
|
-
# Best routes for this
|
6893
|
+
# Best routes for this router.
|
6778
6894
|
# Corresponds to the JSON property `bestRoutes`
|
6779
6895
|
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
6780
6896
|
attr_accessor :best_routes
|
@@ -6805,7 +6921,7 @@ module Google
|
|
6805
6921
|
class RouterStatusBgpPeerStatus
|
6806
6922
|
include Google::Apis::Core::Hashable
|
6807
6923
|
|
6808
|
-
# Routes that were advertised to the remote
|
6924
|
+
# Routes that were advertised to the remote BGP peer
|
6809
6925
|
# Corresponds to the JSON property `advertisedRoutes`
|
6810
6926
|
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
6811
6927
|
attr_accessor :advertised_routes
|
@@ -6815,12 +6931,12 @@ module Google
|
|
6815
6931
|
# @return [String]
|
6816
6932
|
attr_accessor :ip_address
|
6817
6933
|
|
6818
|
-
# URL of the VPN tunnel that this
|
6934
|
+
# URL of the VPN tunnel that this BGP peer controls.
|
6819
6935
|
# Corresponds to the JSON property `linkedVpnTunnel`
|
6820
6936
|
# @return [String]
|
6821
6937
|
attr_accessor :linked_vpn_tunnel
|
6822
6938
|
|
6823
|
-
# Name of this
|
6939
|
+
# Name of this BGP peer. Unique within the routes resource.
|
6824
6940
|
# Corresponds to the JSON property `name`
|
6825
6941
|
# @return [String]
|
6826
6942
|
attr_accessor :name
|
@@ -6835,22 +6951,27 @@ module Google
|
|
6835
6951
|
# @return [String]
|
6836
6952
|
attr_accessor :peer_ip_address
|
6837
6953
|
|
6838
|
-
# BGP state as specified in
|
6954
|
+
# BGP state as specified in RFC1771.
|
6839
6955
|
# Corresponds to the JSON property `state`
|
6840
6956
|
# @return [String]
|
6841
6957
|
attr_accessor :state
|
6842
6958
|
|
6843
|
-
# Status of the
|
6959
|
+
# Status of the BGP peer: `UP, DOWN`
|
6844
6960
|
# Corresponds to the JSON property `status`
|
6845
6961
|
# @return [String]
|
6846
6962
|
attr_accessor :status
|
6847
6963
|
|
6848
|
-
# Time this session has been up. Format:
|
6849
|
-
#
|
6964
|
+
# Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours,
|
6965
|
+
# 59 minutes, 59 seconds
|
6850
6966
|
# Corresponds to the JSON property `uptime`
|
6851
6967
|
# @return [String]
|
6852
6968
|
attr_accessor :uptime
|
6853
6969
|
|
6970
|
+
# Time this session has been up, in seconds. Format: 145
|
6971
|
+
# Corresponds to the JSON property `uptimeSeconds`
|
6972
|
+
# @return [String]
|
6973
|
+
attr_accessor :uptime_seconds
|
6974
|
+
|
6854
6975
|
def initialize(**args)
|
6855
6976
|
update!(**args)
|
6856
6977
|
end
|
@@ -6866,6 +6987,7 @@ module Google
|
|
6866
6987
|
@state = args[:state] if args.key?(:state)
|
6867
6988
|
@status = args[:status] if args.key?(:status)
|
6868
6989
|
@uptime = args[:uptime] if args.key?(:uptime)
|
6990
|
+
@uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
|
6869
6991
|
end
|
6870
6992
|
end
|
6871
6993
|
|
@@ -6898,7 +7020,7 @@ module Google
|
|
6898
7020
|
class RoutersScopedList
|
6899
7021
|
include Google::Apis::Core::Hashable
|
6900
7022
|
|
6901
|
-
# List of
|
7023
|
+
# List of routers contained in this scope.
|
6902
7024
|
# Corresponds to the JSON property `routers`
|
6903
7025
|
# @return [Array<Google::Apis::ComputeBeta::Router>]
|
6904
7026
|
attr_accessor :routers
|
@@ -6959,7 +7081,7 @@ module Google
|
|
6959
7081
|
# [Output Only] A key that provides more detail on the warning being returned.
|
6960
7082
|
# For example, for warnings where there are no results in a list request for a
|
6961
7083
|
# particular zone, this key might be scope and the key value might be the zone
|
6962
|
-
# name. Other examples might be a key indicating a deprecated resource
|
7084
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
6963
7085
|
# suggested replacement, or a warning about invalid network settings (for
|
6964
7086
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
6965
7087
|
# for IP forwarding).
|
@@ -7039,11 +7161,25 @@ module Google
|
|
7039
7161
|
# @return [String]
|
7040
7162
|
attr_accessor :kind
|
7041
7163
|
|
7164
|
+
# [Output Only] The position of the next byte of content from the serial console
|
7165
|
+
# output. Use this value in the next request as the start parameter.
|
7166
|
+
# Corresponds to the JSON property `next`
|
7167
|
+
# @return [String]
|
7168
|
+
attr_accessor :next
|
7169
|
+
|
7042
7170
|
# [Output Only] Server-defined URL for the resource.
|
7043
7171
|
# Corresponds to the JSON property `selfLink`
|
7044
7172
|
# @return [String]
|
7045
7173
|
attr_accessor :self_link
|
7046
7174
|
|
7175
|
+
# [Output Only] The starting byte position of the output that was returned. This
|
7176
|
+
# should match the start parameter sent with the request. If the serial console
|
7177
|
+
# output exceeds the size of the buffer, older output will be overwritten by
|
7178
|
+
# newer content and the start values will be mismatched.
|
7179
|
+
# Corresponds to the JSON property `start`
|
7180
|
+
# @return [String]
|
7181
|
+
attr_accessor :start
|
7182
|
+
|
7047
7183
|
def initialize(**args)
|
7048
7184
|
update!(**args)
|
7049
7185
|
end
|
@@ -7052,7 +7188,9 @@ module Google
|
|
7052
7188
|
def update!(**args)
|
7053
7189
|
@contents = args[:contents] if args.key?(:contents)
|
7054
7190
|
@kind = args[:kind] if args.key?(:kind)
|
7191
|
+
@next = args[:next] if args.key?(:next)
|
7055
7192
|
@self_link = args[:self_link] if args.key?(:self_link)
|
7193
|
+
@start = args[:start] if args.key?(:start)
|
7056
7194
|
end
|
7057
7195
|
end
|
7058
7196
|
|
@@ -7113,6 +7251,23 @@ module Google
|
|
7113
7251
|
# @return [String]
|
7114
7252
|
attr_accessor :kind
|
7115
7253
|
|
7254
|
+
# A fingerprint for the labels being applied to this snapshot, which is
|
7255
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
7256
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
7257
|
+
# request to modify or update metadata. You must always provide an up-to-date
|
7258
|
+
# fingerprint hash in order to update or change labels.
|
7259
|
+
# To see the latest fingerprint, make get() request to the snapshot.
|
7260
|
+
# Corresponds to the JSON property `labelFingerprint`
|
7261
|
+
# @return [String]
|
7262
|
+
attr_accessor :label_fingerprint
|
7263
|
+
|
7264
|
+
# Labels to apply to this snapshot. These can be later modified by the setLabels
|
7265
|
+
# method. Each label key & value must comply with RFC1035. Label values may be
|
7266
|
+
# empty.
|
7267
|
+
# Corresponds to the JSON property `labels`
|
7268
|
+
# @return [Hash<String,String>]
|
7269
|
+
attr_accessor :labels
|
7270
|
+
|
7116
7271
|
# [Output Only] A list of public visible licenses that apply to this snapshot.
|
7117
7272
|
# This can be because the original image had licenses attached (such as a
|
7118
7273
|
# Windows image).
|
@@ -7189,6 +7344,8 @@ module Google
|
|
7189
7344
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
7190
7345
|
@id = args[:id] if args.key?(:id)
|
7191
7346
|
@kind = args[:kind] if args.key?(:kind)
|
7347
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
7348
|
+
@labels = args[:labels] if args.key?(:labels)
|
7192
7349
|
@licenses = args[:licenses] if args.key?(:licenses)
|
7193
7350
|
@name = args[:name] if args.key?(:name)
|
7194
7351
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -7618,7 +7775,7 @@ module Google
|
|
7618
7775
|
# [Output Only] A key that provides more detail on the warning being returned.
|
7619
7776
|
# For example, for warnings where there are no results in a list request for a
|
7620
7777
|
# particular zone, this key might be scope and the key value might be the zone
|
7621
|
-
# name. Other examples might be a key indicating a deprecated resource
|
7778
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
7622
7779
|
# suggested replacement, or a warning about invalid network settings (for
|
7623
7780
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7624
7781
|
# for IP forwarding).
|
@@ -7702,7 +7859,7 @@ module Google
|
|
7702
7859
|
# @return [String]
|
7703
7860
|
attr_accessor :kind
|
7704
7861
|
|
7705
|
-
# Name of the resource
|
7862
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
7706
7863
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
7707
7864
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
7708
7865
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -7792,8 +7949,8 @@ module Google
|
|
7792
7949
|
class TargetHttpsProxiesSetSslCertificatesRequest
|
7793
7950
|
include Google::Apis::Core::Hashable
|
7794
7951
|
|
7795
|
-
# New set of
|
7796
|
-
#
|
7952
|
+
# New set of SslCertificate resources to associate with this TargetHttpsProxy
|
7953
|
+
# resource. Currently exactly one SslCertificate resource must be specified.
|
7797
7954
|
# Corresponds to the JSON property `sslCertificates`
|
7798
7955
|
# @return [Array<String>]
|
7799
7956
|
attr_accessor :ssl_certificates
|
@@ -7829,7 +7986,7 @@ module Google
|
|
7829
7986
|
# @return [String]
|
7830
7987
|
attr_accessor :id
|
7831
7988
|
|
7832
|
-
# [Output Only] Type of
|
7989
|
+
# [Output Only] Type of resource. Always compute#targetHttpsProxy for target
|
7833
7990
|
# HTTPS proxies.
|
7834
7991
|
# Corresponds to the JSON property `kind`
|
7835
7992
|
# @return [String]
|
@@ -7899,7 +8056,8 @@ module Google
|
|
7899
8056
|
# @return [Array<Google::Apis::ComputeBeta::TargetHttpsProxy>]
|
7900
8057
|
attr_accessor :items
|
7901
8058
|
|
7902
|
-
# Type of resource.
|
8059
|
+
# Type of resource. Always compute#targetHttpsProxyList for lists of target
|
8060
|
+
# HTTPS proxies.
|
7903
8061
|
# Corresponds to the JSON property `kind`
|
7904
8062
|
# @return [String]
|
7905
8063
|
attr_accessor :kind
|
@@ -8176,7 +8334,7 @@ module Google
|
|
8176
8334
|
# [Output Only] A key that provides more detail on the warning being returned.
|
8177
8335
|
# For example, for warnings where there are no results in a list request for a
|
8178
8336
|
# particular zone, this key might be scope and the key value might be the zone
|
8179
|
-
# name. Other examples might be a key indicating a deprecated resource
|
8337
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
8180
8338
|
# suggested replacement, or a warning about invalid network settings (for
|
8181
8339
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8182
8340
|
# for IP forwarding).
|
@@ -8597,7 +8755,7 @@ module Google
|
|
8597
8755
|
# [Output Only] A key that provides more detail on the warning being returned.
|
8598
8756
|
# For example, for warnings where there are no results in a list request for a
|
8599
8757
|
# particular zone, this key might be scope and the key value might be the zone
|
8600
|
-
# name. Other examples might be a key indicating a deprecated resource
|
8758
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
8601
8759
|
# suggested replacement, or a warning about invalid network settings (for
|
8602
8760
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8603
8761
|
# for IP forwarding).
|
@@ -8676,7 +8834,7 @@ module Google
|
|
8676
8834
|
# @return [String]
|
8677
8835
|
attr_accessor :kind
|
8678
8836
|
|
8679
|
-
# Name of the resource
|
8837
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
8680
8838
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
8681
8839
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
8682
8840
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -8896,7 +9054,7 @@ module Google
|
|
8896
9054
|
# [Output Only] A key that provides more detail on the warning being returned.
|
8897
9055
|
# For example, for warnings where there are no results in a list request for a
|
8898
9056
|
# particular zone, this key might be scope and the key value might be the zone
|
8899
|
-
# name. Other examples might be a key indicating a deprecated resource
|
9057
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
8900
9058
|
# suggested replacement, or a warning about invalid network settings (for
|
8901
9059
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8902
9060
|
# for IP forwarding).
|
@@ -8959,6 +9117,45 @@ module Google
|
|
8959
9117
|
end
|
8960
9118
|
end
|
8961
9119
|
|
9120
|
+
#
|
9121
|
+
class TestPermissionsRequest
|
9122
|
+
include Google::Apis::Core::Hashable
|
9123
|
+
|
9124
|
+
# The set of permissions to check for the 'resource'. Permissions with wildcards
|
9125
|
+
# (such as '*' or 'storage.*') are not allowed.
|
9126
|
+
# Corresponds to the JSON property `permissions`
|
9127
|
+
# @return [Array<String>]
|
9128
|
+
attr_accessor :permissions
|
9129
|
+
|
9130
|
+
def initialize(**args)
|
9131
|
+
update!(**args)
|
9132
|
+
end
|
9133
|
+
|
9134
|
+
# Update properties of this object
|
9135
|
+
def update!(**args)
|
9136
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
9137
|
+
end
|
9138
|
+
end
|
9139
|
+
|
9140
|
+
#
|
9141
|
+
class TestPermissionsResponse
|
9142
|
+
include Google::Apis::Core::Hashable
|
9143
|
+
|
9144
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
9145
|
+
# Corresponds to the JSON property `permissions`
|
9146
|
+
# @return [Array<String>]
|
9147
|
+
attr_accessor :permissions
|
9148
|
+
|
9149
|
+
def initialize(**args)
|
9150
|
+
update!(**args)
|
9151
|
+
end
|
9152
|
+
|
9153
|
+
# Update properties of this object
|
9154
|
+
def update!(**args)
|
9155
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
9156
|
+
end
|
9157
|
+
end
|
9158
|
+
|
8962
9159
|
# A UrlMap resource. This resource defines the mapping from URL to the
|
8963
9160
|
# BackendService resource, based on the "longest-match" of the URL's host and
|
8964
9161
|
# path.
|
@@ -9313,7 +9510,7 @@ module Google
|
|
9313
9510
|
# @return [Array<String>]
|
9314
9511
|
attr_accessor :local_traffic_selector
|
9315
9512
|
|
9316
|
-
# Name of the resource
|
9513
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
9317
9514
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
9318
9515
|
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
9319
9516
|
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
@@ -9333,7 +9530,7 @@ module Google
|
|
9333
9530
|
# @return [String]
|
9334
9531
|
attr_accessor :region
|
9335
9532
|
|
9336
|
-
# URL of
|
9533
|
+
# URL of router resource to be used for dynamic routing.
|
9337
9534
|
# Corresponds to the JSON property `router`
|
9338
9535
|
# @return [String]
|
9339
9536
|
attr_accessor :router
|
@@ -9359,8 +9556,8 @@ module Google
|
|
9359
9556
|
# @return [String]
|
9360
9557
|
attr_accessor :status
|
9361
9558
|
|
9362
|
-
# URL of the VPN gateway
|
9363
|
-
# client when the VPN tunnel is created.
|
9559
|
+
# URL of the VPN gateway with which this VPN tunnel is associated. Provided by
|
9560
|
+
# the client when the VPN tunnel is created.
|
9364
9561
|
# Corresponds to the JSON property `targetVpnGateway`
|
9365
9562
|
# @return [String]
|
9366
9563
|
attr_accessor :target_vpn_gateway
|
@@ -9551,7 +9748,7 @@ module Google
|
|
9551
9748
|
# [Output Only] A key that provides more detail on the warning being returned.
|
9552
9749
|
# For example, for warnings where there are no results in a list request for a
|
9553
9750
|
# particular zone, this key might be scope and the key value might be the zone
|
9554
|
-
# name. Other examples might be a key indicating a deprecated resource
|
9751
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
9555
9752
|
# suggested replacement, or a warning about invalid network settings (for
|
9556
9753
|
# example, if an instance attempts to perform IP forwarding but is not enabled
|
9557
9754
|
# for IP forwarding).
|
@@ -9736,6 +9933,32 @@ module Google
|
|
9736
9933
|
@self_link = args[:self_link] if args.key?(:self_link)
|
9737
9934
|
end
|
9738
9935
|
end
|
9936
|
+
|
9937
|
+
#
|
9938
|
+
class ZoneSetLabelsRequest
|
9939
|
+
include Google::Apis::Core::Hashable
|
9940
|
+
|
9941
|
+
# Fingerprint of the previous set of labels for this resource, used to detect
|
9942
|
+
# conflicts.
|
9943
|
+
# Corresponds to the JSON property `labelFingerprint`
|
9944
|
+
# @return [String]
|
9945
|
+
attr_accessor :label_fingerprint
|
9946
|
+
|
9947
|
+
# The new labels for the resource.
|
9948
|
+
# Corresponds to the JSON property `labels`
|
9949
|
+
# @return [Hash<String,String>]
|
9950
|
+
attr_accessor :labels
|
9951
|
+
|
9952
|
+
def initialize(**args)
|
9953
|
+
update!(**args)
|
9954
|
+
end
|
9955
|
+
|
9956
|
+
# Update properties of this object
|
9957
|
+
def update!(**args)
|
9958
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
9959
|
+
@labels = args[:labels] if args.key?(:labels)
|
9960
|
+
end
|
9961
|
+
end
|
9739
9962
|
end
|
9740
9963
|
end
|
9741
9964
|
end
|