google-cloud-notebooks-v1beta1 0.7.0 → 0.8.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: d00c70a96c220cfc99e8fae90a47f37f7889372c9504b08101bd0f65dd781392
4
- data.tar.gz: 8a246655fa0cea079d0bd929e5770e84d2b40291e71982d8dc4ce93a836c05ea
3
+ metadata.gz: 34f0121830914d8bfe36d5d5669d5cd4a59ccf8bc71e83a0cd3ef6be3f3fbe52
4
+ data.tar.gz: 6e2ea23c76562961704cfb75bfba182c70cdd35f97c3442f6a0581624742e0a0
5
5
  SHA512:
6
- metadata.gz: 9fe97ab2481f2311758603e95364f6c85085f634b43344d938a19adb2002188c1b189924d60af57e410cc1cce745227a6676c49fb108c107e601a64a650171e3
7
- data.tar.gz: e9864421921cd8f47cae834ceac27a9fda6b705a4736beafbb6714596d4181ed8fb21b5552aad59caaf57b5ae91bb48d98c21c2b2f60a113aaddcf9a8c921496
6
+ metadata.gz: b4995baa6c254fdaf261fe0d8e0e60f0c5574a8796c28e11b5aa3dfc03f6a692a3b0fe6eb5b2b64992a4a2cd8320b3c795e02f88fe59876de58c284766642dc9
7
+ data.tar.gz: f42cbf73d9393455e7941a4bf148d0de5eab2644a16d7a65e97cf09a6e6760042f13760636b0510e8f5097a92273efb2fcb59425a6c129e7c057da5cc6fdf282
@@ -168,7 +168,7 @@ module Google
168
168
  credentials = @config.credentials
169
169
  # Use self-signed JWT if the endpoint is unchanged from default,
170
170
  # but only if the default endpoint does not have a region prefix.
171
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
171
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
172
172
  !@config.endpoint.split(".").first.include?("-")
173
173
  credentials ||= Credentials.default scope: @config.scope,
174
174
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -201,7 +201,8 @@ module Google
201
201
  credentials: credentials,
202
202
  endpoint: @config.endpoint,
203
203
  channel_args: @config.channel_args,
204
- interceptors: @config.interceptors
204
+ interceptors: @config.interceptors,
205
+ channel_pool_config: @config.channel_pool
205
206
  )
206
207
  end
207
208
 
@@ -2128,7 +2129,9 @@ module Google
2128
2129
  class Configuration
2129
2130
  extend ::Gapic::Config
2130
2131
 
2131
- config_attr :endpoint, "notebooks.googleapis.com", ::String
2132
+ DEFAULT_ENDPOINT = "notebooks.googleapis.com"
2133
+
2134
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2132
2135
  config_attr :credentials, nil do |value|
2133
2136
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2134
2137
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -2163,6 +2166,14 @@ module Google
2163
2166
  end
2164
2167
  end
2165
2168
 
2169
+ ##
2170
+ # Configuration for the channel pool
2171
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
2172
+ #
2173
+ def channel_pool
2174
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
2175
+ end
2176
+
2166
2177
  ##
2167
2178
  # Configuration RPC class for the NotebookService API.
2168
2179
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "notebooks.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "notebooks.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Notebooks
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-notebooks-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-05-31 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.0
19
+ version: 0.20.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.19.0
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  - !ruby/object:Gem::Version
259
259
  version: '0'
260
260
  requirements: []
261
- rubygems_version: 3.4.2
261
+ rubygems_version: 3.4.19
262
262
  signing_key:
263
263
  specification_version: 4
264
264
  summary: Notebooks API is used to manage notebook resources in Google Cloud.