google-apis-appengine_v1beta 0.36.0 → 0.38.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: e73541568e249f60b929e18a95e9d6dac547c2a921874d294b57733052b51f8a
4
+ data.tar.gz: bb07954e693c84339ef42a42487190474cb265a661c336fcbfe77e451c27fe80
5
5
  SHA512:
6
- metadata.gz: 3e9ac5b3d8edba0c60079ae84db3e21c42f9e87c71352d1ecb924059e6e58187ea468c4f026ead991462a8de17029af68bc4e1ac57e2880d1e4118325dbf08a4
7
- data.tar.gz: 98b81a46dec2ff2748b64f720f20ae3d28428ff2a5400c537cc2c861093635df41c864f75d612cb9cc6b5754a29ec8eec841f514e1adc6a5381bd276f7d56c76
6
+ metadata.gz: a6483b0fedbb4c4698d92161f068fa0ce50b602fd90458b18baeb3862f1b35e139657c9d800f784b9d2d9f50e18371b44431644ed3be4a8957e68be40a4d204e
7
+ data.tar.gz: dfe76e2cbebcba13e4f6c7ced7041cbbe4c56a26a487fc7653dcfbe0999e2847cfe5d5aa6014efc9cb99711d645559676f8149f0a2759421a3fd6ed5ebfe613f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-appengine_v1beta
2
2
 
3
+ ### v0.38.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230821
6
+
7
+ ### v0.37.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230807
10
+
3
11
  ### v0.36.0 (2023-07-09)
4
12
 
5
13
  * 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.38.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 = "20230821"
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
@@ -87,6 +87,8 @@ module Google
87
87
  # Gets information about an application.
88
88
  # @param [String] apps_id
89
89
  # Part of `name`. Name of the Application resource to get. Example: apps/myapp.
90
+ # @param [String] include_extra_data
91
+ # Optional. Options to include extra data
90
92
  # @param [String] fields
91
93
  # Selector specifying which fields to include in a partial response.
92
94
  # @param [String] quota_user
@@ -104,11 +106,12 @@ module Google
104
106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
105
107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106
108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
107
- def get_app(apps_id, fields: nil, quota_user: nil, options: nil, &block)
109
+ def get_app(apps_id, include_extra_data: nil, fields: nil, quota_user: nil, options: nil, &block)
108
110
  command = make_simple_command(:get, 'v1beta/apps/{appsId}', options)
109
111
  command.response_representation = Google::Apis::AppengineV1beta::Application::Representation
110
112
  command.response_class = Google::Apis::AppengineV1beta::Application
111
113
  command.params['appsId'] = apps_id unless apps_id.nil?
114
+ command.query['includeExtraData'] = include_extra_data unless include_extra_data.nil?
112
115
  command.query['fields'] = fields unless fields.nil?
113
116
  command.query['quotaUser'] = quota_user unless quota_user.nil?
114
117
  execute_or_queue_command(command, &block)
@@ -976,6 +979,46 @@ module Google
976
979
  execute_or_queue_command(command, &block)
977
980
  end
978
981
 
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 [Fixnum] page_size
989
+ # Optional. Maximum results to return per page.
990
+ # @param [String] page_token
991
+ # Optional. Continuation token for fetching the next page of results.
992
+ # @param [String] fields
993
+ # Selector specifying which fields to include in a partial response.
994
+ # @param [String] quota_user
995
+ # Available to use for quota purposes for server-side applications. Can be any
996
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
997
+ # @param [Google::Apis::RequestOptions] options
998
+ # Request-specific options
999
+ #
1000
+ # @yield [result, err] Result & error if block supplied
1001
+ # @yieldparam result [Google::Apis::AppengineV1beta::ListRuntimesResponse] parsed result object
1002
+ # @yieldparam err [StandardError] error object if request failed
1003
+ #
1004
+ # @return [Google::Apis::AppengineV1beta::ListRuntimesResponse]
1005
+ #
1006
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1007
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1008
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1009
+ def list_app_runtimes(apps_id, environment: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1010
+ command = make_simple_command(:get, 'v1beta/apps/{appsId}/runtimes', options)
1011
+ command.response_representation = Google::Apis::AppengineV1beta::ListRuntimesResponse::Representation
1012
+ command.response_class = Google::Apis::AppengineV1beta::ListRuntimesResponse
1013
+ command.params['appsId'] = apps_id unless apps_id.nil?
1014
+ command.query['environment'] = environment unless environment.nil?
1015
+ command.query['pageSize'] = page_size unless page_size.nil?
1016
+ command.query['pageToken'] = page_token unless page_token.nil?
1017
+ command.query['fields'] = fields unless fields.nil?
1018
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1019
+ execute_or_queue_command(command, &block)
1020
+ end
1021
+
979
1022
  # Deletes the specified service and all enclosed versions.
980
1023
  # @param [String] apps_id
981
1024
  # 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.38.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-27 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.38.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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Engine Admin API V1beta