diff --git a/api_names_out.yaml b/api_names_out.yaml index 7a1cfefee..7c17cd2f1 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -39062,6 +39062,8 @@ "/compute:beta/Autoscaler/name": name "/compute:beta/Autoscaler/recommendedSize": recommended_size "/compute:beta/Autoscaler/region": region +"/compute:beta/Autoscaler/scalingScheduleStatus": scaling_schedule_status +"/compute:beta/Autoscaler/scalingScheduleStatus/scaling_schedule_status": scaling_schedule_status "/compute:beta/Autoscaler/selfLink": self_link "/compute:beta/Autoscaler/status": status "/compute:beta/Autoscaler/statusDetails": status_details @@ -39122,6 +39124,8 @@ "/compute:beta/AutoscalingPolicy/mode": mode "/compute:beta/AutoscalingPolicy/scaleDownControl": scale_down_control "/compute:beta/AutoscalingPolicy/scaleInControl": scale_in_control +"/compute:beta/AutoscalingPolicy/scalingSchedules": scaling_schedules +"/compute:beta/AutoscalingPolicy/scalingSchedules/scaling_schedule": scaling_schedule "/compute:beta/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization "/compute:beta/AutoscalingPolicyCpuUtilization/predictiveMethod": predictive_method "/compute:beta/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target @@ -39139,6 +39143,13 @@ "/compute:beta/AutoscalingPolicyScaleInControl": autoscaling_policy_scale_in_control "/compute:beta/AutoscalingPolicyScaleInControl/maxScaledInReplicas": max_scaled_in_replicas "/compute:beta/AutoscalingPolicyScaleInControl/timeWindowSec": time_window_sec +"/compute:beta/AutoscalingPolicyScalingSchedule": autoscaling_policy_scaling_schedule +"/compute:beta/AutoscalingPolicyScalingSchedule/description": description +"/compute:beta/AutoscalingPolicyScalingSchedule/disabled": disabled +"/compute:beta/AutoscalingPolicyScalingSchedule/durationSec": duration_sec +"/compute:beta/AutoscalingPolicyScalingSchedule/minRequiredReplicas": min_required_replicas +"/compute:beta/AutoscalingPolicyScalingSchedule/schedule": schedule +"/compute:beta/AutoscalingPolicyScalingSchedule/timeZone": time_zone "/compute:beta/Backend": backend "/compute:beta/Backend/balancingMode": balancing_mode "/compute:beta/Backend/capacityScaler": capacity_scaler @@ -39206,6 +39217,7 @@ "/compute:beta/BackendService/cdnPolicy": cdn_policy "/compute:beta/BackendService/circuitBreakers": circuit_breakers "/compute:beta/BackendService/connectionDraining": connection_draining +"/compute:beta/BackendService/connectionTrackingPolicy": connection_tracking_policy "/compute:beta/BackendService/consistentHash": consistent_hash "/compute:beta/BackendService/creationTimestamp": creation_timestamp "/compute:beta/BackendService/customRequestHeaders": custom_request_headers @@ -39274,6 +39286,8 @@ "/compute:beta/BackendServiceCdnPolicyNegativeCachingPolicy": backend_service_cdn_policy_negative_caching_policy "/compute:beta/BackendServiceCdnPolicyNegativeCachingPolicy/code": code "/compute:beta/BackendServiceCdnPolicyNegativeCachingPolicy/ttl": ttl +"/compute:beta/BackendServiceConnectionTrackingPolicy": backend_service_connection_tracking_policy +"/compute:beta/BackendServiceConnectionTrackingPolicy/connectionPersistenceOnUnhealthyBackends": connection_persistence_on_unhealthy_backends "/compute:beta/BackendServiceFailoverPolicy": backend_service_failover_policy "/compute:beta/BackendServiceFailoverPolicy/disableConnectionDrainOnFailover": disable_connection_drain_on_failover "/compute:beta/BackendServiceFailoverPolicy/dropTrafficIfUnhealthy": drop_traffic_if_unhealthy @@ -39644,6 +39658,7 @@ "/compute:beta/DisplayDevice": display_device "/compute:beta/DisplayDevice/enableDisplay": enable_display "/compute:beta/DistributionPolicy": distribution_policy +"/compute:beta/DistributionPolicy/targetShape": target_shape "/compute:beta/DistributionPolicy/zones": zones "/compute:beta/DistributionPolicy/zones/zone": zone "/compute:beta/DistributionPolicyZoneConfiguration": distribution_policy_zone_configuration @@ -39762,6 +39777,35 @@ "/compute:beta/FirewallLogConfig": firewall_log_config "/compute:beta/FirewallLogConfig/enable": enable "/compute:beta/FirewallLogConfig/metadata": metadata +"/compute:beta/FirewallPolicyRule": firewall_policy_rule +"/compute:beta/FirewallPolicyRule/action": action +"/compute:beta/FirewallPolicyRule/description": description +"/compute:beta/FirewallPolicyRule/direction": direction +"/compute:beta/FirewallPolicyRule/disabled": disabled +"/compute:beta/FirewallPolicyRule/enableLogging": enable_logging +"/compute:beta/FirewallPolicyRule/kind": kind +"/compute:beta/FirewallPolicyRule/match": match +"/compute:beta/FirewallPolicyRule/priority": priority +"/compute:beta/FirewallPolicyRule/ruleTupleCount": rule_tuple_count +"/compute:beta/FirewallPolicyRule/targetResources": target_resources +"/compute:beta/FirewallPolicyRule/targetResources/target_resource": target_resource +"/compute:beta/FirewallPolicyRule/targetSecureLabels": target_secure_labels +"/compute:beta/FirewallPolicyRule/targetSecureLabels/target_secure_label": target_secure_label +"/compute:beta/FirewallPolicyRule/targetServiceAccounts": target_service_accounts +"/compute:beta/FirewallPolicyRule/targetServiceAccounts/target_service_account": target_service_account +"/compute:beta/FirewallPolicyRuleMatcher": firewall_policy_rule_matcher +"/compute:beta/FirewallPolicyRuleMatcher/destIpRanges": dest_ip_ranges +"/compute:beta/FirewallPolicyRuleMatcher/destIpRanges/dest_ip_range": dest_ip_range +"/compute:beta/FirewallPolicyRuleMatcher/layer4Configs": layer4_configs +"/compute:beta/FirewallPolicyRuleMatcher/layer4Configs/layer4_config": layer4_config +"/compute:beta/FirewallPolicyRuleMatcher/srcIpRanges": src_ip_ranges +"/compute:beta/FirewallPolicyRuleMatcher/srcIpRanges/src_ip_range": src_ip_range +"/compute:beta/FirewallPolicyRuleMatcher/srcSecureLabels": src_secure_labels +"/compute:beta/FirewallPolicyRuleMatcher/srcSecureLabels/src_secure_label": src_secure_label +"/compute:beta/FirewallPolicyRuleMatcherLayer4Config": firewall_policy_rule_matcher_layer4_config +"/compute:beta/FirewallPolicyRuleMatcherLayer4Config/ipProtocol": ip_protocol +"/compute:beta/FirewallPolicyRuleMatcherLayer4Config/ports": ports +"/compute:beta/FirewallPolicyRuleMatcherLayer4Config/ports/port": port "/compute:beta/FixedOrPercent": fixed_or_percent "/compute:beta/FixedOrPercent/calculated": calculated "/compute:beta/FixedOrPercent/fixed": fixed @@ -40643,10 +40687,18 @@ "/compute:beta/InstancesAddResourcePoliciesRequest/resourcePolicies": resource_policies "/compute:beta/InstancesAddResourcePoliciesRequest/resourcePolicies/resource_policy": resource_policy "/compute:beta/InstancesGetEffectiveFirewallsResponse": instances_get_effective_firewalls_response +"/compute:beta/InstancesGetEffectiveFirewallsResponse/firewallPolicys": firewall_policys +"/compute:beta/InstancesGetEffectiveFirewallsResponse/firewallPolicys/firewall_policy": firewall_policy "/compute:beta/InstancesGetEffectiveFirewallsResponse/firewalls": firewalls "/compute:beta/InstancesGetEffectiveFirewallsResponse/firewalls/firewall": firewall "/compute:beta/InstancesGetEffectiveFirewallsResponse/organizationFirewalls": organization_firewalls "/compute:beta/InstancesGetEffectiveFirewallsResponse/organizationFirewalls/organization_firewall": organization_firewall +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": instances_get_effective_firewalls_response_effective_firewall_policy +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/displayName": display_name +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/name": name +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/rules": rules +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/rules/rule": rule +"/compute:beta/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy/type": type "/compute:beta/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy": instances_get_effective_firewalls_response_organization_firewall_policy "/compute:beta/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy/id": id "/compute:beta/InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules": rules @@ -40730,6 +40782,7 @@ "/compute:beta/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address "/compute:beta/InterconnectAttachment/creationTimestamp": creation_timestamp "/compute:beta/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address +"/compute:beta/InterconnectAttachment/dataplaneVersion": dataplane_version "/compute:beta/InterconnectAttachment/description": description "/compute:beta/InterconnectAttachment/edgeAvailabilityDomain": edge_availability_domain "/compute:beta/InterconnectAttachment/googleReferenceId": google_reference_id @@ -41258,10 +41311,18 @@ "/compute:beta/NetworksAddPeeringRequest/networkPeering": network_peering "/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network "/compute:beta/NetworksGetEffectiveFirewallsResponse": networks_get_effective_firewalls_response +"/compute:beta/NetworksGetEffectiveFirewallsResponse/firewallPolicys": firewall_policys +"/compute:beta/NetworksGetEffectiveFirewallsResponse/firewallPolicys/firewall_policy": firewall_policy "/compute:beta/NetworksGetEffectiveFirewallsResponse/firewalls": firewalls "/compute:beta/NetworksGetEffectiveFirewallsResponse/firewalls/firewall": firewall "/compute:beta/NetworksGetEffectiveFirewallsResponse/organizationFirewalls": organization_firewalls "/compute:beta/NetworksGetEffectiveFirewallsResponse/organizationFirewalls/organization_firewall": organization_firewall +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy": networks_get_effective_firewalls_response_effective_firewall_policy +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/displayName": display_name +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/name": name +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/rules": rules +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/rules/rule": rule +"/compute:beta/NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy/type": type "/compute:beta/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy": networks_get_effective_firewalls_response_organization_firewall_policy "/compute:beta/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy/id": id "/compute:beta/NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy/rules": rules @@ -41644,6 +41705,7 @@ "/compute:beta/PacketMirroringFilter/IPProtocols/ip_protocol": ip_protocol "/compute:beta/PacketMirroringFilter/cidrRanges": cidr_ranges "/compute:beta/PacketMirroringFilter/cidrRanges/cidr_range": cidr_range +"/compute:beta/PacketMirroringFilter/direction": direction "/compute:beta/PacketMirroringForwardingRuleInfo": packet_mirroring_forwarding_rule_info "/compute:beta/PacketMirroringForwardingRuleInfo/canonicalUrl": canonical_url "/compute:beta/PacketMirroringForwardingRuleInfo/url": url @@ -42275,6 +42337,7 @@ "/compute:beta/RouterNat": router_nat "/compute:beta/RouterNat/drainNatIps": drain_nat_ips "/compute:beta/RouterNat/drainNatIps/drain_nat_ip": drain_nat_ip +"/compute:beta/RouterNat/enableEndpointIndependentMapping": enable_endpoint_independent_mapping "/compute:beta/RouterNat/icmpIdleTimeoutSec": icmp_idle_timeout_sec "/compute:beta/RouterNat/logConfig": log_config "/compute:beta/RouterNat/minPortsPerVm": min_ports_per_vm @@ -42388,6 +42451,10 @@ "/compute:beta/SavedAttachedDisk/storageBytes": storage_bytes "/compute:beta/SavedAttachedDisk/storageBytesStatus": storage_bytes_status "/compute:beta/SavedAttachedDisk/type": type +"/compute:beta/ScalingScheduleStatus": scaling_schedule_status +"/compute:beta/ScalingScheduleStatus/lastStartTime": last_start_time +"/compute:beta/ScalingScheduleStatus/nextStartTime": next_start_time +"/compute:beta/ScalingScheduleStatus/state": state "/compute:beta/Scheduling": scheduling "/compute:beta/Scheduling/automaticRestart": automatic_restart "/compute:beta/Scheduling/minNodeCpus": min_node_cpus @@ -42414,6 +42481,7 @@ "/compute:beta/SecurityPoliciesWafConfig": security_policies_waf_config "/compute:beta/SecurityPoliciesWafConfig/wafRules": waf_rules "/compute:beta/SecurityPolicy": security_policy +"/compute:beta/SecurityPolicy/adaptiveProtectionConfig": adaptive_protection_config "/compute:beta/SecurityPolicy/associations": associations "/compute:beta/SecurityPolicy/associations/association": association "/compute:beta/SecurityPolicy/creationTimestamp": creation_timestamp @@ -42433,6 +42501,11 @@ "/compute:beta/SecurityPolicy/selfLink": self_link "/compute:beta/SecurityPolicy/selfLinkWithId": self_link_with_id "/compute:beta/SecurityPolicy/type": type +"/compute:beta/SecurityPolicyAdaptiveProtectionConfig": security_policy_adaptive_protection_config +"/compute:beta/SecurityPolicyAdaptiveProtectionConfig/layer7DdosDefenseConfig": layer7_ddos_defense_config +"/compute:beta/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": security_policy_adaptive_protection_config_layer7_ddos_defense_config +"/compute:beta/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig/enable": enable +"/compute:beta/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig/ruleVisibility": rule_visibility "/compute:beta/SecurityPolicyAssociation": security_policy_association "/compute:beta/SecurityPolicyAssociation/attachmentId": attachment_id "/compute:beta/SecurityPolicyAssociation/displayName": display_name @@ -42462,6 +42535,7 @@ "/compute:beta/SecurityPolicyRule/match": match "/compute:beta/SecurityPolicyRule/preview": preview "/compute:beta/SecurityPolicyRule/priority": priority +"/compute:beta/SecurityPolicyRule/ruleNumber": rule_number "/compute:beta/SecurityPolicyRule/ruleTupleCount": rule_tuple_count "/compute:beta/SecurityPolicyRule/targetResources": target_resources "/compute:beta/SecurityPolicyRule/targetResources/target_resource": target_resource @@ -43111,6 +43185,7 @@ "/compute:beta/TargetTcpProxy/id": id "/compute:beta/TargetTcpProxy/kind": kind "/compute:beta/TargetTcpProxy/name": name +"/compute:beta/TargetTcpProxy/proxyBind": proxy_bind "/compute:beta/TargetTcpProxy/proxyHeader": proxy_header "/compute:beta/TargetTcpProxy/selfLink": self_link "/compute:beta/TargetTcpProxy/service": service diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 0cf578d4e..df54b7628 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20200910' + REVISION = '20201102' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 2f453887d..e6162d0fe 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -648,6 +648,9 @@ module Google # - `VPC_PEERING` for addresses that are reserved for VPC peer networks. # - `NAT_AUTO` for addresses that are external IP addresses automatically # reserved for Cloud NAT. + # - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are + # reserved for a VLAN attachment in an IPsec encrypted Interconnect + # configuration. These addresses are regional resources. # Corresponds to the JSON property `purpose` # @return [String] attr_accessor :purpose @@ -1578,8 +1581,8 @@ module Google # Represents an Autoscaler resource. # Google Compute Engine has two Autoscaler resources: - # * [Global](/compute/docs/reference/rest/`$api_version`/autoscalers) * [ - # Regional](/compute/docs/reference/rest/`$api_version`/regionAutoscalers) + # * [Zonal](/compute/docs/reference/rest/`$api_version`/autoscalers) * [Regional] + # (/compute/docs/reference/rest/`$api_version`/regionAutoscalers) # Use autoscalers to automatically add or delete instances from a managed # instance group according to your defined autoscaling policy. For more # information, read Autoscaling Groups of Instances. @@ -1642,6 +1645,11 @@ module Google # @return [String] attr_accessor :region + # [Output Only] Status information of existing scaling schedules. + # Corresponds to the JSON property `scalingScheduleStatus` + # @return [Hash] + attr_accessor :scaling_schedule_status + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -1691,6 +1699,7 @@ module Google @name = args[:name] if args.key?(:name) @recommended_size = args[:recommended_size] if args.key?(:recommended_size) @region = args[:region] if args.key?(:region) + @scaling_schedule_status = args[:scaling_schedule_status] if args.key?(:scaling_schedule_status) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @status_details = args[:status_details] if args.key?(:status_details) @@ -2159,6 +2168,14 @@ module Google # @return [Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl] attr_accessor :scale_in_control + # Scaling schedules defined for an autoscaler. Multiple schedules can be set on + # an autoscaler and they can overlap. During overlapping periods the greatest + # min_required_replicas of all scaling schedules will be applied. Up to 128 + # scaling schedules are allowed. + # Corresponds to the JSON property `scalingSchedules` + # @return [Hash] + attr_accessor :scaling_schedules + def initialize(**args) update!(**args) end @@ -2174,6 +2191,7 @@ module Google @mode = args[:mode] if args.key?(:mode) @scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control) @scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control) + @scaling_schedules = args[:scaling_schedules] if args.key?(:scaling_schedules) end end @@ -2379,6 +2397,71 @@ module Google end end + # Scaling based on user-defined schedule. The message describes a single scaling + # schedule. A scaling schedule changes the minimum number of VM instances an + # autoscaler can recommend, which can trigger scaling out. + class AutoscalingPolicyScalingSchedule + include Google::Apis::Core::Hashable + + # A description of a scaling schedule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A boolean value that specifies if a scaling schedule can influence autoscaler + # recommendations. If set to true, then a scaling schedule has no effect. This + # field is optional and its value is false by default. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # The duration of time intervals (in seconds) for which this scaling schedule + # will be running. The minimum allowed value is 300. This field is required. + # Corresponds to the JSON property `durationSec` + # @return [Fixnum] + attr_accessor :duration_sec + + # Minimum number of VM instances that autoscaler will recommend in time + # intervals starting according to schedule. This field is required. + # Corresponds to the JSON property `minRequiredReplicas` + # @return [Fixnum] + attr_accessor :min_required_replicas + + # The start timestamps of time intervals when this scaling schedule should + # provide a scaling signal. This field uses the extended cron format (with an + # optional year field). The expression may describe a single timestamp if the + # optional year is set, in which case a scaling schedule will run once. schedule + # is interpreted with respect to time_zone. This field is required. NOTE: these + # timestamps only describe when autoscaler will start providing the scaling + # signal. The VMs will need additional time to become serving. + # Corresponds to the JSON property `schedule` + # @return [String] + attr_accessor :schedule + + # The time zone to be used when interpreting the schedule. The value of this + # field must be a time zone name from the tz database: http://en.wikipedia.org/ + # wiki/Tz_database. This field will be assigned a default value of ?UTC? if left + # empty. + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @disabled = args[:disabled] if args.key?(:disabled) + @duration_sec = args[:duration_sec] if args.key?(:duration_sec) + @min_required_replicas = args[:min_required_replicas] if args.key?(:min_required_replicas) + @schedule = args[:schedule] if args.key?(:schedule) + @time_zone = args[:time_zone] if args.key?(:time_zone) + end + end + # Message containing information of one individual backend. class Backend include Google::Apis::Core::Hashable @@ -2711,12 +2794,17 @@ module Google # Negative caching allows per-status code TTLs to be set, in order to apply fine- # grained caching for common errors or redirects. This can reduce the load on - # your origin and improve end-user experience by reducing response latency. By - # default, Cloud CDN will apply the following default TTLs to these status codes: - # HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not - # Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method - # Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These - # defaults can be overridden in negative_caching_policy + # your origin and improve end-user experience by reducing response latency. When + # the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative + # caching applies to responses with the specified response code that lack any + # Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is + # set to FORCE_CACHE_ALL, negative caching applies to all responses with the + # specified response code, and override any caching headers. By default, Cloud + # CDN will apply the following default TTLs to these status codes: HTTP 300 ( + # Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), + # 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not + # Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults + # can be overridden in negative_caching_policy. # Corresponds to the JSON property `negativeCaching` # @return [Boolean] attr_accessor :negative_caching @@ -2812,9 +2900,10 @@ module Google # @return [Fixnum] attr_accessor :code - # The TTL (in seconds) to cache responses with the corresponding status code for. - # The maximum allowed value is 1800s (30 minutes), noting that infrequently - # accessed objects may be evicted from the cache before the defined TTL. + # The TTL (in seconds) for which to cache responses with the corresponding + # status code. The maximum allowed value is 1800s (30 minutes), noting that + # infrequently accessed objects may be evicted from the cache before the defined + # TTL. # Corresponds to the JSON property `ttl` # @return [Fixnum] attr_accessor :ttl @@ -2994,6 +3083,11 @@ module Google # @return [Google::Apis::ComputeBeta::ConnectionDraining] attr_accessor :connection_draining + # Connection Tracking configuration for this BackendService. + # Corresponds to the JSON property `connectionTrackingPolicy` + # @return [Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy] + attr_accessor :connection_tracking_policy + # This message defines settings for a consistent hash style load balancer. # Corresponds to the JSON property `consistentHash` # @return [Google::Apis::ComputeBeta::ConsistentHashLoadBalancerSettings] @@ -3236,6 +3330,7 @@ module Google @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy) @circuit_breakers = args[:circuit_breakers] if args.key?(:circuit_breakers) @connection_draining = args[:connection_draining] if args.key?(:connection_draining) + @connection_tracking_policy = args[:connection_tracking_policy] if args.key?(:connection_tracking_policy) @consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @custom_request_headers = args[:custom_request_headers] if args.key?(:custom_request_headers) @@ -3457,12 +3552,17 @@ module Google # Negative caching allows per-status code TTLs to be set, in order to apply fine- # grained caching for common errors or redirects. This can reduce the load on - # your origin and improve end-user experience by reducing response latency. By - # default, Cloud CDN will apply the following default TTLs to these status codes: - # HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not - # Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method - # Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These - # defaults can be overridden in negative_caching_policy + # your origin and improve end-user experience by reducing response latency. When + # the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative + # caching applies to responses with the specified response code that lack any + # Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is + # set to FORCE_CACHE_ALL, negative caching applies to all responses with the + # specified response code, and override any caching headers. By default, Cloud + # CDN will apply the following default TTLs to these status codes: HTTP 300 ( + # Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), + # 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not + # Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults + # can be overridden in negative_caching_policy. # Corresponds to the JSON property `negativeCaching` # @return [Boolean] attr_accessor :negative_caching @@ -3559,9 +3659,10 @@ module Google # @return [Fixnum] attr_accessor :code - # The TTL (in seconds) to cache responses with the corresponding status code for. - # The maximum allowed value is 1800s (30 minutes), noting that infrequently - # accessed objects may be evicted from the cache before the defined TTL. + # The TTL (in seconds) for which to cache responses with the corresponding + # status code. The maximum allowed value is 1800s (30 minutes), noting that + # infrequently accessed objects may be evicted from the cache before the defined + # TTL. # Corresponds to the JSON property `ttl` # @return [Fixnum] attr_accessor :ttl @@ -3577,6 +3678,37 @@ module Google end end + # Connection Tracking configuration for this BackendService. + class BackendServiceConnectionTrackingPolicy + include Google::Apis::Core::Hashable + + # Specifies connection persistence when backends are unhealthy. The default + # value is DEFAULT_FOR_PROTOCOL. + # If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy + # backends only for connection-oriented protocols (TCP and SCTP) and only if the + # Tracking Mode is PER_CONNECTION (default tracking mode) or the Session + # Affinity is configured for 5-tuple. They do not persist for UDP. + # If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing + # connections on the unhealthy backend are never persisted on the unhealthy + # backend. They are always diverted to newly selected healthy backends (unless + # all backends are unhealthy). + # If set to ALWAYS_PERSIST, existing connections always persist on unhealthy + # backends regardless of protocol and session affinity. It is generally not + # recommended to use this mode overriding the default. + # Corresponds to the JSON property `connectionPersistenceOnUnhealthyBackends` + # @return [String] + attr_accessor :connection_persistence_on_unhealthy_backends + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @connection_persistence_on_unhealthy_backends = args[:connection_persistence_on_unhealthy_backends] if args.key?(:connection_persistence_on_unhealthy_backends) + end + end + # Applicable only to Failover for Internal TCP/UDP Load Balancing. On failover # or failback, this field indicates whether connection draining will be honored. # GCP has a fixed connection draining timeout of 10 minutes. A setting of true @@ -4214,8 +4346,7 @@ module Google class Binding include Google::Apis::Core::Hashable - # A client-specified ID for this binding. Expected to be globally unique to - # support the internal bindings-by-ID API. + # # Corresponds to the JSON property `bindingId` # @return [String] attr_accessor :binding_id @@ -6537,7 +6668,18 @@ module Google class DistributionPolicy include Google::Apis::Core::Hashable - # Zones where the regional managed instance group will create and manage + # The shape to which the group converges either proactively or on resize events ( + # depending on the value set in updatePolicy.instanceRedistributionType). The + # possible values are EVEN and ANY. For EVEN the group attempts to preserve a + # balanced number of instances across zones. For ANY the group creates new + # instances where resources are available to fulfill the request; as a result, + # instances may be distributed unevenly across zones in this mode. The default + # value is EVEN. + # Corresponds to the JSON property `targetShape` + # @return [String] + attr_accessor :target_shape + + # Zones where the regional managed instance group will create and manage its # instances. # Corresponds to the JSON property `zones` # @return [Array] @@ -6549,6 +6691,7 @@ module Google # Update properties of this object def update!(**args) + @target_shape = args[:target_shape] if args.key?(:target_shape) @zones = args[:zones] if args.key?(:zones) end end @@ -7521,6 +7664,187 @@ module Google end end + # Represents a rule that describes one or more match conditions along with the + # action to be taken when traffic matches this condition (allow or deny). + class FirewallPolicyRule + include Google::Apis::Core::Hashable + + # The Action to perform when the client connection triggers the rule. Can + # currently be either "allow" or "deny()" where valid values for status are 403, + # 404, and 502. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The direction in which this rule applies. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # Denotes whether the firewall policy rule is disabled. When set to true, the + # firewall policy rule is not enforced and traffic behaves as if it did not + # exist. If this is unspecified, the firewall policy rule will be enabled. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Denotes whether to enable logging for a particular rule. If logging is enabled, + # logs will be exported to the configured export destination in Stackdriver. + # Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging + # on "goto_next" rules. + # Corresponds to the JSON property `enableLogging` + # @return [Boolean] + attr_accessor :enable_logging + alias_method :enable_logging?, :enable_logging + + # [Output only] Type of the resource. Always compute#firewallPolicyRule for + # firewall policy rules + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Represents a match condition that incoming traffic is evaluated against. + # Exactly one field must be specified. + # Corresponds to the JSON property `match` + # @return [Google::Apis::ComputeBeta::FirewallPolicyRuleMatcher] + attr_accessor :match + + # An integer indicating the priority of a rule in the list. The priority must be + # a positive value between 0 and 2147483647. Rules are evaluated from highest to + # lowest priority where 0 is the highest priority and 2147483647 is the lowest + # prority. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + # [Output Only] Calculation of the complexity of a single firewall policy rule. + # Corresponds to the JSON property `ruleTupleCount` + # @return [Fixnum] + attr_accessor :rule_tuple_count + + # A list of network resource URLs to which this rule applies. This field allows + # you to control which network?s VMs get this rule. If this field is left blank, + # all VMs within the organization will receive the rule. + # Corresponds to the JSON property `targetResources` + # @return [Array] + attr_accessor :target_resources + + # A list of secure labels that controls which instances the firewall rule + # applies to. If targetSecureLabel are specified, then the firewall rule applies + # only to instances in the VPC network that have one of those secure labels. + # targetSecureLabel may not be set at the same time as targetServiceAccounts. If + # neither targetServiceAccounts nor targetSecureLabel are specified, the + # firewall rule applies to all instances on the specified network. Maximum + # number of target label values allowed is 256. + # Corresponds to the JSON property `targetSecureLabels` + # @return [Array] + attr_accessor :target_secure_labels + + # A list of service accounts indicating the sets of instances that are applied + # with this rule. + # Corresponds to the JSON property `targetServiceAccounts` + # @return [Array] + attr_accessor :target_service_accounts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @description = args[:description] if args.key?(:description) + @direction = args[:direction] if args.key?(:direction) + @disabled = args[:disabled] if args.key?(:disabled) + @enable_logging = args[:enable_logging] if args.key?(:enable_logging) + @kind = args[:kind] if args.key?(:kind) + @match = args[:match] if args.key?(:match) + @priority = args[:priority] if args.key?(:priority) + @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count) + @target_resources = args[:target_resources] if args.key?(:target_resources) + @target_secure_labels = args[:target_secure_labels] if args.key?(:target_secure_labels) + @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts) + end + end + + # Represents a match condition that incoming traffic is evaluated against. + # Exactly one field must be specified. + class FirewallPolicyRuleMatcher + include Google::Apis::Core::Hashable + + # CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is + # 256. + # Corresponds to the JSON property `destIpRanges` + # @return [Array] + attr_accessor :dest_ip_ranges + + # Pairs of IP protocols and ports that the rule should match. + # Corresponds to the JSON property `layer4Configs` + # @return [Array] + attr_accessor :layer4_configs + + # CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 256. + # Corresponds to the JSON property `srcIpRanges` + # @return [Array] + attr_accessor :src_ip_ranges + + # List of firewall label values, which should be matched at the source of the + # traffic. Maximum number of source label values allowed is 256. + # Corresponds to the JSON property `srcSecureLabels` + # @return [Array] + attr_accessor :src_secure_labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges) + @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs) + @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges) + @src_secure_labels = args[:src_secure_labels] if args.key?(:src_secure_labels) + end + end + + # + class FirewallPolicyRuleMatcherLayer4Config + include Google::Apis::Core::Hashable + + # The IP protocol to which this rule applies. The protocol type is required when + # creating a firewall rule. This value can either be one of the following well + # known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP + # protocol number. + # Corresponds to the JSON property `ipProtocol` + # @return [String] + attr_accessor :ip_protocol + + # An optional list of ports to which this rule applies. This field is only + # applicable for UDP or TCP protocol. Each entry must be either an integer or a + # range. If not specified, this rule applies to connections through any port. + # Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + # Corresponds to the JSON property `ports` + # @return [Array] + attr_accessor :ports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @ports = args[:ports] if args.key?(:ports) + end + end + # Encapsulates numeric value that can be either absolute or relative. class FixedOrPercent include Google::Apis::Core::Hashable @@ -7593,6 +7917,8 @@ module Google # ip_address_specifications). # Must be set to `0.0.0.0` when the target is targetGrpcProxy that has # validateForProxyless field set to true. + # For Private Service Connect forwarding rules that forward traffic to Google + # APIs, IP address must be provided. # Corresponds to the JSON property `IPAddress` # @return [String] attr_accessor :ip_address @@ -7763,6 +8089,8 @@ module Google # For internal load balancing, this field identifies the network that the load # balanced IP should belong to for this Forwarding Rule. If this field is not # specified, the default network will be used. + # For Private Service Connect forwarding rules that forward traffic to Google + # APIs, a network must be provided. # Corresponds to the JSON property `network` # @return [String] attr_accessor :network @@ -7867,6 +8195,15 @@ module Google # resource. The forwarded traffic must be of a type appropriate to the target # object. For more information, see the "Target" column in [Port specifications]( # /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). + # For Private Service Connect forwarding rules that forward traffic to Google + # APIs, provide the name of a supported Google API bundle. Currently, the + # supported Google API bundles include: + # + # - vpc-sc - GCP APIs that support VPC Service Controls. For more information + # about which APIs support VPC Service Controls, refer to VPC-SC supported + # products and limitations. + # - all-apis - All GCP APIs. For more information about which APIs are supported + # with this bundle, refer to Private Google Access-specific domains and VIPs. # Corresponds to the JSON property `target` # @return [String] attr_accessor :target @@ -8813,12 +9150,16 @@ module Google # Google Compute Engine has two Health Check resources: # * [Global](/compute/docs/reference/rest/`$api_version`/healthChecks) * [ # Regional](/compute/docs/reference/rest/`$api_version`/regionHealthChecks) - # Internal HTTP(S) load balancers must use regional health checks. Internal TCP/ - # UDP load balancers can use either regional or global health checks. All other - # types of GCP load balancers and managed instance group auto-healing must use - # global health checks. For more information, read Health Check Concepts. - # To perform health checks on network load balancers, you must use either - # httpHealthChecks or httpsHealthChecks. + # Internal HTTP(S) load balancers must use regional health checks (`compute.v1. + # regionHealthChecks`). + # Traffic Director must use global health checks (`compute.v1.HealthChecks`). + # Internal TCP/UDP load balancers can use either regional or global health + # checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). + # External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed + # instance group auto-healing must use global health checks (`compute.v1. + # HealthChecks`). + # Network load balancers must use legacy HTTP health checks (httpHealthChecks). + # For more information, see Health checks overview. class HealthCheck include Google::Apis::Core::Hashable @@ -12263,8 +12604,8 @@ module Google # @return [String] attr_accessor :description - # Policy specifying intended distribution of instances in regional managed - # instance group. + # Policy specifying the intended distribution of managed instances across zones + # in a regional managed instance group. # Corresponds to the JSON property `distributionPolicy` # @return [Google::Apis::ComputeBeta::DistributionPolicy] attr_accessor :distribution_policy @@ -12299,7 +12640,9 @@ module Google # The URL of the instance template that is specified for this managed instance # group. The group uses this template to create all new instances in the managed - # instance group. + # instance group. The templates for existing instances in the group do not + # change unless you run recreateInstances, run applyUpdatesToInstances, or set + # the group's updatePolicy.type to PROACTIVE. # Corresponds to the JSON property `instanceTemplate` # @return [String] attr_accessor :instance_template @@ -12392,7 +12735,7 @@ module Google # @return [Array] attr_accessor :versions - # [Output Only] The URL of the zone where the managed instance group is located ( + # [Output Only] The URL of a zone where the managed instance group is located ( # for zonal resources). # Corresponds to the JSON property `zone` # @return [String] @@ -13048,7 +13391,11 @@ module Google # The URL of the instance template that is specified for this managed instance # group. The group uses this template to create new instances in the managed - # instance group until the `targetSize` for this version is reached. + # instance group until the `targetSize` for this version is reached. The + # templates for existing instances in the group do not change unless you run + # recreateInstances, run applyUpdatesToInstances, or set the group's + # updatePolicy.type to PROACTIVE; in those cases, existing instances are updated + # until the `targetSize` for this version is reached. # Corresponds to the JSON property `instanceTemplate` # @return [String] attr_accessor :instance_template @@ -13567,7 +13914,9 @@ module Google # The URL of the instance template that is specified for this managed instance # group. The group uses this template to create all new instances in the managed - # instance group. + # instance group. The templates for existing instances in the group do not + # change unless you run recreateInstances, run applyUpdatesToInstances, or set + # the group's updatePolicy.type to PROACTIVE. # Corresponds to the JSON property `instanceTemplate` # @return [String] attr_accessor :instance_template @@ -14722,6 +15071,11 @@ module Google class InstancesGetEffectiveFirewallsResponse include Google::Apis::Core::Hashable + # Effective firewalls from firewall policies. + # Corresponds to the JSON property `firewallPolicys` + # @return [Array] + attr_accessor :firewall_policys + # Effective firewalls on the instance. # Corresponds to the JSON property `firewalls` # @return [Array] @@ -14738,11 +15092,49 @@ module Google # Update properties of this object def update!(**args) + @firewall_policys = args[:firewall_policys] if args.key?(:firewall_policys) @firewalls = args[:firewalls] if args.key?(:firewalls) @organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls) end end + # + class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + include Google::Apis::Core::Hashable + + # [Output Only] The display name of the firewall policy. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # [Output Only] The name of the firewall policy. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The rules that apply to the network. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # [Output Only] The type of the firewall policy. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @rules = args[:rules] if args.key?(:rules) + @type = args[:type] if args.key?(:type) + end + end + # A pruned SecurityPolicy containing ID and any applicable firewall rules. class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy include Google::Apis::Core::Hashable @@ -15381,6 +15773,11 @@ module Google # @return [String] attr_accessor :customer_router_ip_address + # [Output Only] Dataplane version for this InterconnectAttachment. + # Corresponds to the JSON property `dataplaneVersion` + # @return [Fixnum] + attr_accessor :dataplane_version + # An optional description of this resource. # Corresponds to the JSON property `description` # @return [String] @@ -15562,6 +15959,7 @@ module Google @cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address) + @dataplane_version = args[:dataplane_version] if args.key?(:dataplane_version) @description = args[:description] if args.key?(:description) @edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain) @google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id) @@ -18788,7 +19186,7 @@ module Google include Google::Apis::Core::Hashable # Optional serving service. - # The service name must be 1-63 characters long, and comply with RFC1035. + # The service name is case-sensitive and must be 1-63 characters long. # Example value: "default", "my-service". # Corresponds to the JSON property `service` # @return [String] @@ -18806,7 +19204,7 @@ module Google attr_accessor :url_mask # Optional serving version. - # The version must be 1-63 characters long, and comply with RFC1035. + # The version name is case-sensitive and must be 1-100 characters long. # Example value: "v1", "v2". # Corresponds to the JSON property `version` # @return [String] @@ -19778,6 +20176,11 @@ module Google class NetworksGetEffectiveFirewallsResponse include Google::Apis::Core::Hashable + # Effective firewalls from firewall policy. + # Corresponds to the JSON property `firewallPolicys` + # @return [Array] + attr_accessor :firewall_policys + # Effective firewalls on the network. # Corresponds to the JSON property `firewalls` # @return [Array] @@ -19794,11 +20197,49 @@ module Google # Update properties of this object def update!(**args) + @firewall_policys = args[:firewall_policys] if args.key?(:firewall_policys) @firewalls = args[:firewalls] if args.key?(:firewalls) @organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls) end end + # + class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy + include Google::Apis::Core::Hashable + + # [Output Only] The display name of the firewall policy. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # [Output Only] The name of the firewall policy. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The rules that apply to the network. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # [Output Only] The type of the firewall policy. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @rules = args[:rules] if args.key?(:rules) + @type = args[:type] if args.key?(:type) + end + end + # A pruned SecurityPolicy containing ID and any applicable firewall rules. class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy include Google::Apis::Core::Hashable @@ -22837,6 +23278,12 @@ module Google # @return [Array] attr_accessor :cidr_ranges + # Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default + # is BOTH. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + def initialize(**args) update!(**args) end @@ -22845,6 +23292,7 @@ module Google def update!(**args) @ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols) @cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges) + @direction = args[:direction] if args.key?(:direction) end end @@ -26717,8 +27165,9 @@ module Google attr_accessor :next_hop_gateway # The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should - # handle matching packets. You can only specify the forwarding rule as a partial - # or full URL. For example, the following are all valid URLs: + # handle matching packets or the IP address of the forwarding Rule. For example, + # the following are all valid URLs: + # - 10.128.0.56 # - https://www.googleapis.com/compute/v1/projects/project/regions/region/ # forwardingRules/forwardingRule # - regions/region/forwardingRules/forwardingRule @@ -27671,6 +28120,12 @@ module Google # @return [Array] attr_accessor :drain_nat_ips + # + # Corresponds to the JSON property `enableEndpointIndependentMapping` + # @return [Boolean] + attr_accessor :enable_endpoint_independent_mapping + alias_method :enable_endpoint_independent_mapping?, :enable_endpoint_independent_mapping + # Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. # Corresponds to the JSON property `icmpIdleTimeoutSec` # @return [Fixnum] @@ -27756,6 +28211,7 @@ module Google # Update properties of this object def update!(**args) @drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips) + @enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping) @icmp_idle_timeout_sec = args[:icmp_idle_timeout_sec] if args.key?(:icmp_idle_timeout_sec) @log_config = args[:log_config] if args.key?(:log_config) @min_ports_per_vm = args[:min_ports_per_vm] if args.key?(:min_ports_per_vm) @@ -28411,6 +28867,42 @@ module Google end end + # + class ScalingScheduleStatus + include Google::Apis::Core::Hashable + + # [Output Only] The last time the scaling schedule became active. Note: this is + # a timestamp when a schedule actually became active, not when it was planned to + # do so. The timestamp is an RFC3339 string in RFC3339 text format. + # Corresponds to the JSON property `lastStartTime` + # @return [String] + attr_accessor :last_start_time + + # [Output Only] The next time the scaling schedule will become active. Note: + # this is a timestamp when a schedule is planned to run, but the actual time + # might be slightly different. The timestamp is an RFC3339 string in RFC3339 + # text format. + # Corresponds to the JSON property `nextStartTime` + # @return [String] + attr_accessor :next_start_time + + # [Output Only] The current state of a scaling schedule. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @last_start_time = args[:last_start_time] if args.key?(:last_start_time) + @next_start_time = args[:next_start_time] if args.key?(:next_start_time) + @state = args[:state] if args.key?(:state) + end + end + # Sets the scheduling options for an Instance. NextID: 13 class Scheduling include Google::Apis::Core::Hashable @@ -28566,13 +29058,18 @@ module Google end end - # Represents a Cloud Armor Security Policy resource. + # Represents a Google Cloud Armor security policy resource. # Only external backend services that use load balancers can reference a - # Security Policy. For more information, read Cloud Armor Security Policy - # Concepts. (== resource_for `$api_version`.securityPolicies ==) + # security policy. For more information, see Google Cloud Armor security policy + # overview. (== resource_for `$api_version`.securityPolicies ==) class SecurityPolicy include Google::Apis::Core::Hashable + # Configuration options for Cloud Armor Adaptive Protection (CAAP). + # Corresponds to the JSON property `adaptiveProtectionConfig` + # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig] + attr_accessor :adaptive_protection_config + # A list of associations that belong to this policy. # Corresponds to the JSON property `associations` # @return [Array] @@ -28694,6 +29191,7 @@ module Google # Update properties of this object def update!(**args) + @adaptive_protection_config = args[:adaptive_protection_config] if args.key?(:adaptive_protection_config) @associations = args[:associations] if args.key?(:associations) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @@ -28713,6 +29211,52 @@ module Google end end + # Configuration options for Cloud Armor Adaptive Protection (CAAP). + class SecurityPolicyAdaptiveProtectionConfig + include Google::Apis::Core::Hashable + + # Configuration options for L7 DDoS detection. + # Corresponds to the JSON property `layer7DdosDefenseConfig` + # @return [Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig] + attr_accessor :layer7_ddos_defense_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layer7_ddos_defense_config = args[:layer7_ddos_defense_config] if args.key?(:layer7_ddos_defense_config) + end + end + + # Configuration options for L7 DDoS detection. + class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig + include Google::Apis::Core::Hashable + + # If set to true, enables CAAP for L7 DDoS detection. + # Corresponds to the JSON property `enable` + # @return [Boolean] + attr_accessor :enable + alias_method :enable?, :enable + + # Rule visibility can be one of the following: STANDARD - opaque rules. (default) + # PREMIUM - transparent rules. + # Corresponds to the JSON property `ruleVisibility` + # @return [String] + attr_accessor :rule_visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable = args[:enable] if args.key?(:enable) + @rule_visibility = args[:rule_visibility] if args.key?(:rule_visibility) + end + end + # class SecurityPolicyAssociation include Google::Apis::Core::Hashable @@ -28941,6 +29485,13 @@ module Google # @return [Fixnum] attr_accessor :priority + # Identifier for the rule. This is only unique within the given security policy. + # This can only be set during rule creation, if rule number is not specified it + # will be generated by the server. + # Corresponds to the JSON property `ruleNumber` + # @return [Fixnum] + attr_accessor :rule_number + # [Output Only] Calculation of the complexity of a single firewall security # policy rule. # Corresponds to the JSON property `ruleTupleCount` @@ -28975,6 +29526,7 @@ module Google @match = args[:match] if args.key?(:match) @preview = args[:preview] if args.key?(:preview) @priority = args[:priority] if args.key?(:priority) + @rule_number = args[:rule_number] if args.key?(:rule_number) @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count) @target_resources = args[:target_resources] if args.key?(:target_resources) @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts) @@ -30640,10 +31192,10 @@ module Google end end - # Represents a Cloud Armor Security Policy resource. - # Only external backend services used by HTTP or HTTPS load balancers can - # reference a Security Policy. For more information, read read Cloud Armor - # Security Policy Concepts. (== resource_for `$api_version`.sslPolicies ==) + # Represents an SSL Policy resource. + # Use SSL policies to control the SSL features, such as versions and cipher + # suites, offered by an HTTPS or SSL Proxy load balancer. For more information, + # read SSL Policy Concepts. (== resource_for `$api_version`.sslPolicies ==) class SslPolicy include Google::Apis::Core::Hashable @@ -32048,9 +32600,14 @@ module Google # @return [String] attr_accessor :name - # This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. - # When set to true the Envoy binds on the IP address specified by the forwarding - # rule. Default is false. + # This field only applies when the forwarding rule that references this target + # proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. + # When this field is set to true, Envoy proxies set up inbound traffic + # interception and bind to the IP address and port specified in the forwarding + # rule. This is generally useful when using Traffic Director to configure Envoy + # as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy + # proxy listens for inbound requests and handles requests when it receives them. + # The default is false. # Corresponds to the JSON property `proxyBind` # @return [Boolean] attr_accessor :proxy_bind @@ -32549,9 +33106,14 @@ module Google # @return [String] attr_accessor :name - # This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. - # When set to true the Envoy binds on the IP address specified by the forwarding - # rule. Default is false. + # This field only applies when the forwarding rule that references this target + # proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. + # When this field is set to true, Envoy proxies set up inbound traffic + # interception and bind to the IP address and port specified in the forwarding + # rule. This is generally useful when using Traffic Director to configure Envoy + # as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy + # proxy listens for inbound requests and handles requests when it receives them. + # The default is false. # Corresponds to the JSON property `proxyBind` # @return [Boolean] attr_accessor :proxy_bind @@ -33320,9 +33882,9 @@ module Google class TargetPool include Google::Apis::Core::Hashable - # This field is applicable only when the containing target pool is serving a - # forwarding rule as the primary pool, and its failoverRatio field is properly - # set to a value between [0, 1]. + # The server-defined URL for the resource. This field is applicable only when + # the containing target pool is serving a forwarding rule as the primary pool, + # and its failoverRatio field is properly set to a value between [0, 1]. # backupPool and failoverRatio together define the fallback behavior of the # primary target pool: if the ratio of the healthy instances in the primary pool # is at or below failoverRatio, traffic arriving at the load-balanced IP will be @@ -34248,6 +34810,19 @@ module Google # @return [String] attr_accessor :name + # This field only applies when the forwarding rule that references this target + # proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. + # When this field is set to true, Envoy proxies set up inbound traffic + # interception and bind to the IP address and port specified in the forwarding + # rule. This is generally useful when using Traffic Director to configure Envoy + # as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy + # proxy listens for inbound requests and handles requests when it receives them. + # The default is false. + # Corresponds to the JSON property `proxyBind` + # @return [Boolean] + attr_accessor :proxy_bind + alias_method :proxy_bind?, :proxy_bind + # Specifies the type of proxy header to append before sending data to the # backend, either NONE or PROXY_V1. The default is NONE. # Corresponds to the JSON property `proxyHeader` @@ -34275,6 +34850,7 @@ module Google @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) + @proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind) @proxy_header = args[:proxy_header] if args.key?(:proxy_header) @self_link = args[:self_link] if args.key?(:self_link) @service = args[:service] if args.key?(:service) diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 78f19f579..3e3158666 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -310,6 +310,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AutoscalingPolicyScalingSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Backend class Representation < Google::Apis::Core::JsonRepresentation; end @@ -400,6 +406,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendServiceConnectionTrackingPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceFailoverPolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -904,6 +916,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FirewallPolicyRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FirewallPolicyRuleMatcher + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FirewallPolicyRuleMatcherLayer4Config + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FixedOrPercent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1792,6 +1822,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2482,6 +2518,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3718,6 +3760,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ScalingScheduleStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Scheduling class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3754,6 +3802,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SecurityPolicyAdaptiveProtectionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SecurityPolicyAssociation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5397,6 +5457,8 @@ module Google property :name, as: 'name' property :recommended_size, as: 'recommendedSize' property :region, as: 'region' + hash :scaling_schedule_status, as: 'scalingScheduleStatus', class: Google::Apis::ComputeBeta::ScalingScheduleStatus, decorator: Google::Apis::ComputeBeta::ScalingScheduleStatus::Representation + property :self_link, as: 'selfLink' property :status, as: 'status' collection :status_details, as: 'statusDetails', class: Google::Apis::ComputeBeta::AutoscalerStatusDetails, decorator: Google::Apis::ComputeBeta::AutoscalerStatusDetails::Representation @@ -5524,6 +5586,8 @@ module Google property :scale_in_control, as: 'scaleInControl', class: Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl, decorator: Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl::Representation + hash :scaling_schedules, as: 'scalingSchedules', class: Google::Apis::ComputeBeta::AutoscalingPolicyScalingSchedule, decorator: Google::Apis::ComputeBeta::AutoscalingPolicyScalingSchedule::Representation + end end @@ -5571,6 +5635,18 @@ module Google end end + class AutoscalingPolicyScalingSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :disabled, as: 'disabled' + property :duration_sec, as: 'durationSec' + property :min_required_replicas, as: 'minRequiredReplicas' + property :schedule, as: 'schedule' + property :time_zone, as: 'timeZone' + end + end + class Backend # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5683,6 +5759,8 @@ module Google property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation + property :connection_tracking_policy, as: 'connectionTrackingPolicy', class: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceConnectionTrackingPolicy::Representation + property :consistent_hash, as: 'consistentHash', class: Google::Apis::ComputeBeta::ConsistentHashLoadBalancerSettings, decorator: Google::Apis::ComputeBeta::ConsistentHashLoadBalancerSettings::Representation property :creation_timestamp, as: 'creationTimestamp' @@ -5787,6 +5865,13 @@ module Google end end + class BackendServiceConnectionTrackingPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :connection_persistence_on_unhealthy_backends, as: 'connectionPersistenceOnUnhealthyBackends' + end + end + class BackendServiceFailoverPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6495,6 +6580,7 @@ module Google class DistributionPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :target_shape, as: 'targetShape' collection :zones, as: 'zones', class: Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration, decorator: Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration::Representation end @@ -6719,6 +6805,44 @@ module Google end end + class FirewallPolicyRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + property :description, as: 'description' + property :direction, as: 'direction' + property :disabled, as: 'disabled' + property :enable_logging, as: 'enableLogging' + property :kind, as: 'kind' + property :match, as: 'match', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcher::Representation + + property :priority, as: 'priority' + property :rule_tuple_count, as: 'ruleTupleCount' + collection :target_resources, as: 'targetResources' + collection :target_secure_labels, as: 'targetSecureLabels' + collection :target_service_accounts, as: 'targetServiceAccounts' + end + end + + class FirewallPolicyRuleMatcher + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dest_ip_ranges, as: 'destIpRanges' + collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeBeta::FirewallPolicyRuleMatcherLayer4Config::Representation + + collection :src_ip_ranges, as: 'srcIpRanges' + collection :src_secure_labels, as: 'srcSecureLabels' + end + end + + class FirewallPolicyRuleMatcherLayer4Config + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_protocol, as: 'ipProtocol' + collection :ports, as: 'ports' + end + end + class FixedOrPercent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8440,6 +8564,8 @@ module Google class InstancesGetEffectiveFirewallsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :firewall_policys, as: 'firewallPolicys', class: Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy, decorator: Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy::Representation + collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeBeta::Firewall, decorator: Google::Apis::ComputeBeta::Firewall::Representation collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation @@ -8447,6 +8573,17 @@ module Google end end + class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation + + property :type, as: 'type' + end + end + class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8604,6 +8741,7 @@ module Google property :cloud_router_ip_address, as: 'cloudRouterIpAddress' property :creation_timestamp, as: 'creationTimestamp' property :customer_router_ip_address, as: 'customerRouterIpAddress' + property :dataplane_version, as: 'dataplaneVersion' property :description, as: 'description' property :edge_availability_domain, as: 'edgeAvailabilityDomain' property :google_reference_id, as: 'googleReferenceId' @@ -9692,6 +9830,8 @@ module Google class NetworksGetEffectiveFirewallsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :firewall_policys, as: 'firewallPolicys', class: Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy, decorator: Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy::Representation + collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeBeta::Firewall, decorator: Google::Apis::ComputeBeta::Firewall::Representation collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation @@ -9699,6 +9839,17 @@ module Google end end + class NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::FirewallPolicyRule, decorator: Google::Apis::ComputeBeta::FirewallPolicyRule::Representation + + property :type, as: 'type' + end + end + class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10475,6 +10626,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :ip_protocols, as: 'IPProtocols' collection :cidr_ranges, as: 'cidrRanges' + property :direction, as: 'direction' end end @@ -11745,6 +11897,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :drain_nat_ips, as: 'drainNatIps' + property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping' property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec' property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::RouterNatLogConfig, decorator: Google::Apis::ComputeBeta::RouterNatLogConfig::Representation @@ -11922,6 +12075,15 @@ module Google end end + class ScalingScheduleStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_start_time, as: 'lastStartTime' + property :next_start_time, as: 'nextStartTime' + property :state, as: 'state' + end + end + class Scheduling # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -11970,6 +12132,8 @@ module Google class SecurityPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :adaptive_protection_config, as: 'adaptiveProtectionConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfig::Representation + collection :associations, as: 'associations', class: Google::Apis::ComputeBeta::SecurityPolicyAssociation, decorator: Google::Apis::ComputeBeta::SecurityPolicyAssociation::Representation property :creation_timestamp, as: 'creationTimestamp' @@ -11991,6 +12155,22 @@ module Google end end + class SecurityPolicyAdaptiveProtectionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layer7_ddos_defense_config, as: 'layer7DdosDefenseConfig', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::Representation + + end + end + + class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable, as: 'enable' + property :rule_visibility, as: 'ruleVisibility' + end + end + class SecurityPolicyAssociation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12051,6 +12231,7 @@ module Google property :preview, as: 'preview' property :priority, as: 'priority' + property :rule_number, :numeric_string => true, as: 'ruleNumber' property :rule_tuple_count, as: 'ruleTupleCount' collection :target_resources, as: 'targetResources' collection :target_service_accounts, as: 'targetServiceAccounts' @@ -13366,6 +13547,7 @@ module Google property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' + property :proxy_bind, as: 'proxyBind' property :proxy_header, as: 'proxyHeader' property :self_link, as: 'selfLink' property :service, as: 'service' diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 59deb2b6f..f35bd36da 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -8610,7 +8610,8 @@ module Google # Specifies the instance template to use when creating new instances in this # group. The templates for existing instances in the group do not change unless - # you recreate them. + # you run recreateInstances, run applyUpdatesToInstances, or set the group's + # updatePolicy.type to PROACTIVE. # @param [String] project # Project ID for this request. # @param [String] zone @@ -10613,9 +10614,9 @@ module Google # - projects/project/global/instanceTemplates/instanceTemplate # - global/instanceTemplates/instanceTemplate # @param [String] source_machine_image - # Specifies instance machine to create the instance. + # Specifies the machine image to use to create the instance. # This field is optional. It can be a full or partial URL. For example, the - # following are all valid URLs to an instance template: + # following are all valid URLs to a machine image: # - https://www.googleapis.com/compute/v1/projects/project/global/global/ # machineImages/machineImage # - projects/project/global/global/machineImages/machineImage @@ -16774,7 +16775,7 @@ module Google # @param [Boolean] replace_existing_association # Indicates whether or not to replace it if an association of the attachment # already exists. This is false by default, in which case an error will be - # returned if an assocation already exists. + # returned if an association already exists. # @param [String] request_id # An optional request ID to identify requests. Specify a unique request ID so # that if you must retry your request, the server will know to ignore the @@ -24192,6 +24193,8 @@ module Google # Initiates a cache invalidation operation, invalidating the specified path, # scoped to the specified UrlMap. + # For more information, see [Invalidating cached content](/cdn/docs/invalidating- + # cached-content). # @param [String] project # Project ID for this request. # @param [String] region @@ -28499,7 +28502,7 @@ module Google end # Patches the specified subnetwork with the data included in the request. Only - # certain fields can up updated with a patch request as indicated in the field + # certain fields can be updated with a patch request as indicated in the field # descriptions. You must specify the current fingerprint of the subnetwork # resource being patched. # @param [String] project @@ -32344,6 +32347,8 @@ module Google # Initiates a cache invalidation operation, invalidating the specified path, # scoped to the specified UrlMap. + # For more information, see [Invalidating cached content](/cdn/docs/invalidating- + # cached-content). # @param [String] project # Project ID for this request. # @param [String] url_map diff --git a/generated/google/apis/compute_beta/synth.metadata b/generated/google/apis/compute_beta/synth.metadata new file mode 100644 index 000000000..2dbcf5316 --- /dev/null +++ b/generated/google/apis/compute_beta/synth.metadata @@ -0,0 +1,11 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/google-api-ruby-client.git", + "sha": "0492accc8a44d0f28a484a67f7940d74246ab88d" + } + } + ] +} \ No newline at end of file