google-apis-cloudiot_v1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/cloudiot_v1/classes.rb +72 -64
- data/lib/google/apis/cloudiot_v1/gem_version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 992fd84915751fc5518c1a69b7ff57a9b842857ec976b1c198da72f8585d2037
|
4
|
+
data.tar.gz: 329c082c1a725bca6f802b3a679d55af30db2bf2fd62dc9be6af0117ba8f89b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fd3dfe0890985b7f6f7935a46d3924149bed447e488b06e5b087297542e8ecab832b66fe8b5118697fbc11527b1768b4c5e32e449b5a577f7fd57bc92e6f037
|
7
|
+
data.tar.gz: d8d22a8ba81f5b5a1a40d908c05ac7d3bc12cf8b92110ca68441a529d5ea2d769e69cf9abbd1a0f482210308303ed80525081437b7a65b9a23cc7a5b74c3b4b4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudiot_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.11.0 (2021-11-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211108
|
10
|
+
|
11
|
+
### v0.10.0 (2021-10-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211004
|
14
|
+
|
15
|
+
### v0.9.0 (2021-08-28)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210816
|
18
|
+
|
3
19
|
### v0.8.0 (2021-08-18)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210809
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudiot_v1"
|
|
51
51
|
client = Google::Apis::CloudiotV1::CloudIotService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudiot service in particular.)
|
67
67
|
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
# Associates `members
|
66
|
+
# Associates `members`, or principals, with a `role`.
|
67
67
|
class Binding
|
68
68
|
include Google::Apis::Core::Hashable
|
69
69
|
|
@@ -86,7 +86,7 @@ module Google
|
|
86
86
|
# @return [Google::Apis::CloudiotV1::Expr]
|
87
87
|
attr_accessor :condition
|
88
88
|
|
89
|
-
# Specifies the
|
89
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
90
90
|
# members` can have the following values: * `allUsers`: A special identifier
|
91
91
|
# that represents anyone who is on the internet; with or without a Google
|
92
92
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -116,8 +116,8 @@ module Google
|
|
116
116
|
# @return [Array<String>]
|
117
117
|
attr_accessor :members
|
118
118
|
|
119
|
-
# Role that is assigned to `members
|
120
|
-
#
|
119
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
120
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
121
121
|
# Corresponds to the JSON property `role`
|
122
122
|
# @return [String]
|
123
123
|
attr_accessor :role
|
@@ -628,13 +628,16 @@ module Google
|
|
628
628
|
class GetPolicyOptions
|
629
629
|
include Google::Apis::Core::Hashable
|
630
630
|
|
631
|
-
# Optional. The policy
|
632
|
-
# 3. Requests specifying an invalid value will be
|
633
|
-
# policies with any conditional bindings must
|
634
|
-
#
|
635
|
-
# field unset.
|
636
|
-
#
|
637
|
-
#
|
631
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
632
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
633
|
+
# rejected. Requests for policies with any conditional role bindings must
|
634
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
635
|
+
# valid value or leave the field unset. The policy in the response might use the
|
636
|
+
# policy version that you specified, or it might use a lower policy version. For
|
637
|
+
# example, if you specify version 3, but the policy has no conditional role
|
638
|
+
# bindings, the response uses version 1. To learn which resources support
|
639
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
640
|
+
# google.com/iam/help/conditions/resource-policies).
|
638
641
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
639
642
|
# @return [Fixnum]
|
640
643
|
attr_accessor :requested_policy_version
|
@@ -813,37 +816,42 @@ module Google
|
|
813
816
|
|
814
817
|
# An Identity and Access Management (IAM) policy, which specifies access
|
815
818
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
816
|
-
# A `binding` binds one or more `members
|
817
|
-
# user accounts, service accounts, Google groups, and domains (
|
818
|
-
# A `role` is a named list of permissions; each `role` can be
|
819
|
-
# role or a user-created custom role. For some types of Google
|
820
|
-
# a `binding` can also specify a `condition`, which is a
|
821
|
-
# allows access to a resource only if the expression
|
822
|
-
# condition can add constraints based on attributes of
|
823
|
-
# or both. To learn which resources support
|
824
|
-
# see the [IAM documentation](https://cloud.
|
825
|
-
# resource-policies). **JSON example:** ` "
|
826
|
-
# resourcemanager.organizationAdmin", "members": [
|
827
|
-
# group:admins@example.com", "domain:google.com", "
|
828
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
829
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
830
|
-
# title": "expirable access", "description": "Does not grant
|
831
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
832
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
833
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
834
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
835
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
836
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
837
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
838
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
839
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
840
|
-
# google.com/iam/docs/).
|
819
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
820
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
821
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
822
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
823
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
824
|
+
# logical expression that allows access to a resource only if the expression
|
825
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
826
|
+
# the request, the resource, or both. To learn which resources support
|
827
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
828
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
829
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
830
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
831
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
832
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
833
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
834
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
835
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
836
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
837
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
838
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
839
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
840
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
841
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
842
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
843
|
+
# cloud.google.com/iam/docs/).
|
841
844
|
class Policy
|
842
845
|
include Google::Apis::Core::Hashable
|
843
846
|
|
844
|
-
# Associates a list of `members
|
845
|
-
# condition` that determines how and when the `bindings` are applied.
|
846
|
-
# the `bindings` must contain at least one
|
847
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
848
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
849
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
850
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
851
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
852
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
853
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
854
|
+
# principals to the `bindings` in the `Policy`.
|
847
855
|
# Corresponds to the JSON property `bindings`
|
848
856
|
# @return [Array<Google::Apis::CloudiotV1::Binding>]
|
849
857
|
attr_accessor :bindings
|
@@ -1019,31 +1027,31 @@ module Google
|
|
1019
1027
|
|
1020
1028
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1021
1029
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1022
|
-
# A `binding` binds one or more `members
|
1023
|
-
# user accounts, service accounts, Google groups, and domains (
|
1024
|
-
# A `role` is a named list of permissions; each `role` can be
|
1025
|
-
# role or a user-created custom role. For some types of Google
|
1026
|
-
# a `binding` can also specify a `condition`, which is a
|
1027
|
-
# allows access to a resource only if the expression
|
1028
|
-
# condition can add constraints based on attributes of
|
1029
|
-
# or both. To learn which resources support
|
1030
|
-
# see the [IAM documentation](https://cloud.
|
1031
|
-
# resource-policies). **JSON example:** ` "
|
1032
|
-
# resourcemanager.organizationAdmin", "members": [
|
1033
|
-
# group:admins@example.com", "domain:google.com", "
|
1034
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1035
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1036
|
-
# title": "expirable access", "description": "Does not grant
|
1037
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1038
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1039
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1040
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1041
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1042
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1043
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1044
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1045
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1046
|
-
# google.com/iam/docs/).
|
1030
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1031
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1032
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1033
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1034
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1035
|
+
# logical expression that allows access to a resource only if the expression
|
1036
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1037
|
+
# the request, the resource, or both. To learn which resources support
|
1038
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1039
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1040
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1041
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1042
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1043
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1044
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1045
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1046
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1047
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1048
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1049
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1050
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1051
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1052
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1053
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1054
|
+
# cloud.google.com/iam/docs/).
|
1047
1055
|
# Corresponds to the JSON property `policy`
|
1048
1056
|
# @return [Google::Apis::CloudiotV1::Policy]
|
1049
1057
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudiotV1
|
18
18
|
# Version of the google-apis-cloudiot_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211108"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudiot_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudiot_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudiot_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudiot_v1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudiot_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud IoT API V1
|