google-apis-appengine_v1 0.27.0 → 0.29.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: cebb9ba78edcc3580cdf0ef9dcddb44cfbd577d3efd3505f1d0eb5bdcb237bea
4
- data.tar.gz: 5112e35f7dc3f9a390512de5a29565b7d9096f69130d1668778a39dddaac0a2c
3
+ metadata.gz: 68c1aac3dc6f75c281f4aaa8f45eb0beb042ca9118898eda21f9e859de52f891
4
+ data.tar.gz: 195c1433cb731a8e7a628f0762d5c75d0c4e338da5fa1dcf218ddeb8a85a8763
5
5
  SHA512:
6
- metadata.gz: 3baad1e0b55f87589c350b3b265715d65f31b0596c04d3fbc9ec306bbc8d634f608d9156798c28dae85c6e6d5dc36a88014966a1eab603454a3214e1b4b44097
7
- data.tar.gz: a4b558010d6d52b9ab4abca46aa05874e851c605a29675c3994993796ae4999e11f814da9d668352f1945db41bc112a5d4090c1d771cb856c661ee9ffd3ecb6f
6
+ metadata.gz: 725dffac6297d4fd4779ea35bec578cbcedb9cf6da0d8a110a69592ccf6a0076e3d8bfedf5f5ce7b37c4fbe8f719f2d2b2b2f851f63c944b868334b139cb1e01
7
+ data.tar.gz: 8a5c1937eca92351c388762634175c36aa5b7899b36887df85cfbeb0d4ce7c2e9e7a5efebc7808e4c9bf25b41a08260acd71bce171174bb412e7dab4be70accb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-appengine_v1
2
2
 
3
+ ### v0.29.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230109
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.28.0 (2022-12-07)
9
+
10
+ * Regenerated from discovery document revision 20221205
11
+
3
12
  ### v0.27.0 (2022-10-27)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -2126,6 +2126,157 @@ module Google
2126
2126
  end
2127
2127
  end
2128
2128
 
2129
+ # The request sent to CLHs during project events.
2130
+ class ProjectEvent
2131
+ include Google::Apis::Core::Hashable
2132
+
2133
+ # The unique ID for this project event. CLHs can use this value to dedup
2134
+ # repeated calls. required
2135
+ # Corresponds to the JSON property `eventId`
2136
+ # @return [String]
2137
+ attr_accessor :event_id
2138
+
2139
+ #
2140
+ # Corresponds to the JSON property `phase`
2141
+ # @return [String]
2142
+ attr_accessor :phase
2143
+
2144
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
2145
+ # projects (tenant, consumer, producer).
2146
+ # Corresponds to the JSON property `projectMetadata`
2147
+ # @return [Google::Apis::AppengineV1::ProjectsMetadata]
2148
+ attr_accessor :project_metadata
2149
+
2150
+ # ProjectState contains the externally-visible project state that is used to
2151
+ # communicate the state and reasoning for that state to the CLH. This data is
2152
+ # not persisted by CCFE, but is instead derived from CCFE's internal
2153
+ # representation of the project state.
2154
+ # Corresponds to the JSON property `state`
2155
+ # @return [Google::Apis::AppengineV1::ProjectState]
2156
+ attr_accessor :state
2157
+
2158
+ def initialize(**args)
2159
+ update!(**args)
2160
+ end
2161
+
2162
+ # Update properties of this object
2163
+ def update!(**args)
2164
+ @event_id = args[:event_id] if args.key?(:event_id)
2165
+ @phase = args[:phase] if args.key?(:phase)
2166
+ @project_metadata = args[:project_metadata] if args.key?(:project_metadata)
2167
+ @state = args[:state] if args.key?(:state)
2168
+ end
2169
+ end
2170
+
2171
+ # ProjectState contains the externally-visible project state that is used to
2172
+ # communicate the state and reasoning for that state to the CLH. This data is
2173
+ # not persisted by CCFE, but is instead derived from CCFE's internal
2174
+ # representation of the project state.
2175
+ class ProjectState
2176
+ include Google::Apis::Core::Hashable
2177
+
2178
+ # Projects transition between and within states based on reasons sent from
2179
+ # various systems. CCFE will provide the CLH with reasons for the current state
2180
+ # per system.The current systems that CCFE supports are: Service Management (
2181
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2182
+ # Billing API)
2183
+ # Corresponds to the JSON property `currentReasons`
2184
+ # @return [Google::Apis::AppengineV1::Reasons]
2185
+ attr_accessor :current_reasons
2186
+
2187
+ # Projects transition between and within states based on reasons sent from
2188
+ # various systems. CCFE will provide the CLH with reasons for the current state
2189
+ # per system.The current systems that CCFE supports are: Service Management (
2190
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2191
+ # Billing API)
2192
+ # Corresponds to the JSON property `previousReasons`
2193
+ # @return [Google::Apis::AppengineV1::Reasons]
2194
+ attr_accessor :previous_reasons
2195
+
2196
+ # The current state of the project. This state is the culmination of all of the
2197
+ # opinions from external systems that CCFE knows about of the project.
2198
+ # Corresponds to the JSON property `state`
2199
+ # @return [String]
2200
+ attr_accessor :state
2201
+
2202
+ def initialize(**args)
2203
+ update!(**args)
2204
+ end
2205
+
2206
+ # Update properties of this object
2207
+ def update!(**args)
2208
+ @current_reasons = args[:current_reasons] if args.key?(:current_reasons)
2209
+ @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons)
2210
+ @state = args[:state] if args.key?(:state)
2211
+ end
2212
+ end
2213
+
2214
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
2215
+ # projects (tenant, consumer, producer).
2216
+ class ProjectsMetadata
2217
+ include Google::Apis::Core::Hashable
2218
+
2219
+ # The consumer project id.
2220
+ # Corresponds to the JSON property `consumerProjectId`
2221
+ # @return [String]
2222
+ attr_accessor :consumer_project_id
2223
+
2224
+ # The consumer project number.
2225
+ # Corresponds to the JSON property `consumerProjectNumber`
2226
+ # @return [Fixnum]
2227
+ attr_accessor :consumer_project_number
2228
+
2229
+ # The CCFE state of the consumer project. It is the same state that is
2230
+ # communicated to the CLH during project events. Notice that this field is not
2231
+ # set in the DB, it is only set in this proto when communicated to CLH in the
2232
+ # side channel.
2233
+ # Corresponds to the JSON property `consumerProjectState`
2234
+ # @return [String]
2235
+ attr_accessor :consumer_project_state
2236
+
2237
+ # The service account authorized to operate on the consumer project. Note: CCFE
2238
+ # only propagates P4SA with default tag to CLH.
2239
+ # Corresponds to the JSON property `p4ServiceAccount`
2240
+ # @return [String]
2241
+ attr_accessor :p4_service_account
2242
+
2243
+ # The producer project id.
2244
+ # Corresponds to the JSON property `producerProjectId`
2245
+ # @return [String]
2246
+ attr_accessor :producer_project_id
2247
+
2248
+ # The producer project number.
2249
+ # Corresponds to the JSON property `producerProjectNumber`
2250
+ # @return [Fixnum]
2251
+ attr_accessor :producer_project_number
2252
+
2253
+ # The tenant project id.
2254
+ # Corresponds to the JSON property `tenantProjectId`
2255
+ # @return [String]
2256
+ attr_accessor :tenant_project_id
2257
+
2258
+ # The tenant project number.
2259
+ # Corresponds to the JSON property `tenantProjectNumber`
2260
+ # @return [Fixnum]
2261
+ attr_accessor :tenant_project_number
2262
+
2263
+ def initialize(**args)
2264
+ update!(**args)
2265
+ end
2266
+
2267
+ # Update properties of this object
2268
+ def update!(**args)
2269
+ @consumer_project_id = args[:consumer_project_id] if args.key?(:consumer_project_id)
2270
+ @consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
2271
+ @consumer_project_state = args[:consumer_project_state] if args.key?(:consumer_project_state)
2272
+ @p4_service_account = args[:p4_service_account] if args.key?(:p4_service_account)
2273
+ @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id)
2274
+ @producer_project_number = args[:producer_project_number] if args.key?(:producer_project_number)
2275
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
2276
+ @tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
2277
+ end
2278
+ end
2279
+
2129
2280
  # Readiness checking configuration for VM instances. Unhealthy instances are
2130
2281
  # removed from traffic rotation.
2131
2282
  class ReadinessCheck
@@ -2185,6 +2336,47 @@ module Google
2185
2336
  end
2186
2337
  end
2187
2338
 
2339
+ # Projects transition between and within states based on reasons sent from
2340
+ # various systems. CCFE will provide the CLH with reasons for the current state
2341
+ # per system.The current systems that CCFE supports are: Service Management (
2342
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2343
+ # Billing API)
2344
+ class Reasons
2345
+ include Google::Apis::Core::Hashable
2346
+
2347
+ #
2348
+ # Corresponds to the JSON property `abuse`
2349
+ # @return [String]
2350
+ attr_accessor :abuse
2351
+
2352
+ #
2353
+ # Corresponds to the JSON property `billing`
2354
+ # @return [String]
2355
+ attr_accessor :billing
2356
+
2357
+ #
2358
+ # Corresponds to the JSON property `dataGovernance`
2359
+ # @return [String]
2360
+ attr_accessor :data_governance
2361
+
2362
+ #
2363
+ # Corresponds to the JSON property `serviceManagement`
2364
+ # @return [String]
2365
+ attr_accessor :service_management
2366
+
2367
+ def initialize(**args)
2368
+ update!(**args)
2369
+ end
2370
+
2371
+ # Update properties of this object
2372
+ def update!(**args)
2373
+ @abuse = args[:abuse] if args.key?(:abuse)
2374
+ @billing = args[:billing] if args.key?(:billing)
2375
+ @data_governance = args[:data_governance] if args.key?(:data_governance)
2376
+ @service_management = args[:service_management] if args.key?(:service_management)
2377
+ end
2378
+ end
2379
+
2188
2380
  # Request message for 'Applications.RepairApplication'.
2189
2381
  class RepairApplicationRequest
2190
2382
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AppengineV1
18
18
  # Version of the google-apis-appengine_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220818"
25
+ REVISION = "20230109"
26
26
  end
27
27
  end
28
28
  end
@@ -340,12 +340,36 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class ProjectEvent
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class ProjectState
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ProjectsMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
343
361
  class ReadinessCheck
344
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
363
 
346
364
  include Google::Apis::Core::JsonObjectSupport
347
365
  end
348
366
 
367
+ class Reasons
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
349
373
  class RepairApplicationRequest
350
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
375
 
@@ -995,6 +1019,43 @@ module Google
995
1019
  end
996
1020
  end
997
1021
 
1022
+ class ProjectEvent
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ property :event_id, as: 'eventId'
1026
+ property :phase, as: 'phase'
1027
+ property :project_metadata, as: 'projectMetadata', class: Google::Apis::AppengineV1::ProjectsMetadata, decorator: Google::Apis::AppengineV1::ProjectsMetadata::Representation
1028
+
1029
+ property :state, as: 'state', class: Google::Apis::AppengineV1::ProjectState, decorator: Google::Apis::AppengineV1::ProjectState::Representation
1030
+
1031
+ end
1032
+ end
1033
+
1034
+ class ProjectState
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :current_reasons, as: 'currentReasons', class: Google::Apis::AppengineV1::Reasons, decorator: Google::Apis::AppengineV1::Reasons::Representation
1038
+
1039
+ property :previous_reasons, as: 'previousReasons', class: Google::Apis::AppengineV1::Reasons, decorator: Google::Apis::AppengineV1::Reasons::Representation
1040
+
1041
+ property :state, as: 'state'
1042
+ end
1043
+ end
1044
+
1045
+ class ProjectsMetadata
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :consumer_project_id, as: 'consumerProjectId'
1049
+ property :consumer_project_number, :numeric_string => true, as: 'consumerProjectNumber'
1050
+ property :consumer_project_state, as: 'consumerProjectState'
1051
+ property :p4_service_account, as: 'p4ServiceAccount'
1052
+ property :producer_project_id, as: 'producerProjectId'
1053
+ property :producer_project_number, :numeric_string => true, as: 'producerProjectNumber'
1054
+ property :tenant_project_id, as: 'tenantProjectId'
1055
+ property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
1056
+ end
1057
+ end
1058
+
998
1059
  class ReadinessCheck
999
1060
  # @private
1000
1061
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1008,6 +1069,16 @@ module Google
1008
1069
  end
1009
1070
  end
1010
1071
 
1072
+ class Reasons
1073
+ # @private
1074
+ class Representation < Google::Apis::Core::JsonRepresentation
1075
+ property :abuse, as: 'abuse'
1076
+ property :billing, as: 'billing'
1077
+ property :data_governance, as: 'dataGovernance'
1078
+ property :service_management, as: 'serviceManagement'
1079
+ end
1080
+ end
1081
+
1011
1082
  class RepairApplicationRequest
1012
1083
  # @private
1013
1084
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1560,6 +1560,42 @@ module Google
1560
1560
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1561
1561
  execute_or_queue_command(command, &block)
1562
1562
  end
1563
+
1564
+ # Gets information about an application.
1565
+ # @param [String] projects_id
1566
+ # Part of `name`. Name of the Application resource to get. Example: apps/myapp.
1567
+ # @param [String] locations_id
1568
+ # Part of `name`. See documentation of `projectsId`.
1569
+ # @param [String] applications_id
1570
+ # Part of `name`. See documentation of `projectsId`.
1571
+ # @param [String] fields
1572
+ # Selector specifying which fields to include in a partial response.
1573
+ # @param [String] quota_user
1574
+ # Available to use for quota purposes for server-side applications. Can be any
1575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1576
+ # @param [Google::Apis::RequestOptions] options
1577
+ # Request-specific options
1578
+ #
1579
+ # @yield [result, err] Result & error if block supplied
1580
+ # @yieldparam result [Google::Apis::AppengineV1::Application] parsed result object
1581
+ # @yieldparam err [StandardError] error object if request failed
1582
+ #
1583
+ # @return [Google::Apis::AppengineV1::Application]
1584
+ #
1585
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1586
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1587
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1588
+ def get_project_location_application(projects_id, locations_id, applications_id, fields: nil, quota_user: nil, options: nil, &block)
1589
+ command = make_simple_command(:get, 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}', options)
1590
+ command.response_representation = Google::Apis::AppengineV1::Application::Representation
1591
+ command.response_class = Google::Apis::AppengineV1::Application
1592
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1593
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1594
+ command.params['applicationsId'] = applications_id unless applications_id.nil?
1595
+ command.query['fields'] = fields unless fields.nil?
1596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1597
+ execute_or_queue_command(command, &block)
1598
+ end
1563
1599
 
1564
1600
  protected
1565
1601
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-appengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.29.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-10-31 00:00:00.000000000 Z
11
+ date: 2023-01-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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-appengine_v1
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Engine Admin API V1