google-apis-appengine_v1beta 0.27.0 → 0.29.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: 9e77a6861ee18e482bf48f773d17dba9147f48e7af4060ef1aa077f5c2e5f5a0
4
- data.tar.gz: c1389b5601ff5f5f4279465eea9808cb642884a30e724954a362c5824022d73e
3
+ metadata.gz: ba29cae0503c76b6e2f8706c7d3d58e38a3bcf46ef685f953ab4e7e36237ef99
4
+ data.tar.gz: e7ac8ffa6baff11790a87ef8fa2f857c175eb93dd3a8ba682d2230ca196770b8
5
5
  SHA512:
6
- metadata.gz: 80461f3eec276b0291097b81c78b383d3373ad148a822959502ba62325f496acee6fc36030295f2d1f34eca67897b48bc4c34fce2bfef59d80ca85962b4007d9
7
- data.tar.gz: d49bbddd7bea4156f19c13dd31a8c88609e418b26ea5260e9109fea02de257cb3c2530f2b36042e087a347dfb4497020220e6ab1d235831b10deaeb3a7af7536
6
+ metadata.gz: 5206f837afda042c55ea0d540da56bbf5fb0ba71f17168b1b8c3f1a8b93a8535afc73498e5deb1f58e2f4811a4229488fdd67493acba0300aa0c9d8fd0548b6b
7
+ data.tar.gz: e637b25c0d6f32e236bc860a79b03e9eab2ef239cb182ddc262c756c8950a3fda6ac8915b2674beedab1dd90209a12b96564791b0cdb8c6deef736a74ce68ea5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-appengine_v1beta
2
2
 
3
+ ### v0.29.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221205
6
+
7
+ ### v0.28.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221017
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.27.0 (2022-09-29)
4
13
 
5
14
  * Regenerated using generator version 0.10.0
@@ -97,9 +97,9 @@ module Google
97
97
  # @return [String]
98
98
  attr_accessor :auth_domain
99
99
 
100
- # Google Cloud Storage bucket that can be used for storing files associated with
101
- # this application. This bucket is associated with the application and can be
102
- # used by the gcloud deployment commands.@OutputOnly
100
+ # Output only. Google Cloud Storage bucket that can be used for storing files
101
+ # associated with this application. This bucket is associated with the
102
+ # application and can be used by the gcloud deployment commands.@OutputOnly
103
103
  # Corresponds to the JSON property `codeBucket`
104
104
  # @return [String]
105
105
  attr_accessor :code_bucket
@@ -110,8 +110,8 @@ module Google
110
110
  # @return [String]
111
111
  attr_accessor :database_type
112
112
 
113
- # Google Cloud Storage bucket that can be used by this application to store
114
- # content.@OutputOnly
113
+ # Output only. Google Cloud Storage bucket that can be used by this application
114
+ # to store content.@OutputOnly
115
115
  # Corresponds to the JSON property `defaultBucket`
116
116
  # @return [String]
117
117
  attr_accessor :default_bucket
@@ -121,7 +121,8 @@ module Google
121
121
  # @return [String]
122
122
  attr_accessor :default_cookie_expiration
123
123
 
124
- # Hostname used to reach this application, as resolved by App Engine.@OutputOnly
124
+ # Output only. Hostname used to reach this application, as resolved by App
125
+ # Engine.@OutputOnly
125
126
  # Corresponds to the JSON property `defaultHostname`
126
127
  # @return [String]
127
128
  attr_accessor :default_hostname
@@ -139,8 +140,8 @@ module Google
139
140
  # @return [Google::Apis::AppengineV1beta::FeatureSettings]
140
141
  attr_accessor :feature_settings
141
142
 
142
- # The Google Container Registry domain used for storing managed build docker
143
- # images for this application.
143
+ # Output only. The Google Container Registry domain used for storing managed
144
+ # build docker images for this application.
144
145
  # Corresponds to the JSON property `gcrDomain`
145
146
  # @return [String]
146
147
  attr_accessor :gcr_domain
@@ -165,8 +166,8 @@ module Google
165
166
  # @return [String]
166
167
  attr_accessor :location_id
167
168
 
168
- # Full path to the Application resource in the API. Example: apps/myapp.@
169
- # OutputOnly
169
+ # Output only. Full path to the Application resource in the API. Example: apps/
170
+ # myapp.@OutputOnly
170
171
  # Corresponds to the JSON property `name`
171
172
  # @return [String]
172
173
  attr_accessor :name
@@ -1238,7 +1239,7 @@ module Google
1238
1239
  # @return [String]
1239
1240
  attr_accessor :oauth2_client_secret
1240
1241
 
1241
- # Hex-encoded SHA-256 hash of the client secret.@OutputOnly
1242
+ # Output only. Hex-encoded SHA-256 hash of the client secret.@OutputOnly
1242
1243
  # Corresponds to the JSON property `oauth2ClientSecretSha256`
1243
1244
  # @return [String]
1244
1245
  attr_accessor :oauth2_client_secret_sha256
@@ -2205,6 +2206,157 @@ module Google
2205
2206
  end
2206
2207
  end
2207
2208
 
2209
+ # The request sent to CLHs during project events.
2210
+ class ProjectEvent
2211
+ include Google::Apis::Core::Hashable
2212
+
2213
+ # The unique ID for this project event. CLHs can use this value to dedup
2214
+ # repeated calls. required
2215
+ # Corresponds to the JSON property `eventId`
2216
+ # @return [String]
2217
+ attr_accessor :event_id
2218
+
2219
+ #
2220
+ # Corresponds to the JSON property `phase`
2221
+ # @return [String]
2222
+ attr_accessor :phase
2223
+
2224
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
2225
+ # projects (tenant, consumer, producer).
2226
+ # Corresponds to the JSON property `projectMetadata`
2227
+ # @return [Google::Apis::AppengineV1beta::ProjectsMetadata]
2228
+ attr_accessor :project_metadata
2229
+
2230
+ # ProjectState contains the externally-visible project state that is used to
2231
+ # communicate the state and reasoning for that state to the CLH. This data is
2232
+ # not persisted by CCFE, but is instead derived from CCFE's internal
2233
+ # representation of the project state.
2234
+ # Corresponds to the JSON property `state`
2235
+ # @return [Google::Apis::AppengineV1beta::ProjectState]
2236
+ attr_accessor :state
2237
+
2238
+ def initialize(**args)
2239
+ update!(**args)
2240
+ end
2241
+
2242
+ # Update properties of this object
2243
+ def update!(**args)
2244
+ @event_id = args[:event_id] if args.key?(:event_id)
2245
+ @phase = args[:phase] if args.key?(:phase)
2246
+ @project_metadata = args[:project_metadata] if args.key?(:project_metadata)
2247
+ @state = args[:state] if args.key?(:state)
2248
+ end
2249
+ end
2250
+
2251
+ # ProjectState contains the externally-visible project state that is used to
2252
+ # communicate the state and reasoning for that state to the CLH. This data is
2253
+ # not persisted by CCFE, but is instead derived from CCFE's internal
2254
+ # representation of the project state.
2255
+ class ProjectState
2256
+ include Google::Apis::Core::Hashable
2257
+
2258
+ # Projects transition between and within states based on reasons sent from
2259
+ # various systems. CCFE will provide the CLH with reasons for the current state
2260
+ # per system.The current systems that CCFE supports are: Service Management (
2261
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2262
+ # Billing API)
2263
+ # Corresponds to the JSON property `currentReasons`
2264
+ # @return [Google::Apis::AppengineV1beta::Reasons]
2265
+ attr_accessor :current_reasons
2266
+
2267
+ # Projects transition between and within states based on reasons sent from
2268
+ # various systems. CCFE will provide the CLH with reasons for the current state
2269
+ # per system.The current systems that CCFE supports are: Service Management (
2270
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2271
+ # Billing API)
2272
+ # Corresponds to the JSON property `previousReasons`
2273
+ # @return [Google::Apis::AppengineV1beta::Reasons]
2274
+ attr_accessor :previous_reasons
2275
+
2276
+ # The current state of the project. This state is the culmination of all of the
2277
+ # opinions from external systems that CCFE knows about of the project.
2278
+ # Corresponds to the JSON property `state`
2279
+ # @return [String]
2280
+ attr_accessor :state
2281
+
2282
+ def initialize(**args)
2283
+ update!(**args)
2284
+ end
2285
+
2286
+ # Update properties of this object
2287
+ def update!(**args)
2288
+ @current_reasons = args[:current_reasons] if args.key?(:current_reasons)
2289
+ @previous_reasons = args[:previous_reasons] if args.key?(:previous_reasons)
2290
+ @state = args[:state] if args.key?(:state)
2291
+ end
2292
+ end
2293
+
2294
+ # ProjectsMetadata is the metadata CCFE stores about the all the relevant
2295
+ # projects (tenant, consumer, producer).
2296
+ class ProjectsMetadata
2297
+ include Google::Apis::Core::Hashable
2298
+
2299
+ # The consumer project id.
2300
+ # Corresponds to the JSON property `consumerProjectId`
2301
+ # @return [String]
2302
+ attr_accessor :consumer_project_id
2303
+
2304
+ # The consumer project number.
2305
+ # Corresponds to the JSON property `consumerProjectNumber`
2306
+ # @return [Fixnum]
2307
+ attr_accessor :consumer_project_number
2308
+
2309
+ # The CCFE state of the consumer project. It is the same state that is
2310
+ # communicated to the CLH during project events. Notice that this field is not
2311
+ # set in the DB, it is only set in this proto when communicated to CLH in the
2312
+ # side channel.
2313
+ # Corresponds to the JSON property `consumerProjectState`
2314
+ # @return [String]
2315
+ attr_accessor :consumer_project_state
2316
+
2317
+ # The service account authorized to operate on the consumer project. Note: CCFE
2318
+ # only propagates P4SA with default tag to CLH.
2319
+ # Corresponds to the JSON property `p4ServiceAccount`
2320
+ # @return [String]
2321
+ attr_accessor :p4_service_account
2322
+
2323
+ # The producer project id.
2324
+ # Corresponds to the JSON property `producerProjectId`
2325
+ # @return [String]
2326
+ attr_accessor :producer_project_id
2327
+
2328
+ # The producer project number.
2329
+ # Corresponds to the JSON property `producerProjectNumber`
2330
+ # @return [Fixnum]
2331
+ attr_accessor :producer_project_number
2332
+
2333
+ # The tenant project id.
2334
+ # Corresponds to the JSON property `tenantProjectId`
2335
+ # @return [String]
2336
+ attr_accessor :tenant_project_id
2337
+
2338
+ # The tenant project number.
2339
+ # Corresponds to the JSON property `tenantProjectNumber`
2340
+ # @return [Fixnum]
2341
+ attr_accessor :tenant_project_number
2342
+
2343
+ def initialize(**args)
2344
+ update!(**args)
2345
+ end
2346
+
2347
+ # Update properties of this object
2348
+ def update!(**args)
2349
+ @consumer_project_id = args[:consumer_project_id] if args.key?(:consumer_project_id)
2350
+ @consumer_project_number = args[:consumer_project_number] if args.key?(:consumer_project_number)
2351
+ @consumer_project_state = args[:consumer_project_state] if args.key?(:consumer_project_state)
2352
+ @p4_service_account = args[:p4_service_account] if args.key?(:p4_service_account)
2353
+ @producer_project_id = args[:producer_project_id] if args.key?(:producer_project_id)
2354
+ @producer_project_number = args[:producer_project_number] if args.key?(:producer_project_number)
2355
+ @tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
2356
+ @tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
2357
+ end
2358
+ end
2359
+
2208
2360
  # Readiness checking configuration for VM instances. Unhealthy instances are
2209
2361
  # removed from traffic rotation.
2210
2362
  class ReadinessCheck
@@ -2264,6 +2416,47 @@ module Google
2264
2416
  end
2265
2417
  end
2266
2418
 
2419
+ # Projects transition between and within states based on reasons sent from
2420
+ # various systems. CCFE will provide the CLH with reasons for the current state
2421
+ # per system.The current systems that CCFE supports are: Service Management (
2422
+ # Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud
2423
+ # Billing API)
2424
+ class Reasons
2425
+ include Google::Apis::Core::Hashable
2426
+
2427
+ #
2428
+ # Corresponds to the JSON property `abuse`
2429
+ # @return [String]
2430
+ attr_accessor :abuse
2431
+
2432
+ #
2433
+ # Corresponds to the JSON property `billing`
2434
+ # @return [String]
2435
+ attr_accessor :billing
2436
+
2437
+ #
2438
+ # Corresponds to the JSON property `dataGovernance`
2439
+ # @return [String]
2440
+ attr_accessor :data_governance
2441
+
2442
+ #
2443
+ # Corresponds to the JSON property `serviceManagement`
2444
+ # @return [String]
2445
+ attr_accessor :service_management
2446
+
2447
+ def initialize(**args)
2448
+ update!(**args)
2449
+ end
2450
+
2451
+ # Update properties of this object
2452
+ def update!(**args)
2453
+ @abuse = args[:abuse] if args.key?(:abuse)
2454
+ @billing = args[:billing] if args.key?(:billing)
2455
+ @data_governance = args[:data_governance] if args.key?(:data_governance)
2456
+ @service_management = args[:service_management] if args.key?(:service_management)
2457
+ end
2458
+ end
2459
+
2267
2460
  # Request message for 'Applications.RepairApplication'.
2268
2461
  class RepairApplicationRequest
2269
2462
  include Google::Apis::Core::Hashable
@@ -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.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.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220818"
25
+ REVISION = "20221205"
26
26
  end
27
27
  end
28
28
  end
@@ -352,12 +352,36 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
+ class ProjectEvent
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class ProjectState
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class ProjectsMetadata
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class ReadinessCheck
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
358
376
  include Google::Apis::Core::JsonObjectSupport
359
377
  end
360
378
 
379
+ class Reasons
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
361
385
  class RepairApplicationRequest
362
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
387
 
@@ -1029,6 +1053,43 @@ module Google
1029
1053
  end
1030
1054
  end
1031
1055
 
1056
+ class ProjectEvent
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :event_id, as: 'eventId'
1060
+ property :phase, as: 'phase'
1061
+ property :project_metadata, as: 'projectMetadata', class: Google::Apis::AppengineV1beta::ProjectsMetadata, decorator: Google::Apis::AppengineV1beta::ProjectsMetadata::Representation
1062
+
1063
+ property :state, as: 'state', class: Google::Apis::AppengineV1beta::ProjectState, decorator: Google::Apis::AppengineV1beta::ProjectState::Representation
1064
+
1065
+ end
1066
+ end
1067
+
1068
+ class ProjectState
1069
+ # @private
1070
+ class Representation < Google::Apis::Core::JsonRepresentation
1071
+ property :current_reasons, as: 'currentReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
1072
+
1073
+ property :previous_reasons, as: 'previousReasons', class: Google::Apis::AppengineV1beta::Reasons, decorator: Google::Apis::AppengineV1beta::Reasons::Representation
1074
+
1075
+ property :state, as: 'state'
1076
+ end
1077
+ end
1078
+
1079
+ class ProjectsMetadata
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ property :consumer_project_id, as: 'consumerProjectId'
1083
+ property :consumer_project_number, :numeric_string => true, as: 'consumerProjectNumber'
1084
+ property :consumer_project_state, as: 'consumerProjectState'
1085
+ property :p4_service_account, as: 'p4ServiceAccount'
1086
+ property :producer_project_id, as: 'producerProjectId'
1087
+ property :producer_project_number, :numeric_string => true, as: 'producerProjectNumber'
1088
+ property :tenant_project_id, as: 'tenantProjectId'
1089
+ property :tenant_project_number, :numeric_string => true, as: 'tenantProjectNumber'
1090
+ end
1091
+ end
1092
+
1032
1093
  class ReadinessCheck
1033
1094
  # @private
1034
1095
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1042,6 +1103,16 @@ module Google
1042
1103
  end
1043
1104
  end
1044
1105
 
1106
+ class Reasons
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :abuse, as: 'abuse'
1110
+ property :billing, as: 'billing'
1111
+ property :data_governance, as: 'dataGovernance'
1112
+ property :service_management, as: 'serviceManagement'
1113
+ end
1114
+ end
1115
+
1045
1116
  class RepairApplicationRequest
1046
1117
  # @private
1047
1118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -56,6 +56,9 @@ module Google
56
56
  # applications, see Managing Projects, Applications, and Billing (https://cloud.
57
57
  # google.com/appengine/docs/standard/python/console/).
58
58
  # @param [Google::Apis::AppengineV1beta::Application] application_object
59
+ # @param [String] parent
60
+ # The project and location in which the application should be created, specified
61
+ # in the format projects/*/locations/*
59
62
  # @param [String] fields
60
63
  # Selector specifying which fields to include in a partial response.
61
64
  # @param [String] quota_user
@@ -73,12 +76,13 @@ module Google
73
76
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def create_app(application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ def create_app(application_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
77
80
  command = make_simple_command(:post, 'v1beta/apps', options)
78
81
  command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
79
82
  command.request_object = application_object
80
83
  command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
81
84
  command.response_class = Google::Apis::AppengineV1beta::Operation
85
+ command.query['parent'] = parent unless parent.nil?
82
86
  command.query['fields'] = fields unless fields.nil?
83
87
  command.query['quotaUser'] = quota_user unless quota_user.nil?
84
88
  execute_or_queue_command(command, &block)
@@ -1560,6 +1564,294 @@ module Google
1560
1564
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1561
1565
  execute_or_queue_command(command, &block)
1562
1566
  end
1567
+
1568
+ # Gets information about a location.
1569
+ # @param [String] projects_id
1570
+ # Part of `name`. Resource name for the location.
1571
+ # @param [String] locations_id
1572
+ # Part of `name`. See documentation of `projectsId`.
1573
+ # @param [String] fields
1574
+ # Selector specifying which fields to include in a partial response.
1575
+ # @param [String] quota_user
1576
+ # Available to use for quota purposes for server-side applications. Can be any
1577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1578
+ # @param [Google::Apis::RequestOptions] options
1579
+ # Request-specific options
1580
+ #
1581
+ # @yield [result, err] Result & error if block supplied
1582
+ # @yieldparam result [Google::Apis::AppengineV1beta::Location] parsed result object
1583
+ # @yieldparam err [StandardError] error object if request failed
1584
+ #
1585
+ # @return [Google::Apis::AppengineV1beta::Location]
1586
+ #
1587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1590
+ def get_project_location(projects_id, locations_id, fields: nil, quota_user: nil, options: nil, &block)
1591
+ command = make_simple_command(:get, 'v1beta/projects/{projectsId}/locations/{locationsId}', options)
1592
+ command.response_representation = Google::Apis::AppengineV1beta::Location::Representation
1593
+ command.response_class = Google::Apis::AppengineV1beta::Location
1594
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1595
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1596
+ command.query['fields'] = fields unless fields.nil?
1597
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1598
+ execute_or_queue_command(command, &block)
1599
+ end
1600
+
1601
+ # Lists information about the supported locations for this service.
1602
+ # @param [String] projects_id
1603
+ # Part of `name`. The resource that owns the locations collection, if applicable.
1604
+ # @param [String] filter
1605
+ # A filter to narrow down results to a preferred subset. The filtering language
1606
+ # accepts strings like "displayName=tokyo", and is documented in more detail in
1607
+ # AIP-160 (https://google.aip.dev/160).
1608
+ # @param [Fixnum] page_size
1609
+ # The maximum number of results to return. If not set, the service selects a
1610
+ # default.
1611
+ # @param [String] page_token
1612
+ # A page token received from the next_page_token field in the response. Send
1613
+ # that page token to receive the subsequent page.
1614
+ # @param [String] fields
1615
+ # Selector specifying which fields to include in a partial response.
1616
+ # @param [String] quota_user
1617
+ # Available to use for quota purposes for server-side applications. Can be any
1618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1619
+ # @param [Google::Apis::RequestOptions] options
1620
+ # Request-specific options
1621
+ #
1622
+ # @yield [result, err] Result & error if block supplied
1623
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListLocationsResponse] parsed result object
1624
+ # @yieldparam err [StandardError] error object if request failed
1625
+ #
1626
+ # @return [Google::Apis::AppengineV1beta::ListLocationsResponse]
1627
+ #
1628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1631
+ def list_project_locations(projects_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1632
+ command = make_simple_command(:get, 'v1beta/projects/{projectsId}/locations', options)
1633
+ command.response_representation = Google::Apis::AppengineV1beta::ListLocationsResponse::Representation
1634
+ command.response_class = Google::Apis::AppengineV1beta::ListLocationsResponse
1635
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1636
+ command.query['filter'] = filter unless filter.nil?
1637
+ command.query['pageSize'] = page_size unless page_size.nil?
1638
+ command.query['pageToken'] = page_token unless page_token.nil?
1639
+ command.query['fields'] = fields unless fields.nil?
1640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1641
+ execute_or_queue_command(command, &block)
1642
+ end
1643
+
1644
+ # Creates an App Engine application for a Google Cloud Platform project.
1645
+ # Required fields: id - The ID of the target Cloud Platform project. location -
1646
+ # The region (https://cloud.google.com/appengine/docs/locations) where you want
1647
+ # the App Engine application located.For more information about App Engine
1648
+ # applications, see Managing Projects, Applications, and Billing (https://cloud.
1649
+ # google.com/appengine/docs/standard/python/console/).
1650
+ # @param [String] projects_id
1651
+ # Part of `parent`. The project and location in which the application should be
1652
+ # created, specified in the format projects/*/locations/*
1653
+ # @param [String] locations_id
1654
+ # Part of `parent`. See documentation of `projectsId`.
1655
+ # @param [Google::Apis::AppengineV1beta::Application] application_object
1656
+ # @param [String] fields
1657
+ # Selector specifying which fields to include in a partial response.
1658
+ # @param [String] quota_user
1659
+ # Available to use for quota purposes for server-side applications. Can be any
1660
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1661
+ # @param [Google::Apis::RequestOptions] options
1662
+ # Request-specific options
1663
+ #
1664
+ # @yield [result, err] Result & error if block supplied
1665
+ # @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
1666
+ # @yieldparam err [StandardError] error object if request failed
1667
+ #
1668
+ # @return [Google::Apis::AppengineV1beta::Operation]
1669
+ #
1670
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1671
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1672
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1673
+ def create_project_location_application(projects_id, locations_id, application_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1674
+ command = make_simple_command(:post, 'v1beta/projects/{projectsId}/locations/{locationsId}/applications', options)
1675
+ command.request_representation = Google::Apis::AppengineV1beta::Application::Representation
1676
+ command.request_object = application_object
1677
+ command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
1678
+ command.response_class = Google::Apis::AppengineV1beta::Operation
1679
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1680
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1681
+ command.query['fields'] = fields unless fields.nil?
1682
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1683
+ execute_or_queue_command(command, &block)
1684
+ end
1685
+
1686
+ # Gets information about an application.
1687
+ # @param [String] projects_id
1688
+ # Part of `name`. Name of the Application resource to get. Example: apps/myapp.
1689
+ # @param [String] locations_id
1690
+ # Part of `name`. See documentation of `projectsId`.
1691
+ # @param [String] applications_id
1692
+ # Part of `name`. See documentation of `projectsId`.
1693
+ # @param [String] fields
1694
+ # Selector specifying which fields to include in a partial response.
1695
+ # @param [String] quota_user
1696
+ # Available to use for quota purposes for server-side applications. Can be any
1697
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1698
+ # @param [Google::Apis::RequestOptions] options
1699
+ # Request-specific options
1700
+ #
1701
+ # @yield [result, err] Result & error if block supplied
1702
+ # @yieldparam result [Google::Apis::AppengineV1beta::Application] parsed result object
1703
+ # @yieldparam err [StandardError] error object if request failed
1704
+ #
1705
+ # @return [Google::Apis::AppengineV1beta::Application]
1706
+ #
1707
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1708
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1709
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1710
+ def get_project_location_application(projects_id, locations_id, applications_id, fields: nil, quota_user: nil, options: nil, &block)
1711
+ command = make_simple_command(:get, 'v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}', options)
1712
+ command.response_representation = Google::Apis::AppengineV1beta::Application::Representation
1713
+ command.response_class = Google::Apis::AppengineV1beta::Application
1714
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1715
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1716
+ command.params['applicationsId'] = applications_id unless applications_id.nil?
1717
+ command.query['fields'] = fields unless fields.nil?
1718
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1719
+ execute_or_queue_command(command, &block)
1720
+ end
1721
+
1722
+ # Recreates the required App Engine features for the specified App Engine
1723
+ # application, for example a Cloud Storage bucket or App Engine service account.
1724
+ # Use this method if you receive an error message about a missing feature, for
1725
+ # example, Error retrieving the App Engine service account. If you have deleted
1726
+ # your App Engine service account, this will not be able to recreate it. Instead,
1727
+ # you should attempt to use the IAM undelete API if possible at https://cloud.
1728
+ # google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=
1729
+ # %7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%
1730
+ # 7D . If the deletion was recent, the numeric ID can be found in the Cloud
1731
+ # Console Activity Log.
1732
+ # @param [String] projects_id
1733
+ # Part of `name`. Name of the application to repair. Example: apps/myapp
1734
+ # @param [String] locations_id
1735
+ # Part of `name`. See documentation of `projectsId`.
1736
+ # @param [String] applications_id
1737
+ # Part of `name`. See documentation of `projectsId`.
1738
+ # @param [Google::Apis::AppengineV1beta::RepairApplicationRequest] repair_application_request_object
1739
+ # @param [String] fields
1740
+ # Selector specifying which fields to include in a partial response.
1741
+ # @param [String] quota_user
1742
+ # Available to use for quota purposes for server-side applications. Can be any
1743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1744
+ # @param [Google::Apis::RequestOptions] options
1745
+ # Request-specific options
1746
+ #
1747
+ # @yield [result, err] Result & error if block supplied
1748
+ # @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
1749
+ # @yieldparam err [StandardError] error object if request failed
1750
+ #
1751
+ # @return [Google::Apis::AppengineV1beta::Operation]
1752
+ #
1753
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1754
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1755
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1756
+ def repair_project_location_application(projects_id, locations_id, applications_id, repair_application_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1757
+ command = make_simple_command(:post, 'v1beta/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:repair', options)
1758
+ command.request_representation = Google::Apis::AppengineV1beta::RepairApplicationRequest::Representation
1759
+ command.request_object = repair_application_request_object
1760
+ command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
1761
+ command.response_class = Google::Apis::AppengineV1beta::Operation
1762
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1763
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1764
+ command.params['applicationsId'] = applications_id unless applications_id.nil?
1765
+ command.query['fields'] = fields unless fields.nil?
1766
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1767
+ execute_or_queue_command(command, &block)
1768
+ end
1769
+
1770
+ # Gets the latest state of a long-running operation. Clients can use this method
1771
+ # to poll the operation result at intervals as recommended by the API service.
1772
+ # @param [String] projects_id
1773
+ # Part of `name`. The name of the operation resource.
1774
+ # @param [String] locations_id
1775
+ # Part of `name`. See documentation of `projectsId`.
1776
+ # @param [String] operations_id
1777
+ # Part of `name`. See documentation of `projectsId`.
1778
+ # @param [String] fields
1779
+ # Selector specifying which fields to include in a partial response.
1780
+ # @param [String] quota_user
1781
+ # Available to use for quota purposes for server-side applications. Can be any
1782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1783
+ # @param [Google::Apis::RequestOptions] options
1784
+ # Request-specific options
1785
+ #
1786
+ # @yield [result, err] Result & error if block supplied
1787
+ # @yieldparam result [Google::Apis::AppengineV1beta::Operation] parsed result object
1788
+ # @yieldparam err [StandardError] error object if request failed
1789
+ #
1790
+ # @return [Google::Apis::AppengineV1beta::Operation]
1791
+ #
1792
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1793
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1794
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1795
+ def get_project_location_operation(projects_id, locations_id, operations_id, fields: nil, quota_user: nil, options: nil, &block)
1796
+ command = make_simple_command(:get, 'v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}', options)
1797
+ command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
1798
+ command.response_class = Google::Apis::AppengineV1beta::Operation
1799
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1800
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1801
+ command.params['operationsId'] = operations_id unless operations_id.nil?
1802
+ command.query['fields'] = fields unless fields.nil?
1803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1804
+ execute_or_queue_command(command, &block)
1805
+ end
1806
+
1807
+ # Lists operations that match the specified filter in the request. If the server
1808
+ # doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding
1809
+ # allows API services to override the binding to use different resource name
1810
+ # schemes, such as users/*/operations. To override the binding, API services can
1811
+ # add a binding such as "/v1/`name=users/*`/operations" to their service
1812
+ # configuration. For backwards compatibility, the default name includes the
1813
+ # operations collection id, however overriding users must ensure the name
1814
+ # binding is the parent resource, without the operations collection id.
1815
+ # @param [String] projects_id
1816
+ # Part of `name`. The name of the operation's parent resource.
1817
+ # @param [String] locations_id
1818
+ # Part of `name`. See documentation of `projectsId`.
1819
+ # @param [String] filter
1820
+ # The standard list filter.
1821
+ # @param [Fixnum] page_size
1822
+ # The standard list page size.
1823
+ # @param [String] page_token
1824
+ # The standard list page token.
1825
+ # @param [String] fields
1826
+ # Selector specifying which fields to include in a partial response.
1827
+ # @param [String] quota_user
1828
+ # Available to use for quota purposes for server-side applications. Can be any
1829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1830
+ # @param [Google::Apis::RequestOptions] options
1831
+ # Request-specific options
1832
+ #
1833
+ # @yield [result, err] Result & error if block supplied
1834
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListOperationsResponse] parsed result object
1835
+ # @yieldparam err [StandardError] error object if request failed
1836
+ #
1837
+ # @return [Google::Apis::AppengineV1beta::ListOperationsResponse]
1838
+ #
1839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1842
+ def list_project_location_operations(projects_id, locations_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1843
+ command = make_simple_command(:get, 'v1beta/projects/{projectsId}/locations/{locationsId}/operations', options)
1844
+ command.response_representation = Google::Apis::AppengineV1beta::ListOperationsResponse::Representation
1845
+ command.response_class = Google::Apis::AppengineV1beta::ListOperationsResponse
1846
+ command.params['projectsId'] = projects_id unless projects_id.nil?
1847
+ command.params['locationsId'] = locations_id unless locations_id.nil?
1848
+ command.query['filter'] = filter unless filter.nil?
1849
+ command.query['pageSize'] = page_size unless page_size.nil?
1850
+ command.query['pageToken'] = page_token unless page_token.nil?
1851
+ command.query['fields'] = fields unless fields.nil?
1852
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1853
+ execute_or_queue_command(command, &block)
1854
+ end
1563
1855
 
1564
1856
  protected
1565
1857
 
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.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-03 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1beta/v0.29.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: []