google-apis-compute_alpha 0.25.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 735467ab32ab65e1f6ec54d02d6eba82c4cc55a16e91173ea6d3c446ef06fbf0
4
- data.tar.gz: 6863e9cf8ae6e0f6b6590392fe31a0ea04edc6f2ef6d3a2d0377e44e27f57907
3
+ metadata.gz: 12a0d7d352784bf3d35456512fb138ced5ad6b1217f9e0b6f9bd2be9e4aa1150
4
+ data.tar.gz: bcf24ee4bfb3e061f8941bd78949fe6599a002da2992c5824b46b484f3a420b4
5
5
  SHA512:
6
- metadata.gz: '085bdda6486bc5c93302fb91f0cfe7d495320c909a977b84305601fa09a5e080cabea83b29be28766183bdbe0e05fba2c59f8f2b89273f91ca58a98ab17b96b3'
7
- data.tar.gz: dadade7e4a03658ff60627053cb2a90a4ddffdfb0e5ffde9e65f2d8d6f5b63e5d0cd753c4e59233adaa1fced5bc1be33014a5afa4f0d673ce5bc1752c01a2061
6
+ metadata.gz: 1310a932328f78af34a401d3053c9fedeaeb7caad270824febc24bd8c5ef417830765d31d37407653dab254ac7726514fcacc53aaa9fb9f0af9271ee6c1f62e6
7
+ data.tar.gz: fcb28cffdf939d5844be21f01ec9ac34de91e644ab3352d6958cc4390269175c7a77e57334c00f2d9cd5ab6cbbf06d9a39676176a5795a7594db42a31e200dfd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.28.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+
7
+ ### v0.27.0 (2022-02-26)
8
+
9
+ * Regenerated from discovery document revision 20220224
10
+
11
+ ### v0.26.0 (2022-02-18)
12
+
13
+ * Regenerated from discovery document revision 20220215
14
+
3
15
  ### v0.25.0 (2022-02-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220206
@@ -611,6 +611,13 @@ module Google
611
611
  # @return [String]
612
612
  attr_accessor :ip_version
613
613
 
614
+ # The endpoint type of this address, which should be VM. This is used for
615
+ # deciding which endpoint this address will be assigned to during the IPv6
616
+ # external IP address reservation.
617
+ # Corresponds to the JSON property `ipv6EndpointType`
618
+ # @return [String]
619
+ attr_accessor :ipv6_endpoint_type
620
+
614
621
  # [Output Only] Type of the resource. Always compute#address for addresses.
615
622
  # Corresponds to the JSON property `kind`
616
623
  # @return [String]
@@ -734,6 +741,7 @@ module Google
734
741
  @description = args[:description] if args.key?(:description)
735
742
  @id = args[:id] if args.key?(:id)
736
743
  @ip_version = args[:ip_version] if args.key?(:ip_version)
744
+ @ipv6_endpoint_type = args[:ipv6_endpoint_type] if args.key?(:ipv6_endpoint_type)
737
745
  @kind = args[:kind] if args.key?(:kind)
738
746
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
739
747
  @labels = args[:labels] if args.key?(:labels)
@@ -1298,6 +1306,12 @@ module Google
1298
1306
  class AttachedDisk
1299
1307
  include Google::Apis::Core::Hashable
1300
1308
 
1309
+ # [Output Only] The architecture of the attached disk. Valid values are ARM64 or
1310
+ # X86_64.
1311
+ # Corresponds to the JSON property `architecture`
1312
+ # @return [String]
1313
+ attr_accessor :architecture
1314
+
1301
1315
  # Specifies whether the disk will be auto-deleted when the instance is deleted (
1302
1316
  # but not when the disk is detached from the instance).
1303
1317
  # Corresponds to the JSON property `autoDelete`
@@ -1456,6 +1470,7 @@ module Google
1456
1470
 
1457
1471
  # Update properties of this object
1458
1472
  def update!(**args)
1473
+ @architecture = args[:architecture] if args.key?(:architecture)
1459
1474
  @auto_delete = args[:auto_delete] if args.key?(:auto_delete)
1460
1475
  @boot = args[:boot] if args.key?(:boot)
1461
1476
  @device_name = args[:device_name] if args.key?(:device_name)
@@ -1692,6 +1707,11 @@ module Google
1692
1707
  # @return [Array<Google::Apis::ComputeAlpha::AuditLogConfig>]
1693
1708
  attr_accessor :audit_log_configs
1694
1709
 
1710
+ # This is deprecated and has no effect. Do not use.
1711
+ # Corresponds to the JSON property `exemptedMembers`
1712
+ # @return [Array<String>]
1713
+ attr_accessor :exempted_members
1714
+
1695
1715
  # Specifies a service that will be enabled for audit logging. For example, `
1696
1716
  # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
1697
1717
  # value that covers all services.
@@ -1706,6 +1726,7 @@ module Google
1706
1726
  # Update properties of this object
1707
1727
  def update!(**args)
1708
1728
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
1729
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
1709
1730
  @service = args[:service] if args.key?(:service)
1710
1731
  end
1711
1732
  end
@@ -9094,6 +9115,12 @@ module Google
9094
9115
  # @return [Array<String>]
9095
9116
  attr_accessor :dest_region_codes
9096
9117
 
9118
+ # Names of Network Threat Intelligence lists. The IPs in these lists will be
9119
+ # matched against traffic destination.
9120
+ # Corresponds to the JSON property `destThreatIntelligences`
9121
+ # @return [Array<String>]
9122
+ attr_accessor :dest_threat_intelligences
9123
+
9097
9124
  # Pairs of IP protocols and ports that the rule should match.
9098
9125
  # Corresponds to the JSON property `layer4Configs`
9099
9126
  # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config>]
@@ -9131,6 +9158,12 @@ module Google
9131
9158
  # @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag>]
9132
9159
  attr_accessor :src_secure_tags
9133
9160
 
9161
+ # Names of Network Threat Intelligence lists. The IPs in these lists will be
9162
+ # matched against traffic source.
9163
+ # Corresponds to the JSON property `srcThreatIntelligences`
9164
+ # @return [Array<String>]
9165
+ attr_accessor :src_threat_intelligences
9166
+
9134
9167
  def initialize(**args)
9135
9168
  update!(**args)
9136
9169
  end
@@ -9141,12 +9174,14 @@ module Google
9141
9174
  @dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
9142
9175
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
9143
9176
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
9177
+ @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
9144
9178
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
9145
9179
  @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
9146
9180
  @src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
9147
9181
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
9148
9182
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
9149
9183
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
9184
+ @src_threat_intelligences = args[:src_threat_intelligences] if args.key?(:src_threat_intelligences)
9150
9185
  end
9151
9186
  end
9152
9187
 
@@ -9997,7 +10032,8 @@ module Google
9997
10032
  # @return [Fixnum]
9998
10033
  attr_accessor :id
9999
10034
 
10000
- #
10035
+ # [Output Only] Type of the resource. Always compute#futureReservation for
10036
+ # future reservations.
10001
10037
  # Corresponds to the JSON property `kind`
10002
10038
  # @return [String]
10003
10039
  attr_accessor :kind
@@ -10199,7 +10235,9 @@ module Google
10199
10235
  # @return [Hash<String,Google::Apis::ComputeAlpha::FutureReservationsScopedList>]
10200
10236
  attr_accessor :items
10201
10237
 
10202
- #
10238
+ # [Output Only] Type of resource. Always compute#
10239
+ # futureReservationsAggregatedListResponse for future resevation aggregated list
10240
+ # response.
10203
10241
  # Corresponds to the JSON property `kind`
10204
10242
  # @return [String]
10205
10243
  attr_accessor :kind
@@ -10329,7 +10367,8 @@ module Google
10329
10367
  # @return [Array<Google::Apis::ComputeAlpha::FutureReservation>]
10330
10368
  attr_accessor :items
10331
10369
 
10332
- #
10370
+ # [Output Only] Type of resource.Always compute#FutureReservationsListResponse
10371
+ # for lists of reservations
10333
10372
  # Corresponds to the JSON property `kind`
10334
10373
  # @return [String]
10335
10374
  attr_accessor :kind
@@ -18411,8 +18450,7 @@ module Google
18411
18450
  attr_accessor :disk_size_gb
18412
18451
 
18413
18452
  # Whether to attempt an application consistent instant snapshot by informing the
18414
- # OS to prepare for the snapshot process. Currently only supported on Windows
18415
- # instances using the Volume Shadow Copy Service (VSS).
18453
+ # OS to prepare for the snapshot process.
18416
18454
  # Corresponds to the JSON property `guestFlush`
18417
18455
  # @return [Boolean]
18418
18456
  attr_accessor :guest_flush
@@ -19259,13 +19297,7 @@ module Google
19259
19297
  # @return [String]
19260
19298
  attr_accessor :bandwidth
19261
19299
 
19262
- # Up to 16 candidate prefixes that control the allocation of
19263
- # cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each
19264
- # prefix must be in the Global Unique Address (GUA) space. It is highly
19265
- # recommended that it be in a range owned by the requestor. A GUA in a range
19266
- # owned by Google will cause the request to fail. Google will select an
19267
- # available prefix from the supplied candidates or fail the request. If not
19268
- # supplied, a /125 from a Google-owned GUA block will be selected.
19300
+ # This field is not available.
19269
19301
  # Corresponds to the JSON property `candidateIpv6Subnets`
19270
19302
  # @return [Array<String>]
19271
19303
  attr_accessor :candidate_ipv6_subnets
@@ -19293,10 +19325,7 @@ module Google
19293
19325
  # @return [String]
19294
19326
  attr_accessor :cloud_router_ipv6_address
19295
19327
 
19296
- # If supplied, the interface id (index within the subnet) to be used for the
19297
- # cloud router address. The id must be in the range of 1 to 6. If a subnet mask
19298
- # is supplied, it must be /125, and the subnet should either be 0 or match the
19299
- # selected subnet.
19328
+ # This field is not available.
19300
19329
  # Corresponds to the JSON property `cloudRouterIpv6InterfaceId`
19301
19330
  # @return [String]
19302
19331
  attr_accessor :cloud_router_ipv6_interface_id
@@ -19318,10 +19347,7 @@ module Google
19318
19347
  # @return [String]
