google-apis-appengine_v1 0.43.0 → 0.45.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: 8af8c5559fcd3d3ecc7ee7737203b3baf9283b668643e215db9d0bcb37ea2988
4
- data.tar.gz: 9388527a1311669f0b4c7d0f5b2bff4d5777c0ee54ab3ddb7d40013a7b828c10
3
+ metadata.gz: be7584b0f19ee882057afb82959e6ab7565cc246746daed5ee4c95c0e772759c
4
+ data.tar.gz: c7f656b1d415dc85454928e4c1b44ffa884bf91e7748a74e5175ee99c09d0946
5
5
  SHA512:
6
- metadata.gz: 5be7d9b49d80748fae665c9919ff2d9c7616bf7cf820c9ca92697d488cba495a4f32e46392d9d3ede824e7655030808af08872b59c352e214d681f1b6430965e
7
- data.tar.gz: c2a8d5cb25974fd71d05476612fe6489715ee1b8ace4deae29a4883929827c3c360358d4a5f28b3639bcc26e7fd527c695f239084a959aa7847a3bd32807de9b
6
+ metadata.gz: af9f64a8289d1e0ae689b2d40d1f7108ceb22d51e9d019eb70909155e6407d76895d2f70657f27f66672ff0ae2988d904228f90947f21c8ad564265bd61b0b94
7
+ data.tar.gz: 9f3c04f07905f6100dec2aae8056e62634fd43b6f5ce555c85c89f0b23c9e3a4dc4b1b6a052cca110cfbb1ba0e06c91692847f11026eb8ac9fc37def8b874f16
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-appengine_v1
2
2
 
3
+ ### v0.45.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231030
6
+
7
+ ### v0.44.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231024
10
+
3
11
  ### v0.43.0 (2023-10-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20231004
@@ -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
@@ -3055,6 +3197,13 @@ module Google
3055
3197
  # @return [Google::Apis::AppengineV1::FlexibleRuntimeSettings]
3056
3198
  attr_accessor :flexible_runtime_settings
3057
3199
 
3200
+ # Additional Google Generated Customer Metadata, this field won't be provided by
3201
+ # default and can be requested by setting the IncludeExtraData field in
3202
+ # GetVersionRequest
3203
+ # Corresponds to the JSON property `generatedCustomerMetadata`
3204
+ # @return [Hash<String,Object>]
3205
+ attr_accessor :generated_customer_metadata
3206
+
3058
3207
  # An ordered list of URL-matching patterns that should be applied to incoming
3059
3208
  # requests. The first matching URL handles the request and other request
3060
3209
  # handlers are not attempted.Only returned in GET requests if view=FULL is set.
@@ -3225,6 +3374,7 @@ module Google
3225
3374
  @env_variables = args[:env_variables] if args.key?(:env_variables)
3226
3375
  @error_handlers = args[:error_handlers] if args.key?(:error_handlers)
3227
3376
  @flexible_runtime_settings = args[:flexible_runtime_settings] if args.key?(:flexible_runtime_settings)
3377
+ @generated_customer_metadata = args[:generated_customer_metadata] if args.key?(:generated_customer_metadata)
3228
3378
  @handlers = args[:handlers] if args.key?(:handlers)
3229
3379
  @health_check = args[:health_check] if args.key?(:health_check)
3230
3380
  @id = args[:id] if args.key?(:id)
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20231004"
25
+ REVISION = "20231030"
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
@@ -1253,6 +1305,7 @@ module Google
1253
1305
 
1254
1306
  property :flexible_runtime_settings, as: 'flexibleRuntimeSettings', class: Google::Apis::AppengineV1::FlexibleRuntimeSettings, decorator: Google::Apis::AppengineV1::FlexibleRuntimeSettings::Representation
1255
1307
 
1308
+ hash :generated_customer_metadata, as: 'generatedCustomerMetadata'
1256
1309
  collection :handlers, as: 'handlers', class: Google::Apis::AppengineV1::UrlMap, decorator: Google::Apis::AppengineV1::UrlMap::Representation
1257
1310
 
1258
1311
  property :health_check, as: 'healthCheck', class: Google::Apis::AppengineV1::HealthCheck, decorator: Google::Apis::AppengineV1::HealthCheck::Representation
@@ -117,6 +117,40 @@ module Google
117
117
  execute_or_queue_command(command, &block)
118
118
  end
119
119
 
120
+ # Lists all the available runtimes for the application.
121
+ # @param [String] apps_id
122
+ # Part of `parent`. Required. Name of the parent Application resource. Example:
123
+ # apps/myapp.
124
+ # @param [String] environment
125
+ # Optional. The environment of the Application.
126
+ # @param [String] fields
127
+ # Selector specifying which fields to include in a partial response.
128
+ # @param [String] quota_user
129
+ # Available to use for quota purposes for server-side applications. Can be any
130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
131
+ # @param [Google::Apis::RequestOptions] options
132
+ # Request-specific options
133
+ #
134
+ # @yield [result, err] Result & error if block supplied
135
+ # @yieldparam result [Google::Apis::AppengineV1::ListRuntimesResponse] parsed result object
136
+ # @yieldparam err [StandardError] error object if request failed
137
+ #
138
+ # @return [Google::Apis::AppengineV1::ListRuntimesResponse]
139
+ #
140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
143
+ def list_app_runtimes(apps_id, environment: nil, fields: nil, quota_user: nil, options: nil, &block)
144
+ command = make_simple_command(:get, 'v1/apps/{appsId}:listRuntimes', options)
145
+ command.response_representation = Google::Apis::AppengineV1::ListRuntimesResponse::Representation
146
+ command.response_class = Google::Apis::AppengineV1::ListRuntimesResponse
147
+ command.params['appsId'] = apps_id unless apps_id.nil?
148
+ command.query['environment'] = environment unless environment.nil?
149
+ command.query['fields'] = fields unless fields.nil?
150
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
151
+ execute_or_queue_command(command, &block)
152
+ end
153
+
120
154
  # Updates the specified Application resource. You can update the following
121
155
  # fields: auth_domain - Google authentication domain for controlling user access
122
156
  # 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.43.0
4
+ version: 0.45.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-22 00:00:00.000000000 Z
11
+ date: 2023-11-05 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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-appengine_v1/v0.45.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: []