google-apis-compute_beta 0.53.0 → 0.54.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: ac7865556bb64d2580829327048702ecde9b9d2d78f8c40d938b8d4190d215a8
4
- data.tar.gz: 959c4296b21aa7597ff4e297649b05dafcac2b615bdcfbaf0b9d58a051f14209
3
+ metadata.gz: 8238690ba6df4c62c3f8ad2de8bcd124b8056dcc60951baf9617f00d438d798a
4
+ data.tar.gz: 3191111ab437d2ddac38d51d9f2e6a7134be77bc1a69b6f84e3f5d7c5ca05c05
5
5
  SHA512:
6
- metadata.gz: 535784927fb09f6ba9d433b263c29fe6b2e02e8d38dd60bbc83e57af8533b7e07cce321a9af150017cd0ac631d13340923ae6f8633a7792d73f90253fd264a5e
7
- data.tar.gz: 92c6cf2a3dd85bc3c5957bd31823d2f706c9106538ba5c50bd0e37c56005d90eb4191fdab92ac1a23e4677e537ad201fd5ad0b28b5f100b6fd922d5f9370bbdc
6
+ metadata.gz: e825d05414f0cad32fdd98bb00bba7de15c14fa0ce356f87785f3a671a0b59941f1b37f0c7a84294d484699b1c03b29263f6e559d75dbe28d2d65166517cf06d
7
+ data.tar.gz: 2f660fb97d583ad6ff67f46f7338e29e12a0b58501225e65213d2257c06d89bf935ae67aa783e6ad6b465d9dab295189faf37ad1c0c901bf83a6adfa8d134bbb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.54.0 (2022-11-12)
4
+
5
+ * Regenerated from discovery document revision 20221101
6
+
3
7
  ### v0.53.0 (2022-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20221026
@@ -22,6 +22,52 @@ module Google
22
22
  module Apis
23
23
  module ComputeBeta
24
24
 
25
+ # Contains the configurations necessary to generate a signature for access to
26
+ # private storage buckets that support Signature Version 4 for authentication.
27
+ # The service name for generating the authentication header will always default
28
+ # to 's3'.
29
+ class Awsv4Signature
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # The access key used for s3 bucket authentication. Required for updating or
33
+ # creating a backend that uses AWS v4 signature authentication, but will not be
34
+ # returned as part of the configuration when queried with a REST API GET request.
35
+ # @InputOnly
36
+ # Corresponds to the JSON property `accessKey`
37
+ # @return [String]
38
+ attr_accessor :access_key
39
+
40
+ # The identifier of an access key used for s3 bucket authentication.
41
+ # Corresponds to the JSON property `accessKeyId`
42
+ # @return [String]
43
+ attr_accessor :access_key_id
44
+
45
+ # The optional version identifier for the access key. You can use this to keep
46
+ # track of different iterations of your access key.
47
+ # Corresponds to the JSON property `accessKeyVersion`
48
+ # @return [String]
49
+ attr_accessor :access_key_version
50
+
51
+ # The name of the cloud region of your origin. This is a free-form field with
52
+ # the name of the region your cloud uses to host your origin. For example, "us-
53
+ # east-1" for AWS or "us-ashburn-1" for OCI.
54
+ # Corresponds to the JSON property `originRegion`
55
+ # @return [String]
56
+ attr_accessor :origin_region
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @access_key = args[:access_key] if args.key?(:access_key)
65
+ @access_key_id = args[:access_key_id] if args.key?(:access_key_id)
66
+ @access_key_version = args[:access_key_version] if args.key?(:access_key_version)
67
+ @origin_region = args[:origin_region] if args.key?(:origin_region)
68
+ end
69
+ end
70
+
25
71
  # A specification of the type and number of accelerator cards attached to the
26
72
  # instance.
27
73
  class AcceleratorConfig
@@ -12189,6 +12235,16 @@ module Google
12189
12235
  # @return [Array<Google::Apis::ComputeBeta::MetadataFilter>]
12190
12236
  attr_accessor :metadata_filters
12191
12237
 
12238
+ # If specified, the route is a pattern match expression that must match the :
12239
+ # path header once the query string is removed. A pattern match allows you to
12240
+ # match - The value must be between 1 and 1024 characters - The pattern must
12241
+ # start with a leading slash ("/") - There may be no more than 5 operators in
12242
+ # pattern Precisely one of prefix_match, full_path_match, regex_match or
12243
+ # path_template_match must be set.
12244
+ # Corresponds to the JSON property `pathTemplateMatch`
12245
+ # @return [String]
12246
+ attr_accessor :path_template_match
12247
+
12192
12248
  # For satisfying the matchRule condition, the request's path must begin with the
12193
12249
  # specified prefixMatch. prefixMatch must begin with a /. The value must be from
12194
12250
  # 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch
@@ -12224,6 +12280,7 @@ module Google
12224
12280
  @header_matches = args[:header_matches] if args.key?(:header_matches)
12225
12281
  @ignore_case = args[:ignore_case] if args.key?(:ignore_case)
12226
12282
  @metadata_filters = args[:metadata_filters] if args.key?(:metadata_filters)
12283
+ @path_template_match = args[:path_template_match] if args.key?(:path_template_match)
12227
12284
  @prefix_match = args[:prefix_match] if args.key?(:prefix_match)
12228
12285
  @query_parameter_matches = args[:query_parameter_matches] if args.key?(:query_parameter_matches)
12229
12286
  @regex_match = args[:regex_match] if args.key?(:regex_match)
@@ -30650,6 +30707,11 @@ module Google
30650
30707
  # @return [String]
30651
30708
  attr_accessor :physical_host
30652
30709
 
30710
+ #
30711
+ # Corresponds to the JSON property `scheduling`
30712
+ # @return [Google::Apis::ComputeBeta::ResourceStatusScheduling]
30713
+ attr_accessor :scheduling
30714
+
30653
30715
  def initialize(**args)
30654
30716
  update!(**args)
30655
30717
  end
@@ -30657,6 +30719,26 @@ module Google
30657
30719
  # Update properties of this object
30658
30720
  def update!(**args)
30659
30721
  @physical_host = args[:physical_host] if args.key?(:physical_host)
30722
+ @scheduling = args[:scheduling] if args.key?(:scheduling)
30723
+ end
30724
+ end
30725
+
30726
+ #
30727
+ class ResourceStatusScheduling
30728
+ include Google::Apis::Core::Hashable
30729
+
30730
+ # Time in future when the instance will be terminated in RFC3339 text format.
30731
+ # Corresponds to the JSON property `terminationTimestamp`
30732
+ # @return [String]
30733
+ attr_accessor :termination_timestamp
30734
+
30735
+ def initialize(**args)
30736
+ update!(**args)
30737
+ end
30738
+
30739
+ # Update properties of this object
30740
+ def update!(**args)
30741
+ @termination_timestamp = args[:termination_timestamp] if args.key?(:termination_timestamp)
30660
30742
  end
30661
30743
  end
30662
30744
 
@@ -34422,6 +34504,14 @@ module Google
34422
34504
  # @return [String]
34423
34505
  attr_accessor :authentication
34424
34506
 
34507
+ # Contains the configurations necessary to generate a signature for access to
34508
+ # private storage buckets that support Signature Version 4 for authentication.
34509
+ # The service name for generating the authentication header will always default
34510
+ # to 's3'.
34511
+ # Corresponds to the JSON property `awsV4Authentication`
34512
+ # @return [Google::Apis::ComputeBeta::Awsv4Signature]
34513
+ attr_accessor :aws_v4_authentication
34514
+
34425
34515
  # Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that
34426
34516
  # describes how clients should authenticate with this service's backends.
34427
34517
  # clientTlsPolicy only applies to a global BackendService with the
@@ -34454,6 +34544,7 @@ module Google
34454
34544
  # Update properties of this object
34455
34545
  def update!(**args)
34456
34546
  @authentication = args[:authentication] if args.key?(:authentication)
34547
+ @aws_v4_authentication = args[:aws_v4_authentication] if args.key?(:aws_v4_authentication)
34457
34548
  @client_tls_policy = args[:client_tls_policy] if args.key?(:client_tls_policy)
34458
34549
  @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
34459
34550
  end
@@ -42321,6 +42412,22 @@ module Google
42321
42412
  # @return [String]
42322
42413
  attr_accessor :path_prefix_rewrite
42323
42414
 
42415
+ # If specified, the pattern rewrites the URL path (based on the :path header)
42416
+ # using the HTTP template syntax. A corresponding path_template_match must be
42417
+ # specified. Any template variables must exist in the path_template_match field.
42418
+ # - -At least one variable must be specified in the path_template_match field -
42419
+ # You can omit variables from the rewritten URL - The * and ** operators cannot
42420
+ # be matched unless they have a corresponding variable name - e.g. `format=*` or
42421
+ # `var=**`. For example, a path_template_match of /static/`format=**` could be
42422
+ # rewritten as /static/content/`format` to prefix /content to the URL. Variables
42423
+ # can also be re-ordered in a rewrite, so that /`country`/`format`/`suffix=**`
42424
+ # can be rewritten as /content/`format`/`country`/`suffix`. At least one non-
42425
+ # empty routeRules[].matchRules[].path_template_match is required. Only one of
42426
+ # path_prefix_rewrite or path_template_rewrite may be specified.
42427
+ # Corresponds to the JSON property `pathTemplateRewrite`
42428
+ # @return [String]
42429
+ attr_accessor :path_template_rewrite
42430
+
42324
42431
  def initialize(**args)
42325
42432
  update!(**args)
42326
42433
  end
@@ -42329,6 +42436,7 @@ module Google
42329
42436
  def update!(**args)
42330
42437
  @host_rewrite = args[:host_rewrite] if args.key?(:host_rewrite)
42331
42438
  @path_prefix_rewrite = args[:path_prefix_rewrite] if args.key?(:path_prefix_rewrite)
42439
+ @path_template_rewrite = args[:path_template_rewrite] if args.key?(:path_template_rewrite)
42332
42440
  end
42333
42441
  end
42334
42442
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221026"
25
+ REVISION = "20221101"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ComputeBeta
24
24
 
25
+ class Awsv4Signature
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AcceleratorConfig
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -4000,6 +4006,12 @@ module Google
4000
4006
  include Google::Apis::Core::JsonObjectSupport
4001
4007
  end
4002
4008
 
4009
+ class ResourceStatusScheduling
4010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4011
+
4012
+ include Google::Apis::Core::JsonObjectSupport
4013
+ end
4014
+
4003
4015
  class RolloutPolicy
4004
4016
  class Representation < Google::Apis::Core::JsonRepresentation; end
4005
4017
 
@@ -5872,6 +5884,16 @@ module Google
5872
5884
  include Google::Apis::Core::JsonObjectSupport
5873
5885
  end
5874
5886
 
5887
+ class Awsv4Signature
5888
+ # @private
5889
+ class Representation < Google::Apis::Core::JsonRepresentation
5890
+ property :access_key, as: 'accessKey'
5891
+ property :access_key_id, as: 'accessKeyId'
5892
+ property :access_key_version, as: 'accessKeyVersion'
5893
+ property :origin_region, as: 'originRegion'
5894
+ end
5895
+ end
5896
+
5875
5897
  class AcceleratorConfig
5876
5898
  # @private
5877
5899
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8609,6 +8631,7 @@ module Google
8609
8631
  property :ignore_case, as: 'ignoreCase'
8610
8632
  collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeBeta::MetadataFilter, decorator: Google::Apis::ComputeBeta::MetadataFilter::Representation
8611
8633
 
8634
+ property :path_template_match, as: 'pathTemplateMatch'
8612
8635
  property :prefix_match, as: 'prefixMatch'
8613
8636
  collection :query_parameter_matches, as: 'queryParameterMatches', class: Google::Apis::ComputeBeta::HttpQueryParameterMatch, decorator: Google::Apis::ComputeBeta::HttpQueryParameterMatch::Representation
8614
8637
 
@@ -13350,6 +13373,15 @@ module Google
13350
13373
  # @private
13351
13374
  class Representation < Google::Apis::Core::JsonRepresentation
13352
13375
  property :physical_host, as: 'physicalHost'
13376
+ property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::ResourceStatusScheduling, decorator: Google::Apis::ComputeBeta::ResourceStatusScheduling::Representation
13377
+
13378
+ end
13379
+ end
13380
+
13381
+ class ResourceStatusScheduling
13382
+ # @private
13383
+ class Representation < Google::Apis::Core::JsonRepresentation
13384
+ property :termination_timestamp, as: 'terminationTimestamp'
13353
13385
  end
13354
13386
  end
13355
13387
 
@@ -14259,6 +14291,8 @@ module Google
14259
14291
  # @private
14260
14292
  class Representation < Google::Apis::Core::JsonRepresentation
14261
14293
  property :authentication, as: 'authentication'
14294
+ property :aws_v4_authentication, as: 'awsV4Authentication', class: Google::Apis::ComputeBeta::Awsv4Signature, decorator: Google::Apis::ComputeBeta::Awsv4Signature::Representation
14295
+
14262
14296
  property :client_tls_policy, as: 'clientTlsPolicy'
14263
14297
  collection :subject_alt_names, as: 'subjectAltNames'
14264
14298
  end
@@ -16237,6 +16271,7 @@ module Google
16237
16271
  class Representation < Google::Apis::Core::JsonRepresentation
16238
16272
  property :host_rewrite, as: 'hostRewrite'
16239
16273
  property :path_prefix_rewrite, as: 'pathPrefixRewrite'
16274
+ property :path_template_rewrite, as: 'pathTemplateRewrite'
16240
16275
  end
16241
16276
  end
16242
16277
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.54.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []