google-cloud-eventarc-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: 84c602a953dd4ef352c01e2f4f41262e4bf33becf805add3990ee6898e2711b4
4
- data.tar.gz: bb34d47c78eae0421c3749a5173264665e7297ad89095a4e427d7a33087b849c
3
+ metadata.gz: 9425ef155d5b6693bef433a100ea594e0955f12508d4a67bc6f3879051776800
4
+ data.tar.gz: 2e54bd51e8e3350c8c25e196d19db591c3756d6850822176a0e0837d0d968956
5
5
  SHA512:
6
- metadata.gz: 95df536fa1738fee8d697e7771f1cf247b974f8276f062aea738857460affb335642c454b2a319299bd36d2395af84eb28b5b8889118691d5cbc1ea903702358
7
- data.tar.gz: 053121b65548dd3c02e1babafbfad89874424679bb548470d0667775dc20cd8ddb352a5fc96db28bb9f950d95b6f16677276cae84abdaccd59d86711e7a37c21
6
+ metadata.gz: e92ffc0679815dda01afc8fc14eab1194c98bab5da6aa965407622982fd814ec42101bd89bf7bbe3ccbf5e63491290451748298e236dc08cd4af50229bc43293
7
+ data.tar.gz: 283e04184eedde358d9041b0866167837387fed538863c70c1b8f8dff2293372ec819432f6d4f6903e4e7a9750a223130e26183a2b1b4fb6688a855c06c6c927
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-eventarc-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Eventarc::V1::Eventarc::Credentials}):
68
68
 
69
- 1. `EVENTARC_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `EVENTARC_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
+ * `EVENTARC_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `EVENTARC_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/eventarc/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Eventarc::V1::Eventarc::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/eventarc/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Eventarc::V1::Eventarc::Client.new do |config|
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/eventarc/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/eventarc/v1"
34
34
 
35
35
  client = ::Google::Cloud::Eventarc::V1::Eventarc::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Eventarc::V1::GetTriggerRequest.new # (request fields as keyword arguments...)
37
37
  response = client.get_trigger request
38
38
  ```
39
39
 
@@ -134,7 +134,7 @@ module Google
134
134
  !@config.endpoint.split(".").first.include?("-")
135
135
  credentials ||= Credentials.default scope: @config.scope,
136
136
  enable_self_signed_jwt: enable_self_signed_jwt
137
- if credentials.is_a?(String) || credentials.is_a?(Hash)
137
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
138
138
  credentials = Credentials.new credentials, scope: @config.scope
139
139
  end
140
140
  @quota_project_id = @config.quota_project
@@ -82,7 +82,7 @@ module Google
82
82
  # Create credentials
83
83
  credentials = @config.credentials
84
84
  credentials ||= Credentials.default scope: @config.scope
85
- if credentials.is_a?(String) || credentials.is_a?(Hash)
85
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
  @quota_project_id = @config.quota_project
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
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-eventarc-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