google-apis-compute_v1 0.49.0 → 0.50.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: 5ca085ef6bce7c80db9c98e2c396ca6581ea20730a831cd5340e88d40452dafb
4
- data.tar.gz: b161dd188f5dd52bd2b8114ca4ee9a6ce220ed95936c76b27a36b6e52366fa32
3
+ metadata.gz: c6381c9ab9e96495aff14728cf4a005f19c725849a982e7f336121e858346e28
4
+ data.tar.gz: 4d9bb73156a12eb59de317649c9a81501af0c7802762e42b796f433bc73efe08
5
5
  SHA512:
6
- metadata.gz: 0f65ebd456ed8bb2fad8e0eef4fa38692f00143da204031f62ab517808a06b253fe6f500813fc73d1e5e398f7a64f09790c101d302e555b7e98482dcc9b6b6f3
7
- data.tar.gz: 61902fda82eecdeeb9cb2d39d4949f1df828d08cc1731086be32bb2a244610b0b2b6bafa0d538c50c87b43e7e1fbdcccca63b487083b38c208538626bc3f03f2
6
+ metadata.gz: 56c79a18fe0c980c7be5aa123943c5f6651f1a531ea26e9339d62aa262ecf7dabec1f8556136feca9d16bfeb3583478700d4b7140712ccbc53688c3f9aa16f09
7
+ data.tar.gz: 4909befb2428b20c182cd96f56a2a241a3fa9de724bd71922b25d198278f7b025726db4107c66cfa91dc21bf88a3cf74d36f25ffdf0bb5a4ace4e36789e89f36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.50.0 (2022-09-09)
4
+
5
+ * Regenerated from discovery document revision 20220831
6
+
3
7
  ### v0.49.0 (2022-08-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20220823
@@ -635,12 +635,12 @@ module Google
635
635
  # - NAT_AUTO for the regional external IP addresses used by Cloud NAT when
636
636
  # allocating addresses using automatic NAT IP address allocation. -
637
637
  # IPSEC_INTERCONNECT for addresses created from a private IP range that are
638
- # reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect*
639
- # configuration. These addresses are regional resources. Not currently available
640
- # publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is
641
- # assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT`
642
- # for a private network address that is used to configure Private Service
643
- # Connect. Only global internal addresses can use this purpose.
638
+ # reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect*
639
+ # configuration. These addresses are regional resources. - `
640
+ # SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to
641
+ # multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private
642
+ # network address that is used to configure Private Service Connect. Only global
643
+ # internal addresses can use this purpose.
644
644
  # Corresponds to the JSON property `purpose`
645
645
  # @return [String]
646
646
  attr_accessor :purpose
@@ -4138,8 +4138,8 @@ module Google
4138
4138
  class BackendServiceLogConfig
4139
4139
  include Google::Apis::Core::Hashable
4140
4140
 
4141
- # This field denotes whether to enable logging for the load balancer traffic
4142
- # served by this backend service.
4141
+ # Denotes whether to enable logging for the load balancer traffic served by this
4142
+ # backend service. The default value is false.
4143
4143
  # Corresponds to the JSON property `enable`
4144
4144
  # @return [Boolean]
4145
4145
  attr_accessor :enable
@@ -4149,7 +4149,7 @@ module Google
4149
4149
  # service. The value of the field must be in [0, 1]. This configures the
4150
4150
  # sampling rate of requests to the load balancer where 1.0 means all logged
4151
4151
  # requests are reported and 0.0 means no logged requests are reported. The
4152
- # default value is 0.0.
4152
+ # default value is 1.0.
4153
4153
  # Corresponds to the JSON property `sampleRate`
4154
4154
  # @return [Float]
4155
4155
  attr_accessor :sample_rate
@@ -4556,31 +4556,33 @@ module Google
4556
4556
  # members` can have the following values: * `allUsers`: A special identifier
4557
4557
  # that represents anyone who is on the internet; with or without a Google
4558
4558
  # account. * `allAuthenticatedUsers`: A special identifier that represents
4559
- # anyone who is authenticated with a Google account or a service account. * `
4560
- # user:`emailid``: An email address that represents a specific Google account.
4561
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
4562
- # address that represents a Google service account. For example, `my-other-app@
4563
- # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
4564
- # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
4565
- # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
4566
- # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
4567
- # . * `group:`emailid``: An email address that represents a Google group. For
4568
- # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
4569
- # email address (plus unique identifier) representing a user that has been
4570
- # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
4571
- # If the user is recovered, this value reverts to `user:`emailid`` and the
4572
- # recovered user retains the role in the binding. * `deleted:serviceAccount:`
4573
- # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4574
- # representing a service account that has been recently deleted. For example, `
4575
- # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
4576
- # service account is undeleted, this value reverts to `serviceAccount:`emailid``
4577
- # and the undeleted service account retains the role in the binding. * `deleted:
4578
- # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
4579
- # representing a Google group that has been recently deleted. For example, `
4580
- # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
4581
- # value reverts to `group:`emailid`` and the recovered group retains the role in
4582
- # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
4583
- # all the users of that domain. For example, `google.com` or `example.com`.
4559
+ # anyone who is authenticated with a Google account or a service account. Does
4560
+ # not include identities that come from external identity providers (IdPs)
4561
+ # through identity federation. * `user:`emailid``: An email address that
4562
+ # represents a specific Google account. For example, `alice@example.com` . * `
4563
+ # serviceAccount:`emailid``: An email address that represents a Google service
4564
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
4565
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
4566
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
4567
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
4568
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
4569
+ # email address that represents a Google group. For example, `admins@example.com`
4570
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
4571
+ # identifier) representing a user that has been recently deleted. For example, `
4572
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
4573
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
4574
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
4575
+ # address (plus unique identifier) representing a service account that has been
4576
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
4577
+ # 123456789012345678901`. If the service account is undeleted, this value
4578
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
4579
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
4580
+ # An email address (plus unique identifier) representing a Google group that has
4581
+ # been recently deleted. For example, `admins@example.com?uid=
4582
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
4583
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
4584
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
4585
+ # of that domain. For example, `google.com` or `example.com`.
4584
4586
  # Corresponds to the JSON property `members`
4585
4587
  # @return [Array<String>]
4586
4588
  attr_accessor :members
@@ -8073,13 +8075,13 @@ module Google
8073
8075
 
8074
8076
  # Deprecated, please use short name instead. User-provided name of the
8075
8077
  # Organization firewall policy. The name should be unique in the organization in
