google-cloud-artifact_registry-v1beta2 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +2 -2
  5. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/client.rb +975 -129
  6. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/operations.rb +145 -33
  7. data/lib/google/cloud/artifact_registry/v1beta2/artifact_registry/paths.rb +54 -0
  8. data/lib/google/cloud/artifact_registry/v1beta2/version.rb +1 -1
  9. data/lib/google/devtools/artifactregistry/v1beta2/apt_artifact_pb.rb +65 -0
  10. data/lib/google/devtools/artifactregistry/v1beta2/file_pb.rb +4 -3
  11. data/lib/google/devtools/artifactregistry/v1beta2/package_pb.rb +2 -2
  12. data/lib/google/devtools/artifactregistry/v1beta2/repository_pb.rb +23 -3
  13. data/lib/google/devtools/artifactregistry/v1beta2/service_pb.rb +5 -2
  14. data/lib/google/devtools/artifactregistry/v1beta2/service_services_pb.rb +15 -1
  15. data/lib/google/devtools/artifactregistry/v1beta2/settings_pb.rb +24 -3
  16. data/lib/google/devtools/artifactregistry/v1beta2/tag_pb.rb +3 -2
  17. data/lib/google/devtools/artifactregistry/v1beta2/version_pb.rb +8 -3
  18. data/lib/google/devtools/artifactregistry/v1beta2/yum_artifact_pb.rb +63 -0
  19. data/proto_docs/google/api/resource.rb +10 -71
  20. data/proto_docs/google/devtools/artifactregistry/v1beta2/apt_artifact.rb +118 -0
  21. data/proto_docs/google/devtools/artifactregistry/v1beta2/file.rb +5 -1
  22. data/proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb +53 -6
  23. data/proto_docs/google/devtools/artifactregistry/v1beta2/settings.rb +80 -0
  24. data/proto_docs/google/devtools/artifactregistry/v1beta2/tag.rb +6 -2
  25. data/proto_docs/google/devtools/artifactregistry/v1beta2/version.rb +12 -2
  26. data/proto_docs/google/devtools/artifactregistry/v1beta2/yum_artifact.rb +110 -0
  27. data/proto_docs/google/protobuf/struct.rb +96 -0
  28. metadata +11 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5139d0c2c49f2cb2fda99608b74c332fe8cc6d4d63486fbecb70833808f7d55e
4
- data.tar.gz: 13d42fcd68f7db9b67928dece8030baa44386a2a75357ac3e20ed46b0c269054
3
+ metadata.gz: 5895211d97548c0d1a387586e37b2bdf6d8e57a08aa691483335869744c086dc
4
+ data.tar.gz: 9c65f7d35ea23193653a467130141df90fe1682f481455fe972c2b2e8eb4b2ec
5
5
  SHA512:
6
- metadata.gz: 0ed41d18bca925932c660004680ce3158963e0d5f9687af04c34ed3a63f5a31b1581c0c2cc80ed1336fa189209d4b552c7d523bef978360f801d89e4b2182370
7
- data.tar.gz: 3ae74e01c4e35f78763f58de03e96a3f9e85ec5692f1d0df238f53baa7a48f8360319d55a4625144a9095f775ffb5d6598f8523cfda847e479888e73fe7565d5
6
+ metadata.gz: 34a6c7fa09fdbb93dbb1a78630341bcdff0b9756eab8cf41388ce5c9b9902d5e81fc0c2cb46a5996cbc18bf70bc7a1d8d208d809d1c157df4a73f7d7dc3f97ac
7
+ data.tar.gz: 07030c7b47dbbc046375c0efb79077b8c65940eaec039cf97db6da0d8ada74a508b7ad6cd08639d9e5273b7d77d5b11760b5ffb01bcf38957a42ce5ce890a709
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Artifact Registry V1beta2 API
2
+ --title="Artifact Registry V1beta2 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
@@ -33,8 +33,8 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/artifact_registry/v1beta2"
34
34
 
35
35
  client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new
36
- request = ::Google::Cloud::ArtifactRegistry::V1beta2::ListRepositoriesRequest.new # (request fields as keyword arguments...)
37
- response = client.list_repositories request
36
+ request = ::Google::Cloud::ArtifactRegistry::V1beta2::ImportAptArtifactsRequest.new # (request fields as keyword arguments...)
37
+ response = client.import_apt_artifacts request
38
38
  ```
39
39
 
40
40
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-artifact_registry-v1beta2/latest)