google-api-client 0.23.3 → 0.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +107 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +4 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +5 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +45 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +269 -0
- data/generated/google/apis/bigquery_v2/representations.rb +93 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +16 -69
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -11
- data/generated/google/apis/civicinfo_v2/service.rb +4 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -1
- data/generated/google/apis/cloudprofiler_v2.rb +40 -0
- data/generated/google/apis/cloudprofiler_v2/classes.rb +167 -0
- data/generated/google/apis/cloudprofiler_v2/representations.rb +77 -0
- data/generated/google/apis/cloudprofiler_v2/service.rb +179 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +769 -146
- data/generated/google/apis/compute_alpha/representations.rb +294 -22
- data/generated/google/apis/compute_alpha/service.rb +868 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +52 -89
- data/generated/google/apis/compute_beta/representations.rb +1 -18
- data/generated/google/apis/compute_beta/service.rb +0 -250
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +165 -16
- data/generated/google/apis/compute_v1/representations.rb +61 -0
- data/generated/google/apis/compute_v1/service.rb +208 -0
- data/generated/google/apis/content_v2/classes.rb +10 -10
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +60 -43
- data/generated/google/apis/content_v2sandbox/representations.rb +2 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +22 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +101 -5
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +28 -25
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +101 -6
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -22
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +84 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +12 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +77 -6
- data/generated/google/apis/ml_v1/representations.rb +7 -0
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -5
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -1
- data/generated/google/apis/script_v1.rb +2 -8
- data/generated/google/apis/script_v1/service.rb +1 -7
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -9
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +13 -16
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +6 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -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 = ''
|
|
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'
|
|
@@ -1167,7 +1167,8 @@ module Google
|
|
|
1167
1167
|
include Google::Apis::Core::Hashable
|
|
1168
1168
|
|
|
1169
1169
|
# Specifies the disk name. If not specified, the default is to use the name of
|
|
1170
|
-
# the instance.
|
|
1170
|
+
# the instance. If the disk with the instance name exists already in the given
|
|
1171
|
+
# zone/region, a new name will be automatically generated.
|
|
1171
1172
|
# Corresponds to the JSON property `diskName`
|
|
1172
1173
|
# @return [String]
|
|
1173
1174
|
attr_accessor :disk_name
|
|
@@ -2389,6 +2390,8 @@ module Google
|
|
|
2389
2390
|
# This field is used in optimistic locking. This field will be ignored when
|
|
2390
2391
|
# inserting a BackendService. An up-to-date fingerprint must be provided in
|
|
2391
2392
|
# order to update the BackendService.
|
|
2393
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
|
2394
|
+
# BackendService.
|
|
2392
2395
|
# Corresponds to the JSON property `fingerprint`
|
|
2393
2396
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2394
2397
|
# @return [String]
|
|
@@ -4831,7 +4834,8 @@ module Google
|
|
|
4831
4834
|
class DistributionPolicy
|
|
4832
4835
|
include Google::Apis::Core::Hashable
|
|
4833
4836
|
|
|
4834
|
-
#
|
|
4837
|
+
# Zones where the regional managed instance group will create and manage
|
|
4838
|
+
# instances.
|
|
4835
4839
|
# Corresponds to the JSON property `zones`
|
|
4836
4840
|
# @return [Array<Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration>]
|
|
4837
4841
|
attr_accessor :zones
|
|
@@ -4850,9 +4854,8 @@ module Google
|
|
|
4850
4854
|
class DistributionPolicyZoneConfiguration
|
|
4851
4855
|
include Google::Apis::Core::Hashable
|
|
4852
4856
|
|
|
4853
|
-
# URL of the zone
|
|
4854
|
-
#
|
|
4855
|
-
# group is located.
|
|
4857
|
+
# The URL of the zone. The zone must exist in the region where the managed
|
|
4858
|
+
# instance group is located.
|
|
4856
4859
|
# Corresponds to the JSON property `zone`
|
|
4857
4860
|
# @return [String]
|
|
4858
4861
|
attr_accessor :zone
|
|
@@ -5339,6 +5342,9 @@ module Google
|
|
|
5339
5342
|
# an ephemeral IPv4 address from the same scope (global or regional) will be
|
|
5340
5343
|
# assigned. A regional forwarding rule supports IPv4 only. A global forwarding
|
|
5341
5344
|
# rule supports either IPv4 or IPv6.
|
|
5345
|
+
# When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
|
|
5346
|
+
# reference to an existing Address resource ( internal regional static IP
|
|
5347
|
+
# address).
|
|
5342
5348
|
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
|
|
5343
5349
|
# address belonging to the network/subnet configured for the forwarding rule. By
|
|
5344
5350
|
# default, if this field is empty, an ephemeral internal IP address will be
|
|
@@ -5359,12 +5365,13 @@ module Google
|
|
|
5359
5365
|
|
|
5360
5366
|
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
|
5361
5367
|
# AH, SCTP or ICMP.
|
|
5362
|
-
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid.
|
|
5368
|
+
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When
|
|
5369
|
+
# the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid.
|
|
5363
5370
|
# Corresponds to the JSON property `IPProtocol`
|
|
5364
5371
|
# @return [String]
|
|
5365
5372
|
attr_accessor :ip_protocol
|
|
5366
5373
|
|
|
5367
|
-
# This field is
|
|
5374
|
+
# This field is only used for INTERNAL load balancing.
|
|
5368
5375
|
# For internal load balancing, this field identifies the BackendService resource
|
|
5369
5376
|
# to receive the matched traffic.
|
|
5370
5377
|
# Corresponds to the JSON property `backendService`
|
|
@@ -5389,7 +5396,8 @@ module Google
|
|
|
5389
5396
|
attr_accessor :id
|
|
5390
5397
|
|
|
5391
5398
|
# The IP Version that will be used by this forwarding rule. Valid options are
|
|
5392
|
-
# IPV4 or IPV6. This can only be specified for
|
|
5399
|
+
# IPV4 or IPV6. This can only be specified for an external global forwarding
|
|
5400
|
+
# rule.
|
|
5393
5401
|
# Corresponds to the JSON property `ipVersion`
|
|
5394
5402
|
# @return [String]
|
|
5395
5403
|
attr_accessor :ip_version
|
|
@@ -5420,10 +5428,11 @@ module Google
|
|
|
5420
5428
|
attr_accessor :labels
|
|
5421
5429
|
|
|
5422
5430
|
# This signifies what the ForwardingRule will be used for and can only take the
|
|
5423
|
-
# following values: INTERNAL, EXTERNAL The value of
|
|
5424
|
-
# will be used for Internal Network Load Balancing (TCP,
|
|
5425
|
-
#
|
|
5426
|
-
#
|
|
5431
|
+
# following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of
|
|
5432
|
+
# INTERNAL means that this will be used for Internal Network Load Balancing (TCP,
|
|
5433
|
+
# UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for
|
|
5434
|
+
# Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used
|
|
5435
|
+
# for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)
|
|
5427
5436
|
# Corresponds to the JSON property `loadBalancingScheme`
|
|
5428
5437
|
# @return [String]
|
|
5429
5438
|
attr_accessor :load_balancing_scheme
|
|
@@ -5439,9 +5448,9 @@ module Google
|
|
|
5439
5448
|
attr_accessor :name
|
|
5440
5449
|
|
|
5441
5450
|
# This field is not used for external load balancing.
|
|
5442
|
-
# For
|
|
5443
|
-
# balanced IP should belong to for this Forwarding
|
|
5444
|
-
# specified, the default network will be used.
|
|
5451
|
+
# For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies
|
|
5452
|
+
# the network that the load balanced IP should belong to for this Forwarding
|
|
5453
|
+
# Rule. If this field is not specified, the default network will be used.
|
|
5445
5454
|
# Corresponds to the JSON property `network`
|
|
5446
5455
|
# @return [String]
|
|
5447
5456
|
attr_accessor :network
|
|
@@ -5516,7 +5525,7 @@ module Google
|
|
|
5516
5525
|
# @return [String]
|
|
5517
5526
|
attr_accessor :service_name
|
|
5518
5527
|
|
|
5519
|
-
# This field is
|
|
5528
|
+
# This field is only used for INTERNAL load balancing.
|
|
5520
5529
|
# For internal load balancing, this field identifies the subnetwork that the
|
|
5521
5530
|
# load balanced IP should belong to for this Forwarding Rule.
|
|
5522
5531
|
# If the network specified is in auto subnet mode, this field is optional.
|
|
@@ -5530,7 +5539,8 @@ module Google
|
|
|
5530
5539
|
# forwarding rules, this target must live in the same region as the forwarding
|
|
5531
5540
|
# rule. For global forwarding rules, this target must be a global load balancing
|
|
5532
5541
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
|
5533
|
-
# object.
|
|
5542
|
+
# object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets
|
|
5543
|
+
# are valid.
|
|
5534
5544
|
# Corresponds to the JSON property `target`
|
|
5535
5545
|
# @return [String]
|
|
5536
5546
|
attr_accessor :target
|
|
@@ -7158,9 +7168,9 @@ module Google
|
|
|
7158
7168
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
|
7159
7169
|
attr_accessor :source_disk_encryption_key
|
|
7160
7170
|
|
|
7161
|
-
# The ID value of the disk used to create this image. This value
|
|
7162
|
-
# determine whether the image was taken from the current or a
|
|
7163
|
-
# of a given disk name.
|
|
7171
|
+
# [Output Only] The ID value of the disk used to create this image. This value
|
|
7172
|
+
# may be used to determine whether the image was taken from the current or a
|
|
7173
|
+
# previous instance of a given disk name.
|
|
7164
7174
|
# Corresponds to the JSON property `sourceDiskId`
|
|
7165
7175
|
# @return [String]
|
|
7166
7176
|
attr_accessor :source_disk_id
|
|
@@ -8128,7 +8138,8 @@ module Google
|
|
|
8128
8138
|
# @return [String]
|
|
8129
8139
|
attr_accessor :description
|
|
8130
8140
|
|
|
8131
|
-
# Policy
|
|
8141
|
+
# Policy specifying intended distribution of instances in regional managed
|
|
8142
|
+
# instance group.
|
|
8132
8143
|
# Corresponds to the JSON property `distributionPolicy`
|
|
8133
8144
|
# @return [Google::Apis::ComputeBeta::DistributionPolicy]
|
|
8134
8145
|
attr_accessor :distribution_policy
|
|
@@ -8142,6 +8153,8 @@ module Google
|
|
|
8142
8153
|
# Fingerprint of this resource. This field may be used in optimistic locking. It
|
|
8143
8154
|
# will be ignored when inserting an InstanceGroupManager. An up-to-date
|
|
8144
8155
|
# fingerprint must be provided in order to update the InstanceGroupManager.
|
|
8156
|
+
# To see the latest fingerprint, make a get() request to retrieve an
|
|
8157
|
+
# InstanceGroupManager.
|
|
8145
8158
|
# Corresponds to the JSON property `fingerprint`
|
|
8146
8159
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
8147
8160
|
# @return [String]
|
|
@@ -12538,6 +12551,7 @@ module Google
|
|
|
12538
12551
|
# initially generated by Compute Engine and changes after every request to
|
|
12539
12552
|
# modify or update metadata. You must always provide an up-to-date fingerprint
|
|
12540
12553
|
# hash in order to update or change metadata.
|
|
12554
|
+
# To see the latest fingerprint, make a get() request to retrieve the resource.
|
|
12541
12555
|
# Corresponds to the JSON property `fingerprint`
|
|
12542
12556
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
12543
12557
|
# @return [String]
|
|
@@ -12733,8 +12747,8 @@ module Google
|
|
|
12733
12747
|
include Google::Apis::Core::Hashable
|
|
12734
12748
|
|
|
12735
12749
|
# The name for a specific VM instance that the IP address belongs to. This is
|
|
12736
|
-
# required for network endpoints of type
|
|
12737
|
-
#
|
|
12750
|
+
# required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
|
|
12751
|
+
# the same zone of network endpoint group.
|
|
12738
12752
|
# The name must be 1-63 characters long, and comply with RFC1035.
|
|
12739
12753
|
# Corresponds to the JSON property `instance`
|
|
12740
12754
|
# @return [String]
|
|
@@ -12794,8 +12808,7 @@ module Google
|
|
|
12794
12808
|
# @return [String]
|
|
12795
12809
|
attr_accessor :kind
|
|
12796
12810
|
|
|
12797
|
-
# Load balancing specific fields for network endpoint group
|
|
12798
|
-
# LOAD_BALANCING.
|
|
12811
|
+
# Load balancing specific fields for network endpoint group.
|
|
12799
12812
|
# Corresponds to the JSON property `loadBalancer`
|
|
12800
12813
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup]
|
|
12801
12814
|
attr_accessor :load_balancer
|
|
@@ -12810,8 +12823,8 @@ module Google
|
|
|
12810
12823
|
# @return [String]
|
|
12811
12824
|
attr_accessor :name
|
|
12812
12825
|
|
|
12813
|
-
# Type of network endpoints in this network endpoint group.
|
|
12814
|
-
#
|
|
12826
|
+
# Type of network endpoints in this network endpoint group. Currently the only
|
|
12827
|
+
# supported value is GCE_VM_IP_PORT.
|
|
12815
12828
|
# Corresponds to the JSON property `networkEndpointType`
|
|
12816
12829
|
# @return [String]
|
|
12817
12830
|
attr_accessor :network_endpoint_type
|
|
@@ -12826,12 +12839,6 @@ module Google
|
|
|
12826
12839
|
# @return [Fixnum]
|
|
12827
12840
|
attr_accessor :size
|
|
12828
12841
|
|
|
12829
|
-
# Specify the type of this network endpoint group. Only LOAD_BALANCING is valid
|
|
12830
|
-
# for now.
|
|
12831
|
-
# Corresponds to the JSON property `type`
|
|
12832
|
-
# @return [String]
|
|
12833
|
-
attr_accessor :type
|
|
12834
|
-
|
|
12835
12842
|
def initialize(**args)
|
|
12836
12843
|
update!(**args)
|
|
12837
12844
|
end
|
|
@@ -12847,7 +12854,6 @@ module Google
|
|
|
12847
12854
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
|
12848
12855
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
12849
12856
|
@size = args[:size] if args.key?(:size)
|
|
12850
|
-
@type = args[:type] if args.key?(:type)
|
|
12851
12857
|
end
|
|
12852
12858
|
end
|
|
12853
12859
|
|
|
@@ -12970,14 +12976,12 @@ module Google
|
|
|
12970
12976
|
end
|
|
12971
12977
|
end
|
|
12972
12978
|
|
|
12973
|
-
# Load balancing specific fields for network endpoint group
|
|
12974
|
-
# LOAD_BALANCING.
|
|
12979
|
+
# Load balancing specific fields for network endpoint group.
|
|
12975
12980
|
class NetworkEndpointGroupLbNetworkEndpointGroup
|
|
12976
12981
|
include Google::Apis::Core::Hashable
|
|
12977
12982
|
|
|
12978
12983
|
# The default port used if the port number is not specified in the network
|
|
12979
|
-
# endpoint.
|
|
12980
|
-
# specified.
|
|
12984
|
+
# endpoint.
|
|
12981
12985
|
# Corresponds to the JSON property `defaultPort`
|
|
12982
12986
|
# @return [Fixnum]
|
|
12983
12987
|
attr_accessor :default_port
|
|
@@ -14100,6 +14104,11 @@ module Google
|
|
|
14100
14104
|
# @return [String]
|
|
14101
14105
|
attr_accessor :node_type
|
|
14102
14106
|
|
|
14107
|
+
#
|
|
14108
|
+
# Corresponds to the JSON property `status`
|
|
14109
|
+
# @return [String]
|
|
14110
|
+
attr_accessor :status
|
|
14111
|
+
|
|
14103
14112
|
def initialize(**args)
|
|
14104
14113
|
update!(**args)
|
|
14105
14114
|
end
|
|
@@ -14109,6 +14118,7 @@ module Google
|
|
|
14109
14118
|
@instances = args[:instances] if args.key?(:instances)
|
|
14110
14119
|
@name = args[:name] if args.key?(:name)
|
|
14111
14120
|
@node_type = args[:node_type] if args.key?(:node_type)
|
|
14121
|
+
@status = args[:status] if args.key?(:status)
|
|
14112
14122
|
end
|
|
14113
14123
|
end
|
|
14114
14124
|
|
|
@@ -19873,6 +19883,7 @@ module Google
|
|
|
19873
19883
|
# This field is used in optimistic locking. This field will be ignored when
|
|
19874
19884
|
# inserting a SslPolicy. An up-to-date fingerprint must be provided in order to
|
|
19875
19885
|
# update the SslPolicy.
|
|
19886
|
+
# To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
|
|
19876
19887
|
# Corresponds to the JSON property `fingerprint`
|
|
19877
19888
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
19878
19889
|
# @return [String]
|
|
@@ -20072,6 +20083,7 @@ module Google
|
|
|
20072
20083
|
# This field is used in optimistic locking. This field will be ignored when
|
|
20073
20084
|
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
|
|
20074
20085
|
# update the Subnetwork.
|
|
20086
|
+
# To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
|
|
20075
20087
|
# Corresponds to the JSON property `fingerprint`
|
|
20076
20088
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
20077
20089
|
# @return [String]
|
|
@@ -22614,7 +22626,7 @@ module Google
|
|
|
22614
22626
|
# fingerprint is initially generated by Compute Engine and changes after every
|
|
22615
22627
|
# request to modify or update labels. You must always provide an up-to-date
|
|
22616
22628
|
# fingerprint hash in order to update or change labels.
|
|
22617
|
-
# To see the latest fingerprint, make a get() request to retrieve
|
|
22629
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
|
22618
22630
|
# TargetVpnGateway.
|
|
22619
22631
|
# Corresponds to the JSON property `labelFingerprint`
|
|
22620
22632
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
@@ -23159,6 +23171,7 @@ module Google
|
|
|
23159
23171
|
# This field is used in optimistic locking. This field will be ignored when
|
|
23160
23172
|
# inserting a UrlMap. An up-to-date fingerprint must be provided in order to
|
|
23161
23173
|
# update the UrlMap.
|
|
23174
|
+
# To see the latest fingerprint, make a get() request to retrieve a UrlMap.
|
|
23162
23175
|
# Corresponds to the JSON property `fingerprint`
|
|
23163
23176
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
23164
23177
|
# @return [String]
|
|
@@ -24596,56 +24609,6 @@ module Google
|
|
|
24596
24609
|
@labels = args[:labels] if args.key?(:labels)
|
|
24597
24610
|
end
|
|
24598
24611
|
end
|
|
24599
|
-
|
|
24600
|
-
#
|
|
24601
|
-
class ZoneSetPolicyRequest
|
|
24602
|
-
include Google::Apis::Core::Hashable
|
|
24603
|
-
|
|
24604
|
-
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
|
24605
|
-
# policy' to specify bindings.
|
|
24606
|
-
# Corresponds to the JSON property `bindings`
|
|
24607
|
-
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
|
24608
|
-
attr_accessor :bindings
|
|
24609
|
-
|
|
24610
|
-
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
|
24611
|
-
# policy' to specify the etag.
|
|
24612
|
-
# Corresponds to the JSON property `etag`
|
|
24613
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
24614
|
-
# @return [String]
|
|
24615
|
-
attr_accessor :etag
|
|
24616
|
-
|
|
24617
|
-
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
|
24618
|
-
# access control policies for Cloud Platform resources.
|
|
24619
|
-
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
|
24620
|
-
# members` to a `role`, where the members can be user accounts, Google groups,
|
|
24621
|
-
# Google domains, and service accounts. A `role` is a named list of permissions
|
|
24622
|
-
# defined by IAM.
|
|
24623
|
-
# **JSON Example**
|
|
24624
|
-
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
|
24625
|
-
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
|
24626
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
|
24627
|
-
# sean@example.com"] ` ] `
|
|
24628
|
-
# **YAML Example**
|
|
24629
|
-
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
|
24630
|
-
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
|
24631
|
-
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
|
24632
|
-
# For a description of IAM and its features, see the [IAM developer's guide](
|
|
24633
|
-
# https://cloud.google.com/iam/docs).
|
|
24634
|
-
# Corresponds to the JSON property `policy`
|
|
24635
|
-
# @return [Google::Apis::ComputeBeta::Policy]
|
|
24636
|
-
attr_accessor :policy
|
|
24637
|
-
|
|
24638
|
-
def initialize(**args)
|
|
24639
|
-
update!(**args)
|
|
24640
|
-
end
|
|
24641
|
-
|
|
24642
|
-
# Update properties of this object
|
|
24643
|
-
def update!(**args)
|
|
24644
|
-
@bindings = args[:bindings] if args.key?(:bindings)
|
|
24645
|
-
@etag = args[:etag] if args.key?(:etag)
|
|
24646
|
-
@policy = args[:policy] if args.key?(:policy)
|
|
24647
|
-
end
|
|
24648
|
-
end
|
|
24649
24612
|
end
|
|
24650
24613
|
end
|
|
24651
24614
|
end
|
|
@@ -3418,12 +3418,6 @@ module Google
|
|
|
3418
3418
|
include Google::Apis::Core::JsonObjectSupport
|
|
3419
3419
|
end
|
|
3420
3420
|
|
|
3421
|
-
class ZoneSetPolicyRequest
|
|
3422
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3423
|
-
|
|
3424
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
3425
|
-
end
|
|
3426
|
-
|
|
3427
3421
|
class AcceleratorConfig
|
|
3428
3422
|
# @private
|
|
3429
3423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -6530,7 +6524,6 @@ module Google
|
|
|
6530
6524
|
property :network_endpoint_type, as: 'networkEndpointType'
|
|
6531
6525
|
property :self_link, as: 'selfLink'
|
|
6532
6526
|
property :size, as: 'size'
|
|
6533
|
-
property :type, as: 'type'
|
|
6534
6527
|
end
|
|
6535
6528
|
end
|
|
6536
6529
|
|
|
@@ -6869,6 +6862,7 @@ module Google
|
|
|
6869
6862
|
collection :instances, as: 'instances'
|
|
6870
6863
|
property :name, as: 'name'
|
|
6871
6864
|
property :node_type, as: 'nodeType'
|
|
6865
|
+
property :status, as: 'status'
|
|
6872
6866
|
end
|
|
6873
6867
|
end
|
|
6874
6868
|
|
|
@@ -9606,17 +9600,6 @@ module Google
|
|
|
9606
9600
|
hash :labels, as: 'labels'
|
|
9607
9601
|
end
|
|
9608
9602
|
end
|
|
9609
|
-
|
|
9610
|
-
class ZoneSetPolicyRequest
|
|
9611
|
-
# @private
|
|
9612
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9613
|
-
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
|
|
9614
|
-
|
|
9615
|
-
property :etag, :base64 => true, as: 'etag'
|
|
9616
|
-
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
|
|
9617
|
-
|
|
9618
|
-
end
|
|
9619
|
-
end
|
|
9620
9603
|
end
|
|
9621
9604
|
end
|
|
9622
9605
|
end
|
|
@@ -11954,46 +11954,6 @@ module Google
|
|
|
11954
11954
|
execute_or_queue_command(command, &block)
|
|
11955
11955
|
end
|
|
11956
11956
|
|
|
11957
|
-
# Gets the access control policy for a resource. May be empty if no such policy
|
|
11958
|
-
# or resource exists.
|
|
11959
|
-
# @param [String] project
|
|
11960
|
-
# Project ID for this request.
|
|
11961
|
-
# @param [String] zone
|
|
11962
|
-
# The name of the zone for this request.
|
|
11963
|
-
# @param [String] resource
|
|
11964
|
-
# Name of the resource for this request.
|
|
11965
|
-
# @param [String] fields
|
|
11966
|
-
# Selector specifying which fields to include in a partial response.
|
|
11967
|
-
# @param [String] quota_user
|
|
11968
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
11969
|
-
# characters.
|
|
11970
|
-
# @param [String] user_ip
|
|
11971
|
-
# Deprecated. Please use quotaUser instead.
|
|
11972
|
-
# @param [Google::Apis::RequestOptions] options
|
|
11973
|
-
# Request-specific options
|
|
11974
|
-
#
|
|
11975
|
-
# @yield [result, err] Result & error if block supplied
|
|
11976
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
11977
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
11978
|
-
#
|
|
11979
|
-
# @return [Google::Apis::ComputeBeta::Policy]
|
|
11980
|
-
#
|
|
11981
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11982
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11983
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11984
|
-
def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
11985
|
-
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
|
|
11986
|
-
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
11987
|
-
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
11988
|
-
command.params['project'] = project unless project.nil?
|
|
11989
|
-
command.params['zone'] = zone unless zone.nil?
|
|
11990
|
-
command.params['resource'] = resource unless resource.nil?
|
|
11991
|
-
command.query['fields'] = fields unless fields.nil?
|
|
11992
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11993
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
11994
|
-
execute_or_queue_command(command, &block)
|
|
11995
|
-
end
|
|
11996
|
-
|
|
11997
11957
|
# Creates a NodeGroup resource in the specified project using the data included
|
|
11998
11958
|
# in the request.
|
|
11999
11959
|
# @param [String] project
|
|
@@ -12123,49 +12083,6 @@ module Google
|
|
|
12123
12083
|
execute_or_queue_command(command, &block)
|
|
12124
12084
|
end
|
|
12125
12085
|
|
|
12126
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
12127
|
-
# existing policy.
|
|
12128
|
-
# @param [String] project
|
|
12129
|
-
# Project ID for this request.
|
|
12130
|
-
# @param [String] zone
|
|
12131
|
-
# The name of the zone for this request.
|
|
12132
|
-
# @param [String] resource
|
|
12133
|
-
# Name of the resource for this request.
|
|
12134
|
-
# @param [Google::Apis::ComputeBeta::ZoneSetPolicyRequest] zone_set_policy_request_object
|
|
12135
|
-
# @param [String] fields
|
|
12136
|
-
# Selector specifying which fields to include in a partial response.
|
|
12137
|
-
# @param [String] quota_user
|
|
12138
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12139
|
-
# characters.
|
|
12140
|
-
# @param [String] user_ip
|
|
12141
|
-
# Deprecated. Please use quotaUser instead.
|
|
12142
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12143
|
-
# Request-specific options
|
|
12144
|
-
#
|
|
12145
|
-
# @yield [result, err] Result & error if block supplied
|
|
12146
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
12147
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12148
|
-
#
|
|
12149
|
-
# @return [Google::Apis::ComputeBeta::Policy]
|
|
12150
|
-
#
|
|
12151
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12152
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12153
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12154
|
-
def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12155
|
-
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
|
12156
|
-
command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation
|
|
12157
|
-
command.request_object = zone_set_policy_request_object
|
|
12158
|
-
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
12159
|
-
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
12160
|
-
command.params['project'] = project unless project.nil?
|
|
12161
|
-
command.params['zone'] = zone unless zone.nil?
|
|
12162
|
-
command.params['resource'] = resource unless resource.nil?
|
|
12163
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12164
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12165
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12166
|
-
execute_or_queue_command(command, &block)
|
|
12167
|
-
end
|
|
12168
|
-
|
|
12169
12086
|
# Updates the node template of the node group.
|
|
12170
12087
|
# @param [String] project
|
|
12171
12088
|
# Project ID for this request.
|
|
@@ -12220,48 +12137,6 @@ module Google
|
|
|
12220
12137
|
execute_or_queue_command(command, &block)
|
|
12221
12138
|
end
|
|
12222
12139
|
|
|
12223
|
-
# Returns permissions that a caller has on the specified resource.
|
|
12224
|
-
# @param [String] project
|
|
12225
|
-
# Project ID for this request.
|
|
12226
|
-
# @param [String] zone
|
|
12227
|
-
# The name of the zone for this request.
|
|
12228
|
-
# @param [String] resource
|
|
12229
|
-
# Name of the resource for this request.
|
|
12230
|
-
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
12231
|
-
# @param [String] fields
|
|
12232
|
-
# Selector specifying which fields to include in a partial response.
|
|
12233
|
-
# @param [String] quota_user
|
|
12234
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12235
|
-
# characters.
|
|
12236
|
-
# @param [String] user_ip
|
|
12237
|
-
# Deprecated. Please use quotaUser instead.
|
|
12238
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12239
|
-
# Request-specific options
|
|
12240
|
-
#
|
|
12241
|
-
# @yield [result, err] Result & error if block supplied
|
|
12242
|
-
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
12243
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12244
|
-
#
|
|
12245
|
-
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
12246
|
-
#
|
|
12247
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12248
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12249
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12250
|
-
def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12251
|
-
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options)
|
|
12252
|
-
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
12253
|
-
command.request_object = test_permissions_request_object
|
|
12254
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
12255
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
12256
|
-
command.params['project'] = project unless project.nil?
|
|
12257
|
-
command.params['zone'] = zone unless zone.nil?
|
|
12258
|
-
command.params['resource'] = resource unless resource.nil?
|
|
12259
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12260
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12261
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12262
|
-
execute_or_queue_command(command, &block)
|
|
12263
|
-
end
|
|
12264
|
-
|
|
12265
12140
|
# Retrieves an aggregated list of node templates.
|
|
12266
12141
|
# @param [String] project
|
|
12267
12142
|
# Project ID for this request.
|
|
@@ -12424,46 +12299,6 @@ module Google
|
|
|
12424
12299
|
execute_or_queue_command(command, &block)
|
|
12425
12300
|
end
|
|
12426
12301
|
|
|
12427
|
-
# Gets the access control policy for a resource. May be empty if no such policy
|
|
12428
|
-
# or resource exists.
|
|
12429
|
-
# @param [String] project
|
|
12430
|
-
# Project ID for this request.
|
|
12431
|
-
# @param [String] region
|
|
12432
|
-
# The name of the region for this request.
|
|
12433
|
-
# @param [String] resource
|
|
12434
|
-
# Name of the resource for this request.
|
|
12435
|
-
# @param [String] fields
|
|
12436
|
-
# Selector specifying which fields to include in a partial response.
|
|
12437
|
-
# @param [String] quota_user
|
|
12438
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12439
|
-
# characters.
|
|
12440
|
-
# @param [String] user_ip
|
|
12441
|
-
# Deprecated. Please use quotaUser instead.
|
|
12442
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12443
|
-
# Request-specific options
|
|
12444
|
-
#
|
|
12445
|
-
# @yield [result, err] Result & error if block supplied
|
|
12446
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
12447
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12448
|
-
#
|
|
12449
|
-
# @return [Google::Apis::ComputeBeta::Policy]
|
|
12450
|
-
#
|
|
12451
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12452
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12453
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12454
|
-
def get_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12455
|
-
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options)
|
|
12456
|
-
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
12457
|
-
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
12458
|
-
command.params['project'] = project unless project.nil?
|
|
12459
|
-
command.params['region'] = region unless region.nil?
|
|
12460
|
-
command.params['resource'] = resource unless resource.nil?
|
|
12461
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12462
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12463
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12464
|
-
execute_or_queue_command(command, &block)
|
|
12465
|
-
end
|
|
12466
|
-
|
|
12467
12302
|
# Creates a NodeTemplate resource in the specified project using the data
|
|
12468
12303
|
# included in the request.
|
|
12469
12304
|
# @param [String] project
|
|
@@ -12590,91 +12425,6 @@ module Google
|
|
|
12590
12425
|
execute_or_queue_command(command, &block)
|
|
12591
12426
|
end
|
|
12592
12427
|
|
|
12593
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
12594
|
-
# existing policy.
|
|
12595
|
-
# @param [String] project
|
|
12596
|
-
# Project ID for this request.
|
|
12597
|
-
# @param [String] region
|
|
12598
|
-
# The name of the region for this request.
|
|
12599
|
-
# @param [String] resource
|
|
12600
|
-
# Name of the resource for this request.
|
|
12601
|
-
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_object
|
|
12602
|
-
# @param [String] fields
|
|
12603
|
-
# Selector specifying which fields to include in a partial response.
|
|
12604
|
-
# @param [String] quota_user
|
|
12605
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12606
|
-
# characters.
|
|
12607
|
-
# @param [String] user_ip
|
|
12608
|
-
# Deprecated. Please use quotaUser instead.
|
|
12609
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12610
|
-
# Request-specific options
|
|
12611
|
-
#
|
|
12612
|
-
# @yield [result, err] Result & error if block supplied
|
|
12613
|
-
# @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object
|
|
12614
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12615
|
-
#
|
|
12616
|
-
# @return [Google::Apis::ComputeBeta::Policy]
|
|
12617
|
-
#
|
|
12618
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12619
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12620
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12621
|
-
def set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12622
|
-
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options)
|
|
12623
|
-
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
|
12624
|
-
command.request_object = region_set_policy_request_object
|
|
12625
|
-
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
|
12626
|
-
command.response_class = Google::Apis::ComputeBeta::Policy
|
|
12627
|
-
command.params['project'] = project unless project.nil?
|
|
12628
|
-
command.params['region'] = region unless region.nil?
|
|
12629
|
-
command.params['resource'] = resource unless resource.nil?
|
|
12630
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12631
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12632
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12633
|
-
execute_or_queue_command(command, &block)
|
|
12634
|
-
end
|
|
12635
|
-
|
|
12636
|
-
# Returns permissions that a caller has on the specified resource.
|
|
12637
|
-
# @param [String] project
|
|
12638
|
-
# Project ID for this request.
|
|
12639
|
-
# @param [String] region
|
|
12640
|
-
# The name of the region for this request.
|
|
12641
|
-
# @param [String] resource
|
|
12642
|
-
# Name of the resource for this request.
|
|
12643
|
-
# @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object
|
|
12644
|
-
# @param [String] fields
|
|
12645
|
-
# Selector specifying which fields to include in a partial response.
|
|
12646
|
-
# @param [String] quota_user
|
|
12647
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
12648
|
-
# characters.
|
|
12649
|
-
# @param [String] user_ip
|
|
12650
|
-
# Deprecated. Please use quotaUser instead.
|
|
12651
|
-
# @param [Google::Apis::RequestOptions] options
|
|
12652
|
-
# Request-specific options
|
|
12653
|
-
#
|
|
12654
|
-
# @yield [result, err] Result & error if block supplied
|
|
12655
|
-
# @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object
|
|
12656
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
12657
|
-
#
|
|
12658
|
-
# @return [Google::Apis::ComputeBeta::TestPermissionsResponse]
|
|
12659
|
-
#
|
|
12660
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
12661
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
12662
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
12663
|
-
def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
12664
|
-
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
|
|
12665
|
-
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
|
12666
|
-
command.request_object = test_permissions_request_object
|
|
12667
|
-
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
|
12668
|
-
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
|
12669
|
-
command.params['project'] = project unless project.nil?
|
|
12670
|
-
command.params['region'] = region unless region.nil?
|
|
12671
|
-
command.params['resource'] = resource unless resource.nil?
|
|
12672
|
-
command.query['fields'] = fields unless fields.nil?
|
|
12673
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
12674
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
12675
|
-
execute_or_queue_command(command, &block)
|
|
12676
|
-
end
|
|
12677
|
-
|
|
12678
12428
|
# Retrieves an aggregated list of node types.
|
|
12679
12429
|
# @param [String] project
|
|
12680
12430
|
# Project ID for this request.
|