google-cloud-orchestration-airflow-service-v1 1.5.0 → 1.6.1

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: bfcd24fcf5e53fd4e04c659ebc1f73dec63600a30a33201c9ffa0a6f96a09a74
4
- data.tar.gz: 52701f8469d84183deb6440fac3e8cdb60ee7e27a70bfb0080d9d757b5ba938a
3
+ metadata.gz: 5db682c208225b8d102577fd5381a208d9232b1169b30bbd3d641567adc693bb
4
+ data.tar.gz: 31e298fa9216a3114ff6839d16a2df35acef19b4f9dcb20b22d06828bffe6cb1
5
5
  SHA512:
6
- metadata.gz: 9fa53c48621dd1e60c1701adc9186a338960c34c95b30a7baf4a9dcf95a9ca1fddf98aed0ff003bc6fbca7b3292d12a3210586bccbfc4bc92454c25eed0dd5df
7
- data.tar.gz: 1c8ed092924e1ae2951f142dca5cc5882e35a7061e2fe21605e1606476fef92e6e26a9ad0a8e7781affa1645c059ae92d627c7c5ae1d7536bdd5cb9341e5035d
6
+ metadata.gz: 98021a20d1d8e5fb4ae763d50a86356016f89ae3aa4e750a36caa8ca874483276e3871c7c484b05646b458d67f996d3f19042ccc0319957f4b298701d9f9cb0c
7
+ data.tar.gz: f2631ae603ecf4fb3eb43da7d21bd04807513a09a34b4d1215ae6f7bdd2eb9cf9575773d3f93e4b24337c2c55477c185d543f17d9f5612c64b25ea2d9bee7d7e
@@ -2655,8 +2655,6 @@ module Google
2655
2655
  # @return [::String,nil]
2656
2656
  # @!attribute [rw] credentials
2657
2657
  # Credentials to send with calls. You may provide any of the following types:
2658
- # * (`String`) The path to a service account key file in JSON format
2659
- # * (`Hash`) A service account key as a Hash
2660
2658
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2661
2659
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2662
2660
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2665,7 +2663,26 @@ module Google
2665
2663
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2666
2664
  # * (`nil`) indicating no credentials
2667
2665
  #
2668
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2666
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2667
+ # is deprecated. Providing an unvalidated credential configuration to
2668
+ # Google APIs can compromise the security of your systems and data.
2669
+ #
2670
+ # @example
2671
+ #
2672
+ # # The recommended way to provide credentials is to use the `make_creds` method
2673
+ # # on the appropriate credentials class for your environment.
2674
+ #
2675
+ # require "googleauth"
2676
+ #
2677
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2678
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2679
+ # )
2680
+ #
2681
+ # client = ::Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Client.new do |config|
2682
+ # config.credentials = credentials
2683
+ # end
2684
+ #
2685
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2669
2686
  # external source for authentication to Google Cloud, you must validate it before
2670
2687
  # providing it to a Google API client library. Providing an unvalidated credential
2671
2688
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -136,7 +136,7 @@ module Google
136
136
  # @param options [::Gapic::CallOptions, ::Hash]
137
137
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
138
138
  #
139
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
139
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
140
140
  # Pass arguments to `list_operations` via keyword arguments. Note that at
141
141
  # least one keyword argument is required. To specify no parameters, or to keep all
142
142
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -149,6 +149,17 @@ module Google
149
149
  # The standard list page size.
150
150
  # @param page_token [::String]
151
151
  # The standard list page token.
152
+ # @param return_partial_success [::Boolean]
153
+ # When set to `true`, operations that are reachable are returned as normal,
154
+ # and those that are unreachable are returned in the
155
+ # [ListOperationsResponse.unreachable] field.
156
+ #
157
+ # This can only be `true` when reading across collections e.g. when `parent`
158
+ # is set to `"projects/example/locations/-"`.
159
+ #
160
+ # This field is not by default supported and will result in an
161
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
162
+ # service or product specific documentation.
152
163
  #
153
164
  # @yield [response, operation] Access the result along with the RPC operation
154
165
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -633,8 +644,6 @@ module Google
633
644
  # @return [::String,nil]
634
645
  # @!attribute [rw] credentials
635
646
  # Credentials to send with calls. You may provide any of the following types:
636
- # * (`String`) The path to a service account key file in JSON format
637
- # * (`Hash`) A service account key as a Hash
638
647
  # * (`Google::Auth::Credentials`) A googleauth credentials object
639
648
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
640
649
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -643,7 +652,26 @@ module Google
643
652
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
644
653
  # * (`nil`) indicating no credentials
645
654
  #
646
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
655
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
656
+ # is deprecated. Providing an unvalidated credential configuration to
657
+ # Google APIs can compromise the security of your systems and data.
658
+ #
659
+ # @example
660
+ #
661
+ # # The recommended way to provide credentials is to use the `make_creds` method
662
+ # # on the appropriate credentials class for your environment.
663
+ #
664
+ # require "googleauth"
665
+ #
666
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
667
+ # json_key_io: ::File.open("/path/to/keyfile.json")
668
+ # )
669
+ #
670
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
671
+ # config.credentials = credentials
672
+ # end
673
+ #
674
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
647
675
  # external source for authentication to Google Cloud, you must validate it before
648
676
  # providing it to a Google API client library. Providing an unvalidated credential
649
677
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -127,7 +127,7 @@ module Google
127
127
  # @param options [::Gapic::CallOptions, ::Hash]
128
128
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
129
129
  #
130
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
130
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
131
131
  # Pass arguments to `list_operations` via keyword arguments. Note that at
132
132
  # least one keyword argument is required. To specify no parameters, or to keep all
133
133
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -140,6 +140,17 @@ module Google
140
140
  # The standard list page size.
141
141
  # @param page_token [::String]
142
142
  # The standard list page token.
143
+ # @param return_partial_success [::Boolean]
144
+ # When set to `true`, operations that are reachable are returned as normal,
145
+ # and those that are unreachable are returned in the
146
+ # [ListOperationsResponse.unreachable] field.
147
+ #
148
+ # This can only be `true` when reading across collections e.g. when `parent`
149
+ # is set to `"projects/example/locations/-"`.
150
+ #
151
+ # This field is not by default supported and will result in an
152
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
153
+ # service or product specific documentation.
143
154
  # @yield [result, operation] Access the result along with the TransportOperation object
144
155
  # @yieldparam result [::Gapic::Operation]
145
156
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -316,8 +316,6 @@ module Google
316
316
  # @return [::String,nil]
317
317
  # @!attribute [rw] credentials
318
318
  # Credentials to send with calls. You may provide any of the following types:
319
- # * (`String`) The path to a service account key file in JSON format
320
- # * (`Hash`) A service account key as a Hash
321
319
  # * (`Google::Auth::Credentials`) A googleauth credentials object
322
320
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
323
321
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -326,7 +324,26 @@ module Google
326
324
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
327
325
  # * (`nil`) indicating no credentials
328
326
  #
329
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
327
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
328
+ # is deprecated. Providing an unvalidated credential configuration to
329
+ # Google APIs can compromise the security of your systems and data.
330
+ #
331
+ # @example
332
+ #
333
+ # # The recommended way to provide credentials is to use the `make_creds` method
334
+ # # on the appropriate credentials class for your environment.
335
+ #
336
+ # require "googleauth"
337
+ #
338
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
339
+ # json_key_io: ::File.open("/path/to/keyfile.json")
340
+ # )
341
+ #
342
+ # client = ::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersions::Client.new do |config|
343
+ # config.credentials = credentials
344
+ # end
345
+ #
346
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
330
347
  # external source for authentication to Google Cloud, you must validate it before
331
348
  # providing it to a Google API client library. Providing an unvalidated credential
332
349
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -23,7 +23,7 @@ module Google
23
23
  module Airflow
24
24
  module Service
25
25
  module V1
26
- VERSION = "1.5.0"
26
+ VERSION = "1.6.1"
27
27
  end
28
28
  end
29
29
  end
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-orchestration-airflow-service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC