google-cloud-eventarc-v1 0.1.3 → 0.2.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: b510d72713a0c74ae497b0ddd5d938c370c18de7fb06ab6a0e69a75b6cf5acd5
4
- data.tar.gz: f2de204ab37cf6301c13c71ec4929bc5aceaec53ac5e3b89fcdd30c816e3003c
3
+ metadata.gz: 1a25a909b2a144e082a21b65a71f5ef0169ddefe3b27ac40ab06e6aa99b0796c
4
+ data.tar.gz: 1d8f36a5a6d2ddde103af6ee4b162ff43769af7cac608ee64494d1c19d12753a
5
5
  SHA512:
6
- metadata.gz: 6ef43828cb9162b63f30d2ef0936c137f08186d8b89c6bd3d6f14a0b50b1d3a8752472c396fdbf2b11ff48c7c0edcf3aacfacde376b1637a0088d59095d8ea59
7
- data.tar.gz: ff4f97a6936710a9069a265b8f6d4a3b98cfa16e80501dbdcc6312f91f89c1eabe2ce2fa28f1094c660e4e40916f7237511dacda4b600f1c452cffd8bfcbef81
6
+ metadata.gz: 28494d5268642f729d257a85ed664465b35f993d37b2efc3f558d93a24f5f887b8f42c07689060526d2c80015e06758451f217fba3dfcf473063134c141e9446
7
+ data.tar.gz: fa5555fffd752109ab57f51043a89090e0fc59af11c07b132ffe665e443638f22403e40d8cbbcdd65f6a87564533414ec30c25e1a785c4e77a2f501e461f9bcb
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/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/timestamp_pb'
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/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/timestamp_pb'
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