8076
- # which the firewall policy is created. This name must be set on creation and
8077
- # cannot be changed. The name must be 1-63 characters long, and comply with
8078
- # RFC1035. Specifically, the name must be 1-63 characters long and match the
8079
- # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
8080
- # character must be a lowercase letter, and all following characters must be a
8081
- # dash, lowercase letter, or digit, except the last character, which cannot be a
8082
- # dash.
8078
+ # which the firewall policy is created. This field is not applicable to network
8079
+ # firewall policies. This name must be set on creation and cannot be changed.
8080
+ # The name must be 1-63 characters long, and comply with RFC1035. Specifically,
8081
+ # the name must be 1-63 characters long and match the regular expression `[a-z]([
8082
+ # -a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase
8083
+ # letter, and all following characters must be a dash, lowercase letter, or
8084
+ # digit, except the last character, which cannot be a dash.
8083
8085
  # Corresponds to the JSON property `displayName`
8084
8086
  # @return [String]
8085
8087
  attr_accessor :display_name
@@ -8108,13 +8110,15 @@ module Google
8108
8110
  # @return [String]
8109
8111
  attr_accessor :kind
8110
8112
 
8111
- # [Output Only] Name of the resource. It is a numeric ID allocated by GCP which
8112
- # uniquely identifies the Firewall Policy.
8113
+ # Name of the resource. For Organization Firewall Policies it's a [Output Only]
8114
+ # numeric ID allocated by GCP which uniquely identifies the Organization
8115
+ # Firewall Policy.
8113
8116
  # Corresponds to the JSON property `name`
8114
8117
  # @return [String]
8115
8118
  attr_accessor :name
8116
8119
 
8117
- # [Output Only] The parent of the firewall policy.
8120
+ # [Output Only] The parent of the firewall policy. This field is not applicable
8121
+ # to network firewall policies.
8118
8122
  # Corresponds to the JSON property `parent`
8119
8123
  # @return [String]
8120
8124
  attr_accessor :parent
@@ -8151,14 +8155,15 @@ module Google
8151
8155
  # @return [String]
8152
8156
  attr_accessor :self_link_with_id
8153
8157
 
8154
- # User-provided name of the Organization firewall plicy. The name should be
8155
- # unique in the organization in which the firewall policy is created. This name
8156
- # must be set on creation and cannot be changed. The name must be 1-63
8157
- # characters long, and comply with RFC1035. Specifically, the name must be 1-63
8158
- # characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`
8159
- # which means the first character must be a lowercase letter, and all following
8160
- # characters must be a dash, lowercase letter, or digit, except the last
8161
- # character, which cannot be a dash.
8158
+ # User-provided name of the Organization firewall policy. The name should be
8159
+ # unique in the organization in which the firewall policy is created. This field
8160
+ # is not applicable to network firewall policies. This name must be set on
8161
+ # creation and cannot be changed. The name must be 1-63 characters long, and
8162
+ # comply with RFC1035. Specifically, the name must be 1-63 characters long and
8163
+ # match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
8164
+ # first character must be a lowercase letter, and all following characters must
8165
+ # be a dash, lowercase letter, or digit, except the last character, which cannot
8166
+ # be a dash.
8162
8167
  # Corresponds to the JSON property `shortName`
8163
8168
  # @return [String]
8164
8169
  attr_accessor :short_name
@@ -16473,8 +16478,8 @@ module Google
16473
16478
  # attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that
16474
16479
  # is encrypted by an IPsec device, such as an HA VPN gateway or third-party
16475
16480
  # IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such
16476
- # a VLAN attachment. To use *IPsec-encrypted Cloud Interconnect*, the VLAN
16477
- # attachment must be created with this option. Not currently available publicly.
16481
+ # a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN
16482
+ # attachment must be created with this option.
16478
16483
  # Corresponds to the JSON property `encryption`
16479
16484
  # @return [String]
16480
16485
  attr_accessor :encryption
@@ -29737,7 +29742,7 @@ module Google
29737
29742
  attr_accessor :description
29738
29743
 
29739
29744
  # Indicates if a router is dedicated for use with encrypted VLAN attachments (
29740
- # interconnectAttachments). Not currently available publicly.
29745
+ # interconnectAttachments).
29741
29746
  # Corresponds to the JSON property `encryptedInterconnectRouter`
29742
29747
  # @return [Boolean]
29743
29748
  attr_accessor :encrypted_interconnect_router
@@ -34475,6 +34480,136 @@ module Google
34475
34480
  end
34476
34481
  end
34477
34482
 
34483
+ #
34484
+ class SslPoliciesAggregatedList
34485
+ include Google::Apis::Core::Hashable
34486
+
34487
+ #
34488
+ # Corresponds to the JSON property `etag`
34489
+ # @return [String]
34490
+ attr_accessor :etag
34491
+
34492
+ # [Output Only] Unique identifier for the resource; defined by the server.
34493
+ # Corresponds to the JSON property `id`
34494
+ # @return [String]
34495
+ attr_accessor :id
34496
+
34497
+ # A list of SslPoliciesScopedList resources.
34498
+ # Corresponds to the JSON property `items`
34499
+ # @return [Hash<String,Google::Apis::ComputeV1::SslPoliciesScopedList>]
34500
+ attr_accessor :items
34501
+
34502
+ # [Output Only] Type of resource. Always compute#sslPolicyAggregatedList for
34503
+ # lists of SSL Policies.
34504
+ # Corresponds to the JSON property `kind`
34505
+ # @return [String]
34506
+ attr_accessor :kind
34507
+
34508
+ # [Output Only] This token allows you to get the next page of results for list
34509
+ # requests. If the number of results is larger than maxResults, use the
34510
+ # nextPageToken as a value for the query parameter pageToken in the next list
34511
+ # request. Subsequent list requests will have their own nextPageToken to
34512
+ # continue paging through the results.
34513
+ # Corresponds to the JSON property `nextPageToken`
34514
+ # @return [String]
34515
+ attr_accessor :next_page_token
34516
+
34517
+ # [Output Only] Server-defined URL for this resource.
34518
+ # Corresponds to the JSON property `selfLink`
34519
+ # @return [String]
34520
+ attr_accessor :self_link
34521
+
34522
+ # [Output Only] Unreachable resources.
34523
+ # Corresponds to the JSON property `unreachables`
34524
+ # @return [Array<String>]
34525
+ attr_accessor :unreachables
34526
+
34527
+ # [Output Only] Informational warning message.
34528
+ # Corresponds to the JSON property `warning`
34529
+ # @return [Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning]
34530
+ attr_accessor :warning
34531
+
34532
+ def initialize(**args)
34533
+ update!(**args)
34534
+ end
34535
+
34536
+ # Update properties of this object
34537
+ def update!(**args)
34538
+ @etag = args[:etag] if args.key?(:etag)
34539
+ @id = args[:id] if args.key?(:id)
34540
+ @items = args[:items] if args.key?(:items)
34541
+ @kind = args[:kind] if args.key?(:kind)
34542
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
34543
+ @self_link = args[:self_link] if args.key?(:self_link)
34544
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
34545
+ @warning = args[:warning] if args.key?(:warning)
34546
+ end
34547
+
34548
+ # [Output Only] Informational warning message.
34549
+ class Warning
34550
+ include Google::Apis::Core::Hashable
34551
+
34552
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
34553
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
34554
+ # Corresponds to the JSON property `code`
34555
+ # @return [String]
34556
+ attr_accessor :code
34557
+
34558
+ # [Output Only] Metadata about this warning in key: value format. For example: "
34559
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
34560
+ # Corresponds to the JSON property `data`
34561
+ # @return [Array<Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning::Datum>]
34562
+ attr_accessor :data
34563
+
34564
+ # [Output Only] A human-readable description of the warning code.
34565
+ # Corresponds to the JSON property `message`
34566
+ # @return [String]
34567
+ attr_accessor :message
34568
+
34569
+ def initialize(**args)
34570
+ update!(**args)
34571
+ end
34572
+
34573
+ # Update properties of this object
34574
+ def update!(**args)
34575
+ @code = args[:code] if args.key?(:code)
34576
+ @data = args[:data] if args.key?(:data)
34577
+ @message = args[:message] if args.key?(:message)
34578
+ end
34579
+
34580
+ #
34581
+ class Datum
34582
+ include Google::Apis::Core::Hashable
34583
+
34584
+ # [Output Only] A key that provides more detail on the warning being returned.
34585
+ # For example, for warnings where there are no results in a list request for a
34586
+ # particular zone, this key might be scope and the key value might be the zone
34587
+ # name. Other examples might be a key indicating a deprecated resource and a
34588
+ # suggested replacement, or a warning about invalid network settings (for
34589
+ # example, if an instance attempts to perform IP forwarding but is not enabled
34590
+ # for IP forwarding).
34591
+ # Corresponds to the JSON property `key`
34592
+ # @return [String]
34593
+ attr_accessor :key
34594
+
34595
+ # [Output Only] A warning data value corresponding to the key.
34596
+ # Corresponds to the JSON property `value`
34597
+ # @return [String]
34598
+ attr_accessor :value
34599
+
34600
+ def initialize(**args)
34601
+ update!(**args)
34602
+ end
34603
+
34604
+ # Update properties of this object
34605
+ def update!(**args)
34606
+ @key = args[:key] if args.key?(:key)
34607
+ @value = args[:value] if args.key?(:value)
34608
+ end
34609
+ end
34610
+ end
34611
+ end
34612
+
34478
34613
  #
34479
34614
  class SslPoliciesList
34480
34615
  include Google::Apis::Core::Hashable
@@ -34612,6 +34747,97 @@ module Google
34612
34747
  end
34613
34748
  end
34614
34749
 
34750
+ #
34751
+ class SslPoliciesScopedList
34752
+ include Google::Apis::Core::Hashable
34753
+
34754
+ # A list of SslPolicies contained in this scope.
34755
+ # Corresponds to the JSON property `sslPolicies`
34756
+ # @return [Array<Google::Apis::ComputeV1::SslPolicy>]
34757
+ attr_accessor :ssl_policies
34758
+
34759
+ # Informational warning which replaces the list of SSL policies when the list is
34760
+ # empty.
34761
+ # Corresponds to the JSON property `warning`
34762
+ # @return [Google::Apis::ComputeV1::SslPoliciesScopedList::Warning]
34763
+ attr_accessor :warning
34764
+
34765
+ def initialize(**args)
34766
+ update!(**args)
34767
+ end
34768
+
34769
+ # Update properties of this object
34770
+ def update!(**args)
34771
+ @ssl_policies = args[:ssl_policies] if args.key?(:ssl_policies)
34772
+ @warning = args[:warning] if args.key?(:warning)
34773
+ end
34774
+
34775
+ # Informational warning which replaces the list of SSL policies when the list is
34776
+ # empty.
34777
+ class Warning
34778
+ include Google::Apis::Core::Hashable
34779
+
34780
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
34781
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
34782
+ # Corresponds to the JSON property `code`
34783
+ # @return [String]
34784
+ attr_accessor :code
34785
+
34786
+ # [Output Only] Metadata about this warning in key: value format. For example: "
34787
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
34788
+ # Corresponds to the JSON property `data`
34789
+ # @return [Array<Google::Apis::ComputeV1::SslPoliciesScopedList::Warning::Datum>]
34790
+ attr_accessor :data
34791
+
34792
+ # [Output Only] A human-readable description of the warning code.
34793
+ # Corresponds to the JSON property `message`
34794
+ # @return [String]
34795
+ attr_accessor :message
34796
+
34797
+ def initialize(**args)
34798
+ update!(**args)
34799
+ end
34800
+
34801
+ # Update properties of this object
34802
+ def update!(**args)
34803
+ @code = args[:code] if args.key?(:code)
34804
+ @data = args[:data] if args.key?(:data)
34805
+ @message = args[:message] if args.key?(:message)
34806
+ end
34807
+
34808
+ #
34809
+ class Datum
34810
+ include Google::Apis::Core::Hashable
34811
+
34812
+ # [Output Only] A key that provides more detail on the warning being returned.
34813
+ # For example, for warnings where there are no results in a list request for a
34814
+ # particular zone, this key might be scope and the key value might be the zone
34815
+ # name. Other examples might be a key indicating a deprecated resource and a
34816
+ # suggested replacement, or a warning about invalid network settings (for
34817
+ # example, if an instance attempts to perform IP forwarding but is not enabled
34818
+ # for IP forwarding).
34819
+ # Corresponds to the JSON property `key`
34820
+ # @return [String]
34821
+ attr_accessor :key
34822
+
34823
+ # [Output Only] A warning data value corresponding to the key.
34824
+ # Corresponds to the JSON property `value`
34825
+ # @return [String]
34826
+ attr_accessor :value
34827
+
34828
+ def initialize(**args)
34829
+ update!(**args)
34830
+ end
34831
+
34832
+ # Update properties of this object
34833
+ def update!(**args)
34834
+ @key = args[:key] if args.key?(:key)
34835
+ @value = args[:value] if args.key?(:value)
34836
+ end
34837
+ end
34838
+ end
34839
+ end
34840
+
34615
34841
  # Represents an SSL Policy resource. Use SSL policies to control the SSL
34616
34842
  # features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy
34617
34843
  # load balancer. For more information, read SSL Policy Concepts.
@@ -38223,6 +38449,12 @@ module Google
38223
38449
  # @return [String]
38224
38450
  attr_accessor :proxy_header
38225
38451
 
38452
+ # [Output Only] URL of the region where the regional TCP proxy resides. This
38453
+ # field is not applicable to global TCP proxy.
38454
+ # Corresponds to the JSON property `region`
38455
+ # @return [String]
38456
+ attr_accessor :region
38457
+
38226
38458
  # [Output Only] Server-defined URL for the resource.
38227
38459
  # Corresponds to the JSON property `selfLink`
38228
38460
  # @return [String]
@@ -38246,6 +38478,7 @@ module Google
38246
38478
  @name = args[:name] if args.key?(:name)
38247
38479
  @proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
38248
38480
  @proxy_header = args[:proxy_header] if args.key?(:proxy_header)
38481
+ @region = args[:region] if args.key?(:region)
38249
38482
  @self_link = args[:self_link] if args.key?(:self_link)
38250
38483
  @service = args[:service] if args.key?(:service)
38251
38484
  end
@@ -40684,9 +40917,8 @@ module Google
40684
40917
 
40685
40918
  # URL of the VLAN attachment (interconnectAttachment) resource for this VPN
40686
40919
  # gateway interface. When the value of this field is present, the VPN gateway is
40687
- # used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for
40920
+ # used for HA VPN over Cloud Interconnect; all egress or ingress traffic for
40688
40921
  # this VPN gateway interface goes through the specified VLAN attachment resource.
40689
- # Not currently available publicly.
40690
40922
  # Corresponds to the JSON property `interconnectAttachment`
40691
40923
  # @return [String]
40692
40924
  attr_accessor :interconnect_attachment
@@ -40695,11 +40927,11 @@ module Google
40695
40927
  # gateway. The IP address could be either a regional external IP address or a
40696
40928
  # regional internal IP address. The two IP addresses for a VPN gateway must be
40697
40929
  # all regional external or regional internal IP addresses. There cannot be a mix
40698
- # of regional external IP addresses and regional internal IP addresses. For
40699
- # IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could
40700
- # either be regional internal IP addresses or regional external IP addresses.
40701
- # For regular (non IPsec-encrypted Cloud Interconnect) HA VPN tunnels, the IP
40702
- # address must be a regional external IP address.
40930
+ # of regional external IP addresses and regional internal IP addresses. For HA
40931
+ # VPN over Cloud Interconnect, the IP addresses for both interfaces could either
40932
+ # be regional internal IP addresses or regional external IP addresses. For
40933
+ # regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address
40934
+ # must be a regional external IP address.
40703
40935
  # Corresponds to the JSON property `ipAddress`
40704
40936
  # @return [String]
40705
40937
  attr_accessor :ip_address
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220823"
25
+ REVISION = "20220831"
26
26
  end
27
27
  end
28
28
  end
@@ -4510,6 +4510,24 @@ module Google
4510
4510
  include Google::Apis::Core::JsonObjectSupport
4511
4511
  end
4512
4512
 
4513
+ class SslPoliciesAggregatedList
4514
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4515
+
4516
+ class Warning
4517
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4518
+
4519
+ class Datum
4520
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4521
+
4522
+ include Google::Apis::Core::JsonObjectSupport
4523
+ end
4524
+
4525
+ include Google::Apis::Core::JsonObjectSupport
4526
+ end
4527
+
4528
+ include Google::Apis::Core::JsonObjectSupport
4529
+ end
4530
+
4513
4531
  class SslPoliciesList
4514
4532
  class Representation < Google::Apis::Core::JsonRepresentation; end
4515
4533
 
@@ -4534,6 +4552,24 @@ module Google
4534
4552
  include Google::Apis::Core::JsonObjectSupport
4535
4553
  end
4536
4554
 
4555
+ class SslPoliciesScopedList
4556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4557
+
4558
+ class Warning
4559
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4560
+
4561
+ class Datum
4562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4563
+
4564
+ include Google::Apis::Core::JsonObjectSupport
4565
+ end
4566
+
4567
+ include Google::Apis::Core::JsonObjectSupport
4568
+ end
4569
+
4570
+ include Google::Apis::Core::JsonObjectSupport
4571
+ end
4572
+
4537
4573
  class SslPolicy
4538
4574
  class Representation < Google::Apis::Core::JsonRepresentation; end
4539
4575
 
@@ -14002,6 +14038,40 @@ module Google
14002
14038
  end
14003
14039
  end
14004
14040
 
14041
+ class SslPoliciesAggregatedList
14042
+ # @private
14043
+ class Representation < Google::Apis::Core::JsonRepresentation
14044
+ property :etag, as: 'etag'
14045
+ property :id, as: 'id'
14046
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::SslPoliciesScopedList, decorator: Google::Apis::ComputeV1::SslPoliciesScopedList::Representation
14047
+
14048
+ property :kind, as: 'kind'
14049
+ property :next_page_token, as: 'nextPageToken'
14050
+ property :self_link, as: 'selfLink'
14051
+ collection :unreachables, as: 'unreachables'
14052
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning, decorator: Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning::Representation
14053
+
14054
+ end
14055
+
14056
+ class Warning
14057
+ # @private
14058
+ class Representation < Google::Apis::Core::JsonRepresentation
14059
+ property :code, as: 'code'
14060
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning::Datum::Representation
14061
+
14062
+ property :message, as: 'message'
14063
+ end
14064
+
14065
+ class Datum
14066
+ # @private
14067
+ class Representation < Google::Apis::Core::JsonRepresentation
14068
+ property :key, as: 'key'
14069
+ property :value, as: 'value'
14070
+ end
14071
+ end
14072
+ end
14073
+ end
14074
+
14005
14075
  class SslPoliciesList
14006
14076
  # @private
14007
14077
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14041,6 +14111,34 @@ module Google
14041
14111
  end
14042
14112
  end
14043
14113
 
14114
+ class SslPoliciesScopedList
14115
+ # @private
14116
+ class Representation < Google::Apis::Core::JsonRepresentation
14117
+ collection :ssl_policies, as: 'sslPolicies', class: Google::Apis::ComputeV1::SslPolicy, decorator: Google::Apis::ComputeV1::SslPolicy::Representation
14118
+
14119
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::SslPoliciesScopedList::Warning, decorator: Google::Apis::ComputeV1::SslPoliciesScopedList::Warning::Representation
14120
+
14121
+ end
14122
+
14123
+ class Warning
14124
+ # @private
14125
+ class Representation < Google::Apis::Core::JsonRepresentation
14126
+ property :code, as: 'code'
14127
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::SslPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::SslPoliciesScopedList::Warning::Datum::Representation
14128
+
14129
+ property :message, as: 'message'
14130
+ end
14131
+
14132
+ class Datum
14133
+ # @private
14134
+ class Representation < Google::Apis::Core::JsonRepresentation
14135
+ property :key, as: 'key'
14136
+ property :value, as: 'value'
14137
+ end
14138
+ end
14139
+ end
14140
+ end
14141
+
14044
14142
  class SslPolicy
14045
14143
  # @private
14046
14144
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14937,6 +15035,7 @@ module Google
14937
15035
  property :name, as: 'name'
14938
15036
  property :proxy_bind, as: 'proxyBind'
14939
15037
  property :proxy_header, as: 'proxyHeader'
15038
+ property :region, as: 'region'
14940
15039
  property :self_link, as: 'selfLink'
14941
15040
  property :service, as: 'service'
14942
15041
  end
@@ -1899,6 +1899,46 @@ module Google
1899
1899
  execute_or_queue_command(command, &block)
1900
1900
  end
1901
1901
 
1902
+ # Gets the access control policy for a resource. May be empty if no such policy
1903
+ # or resource exists.
1904
+ # @param [String] project
1905
+ # Project ID for this request.
1906
+ # @param [String] resource
1907
+ # Name or id of the resource for this request.
1908
+ # @param [Fixnum] options_requested_policy_version
1909
+ # Requested IAM Policy version.
1910
+ # @param [String] fields
1911
+ # Selector specifying which fields to include in a partial response.
1912
+ # @param [String] quota_user
1913
+ # Available to use for quota purposes for server-side applications. Can be any
1914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1915
+ # @param [String] user_ip
1916
+ # Legacy name for parameter that has been superseded by `quotaUser`.
1917
+ # @param [Google::Apis::RequestOptions] options
1918
+ # Request-specific options
1919
+ #
1920
+ # @yield [result, err] Result & error if block supplied
1921
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
1922
+ # @yieldparam err [StandardError] error object if request failed
1923
+ #
1924
+ # @return [Google::Apis::ComputeV1::Policy]
1925
+ #
1926
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1927
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1928
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1929
+ def get_backend_service_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1930
+ command = make_simple_command(:get, 'projects/{project}/global/backendServices/{resource}/getIamPolicy', options)
1931
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
1932
+ command.response_class = Google::Apis::ComputeV1::Policy
1933
+ command.params['project'] = project unless project.nil?
1934
+ command.params['resource'] = resource unless resource.nil?
1935
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1936
+ command.query['fields'] = fields unless fields.nil?
1937
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1938
+ command.query['userIp'] = user_ip unless user_ip.nil?
1939
+ execute_or_queue_command(command, &block)
1940
+ end
1941
+
1902
1942
  # Creates a BackendService resource in the specified project using the data
1903
1943
  # included in the request. For more information, see Backend services overview .
1904
1944
  # @param [String] project
@@ -2140,6 +2180,46 @@ module Google
2140
2180
  execute_or_queue_command(command, &block)
2141
2181
  end
2142
2182
 
2183
+ # Sets the access control policy on the specified resource. Replaces any
2184
+ # existing policy.
2185
+ # @param [String] project
2186
+ # Project ID for this request.
2187
+ # @param [String] resource
2188
+ # Name or id of the resource for this request.
2189
+ # @param [Google::Apis::ComputeV1::GlobalSetPolicyRequest] global_set_policy_request_object
2190
+ # @param [String] fields
2191
+ # Selector specifying which fields to include in a partial response.
2192
+ # @param [String] quota_user
2193
+ # Available to use for quota purposes for server-side applications. Can be any
2194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2195
+ # @param [String] user_ip
2196
+ # Legacy name for parameter that has been superseded by `quotaUser`.
2197
+ # @param [Google::Apis::RequestOptions] options
2198
+ # Request-specific options
2199
+ #
2200
+ # @yield [result, err] Result & error if block supplied
2201
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
2202
+ # @yieldparam err [StandardError] error object if request failed
2203
+ #
2204
+ # @return [Google::Apis::ComputeV1::Policy]
2205
+ #
2206
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2207
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2208
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2209
+ def set_backend_service_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2210
+ command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/setIamPolicy', options)
2211
+ command.request_representation = Google::Apis::ComputeV1::GlobalSetPolicyRequest::Representation
2212
+ command.request_object = global_set_policy_request_object
2213
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
2214
+ command.response_class = Google::Apis::ComputeV1::Policy
2215
+ command.params['project'] = project unless project.nil?
2216
+ command.params['resource'] = resource unless resource.nil?
2217
+ command.query['fields'] = fields unless fields.nil?
2218
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2219
+ command.query['userIp'] = user_ip unless user_ip.nil?
2220
+ execute_or_queue_command(command, &block)
2221
+ end
2222
+
2143
2223
  # Sets the Google Cloud Armor security policy for the specified backend service.
2144
2224
  # For more information, see Google Cloud Armor Overview
2145
2225
  # @param [String] project
@@ -21144,6 +21224,49 @@ module Google
21144
21224
  execute_or_queue_command(command, &block)
21145
21225
  end
21146
21226
 
21227
+ # Gets the access control policy for a resource. May be empty if no such policy
21228
+ # or resource exists.
21229
+ # @param [String] project
21230
+ # Project ID for this request.
21231
+ # @param [String] region
21232
+ # The name of the region for this request.
21233
+ # @param [String] resource
21234
+ # Name or id of the resource for this request.
21235
+ # @param [Fixnum] options_requested_policy_version
21236
+ # Requested IAM Policy version.
21237
+ # @param [String] fields
21238
+ # Selector specifying which fields to include in a partial response.
21239
+ # @param [String] quota_user
21240
+ # Available to use for quota purposes for server-side applications. Can be any
21241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21242
+ # @param [String] user_ip
21243
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21244
+ # @param [Google::Apis::RequestOptions] options
21245
+ # Request-specific options
21246
+ #
21247
+ # @yield [result, err] Result & error if block supplied
21248
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
21249
+ # @yieldparam err [StandardError] error object if request failed
21250
+ #
21251
+ # @return [Google::Apis::ComputeV1::Policy]
21252
+ #
21253
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21254
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21255
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21256
+ def get_region_backend_service_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21257
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy', options)
21258
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
21259
+ command.response_class = Google::Apis::ComputeV1::Policy
21260
+ command.params['project'] = project unless project.nil?
21261
+ command.params['region'] = region unless region.nil?
21262
+ command.params['resource'] = resource unless resource.nil?
21263
+ command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
21264
+ command.query['fields'] = fields unless fields.nil?
21265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21266
+ command.query['userIp'] = user_ip unless user_ip.nil?
21267
+ execute_or_queue_command(command, &block)
21268
+ end
21269
+
21147
21270
  # Creates a regional BackendService resource in the specified project using the
21148
21271
  # data included in the request. For more information, see Backend services
21149
21272
  # overview.
@@ -21344,6 +21467,49 @@ module Google
21344
21467
  execute_or_queue_command(command, &block)
21345
21468
  end
21346
21469
 
21470
+ # Sets the access control policy on the specified resource. Replaces any
21471
+ # existing policy.
21472
+ # @param [String] project
21473
+ # Project ID for this request.
21474
+ # @param [String] region
21475
+ # The name of the region for this request.
21476
+ # @param [String] resource
21477
+ # Name or id of the resource for this request.
21478
+ # @param [Google::Apis::ComputeV1::RegionSetPolicyRequest] region_set_policy_request_object
21479
+ # @param [String] fields
21480
+ # Selector specifying which fields to include in a partial response.
21481
+ # @param [String] quota_user
21482
+ # Available to use for quota purposes for server-side applications. Can be any
21483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21484
+ # @param [String] user_ip
21485
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21486
+ # @param [Google::Apis::RequestOptions] options
21487
+ # Request-specific options
21488
+ #
21489
+ # @yield [result, err] Result & error if block supplied
21490
+ # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object
21491
+ # @yieldparam err [StandardError] error object if request failed
21492
+ #
21493
+ # @return [Google::Apis::ComputeV1::Policy]
21494
+ #
21495
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21496
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21497
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21498
+ def set_region_backend_service_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21499
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy', options)
21500
+ command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
21501
+ command.request_object = region_set_policy_request_object
21502
+ command.response_representation = Google::Apis::ComputeV1::Policy::Representation
21503
+ command.response_class = Google::Apis::ComputeV1::Policy
21504
+ command.params['project'] = project unless project.nil?
21505
+ command.params['region'] = region unless region.nil?
21506
+ command.params['resource'] = resource unless resource.nil?
21507
+ command.query['fields'] = fields unless fields.nil?
21508
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21509
+ command.query['userIp'] = user_ip unless user_ip.nil?
21510
+ execute_or_queue_command(command, &block)
21511
+ end
21512
+
21347
21513
  # Updates the specified regional BackendService resource with the data included
21348
21514
  # in the request. For more information, see Backend services overview .
21349
21515
  # @param [String] project
@@ -27804,6 +27970,238 @@ module Google
27804
27970
  execute_or_queue_command(command, &block)
27805
27971
  end
27806
27972
 
27973
+ # Deletes the specified TargetTcpProxy resource.
27974
+ # @param [String] project
27975
+ # Project ID for this request.
27976
+ # @param [String] region
27977
+ # Name of the region scoping this request.
27978
+ # @param [String] target_tcp_proxy
27979
+ # Name of the TargetTcpProxy resource to delete.
27980
+ # @param [String] request_id
27981
+ # An optional request ID to identify requests. Specify a unique request ID so
27982
+ # that if you must retry your request, the server will know to ignore the
27983
+ # request if it has already been completed. For example, consider a situation
27984
+ # where you make an initial request and the request times out. If you make the
27985
+ # request again with the same request ID, the server can check if original
27986
+ # operation with the same request ID was received, and if so, will ignore the
27987
+ # second request. This prevents clients from accidentally creating duplicate
27988
+ # commitments. The request ID must be a valid UUID with the exception that zero
27989
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
27990
+ # @param [String] fields
27991
+ # Selector specifying which fields to include in a partial response.
27992
+ # @param [String] quota_user
27993
+ # Available to use for quota purposes for server-side applications. Can be any
27994
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27995
+ # @param [String] user_ip
27996
+ # Legacy name for parameter that has been superseded by `quotaUser`.
27997
+ # @param [Google::Apis::RequestOptions] options
27998
+ # Request-specific options
27999
+ #
28000
+ # @yield [result, err] Result & error if block supplied
28001
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28002
+ # @yieldparam err [StandardError] error object if request failed
28003
+ #
28004
+ # @return [Google::Apis::ComputeV1::Operation]
28005
+ #
28006
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28007
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28008
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28009
+ 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)
28010
+ command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
28011
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28012
+ command.response_class = Google::Apis::ComputeV1::Operation
28013
+ command.params['project'] = project unless project.nil?
28014
+ command.params['region'] = region unless region.nil?
28015
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
28016
+ command.query['requestId'] = request_id unless request_id.nil?
28017
+ command.query['fields'] = fields unless fields.nil?
28018
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28019
+ command.query['userIp'] = user_ip unless user_ip.nil?
28020
+ execute_or_queue_command(command, &block)
28021
+ end
28022
+
28023
+ # Returns the specified TargetTcpProxy resource.
28024
+ # @param [String] project
28025
+ # Project ID for this request.
28026
+ # @param [String] region
28027
+ # Name of the region scoping this request.
28028
+ # @param [String] target_tcp_proxy
28029
+ # Name of the TargetTcpProxy resource to return.
28030
+ # @param [String] fields
28031
+ # Selector specifying which fields to include in a partial response.
28032
+ # @param [String] quota_user
28033
+ # Available to use for quota purposes for server-side applications. Can be any
28034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28035
+ # @param [String] user_ip
28036
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28037
+ # @param [Google::Apis::RequestOptions] options
28038
+ # Request-specific options
28039
+ #
28040
+ # @yield [result, err] Result & error if block supplied
28041
+ # @yieldparam result [Google::Apis::ComputeV1::TargetTcpProxy] parsed result object
28042
+ # @yieldparam err [StandardError] error object if request failed
28043
+ #
28044
+ # @return [Google::Apis::ComputeV1::TargetTcpProxy]
28045
+ #
28046
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28047
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28048
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28049
+ def get_region_target_tcp_proxy(project, region, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
28050
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}', options)
28051
+ command.response_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
28052
+ command.response_class = Google::Apis::ComputeV1::TargetTcpProxy
28053
+ command.params['project'] = project unless project.nil?
28054
+ command.params['region'] = region unless region.nil?
28055
+ command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil?
28056
+ command.query['fields'] = fields unless fields.nil?
28057
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28058
+ command.query['userIp'] = user_ip unless user_ip.nil?
28059
+ execute_or_queue_command(command, &block)
28060
+ end
28061
+
28062
+ # Creates a TargetTcpProxy resource in the specified project and region using
28063
+ # the data included in the request.
28064
+ # @param [String] project
28065
+ # Project ID for this request.
28066
+ # @param [String] region
28067
+ # Name of the region scoping this request.
28068
+ # @param [Google::Apis::ComputeV1::TargetTcpProxy] target_tcp_proxy_object
28069
+ # @param [String] request_id
28070
+ # An optional request ID to identify requests. Specify a unique request ID so
28071
+ # that if you must retry your request, the server will know to ignore the
28072
+ # request if it has already been completed. For example, consider a situation
28073
+ # where you make an initial request and the request times out. If you make the
28074
+ # request again with the same request ID, the server can check if original
28075
+ # operation with the same request ID was received, and if so, will ignore the
28076
+ # second request. This prevents clients from accidentally creating duplicate
28077
+ # commitments. The request ID must be a valid UUID with the exception that zero
28078
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
28079
+ # @param [String] fields
28080
+ # Selector specifying which fields to include in a partial response.
28081
+ # @param [String] quota_user
28082
+ # Available to use for quota purposes for server-side applications. Can be any
28083
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28084
+ # @param [String] user_ip
28085
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28086
+ # @param [Google::Apis::RequestOptions] options
28087
+ # Request-specific options
28088
+ #
28089
+ # @yield [result, err] Result & error if block supplied
28090
+ # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
28091
+ # @yieldparam err [StandardError] error object if request failed
28092
+ #
28093
+ # @return [Google::Apis::ComputeV1::Operation]
28094
+ #
28095
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28096
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28097
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28098
+ 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)
28099
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetTcpProxies', options)
28100
+ command.request_representation = Google::Apis::ComputeV1::TargetTcpProxy::Representation
28101
+ command.request_object = target_tcp_proxy_object
28102
+ command.response_representation = Google::Apis::ComputeV1::Operation::Representation
28103
+ command.response_class = Google::Apis::ComputeV1::Operation
28104
+ command.params['project'] = project unless project.nil?
28105
+ command.params['region'] = region unless region.nil?
28106
+ command.query['requestId'] = request_id unless request_id.nil?
28107
+ command.query['fields'] = fields unless fields.nil?
28108
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28109
+ command.query['userIp'] = user_ip unless user_ip.nil?
28110
+ execute_or_queue_command(command, &block)
28111
+ end
28112
+
28113
+ # Retrieves a list of TargetTcpProxy resources available to the specified
28114
+ # project in a given region.
28115
+ # @param [String] project
28116
+ # Project ID for this request.
28117
+ # @param [String] region
28118
+ # Name of the region scoping this request.
28119
+ # @param [String] filter
28120
+ # A filter expression that filters resources listed in the response. Most
28121
+ # Compute resources support two types of filter expressions: expressions that
28122
+ # support regular expressions and expressions that follow API improvement
28123
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
28124
+ # field name, an operator, and the value that you want to use for filtering. The
28125
+ # value must be a string, a number, or a boolean. The operator must be either `=`
28126
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
28127
+ # Engine instances, you can exclude instances named `example-instance` by
28128
+ # specifying `name != example-instance`. The `:` operator can be used with
28129
+ # string fields to match substrings. For non-string fields it is equivalent to
28130
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
28131
+ # been defined. For example, to find all objects with `owner` label use: ```
28132
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
28133
+ # specify `scheduling.automaticRestart = false` to include instances only if
28134
+ # they are not scheduled for automatic restarts. You can use filtering on nested
28135
+ # fields to filter based on resource labels. To filter on multiple expressions,
28136
+ # provide each separate expression within parentheses. For example: ``` (
28137
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
28138
+ # default, each expression is an `AND` expression. However, you can include `AND`
28139
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
28140
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
28141
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
28142
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
28143
+ # expression with or without quotes or against multiple parenthesized
28144
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
28145
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
28146
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
28147
+ # regular expression using Google RE2 library syntax. The literal value must
28148
+ # match the entire field. For example, to filter for instances that do not end
28149
+ # with name "instance", you would use `name ne .*instance`.
28150
+ # @param [Fixnum] max_results
28151
+ # The maximum number of results per page that should be returned. If the number
28152
+ # of available results is larger than `maxResults`, Compute Engine returns a `
28153
+ # nextPageToken` that can be used to get the next page of results in subsequent
28154
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
28155
+ # @param [String] order_by
28156
+ # Sorts list results by a certain order. By default, results are returned in
28157
+ # alphanumerical order based on the resource name. You can also sort results in
28158
+ # descending order based on the creation timestamp using `orderBy="
28159
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
28160
+ # field in reverse chronological order (newest result first). Use this to sort
28161
+ # resources like operations so that the newest operation is returned first.
28162
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
28163
+ # @param [String] page_token
28164
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
28165
+ # by a previous list request to get the next page of results.
28166
+ # @param [Boolean] return_partial_success
28167
+ # Opt-in for partial success behavior which provides partial results in case of
28168
+ # failure. The default value is false.
28169
+ # @param [String] fields
28170
+ # Selector specifying which fields to include in a partial response.
28171
+ # @param [String] quota_user
28172
+ # Available to use for quota purposes for server-side applications. Can be any
28173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28174
+ # @param [String] user_ip
28175
+ # Legacy name for parameter that has been superseded by `quotaUser`.
28176
+ # @param [Google::Apis::RequestOptions] options
28177
+ # Request-specific options
28178
+ #
28179
+ # @yield [result, err] Result & error if block supplied
28180
+ # @yieldparam result [Google::Apis::ComputeV1::TargetTcpProxyList] parsed result object
28181
+ # @yieldparam err [StandardError] error object if request failed
28182
+ #
28183
+ # @return [Google::Apis::ComputeV1::TargetTcpProxyList]
28184
+ #
28185
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28186
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28187
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28188
+ 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)
28189
+ command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetTcpProxies', options)
28190
+ command.response_representation = Google::Apis::ComputeV1::TargetTcpProxyList::Representation
28191
+ command.response_class = Google::Apis::ComputeV1::TargetTcpProxyList
28192
+ command.params['project'] = project unless project.nil?
28193
+ command.params['region'] = region unless region.nil?
28194
+ command.query['filter'] = filter unless filter.nil?
28195
+ command.query['maxResults'] = max_results unless max_results.nil?
28196
+ command.query['orderBy'] = order_by unless order_by.nil?
28197
+ command.query['pageToken'] = page_token unless page_token.nil?
28198
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
28199
+ command.query['fields'] = fields unless fields.nil?
28200
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28201
+ command.query['userIp'] = user_ip unless user_ip.nil?
28202
+ execute_or_queue_command(command, &block)
28203
+ end
28204
+
27807
28205
  # Deletes the specified UrlMap resource.
27808
28206
  # @param [String] project
27809
28207
  # Project ID for this request.
@@ -32034,6 +32432,103 @@ module Google
32034
32432
  execute_or_queue_command(command, &block)
32035
32433
  end
32036
32434
 
32435
+ # Retrieves the list of all SslPolicy resources, regional and global, available
32436
+ # to the specified project.
32437
+ # @param [String] project
32438
+ # Name of the project scoping this request.
32439
+ # @param [String] filter
32440
+ # A filter expression that filters resources listed in the response. Most
32441
+ # Compute resources support two types of filter expressions: expressions that
32442
+ # support regular expressions and expressions that follow API improvement
32443
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
32444
+ # field name, an operator, and the value that you want to use for filtering. The
32445
+ # value must be a string, a number, or a boolean. The operator must be either `=`
32446
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
32447
+ # Engine instances, you can exclude instances named `example-instance` by
32448
+ # specifying `name != example-instance`. The `:` operator can be used with
32449
+ # string fields to match substrings. For non-string fields it is equivalent to
32450
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
32451
+ # been defined. For example, to find all objects with `owner` label use: ```
32452
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
32453
+ # specify `scheduling.automaticRestart = false` to include instances only if
32454
+ # they are not scheduled for automatic restarts. You can use filtering on nested
32455
+ # fields to filter based on resource labels. To filter on multiple expressions,
32456
+ # provide each separate expression within parentheses. For example: ``` (
32457
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
32458
+ # default, each expression is an `AND` expression. However, you can include `AND`
32459
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
32460
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
32461
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
32462
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
32463
+ # expression with or without quotes or against multiple parenthesized
32464
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
32465
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
32466
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
32467
+ # regular expression using Google RE2 library syntax. The literal value must
32468
+ # match the entire field. For example, to filter for instances that do not end
32469
+ # with name "instance", you would use `name ne .*instance`.
32470
+ # @param [Boolean] include_all_scopes
32471
+ # Indicates whether every visible scope for each scope type (zone, region,
32472
+ # global) should be included in the response. For new resource types added after
32473
+ # this field, the flag has no effect as new resource types will always include
32474
+ # every visible scope for each scope type in response. For resource types which
32475
+ # predate this field, if this flag is omitted or false, only scopes of the scope
32476
+ # types where the resource type is expected to be found will be included.
32477
+ # @param [Fixnum] max_results
32478
+ # The maximum number of results per page that should be returned. If the number
32479
+ # of available results is larger than `maxResults`, Compute Engine returns a `
32480
+ # nextPageToken` that can be used to get the next page of results in subsequent
32481
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
32482
+ # @param [String] order_by
32483
+ # Sorts list results by a certain order. By default, results are returned in
32484
+ # alphanumerical order based on the resource name. You can also sort results in
32485
+ # descending order based on the creation timestamp using `orderBy="
32486
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
32487
+ # field in reverse chronological order (newest result first). Use this to sort
32488
+ # resources like operations so that the newest operation is returned first.
32489
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
32490
+ # @param [String] page_token
32491
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
32492
+ # by a previous list request to get the next page of results.
32493
+ # @param [Boolean] return_partial_success
32494
+ # Opt-in for partial success behavior which provides partial results in case of
32495
+ # failure. The default value is false.
32496
+ # @param [String] fields
32497
+ # Selector specifying which fields to include in a partial response.
32498
+ # @param [String] quota_user
32499
+ # Available to use for quota purposes for server-side applications. Can be any
32500
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
32501
+ # @param [String] user_ip
32502
+ # Legacy name for parameter that has been superseded by `quotaUser`.
32503
+ # @param [Google::Apis::RequestOptions] options
32504
+ # Request-specific options
32505
+ #
32506
+ # @yield [result, err] Result & error if block supplied
32507
+ # @yieldparam result [Google::Apis::ComputeV1::SslPoliciesAggregatedList] parsed result object
32508
+ # @yieldparam err [StandardError] error object if request failed
32509
+ #
32510
+ # @return [Google::Apis::ComputeV1::SslPoliciesAggregatedList]
32511
+ #
32512
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
32513
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
32514
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
32515
+ def aggregated_ssl_policy_list(project, filter: nil, include_all_scopes: 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)
32516
+ command = make_simple_command(:get, 'projects/{project}/aggregated/sslPolicies', options)
32517
+ command.response_representation = Google::Apis::ComputeV1::SslPoliciesAggregatedList::Representation
32518
+ command.response_class = Google::Apis::ComputeV1::SslPoliciesAggregatedList
32519
+ command.params['project'] = project unless project.nil?
32520
+ command.query['filter'] = filter unless filter.nil?
32521
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
32522
+ command.query['maxResults'] = max_results unless max_results.nil?
32523
+ command.query['orderBy'] = order_by unless order_by.nil?
32524
+ command.query['pageToken'] = page_token unless page_token.nil?
32525
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
32526
+ command.query['fields'] = fields unless fields.nil?
32527
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
32528
+ command.query['userIp'] = user_ip unless user_ip.nil?
32529
+ execute_or_queue_command(command, &block)
32530
+ end
32531
+
32037
32532
  # Deletes the specified SSL policy. The SSL policy resource can be deleted only
32038
32533
  # if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.
32039
32534
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-12 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
63
  post_install_message:
64
64
  rdoc_options: []