google-cloud-apigee_connect-v1 0.1.0 → 0.1.1

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: 767ec3e5ddcf527513f6d68f47fba3bf74e3c9c2f6cc318926ca3851e9fc1e0b
4
- data.tar.gz: 285a21f64ec773ff5cc091d637660a0bc935bfd8113459c3913d446c84169b98
3
+ metadata.gz: 2bd1c80aa872cd5e81187969ba8b64fbf4bc1a1db9969ccf445986e64d94201a
4
+ data.tar.gz: 2020844ff3ff0fa697796b69dd357c2df51e8c3ed30fcdd4c445fd99c1edf927
5
5
  SHA512:
6
- metadata.gz: f0604998b44baa442179f4f9699c4a3ad16759d0fec19052946cdfe23b320a29d1f80a3697b4f729a4971a602379f404eb02bfc263b3b86c3d9a32d5cb0b6f7d
7
- data.tar.gz: ad574611358d5c5a7e78b43de5b34318519e937a8931f1a36b6e93caa270b9623002094c5fe48db48f97a46e280b0f4c268b9f762fa086f721d3920df5616e4b
6
+ metadata.gz: 7773275b503c328260f506311e40d3e000aef5e52eee682a88f175cde459224619304504b741b6f6eadab39ef320278cf4b9b33b0ed708296a250853d31469eb
7
+ data.tar.gz: 77d34f39433d3845a4d9b7e55cbc222a3a202303b90731918da4b92694860138c2cac396138d11a3c3f72831352b63bb227ac9df193f6ffc16c20874c85b3cdc
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-apigee_connect-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::ApigeeConnect::V1::ConnectionService::Credentials}):
68
68
 
69
- 1. `APIGEE_CONNECT_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `APIGEE_CONNECT_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `APIGEE_CONNECT_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `APIGEE_CONNECT_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/apigee_connect/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/apigee_connect/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |c
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/apigee_connect/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/apigee_connect/v1"
34
34
 
35
35
  client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::ApigeeConnect::V1::ListConnectionsRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_connections request
38
38
  ```
39
39
 
@@ -67,10 +67,7 @@ module Google
67
67
 
68
68
  default_config.rpcs.list_connections.timeout = 60.0
69
69
  default_config.rpcs.list_connections.retry_policy = {
70
- initial_delay: 1.0,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [14, 2]
70
+ initial_delay: 1.0, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 2]
74
71
  }
75
72
 
76
73
  default_config
@@ -141,7 +138,7 @@ module Google
141
138
  !@config.endpoint.split(".").first.include?("-")
142
139
  credentials ||= Credentials.default scope: @config.scope,
143
140
  enable_self_signed_jwt: enable_self_signed_jwt
144
- if credentials.is_a?(String) || credentials.is_a?(Hash)
141
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
145
142
  credentials = Credentials.new credentials, scope: @config.scope
146
143
  end
147
144
  @quota_project_id = @config.quota_project
@@ -133,7 +133,7 @@ module Google
133
133
  !@config.endpoint.split(".").first.include?("-")
134
134
  credentials ||= Credentials.default scope: @config.scope,
135
135
  enable_self_signed_jwt: enable_self_signed_jwt
136
- if credentials.is_a?(String) || credentials.is_a?(Hash)
136
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
137
137
  credentials = Credentials.new credentials, scope: @config.scope
138
138
  end
139
139
  @quota_project_id = @config.quota_project
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeConnect
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.1"
25
25
  end
26
26
  end
27
27
  end
@@ -60,6 +60,12 @@ module Google
60
60
  # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-apigee_connect-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-06-21 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common