google-apis-run_v2 0.67.0 → 0.68.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db845ae678d821d4c082bd5d08b72fa9e0823153332b6af30075c8ab5b1895e1
4
- data.tar.gz: 310cca11704221ff85ba7b1eba8262525459a122c945e515be4715ef57c51013
3
+ metadata.gz: 86fc9e501e1d6f0682ab8a87dde73586092e2a99044ee506ae6fd18056222610
4
+ data.tar.gz: a28b8e8d6d459032486be855851e8d617c3b6de7f14c5814dba1a70b1fe4c46d
5
5
  SHA512:
6
- metadata.gz: 2b3c764d7b25bdfc21e84b5cf0abc8911a62e28c2b62a72dabe46ad6ce999ca0e9dd7f2ad3517dea41f1f6a51e1e61f77fe8d30684edbd5bfd85b6a4d9ec01f3
7
- data.tar.gz: d6b066972064b9a5e00b161765d79a6c5e93a305fb4276cdddf17370ae6483af02c462f0a5daaa7594d5dfdb1b4aec56fff5537a01c42a3759e30569b90ab02f
6
+ metadata.gz: 644c5c9333fc86434e95631b049a23fcca4efed13e8084fc2b94dd49436c6b35448346bddc1e6e5ce0d27fce5964d8e02258a26b241c8cd28a8196fd07ba0d0c
7
+ data.tar.gz: 1369b38756c13f9ef2b41e1913d1c71624a3119210b5a165a0e0ad21298456819b134635a6c198c59b67fa04b4d7922a67942a61be7557c55872e4a5902c44b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.68.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240712
6
+
3
7
  ### v0.67.0 (2024-06-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240614
@@ -647,6 +647,11 @@ module Google
647
647
  class GoogleCloudRunV2ExecutionReference
648
648
  include Google::Apis::Core::Hashable
649
649
 
650
+ # Status for the execution completion.
651
+ # Corresponds to the JSON property `completionStatus`
652
+ # @return [String]
653
+ attr_accessor :completion_status
654
+
650
655
  # Creation timestamp of the execution.
651
656
  # Corresponds to the JSON property `completionTime`
652
657
  # @return [String]
@@ -657,6 +662,12 @@ module Google
657
662
  # @return [String]
658
663
  attr_accessor :create_time
659
664
 
665
+ # The deletion time of the execution. It is only populated as a response to a
666
+ # Delete request.
667
+ # Corresponds to the JSON property `deleteTime`
668
+ # @return [String]
669
+ attr_accessor :delete_time
670
+
660
671
  # Name of the execution.
661
672
  # Corresponds to the JSON property `name`
662
673
  # @return [String]
@@ -668,8 +679,10 @@ module Google
668
679
 
669
680
  # Update properties of this object
670
681
  def update!(**args)
682
+ @completion_status = args[:completion_status] if args.key?(:completion_status)
671
683
  @completion_time = args[:completion_time] if args.key?(:completion_time)
672
684
  @create_time = args[:create_time] if args.key?(:create_time)
685
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
673
686
  @name = args[:name] if args.key?(:name)
674
687
  end
675
688
  end
@@ -816,8 +829,7 @@ module Google
816
829
  class GoogleCloudRunV2GcsVolumeSource
817
830
  include Google::Apis::Core::Hashable
818
831
 
819
- # Cloud Storage Bucket name. TODO (b/344678062) Fix the error validation once
820
- # dynamic mounting is public.
832
+ # Cloud Storage Bucket name.
821
833
  # Corresponds to the JSON property `bucket`
822
834
  # @return [String]
823
835
  attr_accessor :bucket
@@ -1898,7 +1910,8 @@ module Google
1898
1910
  attr_accessor :labels
1899
1911
 
1900
1912
  # Optional. Sets the maximum number of requests that each serving instance can
1901
- # receive.
1913
+ # receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and
1914
+ # defaults to 1 when requested CPU < 1.
1902
1915
  # Corresponds to the JSON property `maxInstanceRequestConcurrency`
1903
1916
  # @return [Fixnum]
1904
1917
  attr_accessor :max_instance_request_concurrency
@@ -3886,40 +3899,6 @@ module Google
3886
3899
  end
3887
3900
  end
3888
3901
 
3889
- # Represents a storage location in Cloud Storage
3890
- class GoogleDevtoolsCloudbuildV1GcsLocation
3891
- include Google::Apis::Core::Hashable
3892
-
3893
- # Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
3894
- # requirements
3895
- # Corresponds to the JSON property `bucket`
3896
- # @return [String]
3897
- attr_accessor :bucket
3898
-
3899
- # Cloud Storage generation for the object. If the generation is omitted, the
3900
- # latest generation will be used.
3901
- # Corresponds to the JSON property `generation`
3902
- # @return [Fixnum]
3903
- attr_accessor :generation
3904
-
3905
- # Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
3906
- # objectnames
3907
- # Corresponds to the JSON property `object`
3908
- # @return [String]
3909
- attr_accessor :object
3910
-
3911
- def initialize(**args)
3912
- update!(**args)
3913
- end
3914
-
3915
- # Update properties of this object
3916
- def update!(**args)
3917
- @bucket = args[:bucket] if args.key?(:bucket)
3918
- @generation = args[:generation] if args.key?(:generation)
3919
- @object = args[:object] if args.key?(:object)
3920
- end
3921
- end
3922
-
3923
3902
  # GitConfig is a configuration for git operations.
3924
3903
  class GoogleDevtoolsCloudbuildV1GitConfig
3925
3904
  include Google::Apis::Core::Hashable
@@ -4009,17 +3988,14 @@ module Google
4009
3988
  class GoogleDevtoolsCloudbuildV1HttpConfig
4010
3989
  include Google::Apis::Core::Hashable
4011
3990
 
4012
- # SecretVersion resource of the HTTP proxy URL. The proxy URL should be in
4013
- # format protocol://@]proxyhost[:port].
3991
+ # SecretVersion resource of the HTTP proxy URL. The Service Account used in the
3992
+ # build (either the default Service Account or user-specified Service Account)
3993
+ # should have `secretmanager.versions.access` permissions on this secret. The
3994
+ # proxy URL should be in format `protocol://@]proxyhost[:port]`.
4014
3995
  # Corresponds to the JSON property `proxySecretVersionName`
4015
3996
  # @return [String]
4016
3997
  attr_accessor :proxy_secret_version_name
4017
3998
 
4018
- # Represents a storage location in Cloud Storage
4019
- # Corresponds to the JSON property `proxySslCaInfo`
4020
- # @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation]
4021
- attr_accessor :proxy_ssl_ca_info
4022
-
4023
3999
  def initialize(**args)
4024
4000
  update!(**args)
4025
4001
  end
@@ -4027,7 +4003,6 @@ module Google
4027
4003
  # Update properties of this object
4028
4004
  def update!(**args)
4029
4005
  @proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
4030
- @proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
4031
4006
  end
4032
4007
  end
4033
4008
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.67.0"
19
+ GEM_VERSION = "0.68.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240614"
25
+ REVISION = "20240712"
26
26
  end
27
27
  end
28
28
  end
@@ -424,12 +424,6 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
- class GoogleDevtoolsCloudbuildV1GcsLocation
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
427
  class GoogleDevtoolsCloudbuildV1GitConfig
434
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
429
 
@@ -809,8 +803,10 @@ module Google
809
803
  class GoogleCloudRunV2ExecutionReference
810
804
  # @private
811
805
  class Representation < Google::Apis::Core::JsonRepresentation
806
+ property :completion_status, as: 'completionStatus'
812
807
  property :completion_time, as: 'completionTime'
813
808
  property :create_time, as: 'createTime'
809
+ property :delete_time, as: 'deleteTime'
814
810
  property :name, as: 'name'
815
811
  end
816
812
  end
@@ -1555,15 +1551,6 @@ module Google
1555
1551
  end
1556
1552
  end
1557
1553
 
1558
- class GoogleDevtoolsCloudbuildV1GcsLocation
1559
- # @private
1560
- class Representation < Google::Apis::Core::JsonRepresentation
1561
- property :bucket, as: 'bucket'
1562
- property :generation, :numeric_string => true, as: 'generation'
1563
- property :object, as: 'object'
1564
- end
1565
- end
1566
-
1567
1554
  class GoogleDevtoolsCloudbuildV1GitConfig
1568
1555
  # @private
1569
1556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1593,8 +1580,6 @@ module Google
1593
1580
  # @private
1594
1581
  class Representation < Google::Apis::Core::JsonRepresentation
1595
1582
  property :proxy_secret_version_name, as: 'proxySecretVersionName'
1596
- property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation::Representation
1597
-
1598
1583
  end
1599
1584
  end
1600
1585
 
@@ -158,6 +158,38 @@ module Google
158
158
  execute_or_queue_command(command, &block)
159
159
  end
160
160
 
161
+ # Export generated customer metadata for a given project.
162
+ # @param [String] name
163
+ # Required. The name of the project of which metadata should be exported. Format:
164
+ # `projects/`project_id_or_number`/locations/`location`` for Project in a given
165
+ # location.
166
+ # @param [String] fields
167
+ # Selector specifying which fields to include in a partial response.
168
+ # @param [String] quota_user
169
+ # Available to use for quota purposes for server-side applications. Can be any
170
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
171
+ # @param [Google::Apis::RequestOptions] options
172
+ # Request-specific options
173
+ #
174
+ # @yield [result, err] Result & error if block supplied
175
+ # @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Metadata] parsed result object
176
+ # @yieldparam err [StandardError] error object if request failed
177
+ #
178
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Metadata]
179
+ #
180
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
181
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
182
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
183
+ def export_project_location_project_metadata(name, fields: nil, quota_user: nil, options: nil, &block)
184
+ command = make_simple_command(:get, 'v2/{+name}:exportProjectMetadata', options)
185
+ command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Metadata::Representation
186
+ command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Metadata
187
+ command.params['name'] = name unless name.nil?
188
+ command.query['fields'] = fields unless fields.nil?
189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
190
+ execute_or_queue_command(command, &block)
191
+ end
192
+
161
193
  # Creates a Job.
162
194
  # @param [String] parent
163
195
  # Required. The location and project in which this Job should be created. Format:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.68.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: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 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-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []