google-apis-appengine_v1beta 0.36.0 → 0.37.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: bbf277e3037e526d5735119726cd8e88bf82e5b9c508b79de2ebb46fc0d11e20
4
- data.tar.gz: 8a2422b43b9c8dd3dbcaae883c6549e0d4b95e016584f2c2262f5500a2b7dee0
3
+ metadata.gz: 8cfb03f3c787e199c488f603c5bfec0064ed3a7f7c9bdd0bab0b90e077dc560c
4
+ data.tar.gz: b2b922bed95c18d88ae8bd4cefc2c5af0e90184e7d11406fd60846694485551f
5
5
  SHA512:
6
- metadata.gz: 3e9ac5b3d8edba0c60079ae84db3e21c42f9e87c71352d1ecb924059e6e58187ea468c4f026ead991462a8de17029af68bc4e1ac57e2880d1e4118325dbf08a4
7
- data.tar.gz: 98b81a46dec2ff2748b64f720f20ae3d28428ff2a5400c537cc2c861093635df41c864f75d612cb9cc6b5754a29ec8eec841f514e1adc6a5381bd276f7d56c76
6
+ metadata.gz: a5f9c36b7508cd1905aa7aa8e27230fcbf76703fd83b4e2443f91ea1668a77d011acb2f5846af0bde5509f77be8ce730a40718cb702d8951f3235dcf0999dee8
7
+ data.tar.gz: 71920894a4cd48283485d2506736f27c529b5c14913ac66bd32698c0a3d7ca91fb3e485bb86e38508fb6a05c2a7c7ef026141765921dbd5bec0d992bc05fc2be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-appengine_v1beta
2
2
 
3
+ ### v0.37.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230807
6
+
3
7
  ### v0.36.0 (2023-07-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20230706
@@ -1608,6 +1608,31 @@ module Google
1608
1608
  end
1609
1609
  end
1610
1610
 
1611
+ # Response message for Applications.ListRuntimes.
1612
+ class ListRuntimesResponse
1613
+ include Google::Apis::Core::Hashable
1614
+
1615
+ # Continuation token for fetching the next page of results.
1616
+ # Corresponds to the JSON property `nextPageToken`
1617
+ # @return [String]
1618
+ attr_accessor :next_page_token
1619
+
1620
+ # The runtimes available to the requested application.
1621
+ # Corresponds to the JSON property `runtimes`
1622
+ # @return [Array<Google::Apis::AppengineV1beta::Runtime>]
1623
+ attr_accessor :runtimes
1624
+
1625
+ def initialize(**args)
1626
+ update!(**args)
1627
+ end
1628
+
1629
+ # Update properties of this object
1630
+ def update!(**args)
1631
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1632
+ @runtimes = args[:runtimes] if args.key?(:runtimes)
1633
+ end
1634
+ end
1635
+
1611
1636
  # Response message for Services.ListServices.
1612
1637
  class ListServicesResponse
1613
1638
  include Google::Apis::Core::Hashable
@@ -2011,12 +2036,12 @@ module Google
2011
2036
  # @return [String]
2012
2037
  attr_accessor :name
2013
2038
 
2014
- # The normal response of the operation in case of success. If the original
2015
- # method returns no data on success, such as Delete, the response is google.
2016
- # protobuf.Empty. If the original method is standard Get/Create/Update, the
2017
- # response should be the resource. For other methods, the response should have
2018
- # the type XxxResponse, where Xxx is the original method name. For example, if
2019
- # the original method name is TakeSnapshot(), the inferred response type is
2039
+ # The normal, successful response of the operation. If the original method
2040
+ # returns no data on success, such as Delete, the response is google.protobuf.
2041
+ # Empty. If the original method is standard Get/Create/Update, the response
2042
+ # should be the resource. For other methods, the response should have the type
2043
+ # XxxResponse, where Xxx is the original method name. For example, if the
2044
+ # original method name is TakeSnapshot(), the inferred response type is
2020
2045
  # TakeSnapshotResponse.
2021
2046
  # Corresponds to the JSON property `response`
2022
2047
  # @return [Hash<String,Object>]
@@ -2598,6 +2623,43 @@ module Google
2598
2623
  end
2599
2624
  end
2600
2625
 
2626
+ # Runtime versions for App Engine.
2627
+ class Runtime
2628
+ include Google::Apis::Core::Hashable
2629
+
2630
+ # The environment of the runtime.
2631
+ # Corresponds to the JSON property `environment`
2632
+ # @return [String]
2633
+ attr_accessor :environment
2634
+
2635
+ # The name of the runtime, e.g., 'go113', 'nodejs12', etc.
2636
+ # Corresponds to the JSON property `name`
2637
+ # @return [String]
2638
+ attr_accessor :name
2639
+
2640
+ # The stage of life this runtime is in, e.g., BETA, GA, etc.
2641
+ # Corresponds to the JSON property `stage`
2642
+ # @return [String]
2643
+ attr_accessor :stage
2644
+
2645
+ # Warning messages, e.g., a deprecation warning.
2646
+ # Corresponds to the JSON property `warnings`
2647
+ # @return [Array<String>]
2648
+ attr_accessor :warnings
2649
+
2650
+ def initialize(**args)
2651
+ update!(**args)
2652
+ end
2653
+
2654
+ # Update properties of this object
2655
+ def update!(**args)
2656
+ @environment = args[:environment] if args.key?(:environment)
2657
+ @name = args[:name] if args.key?(:name)
2658
+ @stage = args[:stage] if args.key?(:stage)
2659
+ @warnings = args[:warnings] if args.key?(:warnings)
2660
+ end
2661
+ end
2662
+
2601
2663
  # Executes a script to handle the request that matches the URL pattern.
2602
2664
  class ScriptHandler
2603
2665
  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.36.0"
19
+ GEM_VERSION = "0.37.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 = "20230706"
25
+ REVISION = "20230807"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class ListRuntimesResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class ListServicesResponse
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class Runtime
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class ScriptHandler
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -915,6 +927,15 @@ module Google
915
927
  end
916
928
  end
917
929
 
930
+ class ListRuntimesResponse
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :next_page_token, as: 'nextPageToken'
934
+ collection :runtimes, as: 'runtimes', class: Google::Apis::AppengineV1beta::Runtime, decorator: Google::Apis::AppengineV1beta::Runtime::Representation
935
+
936
+ end
937
+ end
938
+
918
939
  class ListServicesResponse
919
940
  # @private
920
941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1162,6 +1183,16 @@ module Google
1162
1183
  end
1163
1184
  end
1164
1185
 
1186
+ class Runtime
1187
+ # @private
1188
+ class Representation < Google::Apis::Core::JsonRepresentation
1189
+ property :environment, as: 'environment'
1190
+ property :name, as: 'name'
1191
+ property :stage, as: 'stage'
1192
+ collection :warnings, as: 'warnings'
1193
+ end
1194
+ end
1195
+
1165
1196
  class ScriptHandler
1166
1197
  # @private
1167
1198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,6 +976,46 @@ module Google
976
976
  execute_or_queue_command(command, &block)
977
977
  end
978
978
 
979
+ # Lists all the available runtimes for the application.
980
+ # @param [String] apps_id
981
+ # Part of `parent`. Required. Name of the parent Application resource. Example:
982
+ # apps/myapp.
983
+ # @param [String] environment
984
+ # Optional. The environment of the Application.
985
+ # @param [Fixnum] page_size
986
+ # Optional. Maximum results to return per page.
987
+ # @param [String] page_token
988
+ # Optional. Continuation token for fetching the next page of results.
989
+ # @param [String] fields
990
+ # Selector specifying which fields to include in a partial response.
991
+ # @param [String] quota_user
992
+ # Available to use for quota purposes for server-side applications. Can be any
993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
994
+ # @param [Google::Apis::RequestOptions] options
995
+ # Request-specific options
996
+ #
997
+ # @yield [result, err] Result & error if block supplied
998
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListRuntimesResponse] parsed result object
999
+ # @yieldparam err [StandardError] error object if request failed
1000
+ #
1001
+ # @return [Google::Apis::AppengineV1beta::ListRuntimesResponse]
1002
+ #
1003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1006
+ def list_app_runtimes(apps_id, environment: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1007
+ command = make_simple_command(:get, 'v1beta/apps/{appsId}/runtimes', options)
1008
+ command.response_representation = Google::Apis::AppengineV1beta::ListRuntimesResponse::Representation
1009
+ command.response_class = Google::Apis::AppengineV1beta::ListRuntimesResponse
1010
+ command.params['appsId'] = apps_id unless apps_id.nil?
1011
+ command.query['environment'] = environment unless environment.nil?
1012
+ command.query['pageSize'] = page_size unless page_size.nil?
1013
+ command.query['pageToken'] = page_token unless page_token.nil?
1014
+ command.query['fields'] = fields unless fields.nil?
1015
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1016
+ execute_or_queue_command(command, &block)
1017
+ end
1018
+
979
1019
  # Deletes the specified service and all enclosed versions.
980
1020
  # @param [String] apps_id
981
1021
  # 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.36.0
4
+ version: 0.37.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-07-09 00:00:00.000000000 Z
11
+ date: 2023-08-20 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1beta/v0.37.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: []