google-apis-appengine_v1beta 0.40.0 → 0.42.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: '01911ab40c92304a85564cf9aea3aba93de9d5fd88d8c1583e63a1a39cbeb933'
4
+ data.tar.gz: abd74b29d9ce2cfbf585c7898faf0c8827d16a22baa43befcc8bb5a91587c02a
5
5
  SHA512:
6
- metadata.gz: 74cffd1395138ebd15d493282422bb5829f5b6042d96c799f63ecc19f41290a28c375690e18cc787af2897b93ebc7744834a9eb3540f27faa388507d1e7f73f2
7
- data.tar.gz: fa41b8c4b6d9e6cf7092032fde74f9fb5a9d513c7bc6a6fbabd407f456805434bbcd6eb30db9bcc82019d6b5abbb5bc67c52ab6dea3c276605b18b3643c62730
6
+ metadata.gz: 36c48d92f50d7cefd7739949c85eadde969547ab733cc15bc62ec6240f198aa46f02012b876cf95d21a0540b3b3903a72e7882cb1a37d3e8d51b06ec81b592b3
7
+ data.tar.gz: d2a12fe6bd900e7a14fcaf40b6c8bc8e61f29a9a58ca1abdc44d5624457dea1b860feaa6bd684f68319b58a6591ec839b29419c92a8c8062a012ffe1c7af5383
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-appengine_v1beta
2
2
 
3
+ ### v0.42.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20231107
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.41.0 (2023-10-15)
9
+
10
+ * Regenerated from discovery document revision 20231004
11
+
3
12
  ### v0.40.0 (2023-09-17)
4
13
 
5
14
  * 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.42.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230909"
25
+ REVISION = "20231107"
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
 
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/appengine/docs/admin-api/
34
34
  class AppengineService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://appengine.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://appengine.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-appengine_v1beta',
48
50
  client_version: Google::Apis::AppengineV1beta::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -117,6 +119,40 @@ module Google
117
119
  execute_or_queue_command(command, &block)
118
120
  end
119
121
 
122
+ # Lists all the available runtimes for the application.
123
+ # @param [String] apps_id
124
+ # Part of `parent`. Required. Name of the parent Application resource. Example:
125
+ # apps/myapp.
126
+ # @param [String] environment
127
+ # Optional. The environment of the Application.
128
+ # @param [String] fields
129
+ # Selector specifying which fields to include in a partial response.
130
+ # @param [String] quota_user
131
+ # Available to use for quota purposes for server-side applications. Can be any
132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
133
+ # @param [Google::Apis::RequestOptions] options
134
+ # Request-specific options
135
+ #
136
+ # @yield [result, err] Result & error if block supplied
137
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListRuntimesResponse] parsed result object
138
+ # @yieldparam err [StandardError] error object if request failed
139
+ #
140
+ # @return [Google::Apis::AppengineV1beta::ListRuntimesResponse]
141
+ #
142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
145
+ def list_app_runtimes(apps_id, environment: nil, fields: nil, quota_user: nil, options: nil, &block)
146
+ command = make_simple_command(:get, 'v1beta/apps/{appsId}:listRuntimes', options)
147
+ command.response_representation = Google::Apis::AppengineV1beta::ListRuntimesResponse::Representation
148
+ command.response_class = Google::Apis::AppengineV1beta::ListRuntimesResponse
149
+ command.params['appsId'] = apps_id unless apps_id.nil?
150
+ command.query['environment'] = environment unless environment.nil?
151
+ command.query['fields'] = fields unless fields.nil?
152
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
153
+ execute_or_queue_command(command, &block)
154
+ end
155
+
120
156
  # Updates the specified Application resource. You can update the following
121
157
  # fields: auth_domain - Google authentication domain for controlling user access
122
158
  # to the application. default_cookie_expiration - Cookie expiration policy for
@@ -979,40 +1015,6 @@ module Google
979
1015
  execute_or_queue_command(command, &block)
980
1016
  end
981
1017
 
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
1018
  # Deletes the specified service and all enclosed versions.
1017
1019
  # @param [String] apps_id
1018
1020
  # 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.42.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: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.42.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Engine Admin API V1beta