google-apis-run_v1 0.17.0 → 0.18.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: 1a63c99b9251a646480c1107571d36119934211053c4a4f559629fa368fede66
4
- data.tar.gz: e409ed7482ed95e2593ea92508c548bc11484781a157368be6fa43ee8f96dbba
3
+ metadata.gz: 7088f7376017d61d27d008fa88e386351f2da857d4c0595ff2d2901b7facfebf
4
+ data.tar.gz: 1394f81c680a23c32abdfa8fef1a58e74ea55577614dd0b37c7a5cc8eb2ac729
5
5
  SHA512:
6
- metadata.gz: 8f4930b23b2beca902effbeb00eae1a83589fc4baa07dd4d461e9afb6340a5ee53b3de69f4c11e767b8becb2c7b112ed5408b015fd2fa3702f24bea0605c4556
7
- data.tar.gz: f4f9347ca7eceea69bb2885e121667037c311bed069f2d89415d762947e605216cfbbd0c5166d1046202ce5f0e43cbb4adbf97a6b927c1c6df85b4ad06f37566
6
+ metadata.gz: 4610e7006cd592f481f82ae28a30aac904ec168720260305b24fbb148b55b3372f7fe47e71f64bff70279bff413aea457c779fc09fd52be1eef1837d58ee17cc
7
+ data.tar.gz: 246b56c22c184cced734e7e3a0a91267dae8660cf5cb2883d90e2f4a12a72cf0b8e39f08039ce0f9134d7f71f44c66008c0968365ceff1fe79efc50d58851265
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.18.0 (2022-01-06)
4
+
5
+ * Regenerated from discovery document revision 20220103
6
+ * Unspecified changes
7
+
3
8
  ### v0.17.0 (2021-11-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20211112
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/run_v1"
51
51
  client = Google::Apis::RunV1::CloudRunService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -784,23 +784,6 @@ module Google
784
784
  end
785
785
  end
786
786
 
787
- # A generic empty message that you can re-use to avoid defining duplicated empty
788
- # messages in your APIs. A typical example is to use it as the request or the
789
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
790
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
791
- # `Empty` is empty JSON object ````.
792
- class Empty
793
- include Google::Apis::Core::Hashable
794
-
795
- def initialize(**args)
796
- update!(**args)
797
- end
798
-
799
- # Update properties of this object
800
- def update!(**args)
801
- end
802
- end
803
-
804
787
  # Not supported by Cloud Run EnvFromSource represents the source of a set of
805
788
  # ConfigMaps
806
789
  class EnvFromSource
@@ -1030,19 +1013,6 @@ module Google
1030
1013
  end
1031
1014
  end
1032
1015
 
1033
- # The request message for Operations.CancelOperation.
1034
- class GoogleLongrunningCancelOperationRequest
1035
- include Google::Apis::Core::Hashable
1036
-
1037
- def initialize(**args)
1038
- update!(**args)
1039
- end
1040
-
1041
- # Update properties of this object
1042
- def update!(**args)
1043
- end
1044
- end
1045
-
1046
1016
  # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
1047
1017
  # requests.
1048
1018
  class HttpGetAction
@@ -2062,11 +2032,11 @@ module Google
2062
2032
  class RevisionSpec
2063
2033
  include Google::Apis::Core::Hashable
2064
2034
 
2065
- # Optional. ContainerConcurrency specifies the maximum allowed in-flight (
2066
- # concurrent) requests per container instance of the Revision. Cloud Run fully
2067
- # managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults
2068
- # to 0, which means concurrency to the application is not limited, and the
2069
- # system decides the target concurrency for the autoscaler.
2035
+ # ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
2036
+ # requests per container instance of the Revision. Cloud Run fully managed:
2037
+ # supported, defaults to 80 Cloud Run for Anthos: supported, defaults to 0,
2038
+ # which means concurrency to the application is not limited, and the system
2039
+ # decides the target concurrency for the autoscaler.
2070
2040
  # Corresponds to the JSON property `containerConcurrency`
2071
2041
  # @return [Fixnum]
2072
2042
  attr_accessor :container_concurrency
@@ -2080,6 +2050,25 @@ module Google
2080
2050
  # @return [Array<Google::Apis::RunV1::Container>]
2081
2051
  attr_accessor :containers
2082
2052
 
2053
+ # Indicates whether information about services should be injected into pod's
2054
+ # environment variables, matching the syntax of Docker links. Cloud Run fully
2055
+ # managed: Not supported. Cloud Run for Anthos: supported, defaults to true.
2056
+ # Corresponds to the JSON property `enableServiceLinks`
2057
+ # @return [Boolean]
2058
+ attr_accessor :enable_service_links
2059
+ alias_method :enable_service_links?, :enable_service_links
2060
+
2061
+ # ImagePullSecrets is a list of references to secrets in the same namespace to
2062
+ # use for pulling any images in pods that reference this ServiceAccount.
2063
+ # ImagePullSecrets are distinct from Secrets because Secrets can be mounted in
2064
+ # the pod, but ImagePullSecrets are only accessed by the kubelet. More info:
2065
+ # https://kubernetes.io/docs/concepts/containers/images/#specifying-
2066
+ # imagepullsecrets-on-a-pod Cloud Run fully managed: Not supported. Cloud Run
2067
+ # for Anthos: supported.
2068
+ # Corresponds to the JSON property `imagePullSecrets`
2069
+ # @return [Array<Google::Apis::RunV1::LocalObjectReference>]
2070
+ attr_accessor :image_pull_secrets
2071
+
2083
2072
  # Email address of the IAM service account associated with the revision of the
2084
2073
  # service. The service account represents the identity of the running revision,
2085
2074
  # and determines what permissions the revision has. If not provided, the
@@ -2110,6 +2099,8 @@ module Google
2110
2099
  def update!(**args)
2111
2100
  @container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
2112
2101
  @containers = args[:containers] if args.key?(:containers)
2102
+ @enable_service_links = args[:enable_service_links] if args.key?(:enable_service_links)
2103
+ @image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
2113
2104
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
2114
2105
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2115
2106
  @volumes = args[:volumes] if args.key?(:volumes)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211112"
25
+ REVISION = "20220103"
26
26
  end
27
27
  end
28
28
  end
@@ -118,12 +118,6 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class Empty
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
121
  class EnvFromSource
128
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
123
 
@@ -160,12 +154,6 @@ module Google
160
154
  include Google::Apis::Core::JsonObjectSupport
161
155
  end
162
156
 
163
- class GoogleLongrunningCancelOperationRequest
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
157
  class HttpGetAction
170
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
159
 
@@ -608,12 +596,6 @@ module Google
608
596
  end
609
597
  end
610
598
 
611
- class Empty
612
- # @private
613
- class Representation < Google::Apis::Core::JsonRepresentation
614
- end
615
- end
616
-
617
599
  class EnvFromSource
618
600
  # @private
619
601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -674,12 +656,6 @@ module Google
674
656
  end
675
657
  end
676
658
 
677
- class GoogleLongrunningCancelOperationRequest
678
- # @private
679
- class Representation < Google::Apis::Core::JsonRepresentation
680
- end
681
- end
682
-
683
659
  class HttpGetAction
684
660
  # @private
685
661
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -918,6 +894,9 @@ module Google
918
894
  property :container_concurrency, as: 'containerConcurrency'
919
895
  collection :containers, as: 'containers', class: Google::Apis::RunV1::Container, decorator: Google::Apis::RunV1::Container::Representation
920
896
 
897
+ property :enable_service_links, as: 'enableServiceLinks'
898
+ collection :image_pull_secrets, as: 'imagePullSecrets', class: Google::Apis::RunV1::LocalObjectReference, decorator: Google::Apis::RunV1::LocalObjectReference::Representation
899
+
921
900
  property :service_account_name, as: 'serviceAccountName'
922
901
  property :timeout_seconds, as: 'timeoutSeconds'
923
902
  collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
@@ -783,46 +783,6 @@ module Google
783
783
  execute_or_queue_command(command, &block)
784
784
  end
785
785
 
786
- # Starts asynchronous cancellation on a long-running operation. The server makes
787
- # a best effort to cancel the operation, but success is not guaranteed. If the
788
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
789
- # Clients can use Operations.GetOperation or other methods to check whether the
790
- # cancellation succeeded or whether the operation completed despite cancellation.
791
- # On successful cancellation, the operation is not deleted; instead, it becomes
792
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
793
- # corresponding to `Code.CANCELLED`.
794
- # @param [String] name
795
- # The name of the operation resource to be cancelled.
796
- # @param [Google::Apis::RunV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
797
- # @param [String] fields
798
- # Selector specifying which fields to include in a partial response.
799
- # @param [String] quota_user
800
- # Available to use for quota purposes for server-side applications. Can be any
801
- # arbitrary string assigned to a user, but should not exceed 40 characters.
802
- # @param [Google::Apis::RequestOptions] options
803
- # Request-specific options
804
- #
805
- # @yield [result, err] Result & error if block supplied
806
- # @yieldparam result [Google::Apis::RunV1::Empty] parsed result object
807
- # @yieldparam err [StandardError] error object if request failed
808
- #
809
- # @return [Google::Apis::RunV1::Empty]
810
- #
811
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
812
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
813
- # @raise [Google::Apis::AuthorizationError] Authorization is required
814
- def cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
815
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
816
- command.request_representation = Google::Apis::RunV1::GoogleLongrunningCancelOperationRequest::Representation
817
- command.request_object = google_longrunning_cancel_operation_request_object
818
- command.response_representation = Google::Apis::RunV1::Empty::Representation
819
- command.response_class = Google::Apis::RunV1::Empty
820
- command.params['name'] = name unless name.nil?
821
- command.query['fields'] = fields unless fields.nil?
822
- command.query['quotaUser'] = quota_user unless quota_user.nil?
823
- execute_or_queue_command(command, &block)
824
- end
825
-
826
786
  # List authorized domains.
827
787
  # @param [String] parent
828
788
  # Name of the parent Project resource. Example: `projects/myproject`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.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: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2022-01-10 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Run Admin API V1