google-cloud-eventarc-v1 0.1.1 → 0.2.0

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: 9425ef155d5b6693bef433a100ea594e0955f12508d4a67bc6f3879051776800
4
- data.tar.gz: 2e54bd51e8e3350c8c25e196d19db591c3756d6850822176a0e0837d0d968956
3
+ metadata.gz: 0523aebe37bde23d9c8ecd482b0017abb98f21aa25a0545b26c2bc039e1c8181
4
+ data.tar.gz: 42486d51632ab993ed9a6e6e4ecfbd1ae6aa009065520c34d06261bb8780f3cd
5
5
  SHA512:
6
- metadata.gz: e92ffc0679815dda01afc8fc14eab1194c98bab5da6aa965407622982fd814ec42101bd89bf7bbe3ccbf5e63491290451748298e236dc08cd4af50229bc43293
7
- data.tar.gz: 283e04184eedde358d9041b0866167837387fed538863c70c1b8f8dff2293372ec819432f6d4f6903e4e7a9750a223130e26183a2b1b4fb6688a855c06c6c927
6
+ metadata.gz: 2225480db54ad3d7541fc4bec5cd4ad8a5fab7f95436f73cdc1bf1d796fa3e7dc93c6fda796e020a8e793d3bcf489ae89d42acc1b414e188667f6af2b9a891b3
7
+ data.tar.gz: fbb7965bf0728e45b2ccc44aa34cdcc1c0c725fe489544f11e190040fb125ab513d8c75eed6628bc74e2bfcb9d9c01b88cc86d1b853940e968138a667755a219
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Eventarc V1 API
2
+ --title="Eventarc V1 API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Eventarc::V1::GetTriggerRequest.new # (request fields
37
37
  response = client.get_trigger request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-eventarc-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/eventarc/)
@@ -0,0 +1,31 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/eventarc/v1/channel_connection.proto
3
+
4
+ require 'google/api/annotations_pb'
5
+ require 'google/api/field_behavior_pb'
6
+ require 'google/api/resource_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/eventarc/v1/channel_connection.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.eventarc.v1.ChannelConnection" do
13
+ optional :name, :string, 1
14
+ optional :uid, :string, 2
15
+ optional :channel, :string, 5
16
+ optional :create_time, :message, 6, "google.protobuf.Timestamp"
17
+ optional :update_time, :message, 7, "google.protobuf.Timestamp"
18
+ optional :activation_token, :string, 8
19
+ end
20
+ end
21
+ end
22
+
23
+ module Google
24
+ module Cloud
25
+ module Eventarc
26
+ module V1
27
+ ChannelConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.ChannelConnection").msgclass
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,42 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/eventarc/v1/channel.proto
3
+
4
+ require 'google/api/annotations_pb'
5
+ require 'google/api/field_behavior_pb'
6
+ require 'google/api/resource_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/eventarc/v1/channel.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.eventarc.v1.Channel" do
13
+ optional :name, :string, 1
14
+ optional :uid, :string, 2
15
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
16
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
17
+ optional :provider, :string, 7
18
+ optional :state, :enum, 9, "google.cloud.eventarc.v1.Channel.State"
19
+ optional :activation_token, :string, 10
20
+ oneof :transport do
21
+ optional :pubsub_topic, :string, 8
22
+ end
23
+ end
24
+ add_enum "google.cloud.eventarc.v1.Channel.State" do
25
+ value :STATE_UNSPECIFIED, 0
26
+ value :PENDING, 1
27
+ value :ACTIVE, 2
28
+ value :INACTIVE, 3
29
+ end
30
+ end
31
+ end
32
+
33
+ module Google
34
+ module Cloud
35
+ module Eventarc
36
+ module V1
37
+ Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Channel").msgclass
38
+ Channel::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Channel.State").enummodule
39
+ end
40
+ end
41
+ end
42
+ end