google-apis-appengine_v1beta 0.40.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c0916b9ebefdf167fe084410e69891e3927c2b2ef5a25849d2ad1a69a43ec67
4
- data.tar.gz: 189b9fd1ad268ceaf5689c15fab14b7def0ab5b41f7fcc798cd5ecbc6f2c835b
3
+ metadata.gz: 5d19833eaf0a1362a830a21cf9706dbaf3523bdecb0a715e18dd0bf29b12e35d
4
+ data.tar.gz: 1b303b642ded298bdd1b69be7dfe4343ce35292fb80b159a65f1d917bef3b109
5
5
  SHA512:
6
- metadata.gz: 74cffd1395138ebd15d493282422bb5829f5b6042d96c799f63ecc19f41290a28c375690e18cc787af2897b93ebc7744834a9eb3540f27faa388507d1e7f73f2
7
- data.tar.gz: fa41b8c4b6d9e6cf7092032fde74f9fb5a9d513c7bc6a6fbabd407f456805434bbcd6eb30db9bcc82019d6b5abbb5bc67c52ab6dea3c276605b18b3643c62730
6
+ metadata.gz: afa0ab777fcd61524207c463a0a76b8fb4317748f2c579b56d63564931f6408b97aba3578251793a345ab611cf8564eebf41cc042142b714d30bd3b8974b966c
7
+ data.tar.gz: 72fedfebd3edbcd546b5d48b95d8a46f09a8b84e7c67b5ce4526b7b81a447cbc2c953f4acc634c1a8db0a94c2de4d2294e3215d3bac8f77761218d87ce5e2ab9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-appengine_v1beta
2
2
 
3
+ ### v0.41.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231004
6
+
3
7
  ### v0.40.0 (2023-09-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20230909
@@ -609,6 +609,49 @@ module Google
609
609
  end
610
610
  end
611
611
 
612
+ # ContainerState contains the externally-visible container state that is used to
613
+ # communicate the state and reasoning for that state to the CLH. This data is
614
+ # not persisted by CCFE, but is instead derived from CCFE's internal
615
+ # representation of the container state.
616
+ class ContainerState
617
+ include Google::Apis::Core::Hashable
618
+
619
+ # Containers transition between and within states based on reasons sent from
620
+ # various systems. CCFE will provide the CLH with reasons for the current state
621
+ # per system.The current systems that CCFE supports are: Service Management (
622
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
623
+ # Billing API)
624
+ # Corresponds to the JSON property `currentReasons`
625
+ # @return [Google::Apis::AppengineV1beta::Reasons]
626
+ attr_accessor :current_reasons
627
+
628
+ # Containers transition between and within states based on reasons sent from
629
+ # various systems. CCFE will provide the CLH with reasons for the current state
630
+ # per system.The current systems that CCFE supports are: Service Management (
631
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
632
+ # Billing API)
633
+ # Corresponds to the JSON property `previousReasons`
634
+ # @return [Google::Apis::AppengineV1beta::Reasons]
635
+ attr_accessor :previous_reasons
636
+
637
+ # The current state of the container. This state is the culmination of all of
638
+ # the opinions from external systems that CCFE knows about of the container.
639
+ # Corresponds to the JSON property `state`
640
+ # @return [String]
641
+ attr_accessor :state
642
+
643
+ def initialize(**args)
644
+ update!(**args)
645
+ end
646
+
647
+ # Update properties of this object
648
+ def update!(**args)
649
+ @current_reasons = args[:current_reasons] if args.key?(:current_reasons)
650
+ @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons)
651
+ @state = args[:state] if args.key?(:state)
652
+ end
653
+ end
654
+
612
655
  # Target scaling by CPU usage.
613
656
  class CpuUtilization
614
657
  include Google::Apis::Core::Hashable
@@ -2326,12 +2369,12 @@ module Google
2326
2369
  # @return [Google::Apis::AppengineV1beta::ProjectsMetadata]
2327
2370
  attr_accessor :project_metadata
2328
2371
 
2329
- # ProjectState contains the externally-visible project state that is used to
2372
+ # ContainerState contains the externally-visible container state that is used to
2330
2373
  # communicate the state and reasoning for that state to the CLH. This data is
2331
2374
  # not persisted by CCFE, but is instead derived from CCFE's internal
2332
- # representation of the project state.
2375
+ # representation of the container state.
2333
2376
  # Corresponds to the JSON property `state`
2334
- # @return [Google::Apis::AppengineV1beta::ProjectState]
2377
+ # @return [Google::Apis::AppengineV1beta::ContainerState]
2335
2378
  attr_accessor :state
2336
2379
 
2337
2380
  def initialize(**args)
@@ -2347,49 +2390,6 @@ module Google
2347
2390
  end
2348
2391
  end
2349
2392
 
2350
- # ProjectState contains the externally-visible project state that is used to
2351
- # communicate the state and reasoning for that state to the CLH. This data is
2352
- # not persisted by CCFE, but is instead derived from CCFE's internal
2353
- # representation of the project state.
2354
- class ProjectState
2355
- include Google::Apis::Core::Hashable
2356
-
2357
- # Projects transition between and within states based on reasons sent from
2358
- # various systems. CCFE will provide the CLH with reasons for the current state
2359
- # per system.The current systems that CCFE supports are: Service Management (
2360
- # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2361
- # Billing API)
2362
- # Corresponds to the JSON property `currentReasons`
2363
- # @return [Google::Apis::AppengineV1beta::Reasons]
2364
- attr_accessor :current_reasons
2365
-
2366
- # Projects transition between and within states based on reasons sent from
2367
- # various systems. CCFE will provide the CLH with reasons for the current state
2368
- # per system.The current systems that CCFE supports are: Service Management (
2369
- # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2370
- # Billing API)
2371
- # Corresponds to the JSON property `previousReasons`
2372
- # @return [Google::Apis::AppengineV1beta::Reasons]
2373
- attr_accessor :previous_reasons
2374
-
2375
- # The current state of the project. This state is the culmination of all of the
2376
- # opinions from external systems that CCFE knows about of the project.
2377
- # Corresponds to the JSON property `state`
2378
- # @return [String]
2379
- attr_accessor :state
2380
-
2381
- def initialize(**args)
2382
- update!(**args)
2383
- end
2384
-
2385
- # Update properties of this object
2386
- def update!(**args)
2387
- @current_reasons = args[:current_reasons] if args.key?(:current_reasons)
2388
- @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons)
2389
- @state = args[:state] if args.key?(:state)
2390
- end
2391
- end
2392
-
2393
2393
  # ProjectsMetadata is the metadata CCFE stores about the all the relevant
2394
2394
  # projects (tenant, consumer, producer).
2395
2395
  class ProjectsMetadata
@@ -2515,7 +2515,7 @@ module Google
2515
2515
  end
2516
2516
  end
2517
2517
 
2518
- # Projects transition between and within states based on reasons sent from
2518
+ # Containers transition between and within states based on reasons sent from
2519
2519
  # various systems. CCFE will provide the CLH with reasons for the current state
2520
2520
  # per system.The current systems that CCFE supports are: Service Management (
2521
2521
  # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AppengineV1beta
18
18
  # Version of the google-apis-appengine_v1beta gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230909"
25
+ REVISION = "20231004"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class ContainerState
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class CpuUtilization
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -376,12 +382,6 @@ module Google
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
384
 
379
- class ProjectState
380
- class Representation < Google::Apis::Core::JsonRepresentation; end
381
-
382
- include Google::Apis::Core::JsonObjectSupport
383
- end
384
-
385
385
  class ProjectsMetadata
386
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
387
 
@@ -656,6 +656,17 @@ module Google
656
656
  end
657
657
  end
658
658
 
659
+ class ContainerState
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :current_reasons, as: 'currentReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
663
+
664
+ property :previous_reasons, as: 'previousReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
665
+
666
+ property :state, as: 'state'
667
+ end
668
+ end
669
+
659
670
  class CpuUtilization
660
671
  # @private
661
672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1111,19 +1122,8 @@ module Google
1111
1122
  property :phase, as: 'phase'
1112
1123
  property :project_metadata, as: 'projectMetadata', class: Google::Apis::AppengineV1beta::ProjectsMetadata, decorator: Google::Apis::AppengineV1beta::ProjectsMetadata::Representation
1113
1124
 
1114
- property :state, as: 'state', class: Google::Apis::AppengineV1beta::ProjectState, decorator: Google::Apis::AppengineV1beta::ProjectState::Representation
1115
-
1116
- end
1117
- end
1125
+ property :state, as: 'state', class: Google::Apis::AppengineV1beta::ContainerState, decorator: Google::Apis::AppengineV1beta::ContainerState::Representation
1118
1126
 
