google-apis-compute_beta 0.94.0 → 0.96.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8aa77589199747bbc68ae87c0b8815d08eb547d9fca90f3567a65bb5e1154a3b
4
- data.tar.gz: f268a2cee9a76e5a6f2b9ad8b15459143312fd8c102ac7b1bb3fa9f72d0b21fb
3
+ metadata.gz: b908093f62049af5dfa28e27b807b510e5941589aa462866c872919aafab75b4
4
+ data.tar.gz: bcb3e69ee37d1ab6f9c3c0f1561ca09d836eda19db3a6ee9b5f00d1ab145b3b1
5
5
  SHA512:
6
- metadata.gz: '084f20ef99e0f9c409f65b29ffd51d25768ab47acec3c247aa76c1345316dd5191fa6340ce978c94e5a9d3db74eaed59d7e61457f5ecf73a56aef4ccfe2d6209'
7
- data.tar.gz: 7b1c3c4c962cf573bbb167f12da311c71bd555461aff3b37df577291997037ddf3a197b5ed798088915e45947d6b25379c5ef553d4b5a26e0f3d2b310954db58
6
+ metadata.gz: 4cb401a6fd20a5e86d575082605d0b6632188aa45fc169c39d521400d800c727c9017517ce4277d286ea13838ab5e4747b61b1d21fed8eaa77b217090ef5063a
7
+ data.tar.gz: cf2c4c1a60e1f7b6319975a7a8693ad56803f18fb6cab6dbaab56ab8e1bcaee925ea3b66927214ad48322eb7470947990dcfa0f556c9f873767ddfcbf28b3257
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.96.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240312
6
+
7
+ ### v0.95.0 (2024-03-17)
8
+
9
+ * Regenerated from discovery document revision 20240305
10
+
3
11
  ### v0.94.0 (2024-03-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20240227
@@ -5110,6 +5110,101 @@ module Google
5110
5110
  end
5111
5111
  end
5112
5112
 
5113
+ #
5114
+ class BgpRoute
5115
+ include Google::Apis::Core::Hashable
5116
+
5117
+ # [Output only] AS-PATH for the route
5118
+ # Corresponds to the JSON property `asPaths`
5119
+ # @return [Array<Google::Apis::ComputeBeta::BgpRouteAsPath>]
5120
+ attr_accessor :as_paths
5121
+
5122
+ # [Output only] BGP communities in human-readable A:B format.
5123
+ # Corresponds to the JSON property `communities`
5124
+ # @return [Array<String>]
5125
+ attr_accessor :communities
5126
+
5127
+ # Network Layer Reachability Information (NLRI) for a route.
5128
+ # Corresponds to the JSON property `destination`
5129
+ # @return [Google::Apis::ComputeBeta::BgpRouteNetworkLayerReachabilityInformation]
5130
+ attr_accessor :destination
5131
+
5132
+ # [Output only] BGP multi-exit discriminator
5133
+ # Corresponds to the JSON property `med`
5134
+ # @return [Fixnum]
5135
+ attr_accessor :med
5136
+
5137
+ # [Output only] BGP origin (EGP, IGP or INCOMPLETE)
5138
+ # Corresponds to the JSON property `origin`
5139
+ # @return [String]
5140
+ attr_accessor :origin
5141
+
5142
+ def initialize(**args)
5143
+ update!(**args)
5144
+ end
5145
+
5146
+ # Update properties of this object
5147
+ def update!(**args)
5148
+ @as_paths = args[:as_paths] if args.key?(:as_paths)
5149
+ @communities = args[:communities] if args.key?(:communities)
5150
+ @destination = args[:destination] if args.key?(:destination)
5151
+ @med = args[:med] if args.key?(:med)
5152
+ @origin = args[:origin] if args.key?(:origin)
5153
+ end
5154
+ end
5155
+
5156
+ #
5157
+ class BgpRouteAsPath
5158
+ include Google::Apis::Core::Hashable
5159
+
5160
+ # [Output only] ASNs in the path segment. When type is SEQUENCE, these are
5161
+ # ordered.
5162
+ # Corresponds to the JSON property `asns`
5163
+ # @return [Array<Fixnum>]
5164
+ attr_accessor :asns
5165
+
5166
+ # [Output only] Type of AS-PATH segment (SEQUENCE or SET)
5167
+ # Corresponds to the JSON property `type`
5168
+ # @return [String]
5169
+ attr_accessor :type
5170
+
5171
+ def initialize(**args)
5172
+ update!(**args)
5173
+ end
5174
+
5175
+ # Update properties of this object
5176
+ def update!(**args)
5177
+ @asns = args[:asns] if args.key?(:asns)
5178
+ @type = args[:type] if args.key?(:type)
5179
+ end
5180
+ end
5181
+
5182
+ # Network Layer Reachability Information (NLRI) for a route.
5183
+ class BgpRouteNetworkLayerReachabilityInformation
5184
+ include Google::Apis::Core::Hashable
5185
+
5186
+ # If the BGP session supports multiple paths (RFC 7911), the path identifier for
5187
+ # this route.
5188
+ # Corresponds to the JSON property `pathId`
5189
+ # @return [Fixnum]
5190
+ attr_accessor :path_id
5191
+
5192
+ # Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16.
5193
+ # Corresponds to the JSON property `prefix`
5194
+ # @return [String]
5195
+ attr_accessor :prefix
5196
+
5197
+ def initialize(**args)
5198
+ update!(**args)
5199
+ end
5200
+
5201
+ # Update properties of this object
5202
+ def update!(**args)
5203
+ @path_id = args[:path_id] if args.key?(:path_id)
5204
+ @prefix = args[:prefix] if args.key?(:prefix)
5205
+ end
5206
+ end
5207
+
5113
5208
  # Associates `members`, or principals, with a `role`.
5114
5209
  class Binding
5115
5210
  include Google::Apis::Core::Hashable
@@ -6269,10 +6364,10 @@ module Google
6269
6364
  attr_accessor :allow_methods
6270
6365
 
6271
6366
  # Specifies a regular expression that matches allowed origins. For more
6272
- # information about the regular expression syntax, see Syntax. An origin is
6273
- # allowed if it matches either an item in allowOrigins or an item in
6274
- # allowOriginRegexes. Regular expressions can only be used when the
6275
- # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
6367
+ # information, see regular expression syntax . An origin is allowed if it
6368
+ # matches either an item in allowOrigins or an item in allowOriginRegexes.
6369
+ # Regular expressions can only be used when the loadBalancingScheme is set to
6370
+ # INTERNAL_SELF_MANAGED.
6276
6371
  # Corresponds to the JSON property `allowOriginRegexes`
6277
6372
  # @return [Array<String>]
6278
6373
  attr_accessor :allow_origin_regexes
@@ -6284,8 +6379,8 @@ module Google
6284
6379
  # @return [Array<String>]
6285
6380
  attr_accessor :allow_origins
6286
6381
 
6287
- # If true, the setting specifies the CORS policy is disabled. The default value
6288
- # of false, which indicates that the CORS policy is in effect.
6382
+ # If true, disables the CORS policy. The default value is false, which indicates
6383
+ # that the CORS policy is in effect.
6289
6384
  # Corresponds to the JSON property `disabled`
6290
6385
  # @return [Boolean]
6291
6386
  attr_accessor :disabled
@@ -15003,6 +15098,12 @@ module Google
15003
15098
  # @return [Google::Apis::ComputeBeta::InstanceParams]
15004
15099
  attr_accessor :params
15005
15100
 
15101
+ # Partner Metadata assigned to the instance. A map from a subdomain (namespace)
15102
+ # to entries map.
15103
+ # Corresponds to the JSON property `partnerMetadata`
15104
+ # @return [Hash<String,Google::Apis::ComputeBeta::StructuredEntries>]
15105
+ attr_accessor :partner_metadata
15106
+
15006
15107
  # PostKeyRevocationActionType of the instance.
15007
15108
  # Corresponds to the JSON property `postKeyRevocationActionType`
15008
15109
  # @return [String]
@@ -15162,6 +15263,7 @@ module Google
15162
15263
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
15163
15264
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
15164
15265
  @params = args[:params] if args.key?(:params)
15266
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
15165
15267
  @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
15166
15268
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
15167
15269
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -16486,10 +16588,9 @@ module Google
16486
16588
  class InstanceGroupManagerParams
16487
16589
  include Google::Apis::Core::Hashable
16488
16590
 
16489
- # Resource manager tags to be bound to the instance group manager. Tag keys and
16490
- # values have the same definition as resource manager tags. Keys must be in the
16491
- # format `tagKeys/123`, and values are in the format `tagValues/456`. The field
16492
- # is allowed for INSERT only.
16591
+ # Resource manager tags to bind to the managed instance group. The tags are key-
16592
+ # value pairs. Keys must be in the format tagKeys/123 and values in the format
16593
+ # tagValues/456. For more information, see Manage tags for resources.
16493
16594
  # Corresponds to the JSON property `resourceManagerTags`
16494
16595
  # @return [Hash<String,String>]
16495
16596
  attr_accessor :resource_manager_tags
@@ -16511,7 +16612,8 @@ module Google
16511
16612
  class InstanceGroupManagerResizeRequest
16512
16613
  include Google::Apis::Core::Hashable
16513
16614
 
16514
- # The count of instances to create as part of this resize request.
16615
+ # This field is deprecated, please use resize_by instead. The count of instances
16616
+ # to create as part of this resize request.
16515
16617
  # Corresponds to the JSON property `count`
16516
16618
  # @return [Fixnum]
16517
16619
  attr_accessor :count
@@ -18759,6 +18861,12 @@ module Google
18759
18861
  # @return [Google::Apis::ComputeBeta::NetworkPerformanceConfig]
18760
18862
  attr_accessor :network_performance_config
18761
18863
 
18864
+ # Partner Metadata assigned to the instance properties. A map from a subdomain (
18865
+ # namespace) to entries map.
18866
+ # Corresponds to the JSON property `partnerMetadata`
18867
+ # @return [Hash<String,Google::Apis::ComputeBeta::StructuredEntries>]
18868
+ attr_accessor :partner_metadata
18869
+
18762
18870
  # PostKeyRevocationActionType of the instance.
18763
18871
  # Corresponds to the JSON property `postKeyRevocationActionType`
18764
18872
  # @return [String]
@@ -18838,6 +18946,7 @@ module Google
18838
18946
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
18839
18947
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
18840
18948
  @network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
18949
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
18841
18950
  @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
18842
18951
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
18843
18952
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@@ -19522,7 +19631,7 @@ module Google
19522
19631
  attr_accessor :short_name
19523
19632
 
19524
19633
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
19525
- # NETWORK, NETWORK_REGIONAL.
19634
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
19526
19635
  # Corresponds to the JSON property `type`
19527
19636
  # @return [String]
19528
19637
  attr_accessor :type
@@ -30978,6 +31087,37 @@ module Google
30978
31087
  end
30979
31088
  end
30980
31089
 
31090
+ # Model definition of partner_metadata field. To be used in dedicated Partner
31091
+ # Metadata methods and to be inlined in the Instance and InstanceTemplate
31092
+ # resources.
31093
+ class PartnerMetadata
31094
+ include Google::Apis::Core::Hashable
31095
+
31096
+ # Instance-level hash to be used for optimistic locking.
31097
+ # Corresponds to the JSON property `fingerprint`
31098
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
31099
+ # @return [String]
31100
+ attr_accessor :fingerprint
31101
+
31102
+ # Partner Metadata assigned to the instance. A map from a subdomain to entries
31103
+ # map. Subdomain name must be compliant with RFC1035 definition. The total size
31104
+ # of all keys and values must be less than 2MB. Subdomain 'metadata.compute.
31105
+ # googleapis.com' is reserverd for instance's metadata.
31106
+ # Corresponds to the JSON property `partnerMetadata`
31107
+ # @return [Hash<String,Google::Apis::ComputeBeta::StructuredEntries>]
31108
+ attr_accessor :partner_metadata
31109
+
31110
+ def initialize(**args)
31111
+ update!(**args)
31112
+ end
31113
+
31114
+ # Update properties of this object
31115
+ def update!(**args)
31116
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
31117
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
31118
+ end
31119
+ end
31120
+
30981
31121
  # A matcher for the path portion of the URL. The BackendService from the longest-
30982
31122
  # matched rule will serve the URL. If no rule was matched, the default service
30983
31123
  # is used.
@@ -34281,7 +34421,7 @@ module Google
34281
34421
  attr_accessor :rules
34282
34422
 
34283
34423
  # [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
34284
- # NETWORK, NETWORK_REGIONAL.
34424
+ # NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
34285
34425
  # Corresponds to the JSON property `type`
34286
34426
  # @return [String]
34287
34427
  attr_accessor :type
@@ -36434,6 +36574,98 @@ module Google
36434
36574
  end
36435
36575
  end
36436
36576
 
36577
+ #
36578
+ class RoutePolicy
36579
+ include Google::Apis::Core::Hashable
36580
+
36581
+ # A fingerprint for the Route Policy being applied to this Router, which is
36582
+ # essentially a hash of the Route Policy used for optimistic locking. The
36583
+ # fingerprint is initially generated by Compute Engine and changes after every
36584
+ # request to modify or update Route Policy. You must always provide an up-to-
36585
+ # date fingerprint hash in order to update or change labels. To see the latest
36586
+ # fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
36587
+ # Corresponds to the JSON property `fingerprint`
36588
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
36589
+ # @return [String]
36590
+ attr_accessor :fingerprint
36591
+
36592
+ # Route Policy name, which must be a resource ID segment and unique within all
36593
+ # the router's Route Policies. Name should conform to RFC1035.
36594
+ # Corresponds to the JSON property `name`
36595
+ # @return [String]
36596
+ attr_accessor :name
36597
+
36598
+ # List of terms (the order in the list is not important, they are evaluated in
36599
+ # order of priority). Order of policies is not retained and might change when
36600
+ # getting policy later.
36601
+ # Corresponds to the JSON property `terms`
36602
+ # @return [Array<Google::Apis::ComputeBeta::RoutePolicyPolicyTerm>]
36603
+ attr_accessor :terms
36604
+
36605
+ #
36606
+ # Corresponds to the JSON property `type`
36607
+ # @return [String]
36608
+ attr_accessor :type
36609
+
36610
+ def initialize(**args)
36611
+ update!(**args)
36612
+ end
36613
+
36614
+ # Update properties of this object
36615
+ def update!(**args)
36616
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
36617
+ @name = args[:name] if args.key?(:name)
36618
+ @terms = args[:terms] if args.key?(:terms)
36619
+ @type = args[:type] if args.key?(:type)
36620
+ end
36621
+ end
36622
+
36623
+ #
36624
+ class RoutePolicyPolicyTerm
36625
+ include Google::Apis::Core::Hashable
36626
+
36627
+ # CEL expressions to evaluate to modify a route when this term matches.
36628
+ # Corresponds to the JSON property `actions`
36629
+ # @return [Array<Google::Apis::ComputeBeta::Expr>]
36630
+ attr_accessor :actions
36631
+
36632
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
36633
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
36634
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
36635
+ # "Summary size limit" description: "Determines if a summary is less than 100
36636
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
36637
+ # Requestor is owner" description: "Determines if requestor is the document
36638
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
36639
+ # Logic): title: "Public documents" description: "Determine whether the document
36640
+ # should be publicly visible" expression: "document.type != 'private' &&
36641
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
36642
+ # string" description: "Create a notification string with a timestamp."
36643
+ # expression: "'New message received at ' + string(document.create_time)" The
36644
+ # exact variables and functions that may be referenced within an expression are
36645
+ # determined by the service that evaluates it. See the service documentation for
36646
+ # additional information.
36647
+ # Corresponds to the JSON property `match`
36648
+ # @return [Google::Apis::ComputeBeta::Expr]
36649
+ attr_accessor :match
36650
+
36651
+ # The evaluation priority for this term, which must be between 0 (inclusive) and
36652
+ # 2^31 (exclusive), and unique within the list.
36653
+ # Corresponds to the JSON property `priority`
36654
+ # @return [Fixnum]
36655
+ attr_accessor :priority
36656
+
36657
+ def initialize(**args)
36658
+ update!(**args)
36659
+ end
36660
+
36661
+ # Update properties of this object
36662
+ def update!(**args)
36663
+ @actions = args[:actions] if args.key?(:actions)
36664
+ @match = args[:match] if args.key?(:match)
36665
+ @priority = args[:priority] if args.key?(:priority)
36666
+ end
36667
+ end
36668
+
36437
36669
  # Represents a Cloud Router resource. For more information about Cloud Router,
36438
36670
  # read the Cloud Router overview.
36439
36671
  class Router
@@ -37927,6 +38159,287 @@ module Google
37927
38159
  end
37928
38160
  end
37929
38161
 
38162
+ #
38163
+ class RoutersGetRoutePolicyResponse
38164
+ include Google::Apis::Core::Hashable
38165
+
38166
+ #
38167
+ # Corresponds to the JSON property `resource`
38168
+ # @return [Google::Apis::ComputeBeta::RoutePolicy]
38169
+ attr_accessor :resource
38170
+
38171
+ def initialize(**args)
38172
+ update!(**args)
38173
+ end
38174
+
38175
+ # Update properties of this object
38176
+ def update!(**args)
38177
+ @resource = args[:resource] if args.key?(:resource)
38178
+ end
38179
+ end
38180
+
38181
+ #
38182
+ class RoutersListBgpRoutes
38183
+ include Google::Apis::Core::Hashable
38184
+
38185
+ #
38186
+ # Corresponds to the JSON property `etag`
38187
+ # @return [String]
38188
+ attr_accessor :etag
38189
+
38190
+ # [Output Only] The unique identifier for the resource. This identifier is
38191
+ # defined by the server.
38192
+ # Corresponds to the JSON property `id`
38193
+ # @return [String]
38194
+ attr_accessor :id
38195
+
38196
+ # [Output Only] Type of resource. Always compute#routersListBgpRoutes for lists
38197
+ # of bgp routes.
38198
+ # Corresponds to the JSON property `kind`
38199
+ # @return [String]
38200
+ attr_accessor :kind
38201
+
38202
+ # [Output Only] This token allows you to get the next page of results for list
38203
+ # requests. If the number of results is larger than maxResults, use the
38204
+ # nextPageToken as a value for the query parameter pageToken in the next list
38205
+ # request. Subsequent list requests will have their own nextPageToken to
38206
+ # continue paging through the results.
38207
+ # Corresponds to the JSON property `nextPageToken`
38208
+ # @return [String]
38209
+ attr_accessor :next_page_token
38210
+
38211
+ # [Output Only] A list of bgp routes.
38212
+ # Corresponds to the JSON property `result`
38213
+ # @return [Array<Google::Apis::ComputeBeta::BgpRoute>]
38214
+ attr_accessor :result
38215
+
38216
+ # [Output Only] Server-defined URL for this resource.
38217
+ # Corresponds to the JSON property `selfLink`
38218
+ # @return [String]
38219
+ attr_accessor :self_link
38220
+
38221
+ # [Output Only] Unreachable resources.
38222
+ # Corresponds to the JSON property `unreachables`
38223
+ # @return [Array<String>]
38224
+ attr_accessor :unreachables
38225
+
38226
+ # [Output Only] Informational warning message.
38227
+ # Corresponds to the JSON property `warning`
38228
+ # @return [Google::Apis::ComputeBeta::RoutersListBgpRoutes::Warning]
38229
+ attr_accessor :warning
38230
+
38231
+ def initialize(**args)
38232
+ update!(**args)
38233
+ end
38234
+
38235
+ # Update properties of this object
38236
+ def update!(**args)
38237
+ @etag = args[:etag] if args.key?(:etag)
38238
+ @id = args[:id] if args.key?(:id)
38239
+ @kind = args[:kind] if args.key?(:kind)
38240
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
38241
+ @result = args[:result] if args.key?(:result)
38242
+ @self_link = args[:self_link] if args.key?(:self_link)
38243
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
38244
+ @warning = args[:warning] if args.key?(:warning)
38245
+ end
38246
+
38247
+ # [Output Only] Informational warning message.
38248
+ class Warning
38249
+ include Google::Apis::Core::Hashable
38250
+
38251
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
38252
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
38253
+ # Corresponds to the JSON property `code`
38254
+ # @return [String]
38255
+ attr_accessor :code
38256
+
38257
+ # [Output Only] Metadata about this warning in key: value format. For example: "
38258
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
38259
+ # Corresponds to the JSON property `data`
38260
+ # @return [Array<Google::Apis::ComputeBeta::RoutersListBgpRoutes::Warning::Datum>]
38261
+ attr_accessor :data
38262
+
38263
+ # [Output Only] A human-readable description of the warning code.
38264
+ # Corresponds to the JSON property `message`
38265
+ # @return [String]
38266
+ attr_accessor :message
38267
+
38268
+ def initialize(**args)
38269
+ update!(**args)
38270
+ end
38271
+
38272
+ # Update properties of this object
38273
+ def update!(**args)
38274
+ @code = args[:code] if args.key?(:code)
38275
+ @data = args[:data] if args.key?(:data)
38276
+ @message = args[:message] if args.key?(:message)
38277
+ end
38278
+
38279
+ #
38280
+ class Datum
38281
+ include Google::Apis::Core::Hashable
38282
+
38283
+ # [Output Only] A key that provides more detail on the warning being returned.
38284
+ # For example, for warnings where there are no results in a list request for a
38285
+ # particular zone, this key might be scope and the key value might be the zone
38286
+ # name. Other examples might be a key indicating a deprecated resource and a
38287
+ # suggested replacement, or a warning about invalid network settings (for
38288
+ # example, if an instance attempts to perform IP forwarding but is not enabled
38289
+ # for IP forwarding).
38290
+ # Corresponds to the JSON property `key`
38291
+ # @return [String]
38292
+ attr_accessor :key
38293
+
38294
+ # [Output Only] A warning data value corresponding to the key.
38295
+ # Corresponds to the JSON property `value`
38296
+ # @return [String]
38297
+ attr_accessor :value
38298
+
38299
+ def initialize(**args)
38300
+ update!(**args)
38301
+ end
38302
+
38303
+ # Update properties of this object
38304
+ def update!(**args)
38305
+ @key = args[:key] if args.key?(:key)
38306
+ @value = args[:value] if args.key?(:value)
38307
+ end
38308
+ end
38309
+ end
38310
+ end
38311
+
38312
+ #
38313
+ class RoutersListRoutePolicies
38314
+ include Google::Apis::Core::Hashable
38315
+
38316
+ #
38317
+ # Corresponds to the JSON property `etag`
38318
+ # @return [String]
38319
+ attr_accessor :etag
38320
+
38321
+ # [Output Only] The unique identifier for the resource. This identifier is
38322
+ # defined by the server.
38323
+ # Corresponds to the JSON property `id`
38324
+ # @return [String]
38325
+ attr_accessor :id
38326
+
38327
+ # [Output Only] Type of resource. Always compute#routersListRoutePolicies for
38328
+ # lists of route policies.
38329
+ # Corresponds to the JSON property `kind`
38330
+ # @return [String]
38331
+ attr_accessor :kind
38332
+
38333
+ # [Output Only] This token allows you to get the next page of results for list
38334
+ # requests. If the number of results is larger than maxResults, use the
38335
+ # nextPageToken as a value for the query parameter pageToken in the next list
38336
+ # request. Subsequent list requests will have their own nextPageToken to
38337
+ # continue paging through the results.
38338
+ # Corresponds to the JSON property `nextPageToken`
38339
+ # @return [String]
38340
+ attr_accessor :next_page_token
38341
+
38342
+ # [Output Only] A list of route policies.
38343
+ # Corresponds to the JSON property `result`
38344
+ # @return [Array<Google::Apis::ComputeBeta::RoutePolicy>]
38345
+ attr_accessor :result
38346
+
38347
+ # [Output Only] Server-defined URL for this resource.
38348
+ # Corresponds to the JSON property `selfLink`
38349
+ # @return [String]
38350
+ attr_accessor :self_link
38351
+
38352
+ # [Output Only] Unreachable resources.
38353
+ # Corresponds to the JSON property `unreachables`
38354
+ # @return [Array<String>]
38355
+ attr_accessor :unreachables
38356
+
38357
+ # [Output Only] Informational warning message.
38358
+ # Corresponds to the JSON property `warning`
38359
+ # @return [Google::Apis::ComputeBeta::RoutersListRoutePolicies::Warning]
38360
+ attr_accessor :warning
38361
+
38362
+ def initialize(**args)
38363
+ update!(**args)
38364
+ end
38365
+
38366
+ # Update properties of this object
38367
+ def update!(**args)
38368
+ @etag = args[:etag] if args.key?(:etag)
38369
+ @id = args[:id] if args.key?(:id)
38370
+ @kind = args[:kind] if args.key?(:kind)
38371
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
38372
+ @result = args[:result] if args.key?(:result)
38373
+ @self_link = args[:self_link] if args.key?(:self_link)
38374
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
38375
+ @warning = args[:warning] if args.key?(:warning)
38376
+ end
38377
+
38378
+ # [Output Only] Informational warning message.
38379
+ class Warning
38380
+ include Google::Apis::Core::Hashable
38381
+
38382
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
38383
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
38384
+ # Corresponds to the JSON property `code`
38385
+ # @return [String]
38386
+ attr_accessor :code
38387
+
38388
+ # [Output Only] Metadata about this warning in key: value format. For example: "
38389
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
38390
+ # Corresponds to the JSON property `data`
38391
+ # @return [Array<Google::Apis::ComputeBeta::RoutersListRoutePolicies::Warning::Datum>]
38392
+ attr_accessor :data
38393
+
38394
+ # [Output Only] A human-readable description of the warning code.
38395
+ # Corresponds to the JSON property `message`
38396
+ # @return [String]
38397
+ attr_accessor :message
38398
+
38399
+ def initialize(**args)
38400
+ update!(**args)
38401
+ end
38402
+
38403
+ # Update properties of this object
38404
+ def update!(**args)
38405
+ @code = args[:code] if args.key?(:code)
38406
+ @data = args[:data] if args.key?(:data)
38407
+ @message = args[:message] if args.key?(:message)
38408
+ end
38409
+
38410
+ #
38411
+ class Datum
38412
+ include Google::Apis::Core::Hashable
38413
+
38414
+ # [Output Only] A key that provides more detail on the warning being returned.
38415
+ # For example, for warnings where there are no results in a list request for a
38416
+ # particular zone, this key might be scope and the key value might be the zone
38417
+ # name. Other examples might be a key indicating a deprecated resource and a
38418
+ # suggested replacement, or a warning about invalid network settings (for
38419
+ # example, if an instance attempts to perform IP forwarding but is not enabled
38420
+ # for IP forwarding).
38421
+ # Corresponds to the JSON property `key`
38422
+ # @return [String]
38423
+ attr_accessor :key
38424
+
38425
+ # [Output Only] A warning data value corresponding to the key.
38426
+ # Corresponds to the JSON property `value`
38427
+ # @return [String]
38428
+ attr_accessor :value
38429
+
38430
+ def initialize(**args)
38431
+ update!(**args)
38432
+ end
38433
+
38434
+ # Update properties of this object
38435
+ def update!(**args)
38436
+ @key = args[:key] if args.key?(:key)
38437
+ @value = args[:value] if args.key?(:value)
38438
+ end
38439
+ end
38440
+ end
38441
+ end
38442
+
37930
38443
  #
37931
38444
  class RoutersPreviewResponse
37932
38445
  include Google::Apis::Core::Hashable
@@ -44616,6 +45129,26 @@ module Google
44616
45129
  end
44617
45130
  end
44618
45131
 
45132
+ #
45133
+ class StructuredEntries
45134
+ include Google::Apis::Core::Hashable
45135
+
45136
+ # Map of a partner metadata that belong to the same subdomain. It accepts any
45137
+ # value including google.protobuf.Struct.
45138
+ # Corresponds to the JSON property `entries`
45139
+ # @return [Hash<String,Object>]
45140
+ attr_accessor :entries
45141
+
45142
+ def initialize(**args)
45143
+ update!(**args)
45144
+ end
45145
+
45146
+ # Update properties of this object
45147
+ def update!(**args)
45148
+ @entries = args[:entries] if args.key?(:entries)
45149
+ end
45150
+ end
45151
+
44619
45152
  # Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a
44620
45153
  # logical partition of a Virtual Private Cloud network with one primary IP range
44621
45154
  # and zero or more secondary IP ranges. For more information, read Virtual