google-apis-cloudiot_v1 0.7.0 → 0.11.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 +2 -2
- data/lib/google/apis/cloudiot_v1/classes.rb +72 -64
- data/lib/google/apis/cloudiot_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudiot_v1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 750f28237edb95f045505648ff1dfbfe9bb3bcddd460c88cf9f46f6091b92c0c
|
4
|
+
data.tar.gz: c91df795c58321d51caed2e32369c10f895aa6ea18e18e9e445d9e8b5b8d2368
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e8b5eea83748bf3b08ffe912e72e4a165c0f6be33e8bebea70d655b8765b0e91fdc12537ac5202c5b80b27284d1b29c4dbb019898db3a3a0542f44a4184a27
|
7
|
+
data.tar.gz: 8d618416640232f0f548d61936b8b411f9759dc42388a02604ab408d65b4f2bb58bb38897bd615fcf99c54d35cf92d540c2c564efc340bdf7511da1deacefa8d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudiot_v1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-11-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211108
|
6
|
+
|
7
|
+
### v0.10.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211004
|
10
|
+
|
11
|
+
### v0.9.0 (2021-08-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210816
|
14
|
+
|
15
|
+
### v0.8.0 (2021-08-18)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210809
|
18
|
+
|
3
19
|
### v0.7.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
data/OVERVIEW.md
CHANGED
@@ -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.11.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
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# Register and manage devices in the Google Cloud IoT service
|
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.11.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: 2021-
|
11
|
+
date: 2021-12-06 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.11.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:
|