google-apis-appengine_v1 0.44.0 → 0.46.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: adc29ce5e4fd81f1e71e0b24f04dc42e95f07f25520911de15e10c9552ca932f
4
- data.tar.gz: 3d49bea25761cfb984249cc1c9c52f798d7f58378257fbfcec7882a7b7f1f450
3
+ metadata.gz: 9b880cf319f361e660ba1ee1ae4c6dae02909e6cc5707bddfd7371111d6fb97b
4
+ data.tar.gz: 9f4badda8de6c292be5af02235d49aeb5551803e49e1e3b910ea415c87c9b8fc
5
5
  SHA512:
6
- metadata.gz: c604640ac3d72231a4d3b87af8934c83d570ae5faf09c975adced61cb8762209c33066798f20ea046d934b4501810b80da178d4ec1e6335d9417bb31dc3bad29
7
- data.tar.gz: 5248a920f86e4582715076530da5aff59d3da81dc9310fa0ea964c8093f1e4024d705c3fe1e8a1ec8c01571c0eb79dc6f2af438a31ed8c7935d1f786ac7e0a6e
6
+ metadata.gz: dbbbf9272326f9b3c80dd12f8d53eb3de96502e70fc45c7b3aadd8a4b2c6d784f71ae066d5c83ce2b09168f1413c079e76993da4a41e326bc9eaf5e6a7d18739
7
+ data.tar.gz: c09fd01a289e93d549a37c98dc49a0aa6f8bbfc842d5ad0189bd7ee04f50d516a121d12cbf3026b5664fe35d78f0b6ff330cb7ee0ac44637c10e77975b7c18f2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-appengine_v1
2
2
 
3
+ ### v0.46.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20231107
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.45.0 (2023-11-05)
9
+
10
+ * Regenerated from discovery document revision 20231030
11
+
3
12
  ### v0.44.0 (2023-10-29)
4
13
 
5
14
  * Regenerated from discovery document revision 20231024
@@ -714,6 +714,47 @@ module Google
714
714
  end
715
715
  end
716
716
 
717
+ # Represents a whole or partial calendar date, such as a birthday. The time of
718
+ # day and time zone are either specified elsewhere or are insignificant. The
719
+ # date is relative to the Gregorian Calendar. This can represent one of the
720
+ # following: A full date, with non-zero year, month, and day values. A month and
721
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
722
+ # zero month and a zero day. A year and month, with a zero day (for example, a
723
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
724
+ # DateTime google.protobuf.Timestamp
725
+ class Date
726
+ include Google::Apis::Core::Hashable
727
+
728
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
729
+ # specify a year by itself or a year and month where the day isn't significant.
730
+ # Corresponds to the JSON property `day`
731
+ # @return [Fixnum]
732
+ attr_accessor :day
733
+
734
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
735
+ # and day.
736
+ # Corresponds to the JSON property `month`
737
+ # @return [Fixnum]
738
+ attr_accessor :month
739
+
740
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
741
+ # year.
742
+ # Corresponds to the JSON property `year`
743
+ # @return [Fixnum]
744
+ attr_accessor :year
745
+
746
+ def initialize(**args)
747
+ update!(**args)
748
+ end
749
+
750
+ # Update properties of this object
751
+ def update!(**args)
752
+ @day = args[:day] if args.key?(:day)
753
+ @month = args[:month] if args.key?(:month)
754
+ @year = args[:year] if args.key?(:year)
755
+ end
756
+ end
757
+
717
758
  # Request message for Instances.DebugInstance.
718
759
  class DebugInstanceRequest
719
760
  include Google::Apis::Core::Hashable
@@ -1580,6 +1621,31 @@ module Google
1580
1621
  end
1581
1622
  end
1582
1623
 
1624
+ # Response message for Applications.ListRuntimes.
1625
+ class ListRuntimesResponse
1626
+ include Google::Apis::Core::Hashable
1627
+
1628
+ # Continuation token for fetching the next page of results.
1629
+ # Corresponds to the JSON property `nextPageToken`
1630
+ # @return [String]
1631
+ attr_accessor :next_page_token
1632
+
1633
+ # The runtimes available to the requested application.
1634
+ # Corresponds to the JSON property `runtimes`
1635
+ # @return [Array<Google::Apis::AppengineV1::Runtime>]
1636
+ attr_accessor :runtimes
1637
+
1638
+ def initialize(**args)
1639
+ update!(**args)
1640
+ end
1641
+
1642
+ # Update properties of this object
1643
+ def update!(**args)
1644
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1645
+ @runtimes = args[:runtimes] if args.key?(:runtimes)
1646
+ end
1647
+ end
1648
+
1583
1649
  # Response message for Services.ListServices.
1584
1650
  class ListServicesResponse
1585
1651
  include Google::Apis::Core::Hashable
@@ -2527,6 +2593,82 @@ module Google
2527
2593
  end
2528
2594
  end
2529
2595
 
2596
+ # Runtime versions for App Engine.
2597
+ class Runtime
2598
+ include Google::Apis::Core::Hashable
2599
+
2600
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2601
+ # day and time zone are either specified elsewhere or are insignificant. The
2602
+ # date is relative to the Gregorian Calendar. This can represent one of the
2603
+ # following: A full date, with non-zero year, month, and day values. A month and
2604
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
2605
+ # zero month and a zero day. A year and month, with a zero day (for example, a
2606
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
2607
+ # DateTime google.protobuf.Timestamp
2608
+ # Corresponds to the JSON property `decommissionedDate`
2609
+ # @return [Google::Apis::AppengineV1::Date]
2610
+ attr_accessor :decommissioned_date
2611
+
2612
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2613
+ # day and time zone are either specified elsewhere or are insignificant. The
2614
+ # date is relative to the Gregorian Calendar. This can represent one of the
2615
+ # following: A full date, with non-zero year, month, and day values. A month and
2616
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
2617
+ # zero month and a zero day. A year and month, with a zero day (for example, a
2618
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
2619
+ # DateTime google.protobuf.Timestamp
2620
+ # Corresponds to the JSON property `deprecationDate`
2621
+ # @return [Google::Apis::AppengineV1::Date]
2622
+ attr_accessor :deprecation_date
2623
+
2624
+ # Represents a whole or partial calendar date, such as a birthday. The time of
2625
+ # day and time zone are either specified elsewhere or are insignificant. The
2626
+ # date is relative to the Gregorian Calendar. This can represent one of the
2627
+ # following: A full date, with non-zero year, month, and day values. A month and
2628
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
2629
+ # zero month and a zero day. A year and month, with a zero day (for example, a
2630
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
2631
+ # DateTime google.protobuf.Timestamp
2632
+ # Corresponds to the JSON property `endOfSupportDate`
2633
+ # @return [Google::Apis::AppengineV1::Date]
2634
+ attr_accessor :end_of_support_date
2635
+
2636
+ # The environment of the runtime.
2637
+ # Corresponds to the JSON property `environment`
2638
+ # @return [String]
2639
+ attr_accessor :environment
2640
+
2641
+ # The name of the runtime, e.g., 'go113', 'nodejs12', etc.
2642
+ # Corresponds to the JSON property `name`
2643
+ # @return [String]
2644
+ attr_accessor :name
2645
+
2646
+ # The stage of life this runtime is in, e.g., BETA, GA, etc.
2647
+ # Corresponds to the JSON property `stage`
2648
+ # @return [String]
2649
+ attr_accessor :stage
2650
+
2651
+ # Warning messages, e.g., a deprecation warning.
2652
+ # Corresponds to the JSON property `warnings`
2653
+ # @return [Array<String>]
2654
+ attr_accessor :warnings
2655
+
2656
+ def initialize(**args)
2657
+ update!(**args)
2658
+ end
2659
+
2660
+ # Update properties of this object
2661
+ def update!(**args)
2662
+ @decommissioned_date = args[:decommissioned_date] if args.key?(:decommissioned_date)
2663
+ @deprecation_date = args[:deprecation_date] if args.key?(:deprecation_date)
2664
+ @end_of_support_date = args[:end_of_support_date] if args.key?(:end_of_support_date)
2665
+ @environment = args[:environment] if args.key?(:environment)
2666
+ @name = args[:name] if args.key?(:name)
2667
+ @stage = args[:stage] if args.key?(:stage)
2668
+ @warnings = args[:warnings] if args.key?(:warnings)
2669
+ end
2670
+ end
2671
+
2530
2672
  # Executes a script to handle the request that matches the URL pattern.
2531
2673
  class ScriptHandler
2532
2674
  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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20231024"
25
+ REVISION = "20231107"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class Date
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class DebugInstanceRequest
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -268,6 +274,12 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
277
+ class ListRuntimesResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
271
283
  class ListServicesResponse
272
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
285
 
@@ -400,6 +412,12 @@ module Google
400
412
  include Google::Apis::Core::JsonObjectSupport
401
413
  end
402
414
 
415
+ class Runtime
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
403
421
  class ScriptHandler
404
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
423
 
@@ -657,6 +675,15 @@ module Google
657
675
  end
658
676
  end
659
677
 
678
+ class Date
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :day, as: 'day'
682
+ property :month, as: 'month'
683
+ property :year, as: 'year'
684
+ end
685
+ end
686
+
660
687
  class DebugInstanceRequest
661
688
  # @private
662
689
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -893,6 +920,15 @@ module Google
893
920
  end
894
921
  end
895
922
 
923
+ class ListRuntimesResponse
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :next_page_token, as: 'nextPageToken'
927
+ collection :runtimes, as: 'runtimes', class: Google::Apis::AppengineV1::Runtime, decorator: Google::Apis::AppengineV1::Runtime::Representation
928
+
929
+ end
930
+ end
931
+
896
932
  class ListServicesResponse
897
933
  # @private
898
934
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1129,6 +1165,22 @@ module Google
1129
1165
  end
1130
1166
  end
1131
1167
 
1168
+ class Runtime
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :decommissioned_date, as: 'decommissionedDate', class: Google::Apis::AppengineV1::Date, decorator: Google::Apis::AppengineV1::Date::Representation
1172
+
1173
+ property :deprecation_date, as: 'deprecationDate', class: Google::Apis::AppengineV1::Date, decorator: Google::Apis::AppengineV1::Date::Representation
1174
+
1175
+ property :end_of_support_date, as: 'endOfSupportDate', class: Google::Apis::AppengineV1::Date, decorator: Google::Apis::AppengineV1::Date::Representation
1176
+
1177
+ property :environment, as: 'environment'
1178
+ property :name, as: 'name'
1179
+ property :stage, as: 'stage'
1180
+ collection :warnings, as: 'warnings'
1181
+ end
1182
+ end
1183
+
1132
1184
  class ScriptHandler
1133
1185
  # @private
1134
1186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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_v1',
48
50
  client_version: Google::Apis::AppengineV1::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::AppengineV1::ListRuntimesResponse] parsed result object
138
+ # @yieldparam err [StandardError] error object if request failed
139
+ #
140
+ # @return [Google::Apis::AppengineV1::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, 'v1/apps/{appsId}:listRuntimes', options)
147
+ command.response_representation = Google::Apis::AppengineV1::ListRuntimesResponse::Representation
148
+ command.response_class = Google::Apis::AppengineV1::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
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.44.0
4
+ version: 0.46.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-10-29 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1/v0.46.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.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 V1