google-apis-compute_alpha 0.39.0 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1598,6 +1598,14 @@ module Google
1598
1598
  # @return [Array<String>]
1599
1599
  attr_accessor :replica_zones
1600
1600
 
1601
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
1602
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
1603
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
1604
+ # ignored (both PUT & PATCH) when empty.
1605
+ # Corresponds to the JSON property `resourceManagerTags`
1606
+ # @return [Hash<String,String>]
1607
+ attr_accessor :resource_manager_tags
1608
+
1601
1609
  # Resource policies applied to this disk for automatic snapshot creations.
1602
1610
  # Specified using the full or partial URL. For instance template, specify only
1603
1611
  # the resource policy name.
@@ -1677,6 +1685,7 @@ module Google
1677
1685
  @on_update_action = args[:on_update_action] if args.key?(:on_update_action)
1678
1686
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
1679
1687
  @replica_zones = args[:replica_zones] if args.key?(:replica_zones)
1688
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
1680
1689
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
1681
1690
  @source_image = args[:source_image] if args.key?(:source_image)
1682
1691
  @source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
@@ -2826,7 +2835,7 @@ module Google
2826
2835
  # @return [Float]
2827
2836
  attr_accessor :max_rate_per_instance
2828
2837
 
2829
- # Optional parameter to define a target capacity for the UTILIZATIONbalancing
2838
+ # Optional parameter to define a target capacity for the UTILIZATION balancing
2830
2839
  # mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
2831
2840
  # balancing mode.
2832
2841
  # Corresponds to the JSON property `maxUtilization`
@@ -6070,6 +6079,95 @@ module Google
6070
6079
  end
6071
6080
  end
6072
6081
 
6082
+ # Specifies the custom error response policy that must be applied when the
6083
+ # backend service or backend bucket responds with an error.
6084
+ class CustomErrorResponsePolicy
6085
+ include Google::Apis::Core::Hashable
6086
+
6087
+ # Specifies rules for returning error responses. In a given policy, if you
6088
+ # specify rules for both a range of error codes as well as rules for specific
6089
+ # error codes then rules with specific error codes have a higher priority. For
6090
+ # example, assume that you configure a rule for 401 (Un-authorized) code, and
6091
+ # another for all 4 series error codes (4XX). If the backend service returns a
6092
+ # 401, then the rule for 401 will be applied. However if the backend service
6093
+ # returns a 403, the rule for 4xx takes effect.
6094
+ # Corresponds to the JSON property `errorResponseRules`
6095
+ # @return [Array<Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule>]
6096
+ attr_accessor :error_response_rules
6097
+
6098
+ # The full or partial URL to the BackendBucket resource that contains the custom
6099
+ # error content. Examples are: - https://www.googleapis.com/compute/v1/projects/
6100
+ # project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/
6101
+ # global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket
6102
+ # If errorService is not specified at lower levels like pathMatcher, pathRule
6103
+ # and routeRule, an errorService specified at a higher level in the UrlMap will
6104
+ # be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more
6105
+ # errorResponseRules[], it must specify errorService. If load balancer cannot
6106
+ # reach the backendBucket, a simple Not Found Error will be returned, with the
6107
+ # original response code (or overrideResponseCode if configured). errorService
6108
+ # is not supported for internal or regional HTTP/HTTPS load balancers.
6109
+ # Corresponds to the JSON property `errorService`
6110
+ # @return [String]
6111
+ attr_accessor :error_service
6112
+
6113
+ def initialize(**args)
6114
+ update!(**args)
6115
+ end
6116
+
6117
+ # Update properties of this object
6118
+ def update!(**args)
6119
+ @error_response_rules = args[:error_response_rules] if args.key?(:error_response_rules)
6120
+ @error_service = args[:error_service] if args.key?(:error_service)
6121
+ end
6122
+ end
6123
+
6124
+ # Specifies the mapping between the response code that will be returned along
6125
+ # with the custom error content and the response code returned by the backend
6126
+ # service.
6127
+ class CustomErrorResponsePolicyCustomErrorResponseRule
6128
+ include Google::Apis::Core::Hashable
6129
+
6130
+ # Valid values include: - A number between 400 and 599: For example 401 or 503,
6131
+ # in which case the load balancer applies the policy if the error code exactly
6132
+ # matches this value. - 5xx: Load Balancer will apply the policy if the backend
6133
+ # service responds with any response code in the range of 500 to 599. - 4xx:
6134
+ # Load Balancer will apply the policy if the backend service responds with any
6135
+ # response code in the range of 400 to 499. Values must be unique within
6136
+ # matchResponseCodes and across all errorResponseRules of
6137
+ # CustomErrorResponsePolicy.
6138
+ # Corresponds to the JSON property `matchResponseCodes`
6139
+ # @return [Array<String>]
6140
+ attr_accessor :match_response_codes
6141
+
6142
+ # The HTTP status code returned with the response containing the custom error
6143
+ # content. If overrideResponseCode is not supplied, the same response code
6144
+ # returned by the original backend bucket or backend service is returned to the
6145
+ # client.
6146
+ # Corresponds to the JSON property `overrideResponseCode`
6147
+ # @return [Fixnum]
6148
+ attr_accessor :override_response_code
6149
+
6150
+ # The full path to a file within backendBucket . For example: /errors/
6151
+ # defaultError.html path must start with a leading slash. path cannot have
6152
+ # trailing slashes. If the file is not available in backendBucket or the load
6153
+ # balancer cannot reach the BackendBucket, a simple Not Found Error is returned
6154
+ # to the client. The value must be from 1 to 1024 characters
6155
+ # Corresponds to the JSON property `path`
6156
+ # @return [String]
6157
+ attr_accessor :path
6158
+
6159
+ def initialize(**args)
6160
+ update!(**args)
6161
+ end
6162
+
6163
+ # Update properties of this object
6164
+ def update!(**args)
6165
+ @match_response_codes = args[:match_response_codes] if args.key?(:match_response_codes)
6166
+ @override_response_code = args[:override_response_code] if args.key?(:override_response_code)
6167
+ @path = args[:path] if args.key?(:path)
6168
+ end
6169
+ end
6170
+
6073
6171
  #
6074
6172
  class CustomerEncryptionKey
6075
6173
  include Google::Apis::Core::Hashable
@@ -6389,6 +6487,11 @@ module Google
6389
6487
  # @return [String]
6390
6488
  attr_accessor :options
6391
6489
 
6490
+ # Additional disk params.
6491
+ # Corresponds to the JSON property `params`
6492
+ # @return [Google::Apis::ComputeAlpha::DiskParams]
6493
+ attr_accessor :params
6494
+
6392
6495
  # Physical block size of the persistent disk, in bytes. If not present in a
6393
6496
  # request, a default value is used. The currently supported size is 4096, other
6394
6497
  # sizes may be added in the future. If an unsupported value is requested, the
@@ -6635,6 +6738,7 @@ module Google
6635
6738
  @multi_writer = args[:multi_writer] if args.key?(:multi_writer)
6636
6739
  @name = args[:name] if args.key?(:name)
6637
6740
  @options = args[:options] if args.key?(:options)
6741
+ @params = args[:params] if args.key?(:params)
6638
6742
  @physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
6639
6743
  @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
6640
6744
  @region = args[:region] if args.key?(:region)
@@ -7042,6 +7146,28 @@ module Google
7042
7146
  end
7043
7147
  end
7044
7148
 
7149
+ # Additional disk params.
7150
+ class DiskParams
7151
+ include Google::Apis::Core::Hashable
7152
+
7153
+ # Resource manager tags to be bound to the disk. Tag keys and values have the
7154
+ # same definition as resource manager tags. Keys must be in the format `tagKeys/`
7155
+ # tag_key_id``, and values are in the format `tagValues/456`. The field is
7156
+ # ignored (both PUT & PATCH) when empty.
7157
+ # Corresponds to the JSON property `resourceManagerTags`
7158
+ # @return [Hash<String,String>]
7159
+ attr_accessor :resource_manager_tags
7160
+
7161
+ def initialize(**args)
7162
+ update!(**args)
7163
+ end
7164
+
7165
+ # Update properties of this object
7166
+ def update!(**args)
7167
+ @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
7168
+ end
7169
+ end
7170
+
7045
7171
  #
7046
7172
  class DiskResourceStatus
7047
7173
  include Google::Apis::Core::Hashable
@@ -13461,6 +13587,12 @@ module Google
13461
13587
  class HttpRouteRule
13462
13588
  include Google::Apis::Core::Hashable
13463
13589
 
13590
+ # Specifies the custom error response policy that must be applied when the
13591
+ # backend service or backend bucket responds with an error.
13592
+ # Corresponds to the JSON property `customErrorResponsePolicy`
13593
+ # @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
13594
+ attr_accessor :custom_error_response_policy
13595
+
13464
13596
  # The short description conveying the intent of this routeRule. The description
13465
13597
  # can have a maximum length of 1024 characters.
13466
13598
  # Corresponds to the JSON property `description`
@@ -13550,6 +13682,7 @@ module Google
13550
13682
 
13551
13683
  # Update properties of this object
13552
13684
  def update!(**args)
13685
+ @custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
13553
13686
  @description = args[:description] if args.key?(:description)
13554
13687
  @header_action = args[:header_action] if args.key?(:header_action)
13555
13688
  @http_filter_configs = args[:http_filter_configs] if args.key?(:http_filter_configs)
@@ -21418,6 +21551,268 @@ module Google
21418
21551
  end
21419
21552
  end
21420
21553
 
21554
+ # Represents an Cross-Cloud Interconnect Remote Location resource. You can use
21555
+ # this resource to find remote location details about an Interconnect attachment
21556
+ # (VLAN).
21557
+ class InterconnectRemoteLocation
21558
+ include Google::Apis::Core::Hashable
21559
+
21560
+ # [Output Only] The postal address of the Point of Presence, each line in the
21561
+ # address is separated by a newline character.
21562
+ # Corresponds to the JSON property `address`
21563
+ # @return [String]
21564
+ attr_accessor :address
21565
+
21566
+ # [Output Only] Metropolitan area designator that indicates which city an
21567
+ # interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
21568
+ # Corresponds to the JSON property `city`
21569
+ # @return [String]
21570
+ attr_accessor :city
21571
+
21572
+ # [Output Only] Continent for this location, which can take one of the following
21573
+ # values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
21574
+ # Corresponds to the JSON property `continent`
21575
+ # @return [String]
21576
+ attr_accessor :continent
21577
+
21578
+ # [Output Only] Creation timestamp in RFC3339 text format.
21579
+ # Corresponds to the JSON property `creationTimestamp`
21580
+ # @return [String]
21581
+ attr_accessor :creation_timestamp
21582
+
21583
+ # [Output Only] An optional description of the resource.
21584
+ # Corresponds to the JSON property `description`
21585
+ # @return [String]
21586
+ attr_accessor :description
21587
+
21588
+ # [Output Only] The name of the provider for this facility (e.g., EQUINIX).
21589
+ # Corresponds to the JSON property `facilityProvider`
21590
+ # @return [String]
21591
+ attr_accessor :facility_provider
21592
+
21593
+ # [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-
21594
+ # DC1).
21595
+ # Corresponds to the JSON property `facilityProviderFacilityId`
21596
+ # @return [String]
21597
+ attr_accessor :facility_provider_facility_id
21598
+
21599
+ # [Output Only] The unique identifier for the resource. This identifier is
21600
+ # defined by the server.
21601
+ # Corresponds to the JSON property `id`
21602
+ # @return [Fixnum]
21603
+ attr_accessor :id
21604
+
21605
+ # [Output Only] Type of the resource. Always compute#interconnectRemoteLocation
21606
+ # for interconnect remote locations.
21607
+ # Corresponds to the JSON property `kind`
21608
+ # @return [String]
21609
+ attr_accessor :kind
21610
+
21611
+ # [Output Only] Name of the resource.
21612
+ # Corresponds to the JSON property `name`
21613
+ # @return [String]
21614
+ attr_accessor :name
21615
+
21616
+ # [Output Only] The peeringdb identifier for this facility (corresponding with a
21617
+ # netfac type in peeringdb).
21618
+ # Corresponds to the JSON property `peeringdbFacilityId`
21619
+ # @return [String]
21620
+ attr_accessor :peeringdb_facility_id
21621
+
21622
+ # [Output-only] Permitted connections.
21623
+ # Corresponds to the JSON property `permittedConnections`
21624
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections]
21625
+ attr_accessor :permitted_connections
21626
+
21627
+ # [Output Only] Indicates the service provider present at the remote location.
21628
+ # Example values: "Amazon Web Services", "Microsoft Azure".
21629
+ # Corresponds to the JSON property `remoteService`
21630
+ # @return [String]
21631
+ attr_accessor :remote_service
21632
+
21633
+ # [Output Only] Server-defined URL for the resource.
21634
+ # Corresponds to the JSON property `selfLink`
21635
+ # @return [String]
21636
+ attr_accessor :self_link
21637
+
21638
+ # [Output Only] Server-defined URL for this resource with the resource id.
21639
+ # Corresponds to the JSON property `selfLinkWithId`
21640
+ # @return [String]
21641
+ attr_accessor :self_link_with_id
21642
+
21643
+ # [Output Only] The status of this InterconnectRemoteLocation, which can take
21644
+ # one of the following values: - CLOSED: The InterconnectRemoteLocation is
21645
+ # closed and is unavailable for provisioning new Cross-Cloud Interconnects. -
21646
+ # AVAILABLE: The InterconnectRemoteLocation is available for provisioning new
21647
+ # Cross-Cloud Interconnects.
21648
+ # Corresponds to the JSON property `status`
21649
+ # @return [String]
21650
+ attr_accessor :status
21651
+
21652
+ def initialize(**args)
21653
+ update!(**args)
21654
+ end
21655
+
21656
+ # Update properties of this object
21657
+ def update!(**args)
21658
+ @address = args[:address] if args.key?(:address)
21659
+ @city = args[:city] if args.key?(:city)
21660
+ @continent = args[:continent] if args.key?(:continent)
21661
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
21662
+ @description = args[:description] if args.key?(:description)
21663
+ @facility_provider = args[:facility_provider] if args.key?(:facility_provider)
21664
+ @facility_provider_facility_id = args[:facility_provider_facility_id] if args.key?(:facility_provider_facility_id)
21665
+ @id = args[:id] if args.key?(:id)
21666
+ @kind = args[:kind] if args.key?(:kind)
21667
+ @name = args[:name] if args.key?(:name)
21668
+ @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
21669
+ @permitted_connections = args[:permitted_connections] if args.key?(:permitted_connections)
21670
+ @remote_service = args[:remote_service] if args.key?(:remote_service)
21671
+ @self_link = args[:self_link] if args.key?(:self_link)
21672
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
21673
+ @status = args[:status] if args.key?(:status)
21674
+ end
21675
+ end
21676
+
21677
+ # Response to the list request, and contains a list of interconnect remote
21678
+ # locations.
21679
+ class InterconnectRemoteLocationList
21680
+ include Google::Apis::Core::Hashable
21681
+
21682
+ # [Output Only] Unique identifier for the resource; defined by the server.
21683
+ # Corresponds to the JSON property `id`
21684
+ # @return [String]
21685
+ attr_accessor :id
21686
+
21687
+ # A list of InterconnectRemoteLocation resources.
21688
+ # Corresponds to the JSON property `items`
21689
+ # @return [Array<Google::Apis::ComputeAlpha::InterconnectRemoteLocation>]
21690
+ attr_accessor :items
21691
+
21692
+ # [Output Only] Type of resource. Always compute#interconnectRemoteLocationList
21693
+ # for lists of interconnect remote locations.
21694
+ # Corresponds to the JSON property `kind`
21695
+ # @return [String]
21696
+ attr_accessor :kind
21697
+
21698
+ # [Output Only] This token allows you to get the next page of results for list
21699
+ # requests. If the number of results is larger than maxResults, use the
21700
+ # nextPageToken as a value for the query parameter pageToken in the next list
21701
+ # request. Subsequent list requests will have their own nextPageToken to
21702
+ # continue paging through the results.
21703
+ # Corresponds to the JSON property `nextPageToken`
21704
+ # @return [String]
21705
+ attr_accessor :next_page_token
21706
+
21707
+ # [Output Only] Server-defined URL for this resource.
21708
+ # Corresponds to the JSON property `selfLink`
21709
+ # @return [String]
21710
+ attr_accessor :self_link
21711
+
21712
+ # [Output Only] Informational warning message.
21713
+ # Corresponds to the JSON property `warning`
21714
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning]
21715
+ attr_accessor :warning
21716
+
21717
+ def initialize(**args)
21718
+ update!(**args)
21719
+ end
21720
+
21721
+ # Update properties of this object
21722
+ def update!(**args)
21723
+ @id = args[:id] if args.key?(:id)
21724
+ @items = args[:items] if args.key?(:items)
21725
+ @kind = args[:kind] if args.key?(:kind)
21726
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
21727
+ @self_link = args[:self_link] if args.key?(:self_link)
21728
+ @warning = args[:warning] if args.key?(:warning)
21729
+ end
21730
+
21731
+ # [Output Only] Informational warning message.
21732
+ class Warning
21733
+ include Google::Apis::Core::Hashable
21734
+
21735
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
21736
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
21737
+ # Corresponds to the JSON property `code`
21738
+ # @return [String]
21739
+ attr_accessor :code
21740
+
21741
+ # [Output Only] Metadata about this warning in key: value format. For example: "
21742
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
21743
+ # Corresponds to the JSON property `data`
21744
+ # @return [Array<Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum>]
21745
+ attr_accessor :data
21746
+
21747
+ # [Output Only] A human-readable description of the warning code.
21748
+ # Corresponds to the JSON property `message`
21749
+ # @return [String]
21750
+ attr_accessor :message
21751
+
21752
+ def initialize(**args)
21753
+ update!(**args)
21754
+ end
21755
+
21756
+ # Update properties of this object
21757
+ def update!(**args)
21758
+ @code = args[:code] if args.key?(:code)
21759
+ @data = args[:data] if args.key?(:data)
21760
+ @message = args[:message] if args.key?(:message)
21761
+ end
21762
+
21763
+ #
21764
+ class Datum
21765
+ include Google::Apis::Core::Hashable
21766
+
21767
+ # [Output Only] A key that provides more detail on the warning being returned.
21768
+ # For example, for warnings where there are no results in a list request for a
21769
+ # particular zone, this key might be scope and the key value might be the zone
21770
+ # name. Other examples might be a key indicating a deprecated resource and a
21771
+ # suggested replacement, or a warning about invalid network settings (for
21772
+ # example, if an instance attempts to perform IP forwarding but is not enabled
21773
+ # for IP forwarding).
21774
+ # Corresponds to the JSON property `key`
21775
+ # @return [String]
21776
+ attr_accessor :key
21777
+
21778
+ # [Output Only] A warning data value corresponding to the key.
21779
+ # Corresponds to the JSON property `value`
21780
+ # @return [String]
21781
+ attr_accessor :value
21782
+
21783
+ def initialize(**args)
21784
+ update!(**args)
21785
+ end
21786
+
21787
+ # Update properties of this object
21788
+ def update!(**args)
21789
+ @key = args[:key] if args.key?(:key)
21790
+ @value = args[:value] if args.key?(:value)
21791
+ end
21792
+ end
21793
+ end
21794
+ end
21795
+
21796
+ #
21797
+ class InterconnectRemoteLocationPermittedConnections
21798
+ include Google::Apis::Core::Hashable
21799
+
21800
+ # [Output-only] URL of an Interconnect location that is permitted to connect to
21801
+ # this Interconnect remote location.
21802
+ # Corresponds to the JSON property `interconnectLocation`
21803
+ # @return [String]
21804
+ attr_accessor :interconnect_location
21805
+
21806
+ def initialize(**args)
21807
+ update!(**args)
21808
+ end
21809
+
21810
+ # Update properties of this object
21811
+ def update!(**args)
21812
+ @interconnect_location = args[:interconnect_location] if args.key?(:interconnect_location)
21813
+ end
21814
+ end
21815
+
21421
21816
  # Response for the InterconnectsGetDiagnosticsRequest.
21422
21817
  class InterconnectsGetDiagnosticsResponse
21423
21818
  include Google::Apis::Core::Hashable
@@ -22316,7 +22711,7 @@ module Google
22316
22711
  # @return [Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints]
22317
22712
  attr_accessor :constraints
22318
22713
 
22319
- # Preference for a given location.
22714
+ # Preference for a given location. Set to either ALLOW or DENY.
22320
22715
  # Corresponds to the JSON property `preference`
22321
22716
  # @return [String]
22322
22717
  attr_accessor :preference
@@ -29679,6 +30074,12 @@ module Google
29679
30074
  class PathMatcher
29680
30075
  include Google::Apis::Core::Hashable
29681
30076
 
30077
+ # Specifies the custom error response policy that must be applied when the
30078
+ # backend service or backend bucket responds with an error.
30079
+ # Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
30080
+ # @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
30081
+ attr_accessor :default_custom_error_response_policy
30082
+
29682
30083
  # defaultRouteAction takes effect when none of the pathRules or routeRules match.
29683
30084
  # The load balancer performs advanced routing actions, such as URL rewrites and
29684
30085
  # header transformations, before forwarding the request to the selected backend.
@@ -29756,6 +30157,7 @@ module Google
29756
30157
 
29757
30158
  # Update properties of this object
29758
30159
  def update!(**args)
30160
+ @default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
29759
30161
  @default_route_action = args[:default_route_action] if args.key?(:default_route_action)
29760
30162
  @default_service = args[:default_service] if args.key?(:default_service)
29761
30163
  @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
@@ -29772,6 +30174,12 @@ module Google
29772
30174
  class PathRule
29773
30175
  include Google::Apis::Core::Hashable
29774
30176
 
30177
+ # Specifies the custom error response policy that must be applied when the
30178
+ # backend service or backend bucket responds with an error.
30179
+ # Corresponds to the JSON property `customErrorResponsePolicy`
30180
+ # @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
30181
+ attr_accessor :custom_error_response_policy
30182
+
29775
30183
  # The list of path patterns to match. Each must start with / and the only place
29776
30184
  # a * is allowed is at the end following a /. The string fed to the path matcher
29777
30185
  # does not include any text after the first ? or #, and those chars are not
@@ -29813,6 +30221,7 @@ module Google
29813
30221
 
29814
30222
  # Update properties of this object
29815
30223
  def update!(**args)
30224
+ @custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
29816
30225
  @paths = args[:paths] if args.key?(:paths)
29817
30226
  @route_action = args[:route_action] if args.key?(:route_action)
29818
30227
  @service = args[:service] if args.key?(:service)
@@ -31217,14 +31626,173 @@ module Google
31217
31626
  end
31218
31627
  end
31219
31628
 
31220
- # Represents a sub PublicDelegatedPrefix.
31221
- class PublicDelegatedPrefixPublicDelegatedSubPrefix
31629
+ # Represents a sub PublicDelegatedPrefix.
31630
+ class PublicDelegatedPrefixPublicDelegatedSubPrefix
31631
+ include Google::Apis::Core::Hashable
31632
+
31633
+ # Name of the project scoping this PublicDelegatedSubPrefix.
31634
+ # Corresponds to the JSON property `delegateeProject`
31635
+ # @return [String]
31636
+ attr_accessor :delegatee_project
31637
+
31638
+ # An optional description of this resource. Provide this property when you
31639
+ # create the resource.
31640
+ # Corresponds to the JSON property `description`
31641
+ # @return [String]
31642
+ attr_accessor :description
31643
+
31644
+ # The IPv4 address range, in CIDR format, represented by this sub public
31645
+ # delegated prefix.
31646
+ # Corresponds to the JSON property `ipCidrRange`
31647
+ # @return [String]
31648
+ attr_accessor :ip_cidr_range
31649
+
31650
+ # Whether the sub prefix is delegated to create Address resources in the
31651
+ # delegatee project.
31652
+ # Corresponds to the JSON property `isAddress`
31653
+ # @return [Boolean]
31654
+ attr_accessor :is_address
31655
+ alias_method :is_address?, :is_address
31656
+
31657
+ # The name of the sub public delegated prefix.
31658
+ # Corresponds to the JSON property `name`
31659
+ # @return [String]
31660
+ attr_accessor :name
31661
+
31662
+ # [Output Only] The region of the sub public delegated prefix if it is regional.
31663
+ # If absent, the sub prefix is global.
31664
+ # Corresponds to the JSON property `region`
31665
+ # @return [String]
31666
+ attr_accessor :region
31667
+
31668
+ # [Output Only] The status of the sub public delegated prefix.
31669
+ # Corresponds to the JSON property `status`
31670
+ # @return [String]
31671
+ attr_accessor :status
31672
+
31673
+ def initialize(**args)
31674
+ update!(**args)
31675
+ end
31676
+
31677
+ # Update properties of this object
31678
+ def update!(**args)
31679
+ @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
31680
+ @description = args[:description] if args.key?(:description)
31681
+ @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
31682
+ @is_address = args[:is_address] if args.key?(:is_address)
31683
+ @name = args[:name] if args.key?(:name)
31684
+ @region = args[:region] if args.key?(:region)
31685
+ @status = args[:status] if args.key?(:status)
31686
+ end
31687
+ end
31688
+
31689
+ #
31690
+ class PublicDelegatedPrefixesScopedList
31691
+ include Google::Apis::Core::Hashable
31692
+
31693
+ # [Output Only] A list of PublicDelegatedPrefixes contained in this scope.
31694
+ # Corresponds to the JSON property `publicDelegatedPrefixes`
31695
+ # @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefix>]
31696
+ attr_accessor :public_delegated_prefixes
31697
+
31698
+ # [Output Only] Informational warning which replaces the list of public
31699
+ # delegated prefixes when the list is empty.
31700
+ # Corresponds to the JSON property `warning`
31701
+ # @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning]
31702
+ attr_accessor :warning
31703
+
31704
+ def initialize(**args)
31705
+ update!(**args)
31706
+ end
31707
+
31708
+ # Update properties of this object
31709
+ def update!(**args)
31710
+ @public_delegated_prefixes = args[:public_delegated_prefixes] if args.key?(:public_delegated_prefixes)
31711
+ @warning = args[:warning] if args.key?(:warning)
31712
+ end
31713
+
31714
+ # [Output Only] Informational warning which replaces the list of public
31715
+ # delegated prefixes when the list is empty.
31716
+ class Warning
31717
+ include Google::Apis::Core::Hashable
31718
+
31719
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
31720
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
31721
+ # Corresponds to the JSON property `code`
31722
+ # @return [String]
31723
+ attr_accessor :code
31724
+
31725
+ # [Output Only] Metadata about this warning in key: value format. For example: "
31726
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31727
+ # Corresponds to the JSON property `data`
31728
+ # @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning::Datum>]
31729
+ attr_accessor :data
31730
+
31731
+ # [Output Only] A human-readable description of the warning code.
31732
+ # Corresponds to the JSON property `message`
31733
+ # @return [String]
31734
+ attr_accessor :message
31735
+
31736
+ def initialize(**args)
31737
+ update!(**args)
31738
+ end
31739
+
31740
+ # Update properties of this object
31741
+ def update!(**args)
31742
+ @code = args[:code] if args.key?(:code)
31743
+ @data = args[:data] if args.key?(:data)
31744
+ @message = args[:message] if args.key?(:message)
31745
+ end
31746
+
31747
+ #
31748
+ class Datum
31749
+ include Google::Apis::Core::Hashable
31750
+
31751
+ # [Output Only] A key that provides more detail on the warning being returned.
31752
+ # For example, for warnings where there are no results in a list request for a
31753
+ # particular zone, this key might be scope and the key value might be the zone
31754
+ # name. Other examples might be a key indicating a deprecated resource and a
31755
+ # suggested replacement, or a warning about invalid network settings (for
31756
+ # example, if an instance attempts to perform IP forwarding but is not enabled
31757
+ # for IP forwarding).
31758
+ # Corresponds to the JSON property `key`
31759
+ # @return [String]
31760
+ attr_accessor :key
31761
+
31762
+ # [Output Only] A warning data value corresponding to the key.
31763
+ # Corresponds to the JSON property `value`
31764
+ # @return [String]
31765
+ attr_accessor :value
31766
+
31767
+ def initialize(**args)
31768
+ update!(**args)
31769
+ end
31770
+
31771
+ # Update properties of this object
31772
+ def update!(**args)
31773
+ @key = args[:key] if args.key?(:key)
31774
+ @value = args[:value] if args.key?(:value)
31775
+ end
31776
+ end
31777
+ end
31778
+ end
31779
+
31780
+ # QueuedResource represents a request for future capacity. The capacity is
31781
+ # delivered in the form of other GCE resources, either Instances or Reservations.
31782
+ class QueuedResource
31222
31783
  include Google::Apis::Core::Hashable
31223
31784
 
31224
- # Name of the project scoping this PublicDelegatedSubPrefix.
31225
- # Corresponds to the JSON property `delegateeProject`
31785
+ # A transient resource used in compute.instances.bulkInsert and compute.
31786
+ # regionInstances.bulkInsert . This resource is not persisted anywhere, it is
31787
+ # used only for processing the requests.
31788
+ # Corresponds to the JSON property `bulkInsertInstanceResource`
31789
+ # @return [Google::Apis::ComputeAlpha::BulkInsertInstanceResource]
31790
+ attr_accessor :bulk_insert_instance_resource
31791
+
31792
+ # [Output Only] Creation timestamp in RFC3339 text format.
31793
+ # Corresponds to the JSON property `creationTimestamp`
31226
31794
  # @return [String]
31227
- attr_accessor :delegatee_project
31795
+ attr_accessor :creation_timestamp
31228
31796
 
31229
31797
  # An optional description of this resource. Provide this property when you
31230
31798
  # create the resource.
@@ -31232,64 +31800,134 @@ module Google
31232
31800
  # @return [String]
31233
31801
  attr_accessor :description
31234
31802
 
31235
- # The IPv4 address range, in CIDR format, represented by this sub public
31236
- # delegated prefix.
31237
- # Corresponds to the JSON property `ipCidrRange`
31238
- # @return [String]
31239
- attr_accessor :ip_cidr_range
31803
+ # [Output Only] The unique identifier for the resource. This identifier is
31804
+ # defined by the server.
31805
+ # Corresponds to the JSON property `id`
31806
+ # @return [Fixnum]
31807
+ attr_accessor :id
31240
31808
 
31241
- # Whether the sub prefix is delegated to create Address resources in the
31242
- # delegatee project.
31243
- # Corresponds to the JSON property `isAddress`
31244
- # @return [Boolean]
31245
- attr_accessor :is_address
31246
- alias_method :is_address?, :is_address
31809
+ # [Output Only] Type of the resource. Always compute#queuedResource for
31810
+ # QueuedResources.
31811
+ # Corresponds to the JSON property `kind`
31812
+ # @return [String]
31813
+ attr_accessor :kind
31247
31814
 
31248
- # The name of the sub public delegated prefix.
31815
+ # Name of the resource. Provided by the client when the resource is created. The
31816
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
31817
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
31818
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
31819
+ # and all following characters must be a dash, lowercase letter, or digit,
31820
+ # except the last character, which cannot be a dash.
31249
31821
  # Corresponds to the JSON property `name`
31250
31822
  # @return [String]
31251
31823
  attr_accessor :name
31252
31824
 
31253
- # [Output Only] The region of the sub public delegated prefix if it is regional.
31254
- # If absent, the sub prefix is global.
31825
+ # Queuing parameters for the requested deferred capacity.
31826
+ # Corresponds to the JSON property `queuingPolicy`
31827
+ # @return [Google::Apis::ComputeAlpha::QueuingPolicy]
31828
+ attr_accessor :queuing_policy
31829
+
31830
+ # [Output Only] URL of the region where the resource resides. Only applicable
31831
+ # for regional resources. You must specify this field as part of the HTTP
31832
+ # request URL. It is not settable as a field in the request body.
31255
31833
  # Corresponds to the JSON property `region`
31256
31834
  # @return [String]
31257
31835
  attr_accessor :region
31258
31836
 
31259
- # [Output Only] The status of the sub public delegated prefix.
31260
- # Corresponds to the JSON property `status`
31837
+ # [Output only] Server-defined URL for the resource.
31838
+ # Corresponds to the JSON property `selfLink`
31839
+ # @return [String]
31840
+ attr_accessor :self_link
31841
+
31842
+ # [Output Only] Server-defined URL for this resource with the resource id.
31843
+ # Corresponds to the JSON property `selfLinkWithId`
31261
31844
  # @return [String]
31845
+ attr_accessor :self_link_with_id
31846
+
31847
+ # [Output only] High-level status of the request.
31848
+ # Corresponds to the JSON property `state`
31849
+ # @return [String]
31850
+ attr_accessor :state
31851
+
31852
+ # [Output only] Result of queuing and provisioning based on deferred capacity.
31853
+ # Corresponds to the JSON property `status`
31854
+ # @return [Google::Apis::ComputeAlpha::QueuedResourceStatus]
31262
31855
  attr_accessor :status
31263
31856
 
31857
+ # [Output Only] URL of the zone where the resource resides. Only applicable for
31858
+ # zonal resources. You must specify this field as part of the HTTP request URL.
31859
+ # It is not settable as a field in the request body.
31860
+ # Corresponds to the JSON property `zone`
31861
+ # @return [String]
31862
+ attr_accessor :zone
31863
+
31264
31864
  def initialize(**args)
31265
31865
  update!(**args)
31266
31866
  end
31267
31867
 
31268
31868
  # Update properties of this object
31269
31869
  def update!(**args)
31270
- @delegatee_project = args[:delegatee_project] if args.key?(:delegatee_project)
31870
+ @bulk_insert_instance_resource = args[:bulk_insert_instance_resource] if args.key?(:bulk_insert_instance_resource)
31871
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
31271
31872
  @description = args[:description] if args.key?(:description)
31272
- @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
31273
- @is_address = args[:is_address] if args.key?(:is_address)
31873
+ @id = args[:id] if args.key?(:id)
31874
+ @kind = args[:kind] if args.key?(:kind)
31274
31875
  @name = args[:name] if args.key?(:name)
31876
+ @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
31275
31877
  @region = args[:region] if args.key?(:region)
31878
+ @self_link = args[:self_link] if args.key?(:self_link)
31879
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
31880
+ @state = args[:state] if args.key?(:state)
31276
31881
  @status = args[:status] if args.key?(:status)
31882
+ @zone = args[:zone] if args.key?(:zone)
31277
31883
  end
31278
31884
  end
31279
31885
 
31280
31886
  #
31281
- class PublicDelegatedPrefixesScopedList
31887
+ class QueuedResourceList
31282
31888
  include Google::Apis::Core::Hashable
31283
31889
 
31284
- # [Output Only] A list of PublicDelegatedPrefixes contained in this scope.
31285
- # Corresponds to the JSON property `publicDelegatedPrefixes`
31286
- # @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefix>]
31287
- attr_accessor :public_delegated_prefixes
31890
+ #
31891
+ # Corresponds to the JSON property `etag`
31892
+ # @return [String]
31893
+ attr_accessor :etag
31288
31894
 
31289
- # [Output Only] Informational warning which replaces the list of public
31290
- # delegated prefixes when the list is empty.
31895
+ # Unique identifier for the resource; defined by the server.
31896
+ # Corresponds to the JSON property `id`
31897
+ # @return [String]
31898
+ attr_accessor :id
31899
+
31900
+ # A list of QueuedResource resources.
31901
+ # Corresponds to the JSON property `items`
31902
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResource>]
31903
+ attr_accessor :items
31904
+
31905
+ # Type of resource.
31906
+ # Corresponds to the JSON property `kind`
31907
+ # @return [String]
31908
+ attr_accessor :kind
31909
+
31910
+ # This token allows you to get the next page of results for maxResults, use the
31911
+ # nextPageToken as a value for the query parameter pageToken in the next list
31912
+ # request. Subsequent list requests will have their own nextPageToken to
31913
+ # continue paging through the results.
31914
+ # Corresponds to the JSON property `nextPageToken`
31915
+ # @return [String]
31916
+ attr_accessor :next_page_token
31917
+
31918
+ # [Output only] Server-defined URL for this resource.
31919
+ # Corresponds to the JSON property `selfLink`
31920
+ # @return [String]
31921
+ attr_accessor :self_link
31922
+
31923
+ # [Output only] Unreachable resources.
31924
+ # Corresponds to the JSON property `unreachables`
31925
+ # @return [Array<String>]
31926
+ attr_accessor :unreachables
31927
+
31928
+ # Informational warning message.
31291
31929
  # Corresponds to the JSON property `warning`
31292
- # @return [Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning]
31930
+ # @return [Google::Apis::ComputeAlpha::QueuedResourceList::Warning]
31293
31931
  attr_accessor :warning
31294
31932
 
31295
31933
  def initialize(**args)
@@ -31298,12 +31936,17 @@ module Google
31298
31936
 
31299
31937
  # Update properties of this object
31300
31938
  def update!(**args)
31301
- @public_delegated_prefixes = args[:public_delegated_prefixes] if args.key?(:public_delegated_prefixes)
31939
+ @etag = args[:etag] if args.key?(:etag)
31940
+ @id = args[:id] if args.key?(:id)
31941
+ @items = args[:items] if args.key?(:items)
31942
+ @kind = args[:kind] if args.key?(:kind)
31943
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
31944
+ @self_link = args[:self_link] if args.key?(:self_link)
31945
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
31302
31946
  @warning = args[:warning] if args.key?(:warning)
31303
31947
  end
31304
31948
 
31305
- # [Output Only] Informational warning which replaces the list of public
31306
- # delegated prefixes when the list is empty.
31949
+ # Informational warning message.
31307
31950
  class Warning
31308
31951
  include Google::Apis::Core::Hashable
31309
31952
 
@@ -31316,7 +31959,7 @@ module Google
31316
31959
  # [Output Only] Metadata about this warning in key: value format. For example: "
31317
31960
  # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
31318
31961
  # Corresponds to the JSON property `data`
31319
- # @return [Array<Google::Apis::ComputeAlpha::PublicDelegatedPrefixesScopedList::Warning::Datum>]
31962
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum>]
31320
31963
  attr_accessor :data
31321
31964
 
31322
31965
  # [Output Only] A human-readable description of the warning code.
@@ -31368,6 +32011,166 @@ module Google
31368
32011
  end
31369
32012
  end
31370
32013
 
32014
+ # [Output only] Result of queuing and provisioning based on deferred capacity.
32015
+ class QueuedResourceStatus
32016
+ include Google::Apis::Core::Hashable
32017
+
32018
+ # Additional status detail for the FAILED state.
32019
+ # Corresponds to the JSON property `failedData`
32020
+ # @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData]
32021
+ attr_accessor :failed_data
32022
+
32023
+ # [Output only] Fully qualified URL of the provisioning GCE operation to track
32024
+ # the provisioning along with provisioning errors. The referenced operation may
32025
+ # not exist after having been deleted or expired.
32026
+ # Corresponds to the JSON property `provisioningOperations`
32027
+ # @return [Array<String>]
32028
+ attr_accessor :provisioning_operations
32029
+
32030
+ # Queuing parameters for the requested deferred capacity.
32031
+ # Corresponds to the JSON property `queuingPolicy`
32032
+ # @return [Google::Apis::ComputeAlpha::QueuingPolicy]
32033
+ attr_accessor :queuing_policy
32034
+
32035
+ def initialize(**args)
32036
+ update!(**args)
32037
+ end
32038
+
32039
+ # Update properties of this object
32040
+ def update!(**args)
32041
+ @failed_data = args[:failed_data] if args.key?(:failed_data)
32042
+ @provisioning_operations = args[:provisioning_operations] if args.key?(:provisioning_operations)
32043
+ @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
32044
+ end
32045
+ end
32046
+
32047
+ # Additional status detail for the FAILED state.
32048
+ class QueuedResourceStatusFailedData
32049
+ include Google::Apis::Core::Hashable
32050
+
32051
+ # The error(s) that caused the QueuedResource to enter the FAILED state.
32052
+ # Corresponds to the JSON property `error`
32053
+ # @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error]
32054
+ attr_accessor :error
32055
+
32056
+ def initialize(**args)
32057
+ update!(**args)
32058
+ end
32059
+
32060
+ # Update properties of this object
32061
+ def update!(**args)
32062
+ @error = args[:error] if args.key?(:error)
32063
+ end
32064
+
32065
+ # The error(s) that caused the QueuedResource to enter the FAILED state.
32066
+ class Error
32067
+ include Google::Apis::Core::Hashable
32068
+
32069
+ # [Output Only] The array of errors encountered while processing this operation.
32070
+ # Corresponds to the JSON property `errors`
32071
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error>]
32072
+ attr_accessor :errors
32073
+
32074
+ def initialize(**args)
32075
+ update!(**args)
32076
+ end
32077
+
32078
+ # Update properties of this object
32079
+ def update!(**args)
32080
+ @errors = args[:errors] if args.key?(:errors)
32081
+ end
32082
+
32083
+ #
32084
+ class Error
32085
+ include Google::Apis::Core::Hashable
32086
+
32087
+ # [Output Only] The error type identifier for this error.
32088
+ # Corresponds to the JSON property `code`
32089
+ # @return [String]
32090
+ attr_accessor :code
32091
+
32092
+ # [Output Only] An optional list of messages that contain the error details.
32093
+ # There is a set of defined message types to use for providing details.The
32094
+ # syntax depends on the error code. For example, QuotaExceededInfo will have
32095
+ # details when the error code is QUOTA_EXCEEDED.
32096
+ # Corresponds to the JSON property `errorDetails`
32097
+ # @return [Array<Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail>]
32098
+ attr_accessor :error_details
32099
+
32100
+ # [Output Only] Indicates the field in the request that caused the error. This
32101
+ # property is optional.
32102
+ # Corresponds to the JSON property `location`
32103
+ # @return [String]
32104
+ attr_accessor :location
32105
+
32106
+ # [Output Only] An optional, human-readable error message.
32107
+ # Corresponds to the JSON property `message`
32108
+ # @return [String]
32109
+ attr_accessor :message
32110
+
32111
+ def initialize(**args)
32112
+ update!(**args)
32113
+ end
32114
+
32115
+ # Update properties of this object
32116
+ def update!(**args)
32117
+ @code = args[:code] if args.key?(:code)
32118
+ @error_details = args[:error_details] if args.key?(:error_details)
32119
+ @location = args[:location] if args.key?(:location)
32120
+ @message = args[:message] if args.key?(:message)
32121
+ end
32122
+
32123
+ #
32124
+ class ErrorDetail
32125
+ include Google::Apis::Core::Hashable
32126
+
32127
+ # Describes the cause of the error with structured details. Example of an error
32128
+ # when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
32129
+ # reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
32130
+ # projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
32131
+ # that the pubsub.googleapis.com API is not enabled. Example of an error that is
32132
+ # returned when attempting to create a Spanner instance in a region that is out
32133
+ # of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
32134
+ # : ` "availableRegions": "us-central1,us-east2" ` `
32135
+ # Corresponds to the JSON property `errorInfo`
32136
+ # @return [Google::Apis::ComputeAlpha::ErrorInfo]
32137
+ attr_accessor :error_info
32138
+
32139
+ # Provides links to documentation or for performing an out of band action. For
32140
+ # example, if a quota check failed with an error indicating the calling project
32141
+ # hasn't enabled the accessed service, this can contain a URL pointing directly
32142
+ # to the right place in the developer console to flip the bit.
32143
+ # Corresponds to the JSON property `help`
32144
+ # @return [Google::Apis::ComputeAlpha::Help]
32145
+ attr_accessor :help
32146
+
32147
+ # Provides a localized error message that is safe to return to the user which
32148
+ # can be attached to an RPC error.
32149
+ # Corresponds to the JSON property `localizedMessage`
32150
+ # @return [Google::Apis::ComputeAlpha::LocalizedMessage]
32151
+ attr_accessor :localized_message
32152
+
32153
+ # Additional details for quota exceeded error for resource quota.
32154
+ # Corresponds to the JSON property `quotaInfo`
32155
+ # @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
32156
+ attr_accessor :quota_info
32157
+
32158
+ def initialize(**args)
32159
+ update!(**args)
32160
+ end
32161
+
32162
+ # Update properties of this object
32163
+ def update!(**args)
32164
+ @error_info = args[:error_info] if args.key?(:error_info)
32165
+ @help = args[:help] if args.key?(:help)
32166
+ @localized_message = args[:localized_message] if args.key?(:localized_message)
32167
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
32168
+ end
32169
+ end
32170
+ end
32171
+ end
32172
+ end
32173
+
31371
32174
  # Queuing parameters for the requested deferred capacity.
31372
32175
  class QueuingPolicy
31373
32176
  include Google::Apis::Core::Hashable
@@ -37258,6 +38061,11 @@ module Google
37258
38061
  class SavedDisk
37259
38062
  include Google::Apis::Core::Hashable
37260
38063
 
38064
+ # [Output Only] The architecture of the attached disk.
38065
+ # Corresponds to the JSON property `architecture`
38066
+ # @return [String]
38067
+ attr_accessor :architecture
38068
+
37261
38069
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
37262
38070
  # disks.
37263
38071
  # Corresponds to the JSON property `kind`
@@ -37288,6 +38096,7 @@ module Google
37288
38096
 
37289
38097
  # Update properties of this object
37290
38098
  def update!(**args)
38099
+ @architecture = args[:architecture] if args.key?(:architecture)
37291
38100
  @kind = args[:kind] if args.key?(:kind)
37292
38101
  @source_disk = args[:source_disk] if args.key?(:source_disk)
37293
38102
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -46338,6 +47147,12 @@ module Google
46338
47147
  # @return [String]
46339
47148
  attr_accessor :creation_timestamp
46340
47149
 
47150
+ # Specifies the custom error response policy that must be applied when the
47151
+ # backend service or backend bucket responds with an error.
47152
+ # Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
47153
+ # @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
47154
+ attr_accessor :default_custom_error_response_policy
47155
+
46341
47156
  # defaultRouteAction takes effect when none of the hostRules match. The load
46342
47157
  # balancer performs advanced routing actions, such as URL rewrites and header
46343
47158
  # transformations, before forwarding the request to the selected backend. If
@@ -46451,6 +47266,7 @@ module Google
46451
47266
  # Update properties of this object
46452
47267
  def update!(**args)
46453
47268
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
47269
+ @default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
46454
47270
  @default_route_action = args[:default_route_action] if args.key?(:default_route_action)
46455
47271
  @default_service = args[:default_service] if args.key?(:default_service)
46456
47272
  @default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)