19319
19348
  attr_accessor :customer_router_ipv6_address
19320
19349
 
19321
- # If supplied, the interface id (index within the subnet) to be used for the
19322
- # customer router address. The id must be in the range of 1 to 6. If a subnet
19323
- # mask is supplied, it must be /125, and the subnet should either be 0 or match
19324
- # the selected subnet.
19350
+ # This field is not available.
19325
19351
  # Corresponds to the JSON property `customerRouterIpv6InterfaceId`
19326
19352
  # @return [String]
19327
19353
  attr_accessor :customer_router_ipv6_interface_id
@@ -21906,8 +21932,7 @@ module Google
21906
21932
  attr_accessor :description
21907
21933
 
21908
21934
  # [Input Only] Whether to attempt an application consistent machine image by
21909
- # informing the OS to prepare for the snapshot process. Currently only supported
21910
- # on Windows instances using the Volume Shadow Copy Service (VSS).
21935
+ # informing the OS to prepare for the snapshot process.
21911
21936
  # Corresponds to the JSON property `guestFlush`
21912
21937
  # @return [Boolean]
21913
21938
  attr_accessor :guest_flush
@@ -22170,6 +22195,11 @@ module Google
22170
22195
  # @return [Array<Google::Apis::ComputeAlpha::MachineType::Accelerator>]
22171
22196
  attr_accessor :accelerators
22172
22197
 
22198
+ # [Output Only] The architecture of the machine type.
22199
+ # Corresponds to the JSON property `architecture`
22200
+ # @return [String]
22201
+ attr_accessor :architecture
22202
+
22173
22203
  # [Output Only] Creation timestamp in RFC3339 text format.
22174
22204
  # Corresponds to the JSON property `creationTimestamp`
22175
22205
  # @return [String]
@@ -22253,6 +22283,7 @@ module Google
22253
22283
  # Update properties of this object
22254
22284
  def update!(**args)
22255
22285
  @accelerators = args[:accelerators] if args.key?(:accelerators)
22286
+ @architecture = args[:architecture] if args.key?(:architecture)
22256
22287
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
22257
22288
  @deprecated = args[:deprecated] if args.key?(:deprecated)
22258
22289
  @description = args[:description] if args.key?(:description)
@@ -23302,7 +23333,8 @@ module Google
23302
23333
  # @return [Fixnum]
23303
23334
  attr_accessor :id
23304
23335
 
23305
- #
23336
+ # [Output only] Type of the resource. Always compute#networkEdgeSecurityService
23337
+ # for NetworkEdgeSecurityServices
23306
23338
  # Corresponds to the JSON property `kind`
23307
23339
  # @return [String]
23308
23340
  attr_accessor :kind
@@ -23378,7 +23410,9 @@ module Google
23378
23410
  # @return [Hash<String,Google::Apis::ComputeAlpha::NetworkEdgeSecurityServicesScopedList>]
23379
23411
  attr_accessor :items
23380
23412
 
23381
- #
23413
+ # [Output Only] Type of resource. Always compute#
23414
+ # networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security
23415
+ # Services.
23382
23416
  # Corresponds to the JSON property `kind`
23383
23417
  # @return [String]
23384
23418
  attr_accessor :kind
@@ -35137,7 +35171,7 @@ module Google
35137
35171
  # Cloud Router will initiate the BFD session for this BGP peer. If set to
35138
35172
  # PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
35139
35173
  # session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
35140
- # peer. The default is PASSIVE.
35174
+ # peer. The default is DISABLED.
35141
35175
  # Corresponds to the JSON property `sessionInitializationMode`
35142
35176
  # @return [String]
35143
35177
  attr_accessor :session_initialization_mode
@@ -35438,6 +35472,12 @@ module Google
35438
35472
  attr_accessor :enable_endpoint_independent_mapping
35439
35473
  alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping
35440
35474
 
35475
+ # List of Natted endpoint types supported by the Nat Gateway. If the list is
35476
+ # empty, then it will be equivalent to include ENDPOINT_TYPE_VM
35477
+ # Corresponds to the JSON property `endpointTypes`
35478
+ # @return [Array<String>]
35479
+ attr_accessor :endpoint_types
35480
+
35441
35481
  # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.
35442
35482
  # Corresponds to the JSON property `icmpIdleTimeoutSec`
35443
35483
  # @return [Fixnum]
@@ -35551,6 +35591,7 @@ module Google
35551
35591
  @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
35552
35592
  @enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
35553
35593
  @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
35594
+ @endpoint_types = args[:endpoint_types] if args.key?(:endpoint_types)
35554
35595
  @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec)
35555
35596
  @log_config = args[:log_config] if args.key?(:log_config)
35556
35597
  @max_ports_per_vm = args[:max_ports_per_vm] if args.key?(:max_ports_per_vm)
@@ -37102,7 +37143,11 @@ module Google
37102
37143
  # the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
37103
37144
  # be configured to filter incoming HTTP requests targeting backend services (
37104
37145
  # including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
37105
- # filter requests before the request is served from Google's cache.
37146
+ # filter requests before the request is served from Google's cache. -
37147
+ # CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
37148
+ # configured to filter HTTP requests targeting services managed by Traffic
37149
+ # Director in a service mesh. They filter requests before the request is served
37150
+ # from the application. This field can be set only at resource creation time.
37106
37151
  # Corresponds to the JSON property `type`
37107
37152
  # @return [String]
37108
37153
  attr_accessor :type
@@ -37542,6 +37587,11 @@ module Google
37542
37587
  # @return [String]
37543
37588
  attr_accessor :redirect_target
37544
37589
 
37590
+ # [Output Only] The minimum managed protection tier required for this rule.
37591
+ # Corresponds to the JSON property `ruleManagedProtectionTier`
37592
+ # @return [String]
37593
+ attr_accessor :rule_managed_protection_tier
37594
+
37545
37595
  # Identifier for the rule. This is only unique within the given security policy.
37546
37596
  # This can only be set during rule creation, if rule number is not specified it
37547
37597
  # will be generated by the server.
@@ -37587,6 +37637,7 @@ module Google
37587
37637
  @rate_limit_options = args[:rate_limit_options] if args.key?(:rate_limit_options)
37588
37638
  @redirect_options = args[:redirect_options] if args.key?(:redirect_options)
37589
37639
  @redirect_target = args[:redirect_target] if args.key?(:redirect_target)
37640
+ @rule_managed_protection_tier = args[:rule_managed_protection_tier] if args.key?(:rule_managed_protection_tier)
37590
37641
  @rule_number = args[:rule_number] if args.key?(:rule_number)
37591
37642
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
37592
37643
  @target_resources = args[:target_resources] if args.key?(:target_resources)
@@ -39074,8 +39125,7 @@ module Google
39074
39125
  attr_accessor :download_bytes
39075
39126
 
39076
39127
  # [Input Only] Whether to attempt an application consistent snapshot by
39077
- # informing the OS to prepare for the snapshot process. Currently only supported
39078
- # on Windows instances using the Volume Shadow Copy Service (VSS).
39128
+ # informing the OS to prepare for the snapshot process.
39079
39129
  # Corresponds to the JSON property `guestFlush`
39080
39130
  # @return [Boolean]
39081
39131
  attr_accessor :guest_flush
@@ -39217,6 +39267,16 @@ module Google
39217
39267
  # @return [String]
39218
39268
  attr_accessor :source_instant_snapshot_id
39219
39269
 
39270
+ # [Output Only] URL of the resource policy which created this scheduled snapshot.
39271
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicy`
39272
+ # @return [String]
39273
+ attr_accessor :source_snapshot_schedule_policy
39274
+
39275
+ # [Output Only] ID of the resource policy which created this scheduled snapshot.
39276
+ # Corresponds to the JSON property `sourceSnapshotSchedulePolicyId`
39277
+ # @return [String]
39278
+ attr_accessor :source_snapshot_schedule_policy_id
39279
+
39220
39280
  # [Output Only] The status of the snapshot. This can be CREATING, DELETING,
39221
39281
  # FAILED, READY, or UPLOADING.
39222
39282
  # Corresponds to the JSON property `status`
@@ -39282,6 +39342,8 @@ module Google
39282
39342
  @source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
39283
39343
  @source_instant_snapshot = args[:source_instant_snapshot] if args.key?(:source_instant_snapshot)
39284
39344
  @source_instant_snapshot_id = args[:source_instant_snapshot_id] if args.key?(:source_instant_snapshot_id)
39345
+ @source_snapshot_schedule_policy = args[:source_snapshot_schedule_policy] if args.key?(:source_snapshot_schedule_policy)
39346
+ @source_snapshot_schedule_policy_id = args[:source_snapshot_schedule_policy_id] if args.key?(:source_snapshot_schedule_policy_id)
39285
39347
  @status = args[:status] if args.key?(:status)
39286
39348
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
39287
39349
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
@@ -41023,9 +41085,10 @@ module Google
41023
41085
  # @return [String]
41024
41086
  attr_accessor :self_link_with_id
41025
41087
 
41026
- # The stack type for this subnet to identify whether the IPv6 feature is enabled
41027
- # or not. If not specified IPV4_ONLY will be used. This field can be both set at
41028
- # resource creation time and updated using patch.
41088
+ # The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are
41089
+ # assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can
41090
+ # be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used.
41091
+ # This field can be both set at resource creation time and updated using patch.
41029
41092
  # Corresponds to the JSON property `stackType`
41030
41093
  # @return [String]
41031
41094
  attr_accessor :stack_type
@@ -44382,6 +44445,12 @@ module Google
44382
44445
  # @return [String]
44383
44446
  attr_accessor :proxy_header
44384
44447
 
44448
+ # [Output Only] URL of the region where the regional TCP proxy resides. This
44449
+ # field is not applicable to global TCP proxy.
44450
+ # Corresponds to the JSON property `region`
44451
+ # @return [String]
44452
+ attr_accessor :region
44453
+
44385
44454
  # [Output Only] Server-defined URL for the resource.
44386
44455
  # Corresponds to the JSON property `selfLink`
44387
44456
  # @return [String]
@@ -44405,6 +44474,7 @@ module Google
44405
44474
  @name = args[:name] if args.key?(:name)
44406
44475
  @proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
44407
44476
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
44477
+ @region = args[:region] if args.key?(:region)
44408
44478
  @self_link = args[:self_link] if args.key?(:self_link)
44409
44479
  @service = args[:service] if args.key?(:service)
44410
44480
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220206"
25
+ REVISION = "20220301"
26
26
  end
27
27
  end
28
28
  end
@@ -6538,6 +6538,7 @@ module Google
6538
6538
  property :description, as: 'description'
6539
6539
  property :id, :numeric_string => true, as: 'id'
6540
6540
  property :ip_version, as: 'ipVersion'
6541
+ property :ipv6_endpoint_type, as: 'ipv6EndpointType'
6541
6542
  property :kind, as: 'kind'
6542
6543
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
6543
6544
  hash :labels, as: 'labels'
@@ -6704,6 +6705,7 @@ module Google
6704
6705
  class AttachedDisk
6705
6706
  # @private
6706
6707
  class Representation < Google::Apis::Core::JsonRepresentation
6708
+ property :architecture, as: 'architecture'
6707
6709
  property :auto_delete, as: 'autoDelete'
6708
6710
  property :boot, as: 'boot'
6709
6711
  property :device_name, as: 'deviceName'
@@ -6764,6 +6766,7 @@ module Google
6764
6766
  class Representation < Google::Apis::Core::JsonRepresentation
6765
6767
  collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ComputeAlpha::AuditLogConfig, decorator: Google::Apis::ComputeAlpha::AuditLogConfig::Representation
6766
6768
 
6769
+ collection :exempted_members, as: 'exemptedMembers'
6767
6770
  property :service, as: 'service'
6768
6771
  end
6769
6772
  end
@@ -8448,6 +8451,7 @@ module Google
8448
8451
  collection :dest_fqdns, as: 'destFqdns'
8449
8452
  collection :dest_ip_ranges, as: 'destIpRanges'
8450
8453
  collection :dest_region_codes, as: 'destRegionCodes'
8454
+ collection :dest_threat_intelligences, as: 'destThreatIntelligences'
8451
8455
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
8452
8456
 
8453
8457
  collection :src_address_groups, as: 'srcAddressGroups'
@@ -8456,6 +8460,7 @@ module Google
8456
8460
  collection :src_region_codes, as: 'srcRegionCodes'
8457
8461
  collection :src_secure_tags, as: 'srcSecureTags', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleSecureTag::Representation
8458
8462
 
8463
+ collection :src_threat_intelligences, as: 'srcThreatIntelligences'
8459
8464
  end
8460
8465
  end
8461
8466
 
@@ -11671,6 +11676,7 @@ module Google
11671
11676
  class Representation < Google::Apis::Core::JsonRepresentation
11672
11677
  collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::MachineType::Accelerator, decorator: Google::Apis::ComputeAlpha::MachineType::Accelerator::Representation
11673
11678
 
11679
+ property :architecture, as: 'architecture'
11674
11680
  property :creation_timestamp, as: 'creationTimestamp'
11675
11681
  property :deprecated, as: 'deprecated', class: Google::Apis::ComputeAlpha::DeprecationStatus, decorator: Google::Apis::ComputeAlpha::DeprecationStatus::Representation
11676
11682
 
@@ -15086,6 +15092,7 @@ module Google
15086
15092
  collection :drain_nat_ips, as: 'drainNatIps'
15087
15093
  property :enable_dynamic_port_allocation, as: 'enableDynamicPortAllocation'
15088
15094
  property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
15095
+ collection :endpoint_types, as: 'endpointTypes'
15089
15096
  property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
15090
15097
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::RouterNatLogConfig, decorator: Google::Apis::ComputeAlpha::RouterNatLogConfig::Representation
15091
15098
 
@@ -15604,6 +15611,7 @@ module Google
15604
15611
  property :redirect_options, as: 'redirectOptions', class: Google::Apis::ComputeAlpha::SecurityPolicyRuleRedirectOptions, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRuleRedirectOptions::Representation
15605
15612
 
15606
15613
  property :redirect_target, as: 'redirectTarget'
15614
+ property :rule_managed_protection_tier, as: 'ruleManagedProtectionTier'
15607
15615
  property :rule_number, :numeric_string => true, as: 'ruleNumber'
15608
15616
  property :rule_tuple_count, as: 'ruleTupleCount'
15609
15617
  collection :target_resources, as: 'targetResources'
@@ -16028,6 +16036,8 @@ module Google
16028
16036
  property :source_disk_id, as: 'sourceDiskId'
16029
16037
  property :source_instant_snapshot, as: 'sourceInstantSnapshot'
16030
16038
  property :source_instant_snapshot_id, as: 'sourceInstantSnapshotId'
16039
+ property :source_snapshot_schedule_policy, as: 'sourceSnapshotSchedulePolicy'
16040
+ property :source_snapshot_schedule_policy_id, as: 'sourceSnapshotSchedulePolicyId'
16031
16041
  property :status, as: 'status'
16032
16042
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
16033
16043
  property :storage_bytes_status, as: 'storageBytesStatus'
@@ -17297,6 +17307,7 @@ module Google
17297
17307
  property :name, as: 'name'
17298
17308
  property :proxy_bind, as: 'proxyBind'
17299
17309
  property :proxy_header, as: 'proxyHeader'
17310
+ property :region, as: 'region'
17300
17311
  property :self_link, as: 'selfLink'
17301
17312
  property :service, as: 'service'
17302
17313
  end
@@ -2823,8 +2823,7 @@ module Google
2823
2823
  # @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
2824
2824
  # @param [Boolean] guest_flush
2825
2825
  # [Input Only] Whether to attempt an application consistent snapshot by
2826
- # informing the OS to prepare for the snapshot process. Currently only supported
2827
- # on Windows instances using the Volume Shadow Copy Service (VSS).
2826
+ # informing the OS to prepare for the snapshot process.
2828
2827
  # @param [String] request_id
2829
2828
  # An optional request ID to identify requests. Specify a unique request ID so
2830
2829
  # that if you must retry your request, the server will know to ignore the
@@ -13311,7 +13310,7 @@ module Google
13311
13310
  execute_or_queue_command(command, &block)
13312
13311
  end
13313
13312
 
13314
- # Performs a reset on the instance. This is a hard reset the VM does not do a
13313
+ # Performs a reset on the instance. This is a hard reset. The VM does not do a
13315
13314
  # graceful shutdown. For more information, see Resetting an instance.
13316
13315
  # @param [String] project
13317
13316
  # Project ID for this request.
@@ -14211,6 +14210,16 @@ module Google
14211
14210
  # The name of the zone for this request.
14212
14211
  # @param [String] instance
14213
14212
  # Name of the instance scoping this request.
14213
+ # @param [String] request_id
14214
+ # An optional request ID to identify requests. Specify a unique request ID so
14215
+ # that if you must retry your request, the server will know to ignore the
14216
+ # request if it has already been completed. For example, consider a situation
14217
+ # where you make an initial request and the request times out. If you make the
14218
+ # request again with the same request ID, the server can check if original
14219
+ # operation with the same request ID was received, and if so, will ignore the
14220
+ # second request. This prevents clients from accidentally creating duplicate
14221
+ # commitments. The request ID must be a valid UUID with the exception that zero
14222
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
14214
14223
  # @param [String] fields
14215
14224
  # Selector specifying which fields to include in a partial response.
14216
14225
  # @param [String] quota_user
@@ -14230,13 +14239,14 @@ module Google
14230
14239
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14231
14240
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14232
14241
  # @raise [Google::Apis::AuthorizationError] Authorization is required
14233
- def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14242
+ def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14234
14243
  command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
14235
14244
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
14236
14245
  command.response_class = Google::Apis::ComputeAlpha::Operation
14237
14246
  command.params['project'] = project unless project.nil?
14238
14247
  command.params['zone'] = zone unless zone.nil?
14239
14248
  command.params['instance'] = instance unless instance.nil?
14249
+ command.query['requestId'] = request_id unless request_id.nil?
14240
14250
  command.query['fields'] = fields unless fields.nil?
14241
14251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
14242
14252
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -25328,8 +25338,7 @@ module Google
25328
25338
  # @param [Google::Apis::ComputeAlpha::Snapshot] snapshot_object
25329
25339
  # @param [Boolean] guest_flush
25330
25340
  # [Input Only] Specifies to create an application consistent snapshot by
25331
- # informing the OS to prepare for the snapshot process. Currently only supported
25332
- # on Windows instances using the Volume Shadow Copy Service (VSS).
25341
+ # informing the OS to prepare for the snapshot process.
25333
25342
  # @param [String] request_id
25334
25343
  # An optional request ID to identify requests. Specify a unique request ID so
25335
25344
  # that if you must retry your request, the server will know to ignore the
@@ -33019,6 +33028,269 @@ module Google
33019
33028
  execute_or_queue_command(command, &block)
33020
33029
  end
33021
33030
 
33031
+ # Deletes the specified TargetTcpProxy resource.
33032
+ # @param [String] project
33033
+ # Project ID for this request.
33034
+ # @param [String] region
33035
+ # Name of the region scoping this request.
33036
+ # @param [String] target_tcp_proxy
33037
+ # Name of the TargetTcpProxy resource to delete.
33038
+ # @param [String] request_id
33039
+ # An optional request ID to identify requests. Specify a unique request ID so
33040
+ # that if you must retry your request, the server will know to ignore the
33041
+ # request if it has already been completed. For example, consider a situation
33042
+ # where you make an initial request and the request times out. If you make the
33043
+ # request again with the same request ID, the server can check if original
33044
+ # operation with the same request ID was received, and if so, will ignore the
33045
+ # second request. This prevents clients from accidentally creating duplicate
33046
+ # commitments. The request ID must be a valid UUID with the exception that zero
33047
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
33048
+ # @param [String] fields
33049
+ # Selector specifying which fields to include in a partial response.
33050
+ # @param [String] quota_user
33051
+ # Available to use for quota purposes for server-side applications. Can be any
33052
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
33053
+ # @param [String] user_ip
33054
+ # Legacy name for parameter that has been superseded by `quotaUser`.
33055
+ # @param [Google::Apis::RequestOptions] options
33056
+ # Request-specific options
33057
+ #
33058
+ # @yield [result, err] Result & error if block supplied
33059
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
33060
+ # @yieldparam err [StandardError] error object if request failed
33061
+ #
33062
+ # @return [Google::Apis::ComputeAlpha::Operation]
33063
+ #
33064
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33065
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33066
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33067
+ def delete_region_target_tcp_proxy(project, region, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33068
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
33069
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
33070
+ command.response_class = Google::Apis::ComputeAlpha::Operation
33071
+ command.params['project'] = project unless project.nil?
33072
+ command.params['region'] = region unless region.nil?
33073
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
33074
+ command.query['requestId'] = request_id unless request_id.nil?
33075
+ command.query['fields'] = fields unless fields.nil?
33076
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33077
+ command.query['userIp'] = user_ip unless user_ip.nil?
33078
+ execute_or_queue_command(command, &block)
33079
+ end
33080
+
33081
+ # Returns the specified TargetTcpProxy resource.
33082
+ # @param [String] project
33083
+ # Project ID for this request.
33084
+ # @param [String] region
33085
+ # Name of the region scoping this request.
33086
+ # @param [String] target_tcp_proxy
33087
+ # Name of the TargetTcpProxy resource to return.
33088
+ # @param [String] fields
33089
+ # Selector specifying which fields to include in a partial response.
33090
+ # @param [String] quota_user
33091
+ # Available to use for quota purposes for server-side applications. Can be any
33092
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
33093
+ # @param [String] user_ip
33094
+ # Legacy name for parameter that has been superseded by `quotaUser`.
33095
+ # @param [Google::Apis::RequestOptions] options
33096
+ # Request-specific options
33097
+ #
33098
+ # @yield [result, err] Result & error if block supplied
33099
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetTcpProxy] parsed result object
33100
+ # @yieldparam err [StandardError] error object if request failed
33101
+ #
33102
+ # @return [Google::Apis::ComputeAlpha::TargetTcpProxy]
33103
+ #
33104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33107
+ def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33108
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
33109
+ command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation
33110
+ command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxy
33111
+ command.params['project'] = project unless project.nil?
33112
+ command.params['region'] = region unless region.nil?
33113
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
33114
+ command.query['fields'] = fields unless fields.nil?
33115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33116
+ command.query['userIp'] = user_ip unless user_ip.nil?
33117
+ execute_or_queue_command(command, &block)
33118
+ end
33119
+
33120
+ # Creates a TargetTcpProxy resource in the specified project and region using
33121
+ # the data included in the request.
33122
+ # @param [String] project
33123
+ # Project ID for this request.
33124
+ # @param [String] region
33125
+ # Name of the region scoping this request.
33126
+ # @param [Google::Apis::ComputeAlpha::TargetTcpProxy] target_tcp_proxy_object
33127
+ # @param [String] request_id
33128
+ # An optional request ID to identify requests. Specify a unique request ID so
33129
+ # that if you must retry your request, the server will know to ignore the
33130
+ # request if it has already been completed. For example, consider a situation
33131
+ # where you make an initial request and the request times out. If you make the
33132
+ # request again with the same request ID, the server can check if original
33133
+ # operation with the same request ID was received, and if so, will ignore the
33134
+ # second request. This prevents clients from accidentally creating duplicate
33135
+ # commitments. The request ID must be a valid UUID with the exception that zero
33136
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
33137
+ # @param [String] fields
33138
+ # Selector specifying which fields to include in a partial response.
33139
+ # @param [String] quota_user
33140
+ # Available to use for quota purposes for server-side applications. Can be any
33141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
33142
+ # @param [String] user_ip
33143
+ # Legacy name for parameter that has been superseded by `quotaUser`.
33144
+ # @param [Google::Apis::RequestOptions] options
33145
+ # Request-specific options
33146
+ #
33147
+ # @yield [result, err] Result & error if block supplied
33148
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
33149
+ # @yieldparam err [StandardError] error object if request failed
33150
+ #
33151
+ # @return [Google::Apis::ComputeAlpha::Operation]
33152
+ #
33153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33156
+ def insert_region_target_tcp_proxy(project, region, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33157
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
33158
+ command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation
33159
+ command.request_object = target_tcp_proxy_object
33160
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
33161
+ command.response_class = Google::Apis::ComputeAlpha::Operation
33162
+ command.params['project'] = project unless project.nil?
33163
+ command.params['region'] = region unless region.nil?
33164
+ command.query['requestId'] = request_id unless request_id.nil?
33165
+ command.query['fields'] = fields unless fields.nil?
33166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33167
+ command.query['userIp'] = user_ip unless user_ip.nil?
33168
+ execute_or_queue_command(command, &block)
33169
+ end
33170
+
33171
+ # Retrieves a list of TargetTcpProxy resources available to the specified
33172
+ # project in a given region.
33173
+ # @param [String] project
33174
+ # Project ID for this request.
33175
+ # @param [String] region
33176
+ # Name of the region scoping this request.
33177
+ # @param [String] filter
33178
+ # A filter expression that filters resources listed in the response. The
33179
+ # expression must specify the field name, an operator, and the value that you
33180
+ # want to use for filtering. The value must be a string, a number, or a boolean.
33181
+ # The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For
33182
+ # example, if you are filtering Compute Engine instances, you can exclude
33183
+ # instances named `example-instance` by specifying `name != example-instance`.
33184
+ # The `:` operator can be used with string fields to match substrings. For non-
33185
+ # string fields it is equivalent to the `=` operator. The `:*` comparison can be
33186
+ # used to test whether a key has been defined. For example, to find all objects
33187
+ # with `owner` label use: ``` labels.owner:* ``` You can also filter nested
33188
+ # fields. For example, you could specify `scheduling.automaticRestart = false`
33189
+ # to include instances only if they are not scheduled for automatic restarts.
33190
+ # You can use filtering on nested fields to filter based on resource labels. To
33191
+ # filter on multiple expressions, provide each separate expression within
33192
+ # parentheses. For example: ``` (scheduling.automaticRestart = true) (
33193
+ # cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
33194
+ # expression. However, you can include `AND` and `OR` expressions explicitly.
33195
+ # For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
33196
+ # Broadwell") AND (scheduling.automaticRestart = true) ```
33197
+ # @param [Fixnum] max_results
33198
+ # The maximum number of results per page that should be returned. If the number
33199
+ # of available results is larger than `maxResults`, Compute Engine returns a `
33200
+ # nextPageToken` that can be used to get the next page of results in subsequent
33201
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
33202
+ # @param [String] order_by
33203
+ # Sorts list results by a certain order. By default, results are returned in
33204
+ # alphanumerical order based on the resource name. You can also sort results in
33205
+ # descending order based on the creation timestamp using `orderBy="
33206
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
33207
+ # field in reverse chronological order (newest result first). Use this to sort
33208
+ # resources like operations so that the newest operation is returned first.
33209
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
33210
+ # @param [String] page_token
33211
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
33212
+ # by a previous list request to get the next page of results.
33213
+ # @param [Boolean] return_partial_success
33214
+ # Opt-in for partial success behavior which provides partial results in case of
33215
+ # failure. The default value is false.
33216
+ # @param [String] fields
33217
+ # Selector specifying which fields to include in a partial response.
33218
+ # @param [String] quota_user
33219
+ # Available to use for quota purposes for server-side applications. Can be any
33220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
33221
+ # @param [String] user_ip
33222
+ # Legacy name for parameter that has been superseded by `quotaUser`.
33223
+ # @param [Google::Apis::RequestOptions] options
33224
+ # Request-specific options
33225
+ #
33226
+ # @yield [result, err] Result & error if block supplied
33227
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetTcpProxyList] parsed result object
33228
+ # @yieldparam err [StandardError] error object if request failed
33229
+ #
33230
+ # @return [Google::Apis::ComputeAlpha::TargetTcpProxyList]
33231
+ #
33232
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33233
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33234
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33235
+ def list_region_target_tcp_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33236
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
33237
+ command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxyList::Representation
33238
+ command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxyList
33239
+ command.params['project'] = project unless project.nil?
33240
+ command.params['region'] = region unless region.nil?
33241
+ command.query['filter'] = filter unless filter.nil?
33242
+ command.query['maxResults'] = max_results unless max_results.nil?
33243
+ command.query['orderBy'] = order_by unless order_by.nil?
33244
+ command.query['pageToken'] = page_token unless page_token.nil?
33245
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
33246
+ command.query['fields'] = fields unless fields.nil?
33247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33248
+ command.query['userIp'] = user_ip unless user_ip.nil?
33249
+ execute_or_queue_command(command, &block)
33250
+ end
33251
+
33252
+ # Returns permissions that a caller has on the specified resource.
33253
+ # @param [String] project
33254
+ # Project ID for this request.
33255
+ # @param [String] region
33256
+ # The name of the region for this request.
33257
+ # @param [String] resource
33258
+ # Name or id of the resource for this request.
33259
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
33260
+ # @param [String] fields
33261
+ # Selector specifying which fields to include in a partial response.
33262
+ # @param [String] quota_user
33263
+ # Available to use for quota purposes for server-side applications. Can be any
33264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
33265
+ # @param [String] user_ip
33266
+ # Legacy name for parameter that has been superseded by `quotaUser`.
33267
+ # @param [Google::Apis::RequestOptions] options
33268
+ # Request-specific options
33269
+ #
33270
+ # @yield [result, err] Result & error if block supplied
33271
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
33272
+ # @yieldparam err [StandardError] error object if request failed
33273
+ #
33274
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
33275
+ #
33276
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
33277
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
33278
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
33279
+ def test_region_target_tcp_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
33280
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies/{resource}/testIamPermissions', options)
33281
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
33282
+ command.request_object = test_permissions_request_object
33283
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
33284
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
33285
+ command.params['project'] = project unless project.nil?
33286
+ command.params['region'] = region unless region.nil?
33287
+ command.params['resource'] = resource unless resource.nil?
33288
+ command.query['fields'] = fields unless fields.nil?
33289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
33290
+ command.query['userIp'] = user_ip unless user_ip.nil?
33291
+ execute_or_queue_command(command, &block)
33292
+ end
33293
+
33022
33294
  # Deletes the specified UrlMap resource.
33023
33295
  # @param [String] project
33024
33296
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []