Skip to content

Commit 6c839ff

Browse files
feat: Automated regeneration of compute v1 client (googleapis#20431)
Auto-created at 2024-10-20 09:51:07 +0000 using the toys pull request generator.
1 parent b45858c commit 6c839ff

File tree

5 files changed

+104
-9
lines changed

5 files changed

+104
-9
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102000,6 +102000,7 @@
102000102000
"/compute:v1/BackendService/serviceBindings/service_binding": service_binding
102001102001
"/compute:v1/BackendService/serviceLbPolicy": service_lb_policy
102002102002
"/compute:v1/BackendService/sessionAffinity": session_affinity
102003+
"/compute:v1/BackendService/strongSessionAffinityCookie": strong_session_affinity_cookie
102003102004
"/compute:v1/BackendService/subsetting": subsetting
102004102005
"/compute:v1/BackendService/timeoutSec": timeout_sec
102005102006
"/compute:v1/BackendService/usedBy": used_by
@@ -102056,6 +102057,10 @@
102056102057
"/compute:v1/BackendServiceGroupHealth/healthStatus": health_status
102057102058
"/compute:v1/BackendServiceGroupHealth/healthStatus/health_status": health_status
102058102059
"/compute:v1/BackendServiceGroupHealth/kind": kind
102060+
"/compute:v1/BackendServiceHttpCookie": backend_service_http_cookie
102061+
"/compute:v1/BackendServiceHttpCookie/name": name
102062+
"/compute:v1/BackendServiceHttpCookie/path": path
102063+
"/compute:v1/BackendServiceHttpCookie/ttl": ttl
102059102064
"/compute:v1/BackendServiceIAP": backend_service_iap
102060102065
"/compute:v1/BackendServiceIAP/enabled": enabled
102061102066
"/compute:v1/BackendServiceIAP/oauth2ClientId": oauth2_client_id
@@ -103110,6 +103115,7 @@
103110103115
"/compute:v1/HealthStatusForNetworkEndpoint/healthCheck": health_check
103111103116
"/compute:v1/HealthStatusForNetworkEndpoint/healthCheckService": health_check_service
103112103117
"/compute:v1/HealthStatusForNetworkEndpoint/healthState": health_state
103118+
"/compute:v1/HealthStatusForNetworkEndpoint/ipv6HealthState": ipv6_health_state
103113103119
"/compute:v1/Help": help
103114103120
"/compute:v1/Help/links": links
103115103121
"/compute:v1/Help/links/link": link
@@ -104648,6 +104654,7 @@
104648104654
"/compute:v1/NetworkEndpoint/fqdn": fqdn
104649104655
"/compute:v1/NetworkEndpoint/instance": instance
104650104656
"/compute:v1/NetworkEndpoint/ipAddress": ip_address
104657+
"/compute:v1/NetworkEndpoint/ipv6Address": ipv6_address
104651104658
"/compute:v1/NetworkEndpoint/port": port
104652104659
"/compute:v1/NetworkEndpointGroup": network_endpoint_group
104653104660
"/compute:v1/NetworkEndpointGroup/annotations": annotations

generated/google-apis-compute_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-compute_v1
22

3+
### v0.110.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241008
6+
37
### v0.109.0 (2024-10-13)
48

59
* Regenerated from discovery document revision 20241001

generated/google-apis-compute_v1/lib/google/apis/compute_v1/classes.rb

Lines changed: 71 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3670,6 +3670,11 @@ class BackendService
36703670
# @return [String]
36713671
attr_accessor :session_affinity
36723672

3673+
# The HTTP cookie used for stateful session affinity.
3674+
# Corresponds to the JSON property `strongSessionAffinityCookie`
3675+
# @return [Google::Apis::ComputeV1::BackendServiceHttpCookie]
3676+
attr_accessor :strong_session_affinity_cookie
3677+
36733678
# Subsetting configuration for this BackendService. Currently this is applicable
36743679
# only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and
36753680
# Traffic Director.
@@ -3740,6 +3745,7 @@ def update!(**args)
37403745
@service_bindings = args[:service_bindings] if args.key?(:service_bindings)
37413746
@service_lb_policy = args[:service_lb_policy] if args.key?(:service_lb_policy)
37423747
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
3748+
@strong_session_affinity_cookie = args[:strong_session_affinity_cookie] if args.key?(:strong_session_affinity_cookie)
37433749
@subsetting = args[:subsetting] if args.key?(:subsetting)
37443750
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
37453751
@used_by = args[:used_by] if args.key?(:used_by)
@@ -4232,6 +4238,40 @@ def update!(**args)
42324238
end
42334239
end
42344240

4241+
# The HTTP cookie used for stateful session affinity.
4242+
class BackendServiceHttpCookie
4243+
include Google::Apis::Core::Hashable
4244+
4245+
# Name of the cookie.
4246+
# Corresponds to the JSON property `name`
4247+
# @return [String]
4248+
attr_accessor :name
4249+
4250+
# Path to set for the cookie.
4251+
# Corresponds to the JSON property `path`
4252+
# @return [String]
4253+
attr_accessor :path
4254+
4255+
# A Duration represents a fixed-length span of time represented as a count of
4256+
# seconds and fractions of seconds at nanosecond resolution. It is independent
4257+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
4258+
# 000 years.
4259+
# Corresponds to the JSON property `ttl`
4260+
# @return [Google::Apis::ComputeV1::Duration]
4261+
attr_accessor :ttl
4262+
4263+
def initialize(**args)
4264+
update!(**args)
4265+
end
4266+
4267+
# Update properties of this object
4268+
def update!(**args)
4269+
@name = args[:name] if args.key?(:name)
4270+
@path = args[:path] if args.key?(:path)
4271+
@ttl = args[:ttl] if args.key?(:ttl)
4272+
end
4273+
end
4274+
42354275
# Identity-Aware Proxy
42364276
class BackendServiceIap
42374277
include Google::Apis::Core::Hashable
@@ -12069,6 +12109,12 @@ class HealthStatusForNetworkEndpoint
1206912109
# @return [String]
1207012110
attr_accessor :health_state
1207112111

12112+
# Health state of the ipv6 network endpoint determined based on the health
12113+
# checks configured.
12114+
# Corresponds to the JSON property `ipv6HealthState`
12115+
# @return [String]
12116+
attr_accessor :ipv6_health_state
12117+
1207212118
def initialize(**args)
1207312119
update!(**args)
1207412120
end
@@ -12080,6 +12126,7 @@ def update!(**args)
1208012126
@health_check = args[:health_check] if args.key?(:health_check)
1208112127
@health_check_service = args[:health_check_service] if args.key?(:health_check_service)
1208212128
@health_state = args[:health_state] if args.key?(:health_state)
12129+
@ipv6_health_state = args[:ipv6_health_state] if args.key?(:ipv6_health_state)
1208312130
end
1208412131
end
1208512132

@@ -18136,7 +18183,7 @@ def update!(**args)
1813618183
class InstancesGetEffectiveFirewallsResponse
1813718184
include Google::Apis::Core::Hashable
1813818185

18139-
# Effective firewalls from firewall policies.
18186+
# [Output Only] Effective firewalls from firewall policies.
1814018187
# Corresponds to the JSON property `firewallPolicys`
1814118188
# @return [Array<Google::Apis::ComputeV1::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>]
1814218189
attr_accessor :firewall_policys
@@ -18178,7 +18225,9 @@ class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
1817818225
# @return [Fixnum]
1817918226
attr_accessor :priority
1818018227

18181-
# The rules that apply to the network.
18228+
# [Output Only] The rules that apply to the instance. Only rules that target the
18229+
# specific VM instance are returned if target service accounts or target secure
18230+
# tags are specified in the rules.
1818218231
# Corresponds to the JSON property `rules`
1818318232
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
1818418233
attr_accessor :rules
@@ -24356,6 +24405,11 @@ class NetworkEndpoint
2435624405
# @return [String]
2435724406
attr_accessor :ip_address
2435824407

24408+
# Optional IPv6 address of network endpoint.
24409+
# Corresponds to the JSON property `ipv6Address`
24410+
# @return [String]
24411+
attr_accessor :ipv6_address
24412+
2435924413
# Optional port number of network endpoint. If not specified, the defaultPort
2436024414
# for the network endpoint group will be used. This field can not be set for
2436124415
# network endpoints of type GCE_VM_IP.
@@ -24374,6 +24428,7 @@ def update!(**args)
2437424428
@fqdn = args[:fqdn] if args.key?(:fqdn)
2437524429
@instance = args[:instance] if args.key?(:instance)
2437624430
@ip_address = args[:ip_address] if args.key?(:ip_address)
24431+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
2437724432
@port = args[:port] if args.key?(:port)
2437824433
end
2437924434
end
@@ -25708,7 +25763,10 @@ def update!(**args)
2570825763
class NetworksGetEffectiveFirewallsResponse
2570925764
include Google::Apis::Core::Hashable
2571025765

25711-
# Effective firewalls from firewall policy.
25766+
# [Output Only] Effective firewalls from firewall policy. It returns Global
25767+
# Network Firewall Policies and Hierarchical Firewall Policies. Use
25768+
# regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network
25769+
# Firewall Policies as well.
2571225770
# Corresponds to the JSON property `firewallPolicys`
2571325771
# @return [Array<Google::Apis::ComputeV1::NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy>]
2571425772
attr_accessor :firewall_policys
@@ -25750,7 +25808,7 @@ class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy
2575025808
# @return [Fixnum]
2575125809
attr_accessor :priority
2575225810

25753-
# The rules that apply to the network.
25811+
# [Output Only] The rules that apply to the network.
2575425812
# Corresponds to the JSON property `rules`
2575525813
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
2575625814
attr_accessor :rules
@@ -32493,7 +32551,10 @@ def update!(**args)
3249332551
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
3249432552
include Google::Apis::Core::Hashable
3249532553

32496-
# Effective firewalls from firewall policy.
32554+
# [Output only] Effective firewalls from firewall policy. It applies to Regional
32555+
# Network Firewall Policies in the specified region, Global Network Firewall
32556+
# Policies and Hierachial Firewall Policies which are associated with the
32557+
# network.
3249732558
# Corresponds to the JSON property `firewallPolicys`
3249832559
# @return [Array<Google::Apis::ComputeV1::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>]
3249932560
attr_accessor :firewall_policys
@@ -32528,7 +32589,7 @@ class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewal
3252832589
# @return [String]
3252932590
attr_accessor :name
3253032591

32531-
# The rules that apply to the network.
32592+
# [Output only] The rules that apply to the network.
3253232593
# Corresponds to the JSON property `rules`
3253332594
# @return [Array<Google::Apis::ComputeV1::FirewallPolicyRule>]
3253432595
attr_accessor :rules
@@ -32817,7 +32878,10 @@ class Reservation
3281732878
attr_accessor :specific_reservation_required
3281832879
alias_method :specific_reservation_required?, :specific_reservation_required
3281932880

32820-
# [Output Only] The status of the reservation.
32881+
# [Output Only] The status of the reservation. - CREATING: Reservation resources
32882+
# are being allocated. - READY: Reservation resources have been allocated, and
32883+
# the reservation is ready for use. - DELETING: Reservation deletion is in
32884+
# progress. - UPDATING: Reservation update is in progress.
3282132885
# Corresponds to the JSON property `status`
3282232886
# @return [String]
3282332887
attr_accessor :status

generated/google-apis-compute_v1/lib/google/apis/compute_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComputeV1
1818
# Version of the google-apis-compute_v1 gem
19-
GEM_VERSION = "0.109.0"
19+
GEM_VERSION = "0.110.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241001"
25+
REVISION = "20241008"
2626
end
2727
end
2828
end

generated/google-apis-compute_v1/lib/google/apis/compute_v1/representations.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
466466
include Google::Apis::Core::JsonObjectSupport
467467
end
468468

469+
class BackendServiceHttpCookie
470+
class Representation < Google::Apis::Core::JsonRepresentation; end
471+
472+
include Google::Apis::Core::JsonObjectSupport
473+
end
474+
469475
class BackendServiceIap
470476
class Representation < Google::Apis::Core::JsonRepresentation; end
471477

@@ -7344,6 +7350,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
73447350
collection :service_bindings, as: 'serviceBindings'
73457351
property :service_lb_policy, as: 'serviceLbPolicy'
73467352
property :session_affinity, as: 'sessionAffinity'
7353+
property :strong_session_affinity_cookie, as: 'strongSessionAffinityCookie', class: Google::Apis::ComputeV1::BackendServiceHttpCookie, decorator: Google::Apis::ComputeV1::BackendServiceHttpCookie::Representation
7354+
73477355
property :subsetting, as: 'subsetting', class: Google::Apis::ComputeV1::Subsetting, decorator: Google::Apis::ComputeV1::Subsetting::Representation
73487356

73497357
property :timeout_sec, as: 'timeoutSec'
@@ -7450,6 +7458,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
74507458
end
74517459
end
74527460

7461+
class BackendServiceHttpCookie
7462+
# @private
7463+
class Representation < Google::Apis::Core::JsonRepresentation
7464+
property :name, as: 'name'
7465+
property :path, as: 'path'
7466+
property :ttl, as: 'ttl', class: Google::Apis::ComputeV1::Duration, decorator: Google::Apis::ComputeV1::Duration::Representation
7467+
7468+
end
7469+
end
7470+
74537471
class BackendServiceIap
74547472
# @private
74557473
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9247,6 +9265,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
92479265
property :health_check_service, as: 'healthCheckService', class: Google::Apis::ComputeV1::HealthCheckServiceReference, decorator: Google::Apis::ComputeV1::HealthCheckServiceReference::Representation
92489266

92499267
property :health_state, as: 'healthState'
9268+
property :ipv6_health_state, as: 'ipv6HealthState'
92509269
end
92519270
end
92529271

@@ -12314,6 +12333,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1231412333
property :fqdn, as: 'fqdn'
1231512334
property :instance, as: 'instance'
1231612335
property :ip_address, as: 'ipAddress'
12336+
property :ipv6_address, as: 'ipv6Address'
1231712337
property :port, as: 'port'
1231812338
end
1231912339
end

0 commit comments

Comments
 (0)