google-cloud-security_center-v1p1beta1 0.7.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +7 -25
  4. data/README.md +1 -1
  5. data/lib/google/cloud/security_center/v1p1beta1/security_center/client.rb +513 -72
  6. data/lib/google/cloud/security_center/v1p1beta1/security_center/operations.rb +115 -12
  7. data/lib/google/cloud/security_center/v1p1beta1/version.rb +1 -1
  8. data/lib/google/cloud/security_center/v1p1beta1.rb +2 -0
  9. data/lib/google/cloud/securitycenter/v1p1beta1/asset_pb.rb +2 -2
  10. data/lib/google/cloud/securitycenter/v1p1beta1/finding_pb.rb +2 -2
  11. data/lib/google/cloud/securitycenter/v1p1beta1/folder_pb.rb +1 -1
  12. data/lib/google/cloud/securitycenter/v1p1beta1/notification_config_pb.rb +2 -2
  13. data/lib/google/cloud/securitycenter/v1p1beta1/notification_message_pb.rb +2 -2
  14. data/lib/google/cloud/securitycenter/v1p1beta1/organization_settings_pb.rb +2 -2
  15. data/lib/google/cloud/securitycenter/v1p1beta1/resource_pb.rb +2 -2
  16. data/lib/google/cloud/securitycenter/v1p1beta1/run_asset_discovery_response_pb.rb +2 -2
  17. data/lib/google/cloud/securitycenter/v1p1beta1/security_marks_pb.rb +2 -2
  18. data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_pb.rb +2 -2
  19. data/lib/google/cloud/securitycenter/v1p1beta1/securitycenter_service_services_pb.rb +1 -1
  20. data/lib/google/cloud/securitycenter/v1p1beta1/source_pb.rb +2 -2
  21. data/proto_docs/google/api/resource.rb +10 -71
  22. data/proto_docs/google/cloud/securitycenter/v1p1beta1/securitycenter_service.rb +1 -1
  23. data/proto_docs/google/iam/v1/iam_policy.rb +8 -1
  24. data/proto_docs/google/iam/v1/options.rb +14 -4
  25. data/proto_docs/google/iam/v1/policy.rb +208 -38
  26. metadata +7 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecc075ed52af61d5baad5aed6fa59853adefea64ba7bebe4d864243a4db039d5
4
- data.tar.gz: 45dc71a2ec4e6005cba24f17b93ed45270d044f29d73ca27f2264f7d7fa2c3f1
3
+ metadata.gz: 8eaf9d7c0f8ffc10268f7cefddcf5fcebc0dc138823caa0e428524170e991f25
4
+ data.tar.gz: 8ac23aa49a40b4c6b00e944a72a5fdcf9181b317c07c9237164d4e2d32713c1a
5
5
  SHA512:
6
- metadata.gz: aaf20bbe541834acd979ba1d5695d0e89eef4016a4e647e76490e0179ea7f6b76b0ead00b9357ff24185427cfac39f0a324563161efdb75ba09313a047221d9c
7
- data.tar.gz: 6b400d98051bf0e22add367c257fb75446c7be69d969240ef874d937f47ad2f97706e033abef59cec7463d7cee216b7cc7a6b2d9ce2f86f9ac4caece9fa2591a
6
+ metadata.gz: 4f50b4f47e4f8df034dcbfa1c8356c1614ffa94a7b092bc607170dacddf1f8e95df88da306ac6432286e7dc1685794280b255c144a3c21abcb11c98e750c8434
7
+ data.tar.gz: d4a6512a917a68e18b55647de9bdee50d67b9a4e1d718f6e7b80bafc46b5d1d0016e1d63b08930d423a46c46b0ad53885285f415fbd70c4a28ba9064ca00a74a
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Security Command Center V1p1beta1 API
2
+ --title="Cloud Security Command Center V1p1beta1 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::SecurityCenter::V1p1beta1::CreateSourceRequest.new #
37
37
  response = client.create_source request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-security_center-v1p1beta1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-security_center-v1p1beta1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/security-command-center)