1119
- class ProjectState
1120
- # @private
1121
- class Representation < Google::Apis::Core::JsonRepresentation
1122
- property :current_reasons, as: 'currentReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
1123
-
1124
- property :previous_reasons, as: 'previousReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
1125
-
1126
- property :state, as: 'state'
1127
1127
  end
1128
1128
  end
1129
1129
 
@@ -117,6 +117,40 @@ module Google
117
117
  execute_or_queue_command(command, &block)
118
118
  end
119
119
 
120
+ # Lists all the available runtimes for the application.
121
+ # @param [String] apps_id
122
+ # Part of `parent`. Required. Name of the parent Application resource. Example:
123
+ # apps/myapp.
124
+ # @param [String] environment
125
+ # Optional. The environment of the Application.
126
+ # @param [String] fields
127
+ # Selector specifying which fields to include in a partial response.
128
+ # @param [String] quota_user
129
+ # Available to use for quota purposes for server-side applications. Can be any
130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
131
+ # @param [Google::Apis::RequestOptions] options
132
+ # Request-specific options
133
+ #
134
+ # @yield [result, err] Result & error if block supplied
135
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListRuntimesResponse] parsed result object
136
+ # @yieldparam err [StandardError] error object if request failed
137
+ #
138
+ # @return [Google::Apis::AppengineV1beta::ListRuntimesResponse]
139
+ #
140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
143
+ def list_app_runtimes(apps_id, environment: nil, fields: nil, quota_user: nil, options: nil, &block)
144
+ command = make_simple_command(:get, 'v1beta/apps/{appsId}:listRuntimes', options)
145
+ command.response_representation = Google::Apis::AppengineV1beta::ListRuntimesResponse::Representation
146
+ command.response_class = Google::Apis::AppengineV1beta::ListRuntimesResponse
147
+ command.params['appsId'] = apps_id unless apps_id.nil?
148
+ command.query['environment'] = environment unless environment.nil?
149
+ command.query['fields'] = fields unless fields.nil?
150
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
151
+ execute_or_queue_command(command, &block)
152
+ end
153
+
120
154
  # Updates the specified Application resource. You can update the following
121
155
  # fields: auth_domain - Google authentication domain for controlling user access
122
156
  # to the application. default_cookie_expiration - Cookie expiration policy for
@@ -979,40 +1013,6 @@ module Google
979
1013
  execute_or_queue_command(command, &block)
980
1014
  end
981
1015
 
982
- # Lists all the available runtimes for the application.
983
- # @param [String] apps_id
984
- # Part of `parent`. Required. Name of the parent Application resource. Example:
985
- # apps/myapp.
986
- # @param [String] environment
987
- # Optional. The environment of the Application.
988
- # @param [String] fields
989
- # Selector specifying which fields to include in a partial response.
990
- # @param [String] quota_user
991
- # Available to use for quota purposes for server-side applications. Can be any
992
- # arbitrary string assigned to a user, but should not exceed 40 characters.
993
- # @param [Google::Apis::RequestOptions] options
994
- # Request-specific options
995
- #
996
- # @yield [result, err] Result & error if block supplied
997
- # @yieldparam result [Google::Apis::AppengineV1beta::ListRuntimesResponse] parsed result object
998
- # @yieldparam err [StandardError] error object if request failed
999
- #
1000
- # @return [Google::Apis::AppengineV1beta::ListRuntimesResponse]
1001
- #
1002
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1003
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1004
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1005
- def list_app_runtimes(apps_id, environment: nil, fields: nil, quota_user: nil, options: nil, &block)
1006
- command = make_simple_command(:get, 'v1beta/apps/{appsId}/runtimes', options)
1007
- command.response_representation = Google::Apis::AppengineV1beta::ListRuntimesResponse::Representation
1008
- command.response_class = Google::Apis::AppengineV1beta::ListRuntimesResponse
1009
- command.params['appsId'] = apps_id unless apps_id.nil?
1010
- command.query['environment'] = environment unless environment.nil?
1011
- command.query['fields'] = fields unless fields.nil?
1012
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1013
- execute_or_queue_command(command, &block)
1014
- end
1015
-
1016
1016
  # Deletes the specified service and all enclosed versions.
1017
1017
  # @param [String] apps_id
1018
1018
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-appengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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: 2023-09-17 00:00:00.000000000 Z
11
+ date: 2023-10-15 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-appengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1beta/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1beta/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-appengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []