google-cloud-os_config-v1alpha 0.1.2 → 0.3.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/os_config/v1alpha/os_config_zonal_service/client.rb +529 -43
  6. data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/operations.rb +115 -12
  7. data/lib/google/cloud/os_config/v1alpha/os_config_zonal_service/paths.rb +42 -0
  8. data/lib/google/cloud/os_config/v1alpha/version.rb +1 -1
  9. data/lib/google/cloud/osconfig/v1alpha/config_common_pb.rb +1 -0
  10. data/lib/google/cloud/osconfig/v1alpha/instance_os_policies_compliance_pb.rb +3 -2
  11. data/lib/google/cloud/osconfig/v1alpha/inventory_pb.rb +13 -2
  12. data/lib/google/cloud/osconfig/v1alpha/os_policy_assignment_reports_pb.rb +93 -0
  13. data/lib/google/cloud/osconfig/v1alpha/os_policy_assignments_pb.rb +10 -2
  14. data/lib/google/cloud/osconfig/v1alpha/os_policy_pb.rb +8 -1
  15. data/lib/google/cloud/osconfig/v1alpha/osconfig_common_pb.rb +1 -0
  16. data/lib/google/cloud/osconfig/v1alpha/osconfig_zonal_service_pb.rb +3 -2
  17. data/lib/google/cloud/osconfig/v1alpha/osconfig_zonal_service_services_pb.rb +7 -1
  18. data/lib/google/cloud/osconfig/v1alpha/vulnerability_pb.rb +12 -2
  19. data/proto_docs/google/api/resource.rb +10 -71
  20. data/proto_docs/google/cloud/osconfig/v1alpha/inventory.rb +30 -4
  21. data/proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb +44 -11
  22. data/proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignment_reports.rb +293 -0
  23. data/proto_docs/google/cloud/osconfig/v1alpha/os_policy_assignments.rb +33 -5
  24. data/proto_docs/google/cloud/osconfig/v1alpha/vulnerability.rb +38 -5
  25. data/proto_docs/google/type/date.rb +53 -0
  26. metadata +6 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de7976e9c733f675064af2746870a649f6d9f48cd87b76a54b83e51cae2edaa0
4
- data.tar.gz: 93ed91e61d5c3e1eafbaff29ab6d646edb39416de94cf6148866e5203ed52b21
3
+ metadata.gz: 1dab932136f9c5df0eb2edd784b359c2464bf23f363c123b708db0bc17fe3def
4
+ data.tar.gz: 5e45c9b0af797fa25fbde8e73d45e42aae34d374573e9b340b3ad48d5cb3bc0b
5
5
  SHA512:
6
- metadata.gz: a325ca5c8f2cadd5ad3732584138709b225c818a6f418e5211235e7aea8de3bd113086a3780e36b10e77ff2191ce73558fbd61da2f7e677a26f57bacb9c4d774
7
- data.tar.gz: a4237bc64673240c8135eb1eea69c614402aaed12ad57d552eed77e7cb2a0d5f70675981d2f0542d7315cb3414c5f45788643ae625428d94e823009be35443d7
6
+ metadata.gz: 7264a5c47ad16a4b44aa471a97649799897bd3150b4ff407709b0daeb0b48ffe24e72dc941d2c5a802ab0c14f2bda4037747ef9302ed7358df59e2949f658811
7
+ data.tar.gz: 4078b9a721a4f341fddb2bca8d1ec8f7f7ed2a83971c28027206bd98bf313ff159a96b3919a53ca16098ebc06e6184131094ee3d3a6b973b9c8c1ed3ff0dcbdb
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud OS Config V1alpha API
2
+ --title="Cloud OS Config V1alpha 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::OsConfig::V1alpha::CreateOSPolicyAssignmentRequest.ne
37
37
  response = client.create_os_policy_assignment request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-os_config-v1alpha/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-os_config-v1alpha/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/compute/docs/manage-os)