google-cloud-compute-v1 2.15.0 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/client.rb +7 -0
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +7 -0
  5. data/lib/google/cloud/compute/v1/autoscalers/rest/client.rb +7 -0
  6. data/lib/google/cloud/compute/v1/backend_buckets/rest/client.rb +7 -0
  7. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +7 -0
  8. data/lib/google/cloud/compute/v1/compute_pb.rb +6 -2
  9. data/lib/google/cloud/compute/v1/disk_types/rest/client.rb +7 -0
  10. data/lib/google/cloud/compute/v1/disks/rest/client.rb +7 -0
  11. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/client.rb +7 -0
  12. data/lib/google/cloud/compute/v1/firewall_policies/rest/client.rb +7 -0
  13. data/lib/google/cloud/compute/v1/firewalls/rest/client.rb +7 -0
  14. data/lib/google/cloud/compute/v1/forwarding_rules/rest/client.rb +7 -0
  15. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +7 -0
  16. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/client.rb +7 -0
  17. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/client.rb +7 -0
  18. data/lib/google/cloud/compute/v1/global_operations/rest/client.rb +7 -0
  19. data/lib/google/cloud/compute/v1/global_organization_operations/rest/client.rb +7 -0
  20. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/client.rb +7 -0
  21. data/lib/google/cloud/compute/v1/health_checks/rest/client.rb +7 -0
  22. data/lib/google/cloud/compute/v1/image_family_views/rest/client.rb +7 -0
  23. data/lib/google/cloud/compute/v1/images/rest/client.rb +7 -0
  24. data/lib/google/cloud/compute/v1/instance_group_manager_resize_requests/rest/client.rb +7 -0
  25. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +7 -0
  26. data/lib/google/cloud/compute/v1/instance_groups/rest/client.rb +7 -0
  27. data/lib/google/cloud/compute/v1/instance_settings_service/rest/client.rb +7 -0
  28. data/lib/google/cloud/compute/v1/instance_templates/rest/client.rb +7 -0
  29. data/lib/google/cloud/compute/v1/instances/rest/client.rb +7 -0
  30. data/lib/google/cloud/compute/v1/instant_snapshots/rest/client.rb +7 -0
  31. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +7 -0
  32. data/lib/google/cloud/compute/v1/interconnect_locations/rest/client.rb +7 -0
  33. data/lib/google/cloud/compute/v1/interconnect_remote_locations/rest/client.rb +7 -0
  34. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +7 -0
  35. data/lib/google/cloud/compute/v1/license_codes/rest/client.rb +7 -0
  36. data/lib/google/cloud/compute/v1/licenses/rest/client.rb +7 -0
  37. data/lib/google/cloud/compute/v1/machine_images/rest/client.rb +7 -0
  38. data/lib/google/cloud/compute/v1/machine_types/rest/client.rb +7 -0
  39. data/lib/google/cloud/compute/v1/network_attachments/rest/client.rb +7 -0
  40. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/client.rb +7 -0
  41. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/client.rb +7 -0
  42. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/client.rb +113 -0
  43. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +61 -0
  44. data/lib/google/cloud/compute/v1/network_profiles/rest/client.rb +7 -0
  45. data/lib/google/cloud/compute/v1/networks/rest/client.rb +7 -0
  46. data/lib/google/cloud/compute/v1/node_groups/rest/client.rb +7 -0
  47. data/lib/google/cloud/compute/v1/node_templates/rest/client.rb +7 -0
  48. data/lib/google/cloud/compute/v1/node_types/rest/client.rb +7 -0
  49. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/client.rb +7 -0
  50. data/lib/google/cloud/compute/v1/projects/rest/client.rb +7 -0
  51. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/client.rb +7 -0
  52. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/client.rb +7 -0
  53. data/lib/google/cloud/compute/v1/region_autoscalers/rest/client.rb +7 -0
  54. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +7 -0
  55. data/lib/google/cloud/compute/v1/region_commitments/rest/client.rb +7 -0
  56. data/lib/google/cloud/compute/v1/region_disk_types/rest/client.rb +7 -0
  57. data/lib/google/cloud/compute/v1/region_disks/rest/client.rb +7 -0
  58. data/lib/google/cloud/compute/v1/region_health_check_services/rest/client.rb +7 -0
  59. data/lib/google/cloud/compute/v1/region_health_checks/rest/client.rb +7 -0
  60. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +7 -0
  61. data/lib/google/cloud/compute/v1/region_instance_groups/rest/client.rb +7 -0
  62. data/lib/google/cloud/compute/v1/region_instance_templates/rest/client.rb +7 -0
  63. data/lib/google/cloud/compute/v1/region_instances/rest/client.rb +7 -0
  64. data/lib/google/cloud/compute/v1/region_instant_snapshots/rest/client.rb +7 -0
  65. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/client.rb +7 -0
  66. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/client.rb +7 -0
  67. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/client.rb +7 -0
  68. data/lib/google/cloud/compute/v1/region_operations/rest/client.rb +7 -0
  69. data/lib/google/cloud/compute/v1/region_security_policies/rest/client.rb +7 -0
  70. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/client.rb +7 -0
  71. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +7 -0
  72. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/client.rb +7 -0
  73. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/client.rb +7 -0
  74. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +7 -0
  75. data/lib/google/cloud/compute/v1/region_url_maps/rest/client.rb +7 -0
  76. data/lib/google/cloud/compute/v1/region_zones/rest/client.rb +7 -0
  77. data/lib/google/cloud/compute/v1/regions/rest/client.rb +7 -0
  78. data/lib/google/cloud/compute/v1/reservations/rest/client.rb +7 -0
  79. data/lib/google/cloud/compute/v1/resource_policies/rest/client.rb +7 -0
  80. data/lib/google/cloud/compute/v1/routers/rest/client.rb +7 -0
  81. data/lib/google/cloud/compute/v1/routes/rest/client.rb +7 -0
  82. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +7 -0
  83. data/lib/google/cloud/compute/v1/service_attachments/rest/client.rb +7 -0
  84. data/lib/google/cloud/compute/v1/snapshot_settings_service/rest/client.rb +7 -0
  85. data/lib/google/cloud/compute/v1/snapshots/rest/client.rb +7 -0
  86. data/lib/google/cloud/compute/v1/ssl_certificates/rest/client.rb +7 -0
  87. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +7 -0
  88. data/lib/google/cloud/compute/v1/storage_pool_types/rest/client.rb +7 -0
  89. data/lib/google/cloud/compute/v1/storage_pools/rest/client.rb +7 -0
  90. data/lib/google/cloud/compute/v1/subnetworks/rest/client.rb +7 -0
  91. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/client.rb +7 -0
  92. data/lib/google/cloud/compute/v1/target_http_proxies/rest/client.rb +7 -0
  93. data/lib/google/cloud/compute/v1/target_https_proxies/rest/client.rb +7 -0
  94. data/lib/google/cloud/compute/v1/target_instances/rest/client.rb +7 -0
  95. data/lib/google/cloud/compute/v1/target_pools/rest/client.rb +7 -0
  96. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/client.rb +7 -0
  97. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/client.rb +7 -0
  98. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +7 -0
  99. data/lib/google/cloud/compute/v1/url_maps/rest/client.rb +7 -0
  100. data/lib/google/cloud/compute/v1/version.rb +1 -1
  101. data/lib/google/cloud/compute/v1/vpn_gateways/rest/client.rb +7 -0
  102. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +7 -0
  103. data/lib/google/cloud/compute/v1/zone_operations/rest/client.rb +7 -0
  104. data/lib/google/cloud/compute/v1/zones/rest/client.rb +7 -0
  105. data/proto_docs/google/api/client.rb +8 -0
  106. data/proto_docs/google/cloud/compute/v1/compute.rb +126 -22
  107. metadata +6 -9
@@ -234,7 +234,7 @@ module Google
234
234
  # The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be created for first IP in associated external IPv6 range.
235
235
  # @!attribute [rw] security_policy
236
236
  # @return [::String]
237
- # [Output Only] The resource URL for the security policy associated with this access config.
237
+ # The resource URL for the security policy associated with this access config.
238
238
  # @!attribute [rw] set_public_ptr
239
239
  # @return [::Boolean]
240
240
  # Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
@@ -1532,6 +1532,36 @@ module Google
1532
1532
  extend ::Google::Protobuf::MessageExts::ClassMethods
1533
1533
  end
1534
1534
 
1535
+ # A request message for NetworkFirewallPolicies.AggregatedList. See the method description for details.
1536
+ # @!attribute [rw] filter
1537
+ # @return [::String]
1538
+ # A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
1539
+ # @!attribute [rw] include_all_scopes
1540
+ # @return [::Boolean]
1541
+ # Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
1542
+ # @!attribute [rw] max_results
1543
+ # @return [::Integer]
1544
+ # The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
1545
+ # @!attribute [rw] order_by
1546
+ # @return [::String]
1547
+ # Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
1548
+ # @!attribute [rw] page_token
1549
+ # @return [::String]
1550
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
1551
+ # @!attribute [rw] project
1552
+ # @return [::String]
1553
+ # Project ID for this request.
1554
+ # @!attribute [rw] return_partial_success
1555
+ # @return [::Boolean]
1556
+ # Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
1557
+ # @!attribute [rw] service_project_number
1558
+ # @return [::Integer]
1559
+ # The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
1560
+ class AggregatedListNetworkFirewallPoliciesRequest
1561
+ include ::Google::Protobuf::MessageExts
1562
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1563
+ end
1564
+
1535
1565
  # A request message for NodeGroups.AggregatedList. See the method description for details.
1536
1566
  # @!attribute [rw] filter
1537
1567
  # @return [::String]
@@ -2786,7 +2816,7 @@ module Google
2786
2816
  # The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.
2787
2817
  # @!attribute [rw] source_snapshot
2788
2818
  # @return [::String]
2789
- # The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.
2819
+ # The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. Note: You cannot create VMs in bulk using a snapshot as the source. Use an image instead when you create VMs using the bulk insert method.
2790
2820
  # @!attribute [rw] source_snapshot_encryption_key
2791
2821
  # @return [::Google::Cloud::Compute::V1::CustomerEncryptionKey]
2792
2822
  # The customer-supplied encryption key of the source snapshot.
@@ -4891,6 +4921,8 @@ module Google
4891
4921
 
4892
4922
  ACCELERATOR_OPTIMIZED_A3_MEGA = 156_517_459
4893
4923
 
4924
+ ACCELERATOR_OPTIMIZED_A3_ULTRA = 27_812_811
4925
+
4894
4926
  COMPUTE_OPTIMIZED = 158_349_023
4895
4927
 
4896
4928
  COMPUTE_OPTIMIZED_C2D = 383_246_453
@@ -7657,7 +7689,7 @@ module Google
7657
7689
  # The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
7658
7690
  # @!attribute [rw] metadatas
7659
7691
  # @return [::Google::Protobuf::Map{::String => ::String}]
7660
- # Additional structured details about this error. Keys must match /a-z+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than \\{"instanceLimit": "100/request"}, should be returned as, \\{"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
7692
+ # Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of instances that can be created in a single (batch) request.
7661
7693
  # @!attribute [rw] reason
7662
7694
  # @return [::String]
7663
7695
  # The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
@@ -8050,6 +8082,17 @@ module Google
8050
8082
  extend ::Google::Protobuf::MessageExts::ClassMethods
8051
8083
  end
8052
8084
 
8085
+ # @!attribute [rw] firewall_policies
8086
+ # @return [::Array<::Google::Cloud::Compute::V1::FirewallPolicy>]
8087
+ # A list of firewall policies contained in this scope.
8088
+ # @!attribute [rw] warning
8089
+ # @return [::Google::Cloud::Compute::V1::Warning]
8090
+ # Informational warning which replaces the list of firewall policies when the list is empty.
8091
+ class FirewallPoliciesScopedList
8092
+ include ::Google::Protobuf::MessageExts
8093
+ extend ::Google::Protobuf::MessageExts::ClassMethods
8094
+ end
8095
+
8053
8096
  # Represents a Firewall Policy resource.
8054
8097
  # @!attribute [rw] associations
8055
8098
  # @return [::Array<::Google::Cloud::Compute::V1::FirewallPolicyAssociation>]
@@ -13653,7 +13696,7 @@ module Google
13653
13696
  # The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
13654
13697
  # @!attribute [rw] named_ports
13655
13698
  # @return [::Array<::Google::Cloud::Compute::V1::NamedPort>]
13656
- # Assigns a name to a port number. For example: \\{name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [\\{name: "app1", port: 8080}, \\{name: "app1", port: 8081}, \\{name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
13699
+ # Optional. Assigns a name to a port number. For example: \\{name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [\\{name: "app1", port: 8080}, \\{name: "app1", port: 8081}, \\{name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
13657
13700
  # @!attribute [rw] network
13658
13701
  # @return [::String]
13659
13702
  # [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).
@@ -15689,14 +15732,14 @@ module Google
15689
15732
  # Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER.
15690
15733
  # @!attribute [rw] bandwidth
15691
15734
  # @return [::String]
15692
- # Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s
15735
+ # Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s
15693
15736
  # Check the Bandwidth enum for the list of possible values.
15694
15737
  # @!attribute [rw] candidate_ipv6_subnets
15695
15738
  # @return [::Array<::String>]
15696
15739
  # This field is not available.
15697
15740
  # @!attribute [rw] candidate_subnets
15698
15741
  # @return [::Array<::String>]
15699
- # Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.
15742
+ # Input only. Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.
15700
15743
  # @!attribute [rw] cloud_router_ip_address
15701
15744
  # @return [::String]
15702
15745
  # [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.
@@ -15729,7 +15772,7 @@ module Google
15729
15772
  # An optional description of this resource.
15730
15773
  # @!attribute [rw] edge_availability_domain
15731
15774
  # @return [::String]
15732
- # Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
15775
+ # Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
15733
15776
  # Check the EdgeAvailabilityDomain enum for the list of possible values.
15734
15777
  # @!attribute [rw] encryption
15735
15778
  # @return [::String]
@@ -15803,7 +15846,7 @@ module Google
15803
15846
  # Check the State enum for the list of possible values.
15804
15847
  # @!attribute [rw] subnet_length
15805
15848
  # @return [::Integer]
15806
- # Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.
15849
+ # Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility.
15807
15850
  # @!attribute [rw] type
15808
15851
  # @return [::String]
15809
15852
  # The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner.
@@ -15824,11 +15867,14 @@ module Google
15824
15867
  extend ::Google::Protobuf::MessageExts::ClassMethods
15825
15868
  end
15826
15869
 
15827
- # Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s
15870
+ # Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - BPS_100G: 100 Gbit/s
15828
15871
  module Bandwidth
15829
15872
  # A value indicating that the enum field is not set.
15830
15873
  UNDEFINED_BANDWIDTH = 0
15831
15874
 
15875
+ # 100 Gbit/s
15876
+ BPS_100G = 49_547_952
15877
+
15832
15878
  # 100 Mbit/s
15833
15879
  BPS_100M = 49_547_958
15834
15880
 
@@ -15866,7 +15912,7 @@ module Google
15866
15912
  BPS_5G = 355_358_572
15867
15913
  end
15868
15914
 
15869
- # Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
15915
+ # Input only. Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
15870
15916
  module EdgeAvailabilityDomain
15871
15917
  # A value indicating that the enum field is not set.
15872
15918
  UNDEFINED_EDGE_AVAILABILITY_DOMAIN = 0
@@ -21109,16 +21155,16 @@ module Google
21109
21155
  # The network endpoint.
21110
21156
  # @!attribute [rw] annotations
21111
21157
  # @return [::Google::Protobuf::Map{::String => ::String}]
21112
- # Metadata defined as annotations on the network endpoint.
21158
+ # Optional metadata defined as annotations on the network endpoint.
21113
21159
  # @!attribute [rw] client_destination_port
21114
21160
  # @return [::Integer]
21115
- # Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
21161
+ # Represents the port number to which PSC consumer sends packets. Optional. Only valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
21116
21162
  # @!attribute [rw] fqdn
21117
21163
  # @return [::String]
21118
21164
  # Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.
21119
21165
  # @!attribute [rw] instance
21120
21166
  # @return [::String]
21121
- # The name or a URL of VM instance of this network endpoint. This field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance.
21167
+ # The name or a URL of VM instance of this network endpoint. Optional, the field presence depends on the network endpoint type. The field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance.
21122
21168
  # @!attribute [rw] ip_address
21123
21169
  # @return [::String]
21124
21170
  # Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. This field is redundant and need not be set for network endpoints of type GCE_VM_IP. If set, it must be set to the primary internal IP address of the attached VM instance that matches the subnetwork of the NEG. The primary internal IP address from any NIC of a multi-NIC VM instance can be added to a NEG as long as it matches the NEG subnetwork.
@@ -21145,22 +21191,22 @@ module Google
21145
21191
  # Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview.
21146
21192
  # @!attribute [rw] annotations
21147
21193
  # @return [::Google::Protobuf::Map{::String => ::String}]
21148
- # Metadata defined as annotations on the network endpoint group.
21194
+ # Optional. Metadata defined as annotations on the network endpoint group.
21149
21195
  # @!attribute [rw] app_engine
21150
21196
  # @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupAppEngine]
21151
- # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21197
+ # Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21152
21198
  # @!attribute [rw] cloud_function
21153
21199
  # @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudFunction]
21154
- # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21200
+ # Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21155
21201
  # @!attribute [rw] cloud_run
21156
21202
  # @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupCloudRun]
21157
- # Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21203
+ # Optional. Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.
21158
21204
  # @!attribute [rw] creation_timestamp
21159
21205
  # @return [::String]
21160
21206
  # [Output Only] Creation timestamp in RFC3339 text format.
21161
21207
  # @!attribute [rw] default_port
21162
21208
  # @return [::Integer]
21163
- # The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.
21209
+ # The default port used if the port number is not specified in the network endpoint. Optional. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.
21164
21210
  # @!attribute [rw] description
21165
21211
  # @return [::String]
21166
21212
  # An optional description of this resource. Provide this property when you create the resource.
@@ -21182,9 +21228,10 @@ module Google
21182
21228
  # Check the NetworkEndpointType enum for the list of possible values.
21183
21229
  # @!attribute [rw] psc_data
21184
21230
  # @return [::Google::Cloud::Compute::V1::NetworkEndpointGroupPscData]
21231
+ # Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
21185
21232
  # @!attribute [rw] psc_target_service
21186
21233
  # @return [::String]
21187
- # The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com
21234
+ # The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com. Optional. Only valid when networkEndpointType is PRIVATE_SERVICE_CONNECT.
21188
21235
  # @!attribute [rw] region
21189
21236
  # @return [::String]
21190
21237
  # [Output Only] The URL of the region where the network endpoint group is located.
@@ -21456,15 +21503,50 @@ module Google
21456
21503
 
21457
21504
  # @!attribute [rw] healths
21458
21505
  # @return [::Array<::Google::Cloud::Compute::V1::HealthStatusForNetworkEndpoint>]
21459
- # [Output only] The health status of network endpoint;
21506
+ # [Output only] The health status of network endpoint. Optional. Displayed only if the network endpoint has centralized health checking configured.
21460
21507
  # @!attribute [rw] network_endpoint
21461
21508
  # @return [::Google::Cloud::Compute::V1::NetworkEndpoint]
21462
- # [Output only] The network endpoint;
21509
+ # [Output only] The network endpoint.
21463
21510
  class NetworkEndpointWithHealthStatus
21464
21511
  include ::Google::Protobuf::MessageExts
21465
21512
  extend ::Google::Protobuf::MessageExts::ClassMethods
21466
21513
  end
21467
21514
 
21515
+ # @!attribute [rw] id
21516
+ # @return [::String]
21517
+ # [Output Only] Unique identifier for the resource; defined by the server.
21518
+ # @!attribute [rw] items
21519
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Compute::V1::FirewallPoliciesScopedList}]
21520
+ # A list of FirewallPoliciesScopedList resources.
21521
+ # @!attribute [rw] kind
21522
+ # @return [::String]
21523
+ # [Output Only] Type of resource. Always compute#networkFirewallPoliciesAggregatedList for lists of network firewall policies.
21524
+ # @!attribute [rw] next_page_token
21525
+ # @return [::String]
21526
+ # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
21527
+ # @!attribute [rw] self_link
21528
+ # @return [::String]
21529
+ # [Output Only] Server-defined URL for this resource.
21530
+ # @!attribute [rw] unreachables
21531
+ # @return [::Array<::String>]
21532
+ # [Output Only] Unreachable resources.
21533
+ # @!attribute [rw] warning
21534
+ # @return [::Google::Cloud::Compute::V1::Warning]
21535
+ # [Output Only] Informational warning message.
21536
+ class NetworkFirewallPolicyAggregatedList
21537
+ include ::Google::Protobuf::MessageExts
21538
+ extend ::Google::Protobuf::MessageExts::ClassMethods
21539
+
21540
+ # @!attribute [rw] key
21541
+ # @return [::String]
21542
+ # @!attribute [rw] value
21543
+ # @return [::Google::Cloud::Compute::V1::FirewallPoliciesScopedList]
21544
+ class ItemsEntry
21545
+ include ::Google::Protobuf::MessageExts
21546
+ extend ::Google::Protobuf::MessageExts::ClassMethods
21547
+ end
21548
+ end
21549
+
21468
21550
  # A network interface resource attached to an instance.
21469
21551
  # @!attribute [rw] access_configs
21470
21552
  # @return [::Array<::Google::Cloud::Compute::V1::AccessConfig>]
@@ -22130,6 +22212,13 @@ module Google
22130
22212
  # @return [::String]
22131
22213
  # Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED.
22132
22214
  # Check the BgpInterRegionCost enum for the list of possible values.
22215
+ # @!attribute [rw] effective_bgp_always_compare_med
22216
+ # @return [::Boolean]
22217
+ # [Output Only] Effective value of the bgp_always_compare_med field.
22218
+ # @!attribute [rw] effective_bgp_inter_region_cost
22219
+ # @return [::String]
22220
+ # [Output Only] Effective value of the bgp_inter_region_cost field.
22221
+ # Check the EffectiveBgpInterRegionCost enum for the list of possible values.
22133
22222
  # @!attribute [rw] routing_mode
22134
22223
  # @return [::String]
22135
22224
  # The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.
@@ -22149,6 +22238,9 @@ module Google
22149
22238
  end
22150
22239
 
22151
22240
  # Allows to define a preferred approach for handling inter-region cost in the selection process when using the STANDARD BGP best path selection algorithm. Can be DEFAULT or ADD_COST_TO_MED.
22241
+ # Additional supported values which may be not listed in the enum directly due to technical reasons:
22242
+ # ADD_COST_TO_MED
22243
+ # DEFAULT
22152
22244
  module BgpInterRegionCost
22153
22245
  # A value indicating that the enum field is not set.
22154
22246
  UNDEFINED_BGP_INTER_REGION_COST = 0
@@ -22158,6 +22250,15 @@ module Google
22158
22250
  DEFAULT = 115_302_945
22159
22251
  end
22160
22252
 
22253
+ # [Output Only] Effective value of the bgp_inter_region_cost field.
22254
+ # Additional supported values which may be not listed in the enum directly due to technical reasons:
22255
+ # ADD_COST_TO_MED
22256
+ # DEFAULT
22257
+ module EffectiveBgpInterRegionCost
22258
+ # A value indicating that the enum field is not set.
22259
+ UNDEFINED_EFFECTIVE_BGP_INTER_REGION_COST = 0
22260
+ end
22261
+
22161
22262
  # The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.
22162
22263
  module RoutingMode
22163
22264
  # A value indicating that the enum field is not set.
@@ -28867,6 +28968,9 @@ module Google
28867
28968
  # @!attribute [rw] availability_domain
28868
28969
  # @return [::Integer]
28869
28970
  # Specifies the availability domain to place the instance in. The value must be a number between 1 and the number of availability domains specified in the spread placement policy attached to the instance.
28971
+ # @!attribute [rw] host_error_timeout_seconds
28972
+ # @return [::Integer]
28973
+ # Specify the time in seconds for host error detection, the value must be within the range of [90, 330] with the increment of 30, if unset, the default behavior of host error recovery will be used.
28870
28974
  # @!attribute [rw] instance_termination_action
28871
28975
  # @return [::String]
28872
28976
  # Specifies the termination action for the instance.
@@ -34223,7 +34327,7 @@ module Google
34223
34327
  # Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted.
34224
34328
  # @!attribute [rw] ssl_certificates
34225
34329
  # @return [::Array<::String>]
34226
- # URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API. Certificate Manager Certificates are not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/\\{project}/locations/{ location}/certificates/\\{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/\\{project }/locations/\\{location}/certificates/\\{resourceName}.
34330
+ # URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. SslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource or Certificate Manager Certificate resource. Mixing Classic Certificates and Certificate Manager Certificates is not allowed. Certificate Manager Certificates must include the certificatemanager API namespace. Using Certificate Manager Certificates in this field is not supported by Global external Application Load Balancer or Classic Application Load Balancer, use certificate_map instead. Currently, you may specify up to 15 Classic SSL Certificates or up to 100 Certificate Manager Certificates. Certificate Manager Certificates accepted formats are: - //certificatemanager.googleapis.com/projects/\\{project}/locations/{ location}/certificates/\\{resourceName}. - https://certificatemanager.googleapis.com/v1alpha1/projects/\\{project }/locations/\\{location}/certificates/\\{resourceName}.
34227
34331
  # @!attribute [rw] ssl_policy
34228
34332
  # @return [::String]
34229
34333
  # URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-compute-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-11 00:00:00.000000000 Z
10
+ date: 2025-01-31 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -664,7 +663,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
664
663
  licenses:
665
664
  - Apache-2.0
666
665
  metadata: {}
667
- post_install_message:
668
666
  rdoc_options: []
669
667
  require_paths:
670
668
  - lib
@@ -672,15 +670,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
672
670
  requirements:
673
671
  - - ">="
674
672
  - !ruby/object:Gem::Version
675
- version: '2.7'
673
+ version: '3.0'
676
674
  required_rubygems_version: !ruby/object:Gem::Requirement
677
675
  requirements:
678
676
  - - ">="
679
677
  - !ruby/object:Gem::Version
680
678
  version: '0'
681
679
  requirements: []
682
- rubygems_version: 3.5.23
683
- signing_key:
680
+ rubygems_version: 3.6.3
684
681
  specification_version: 4
685
682
  summary: API Client library for the Google Cloud Compute V1 API
686
683
  test_files: []