google-api-client 0.35.0 → 0.36.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 +36 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +5 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +75 -41
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -41
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +203 -78
- data/generated/google/apis/container_v1/representations.rb +49 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +32 -0
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +44 -7
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +12 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +15 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +20 -23
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +75 -41
- data/generated/google/apis/monitoring_v1.rb +13 -1
- data/generated/google/apis/monitoring_v1/classes.rb +893 -0
- data/generated/google/apis/monitoring_v1/representations.rb +405 -0
- data/generated/google/apis/monitoring_v1/service.rb +182 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -41
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -92
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +31 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -41
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +29 -41
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +104 -82
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +51 -41
- data/generated/google/apis/servicenetworking_v1/representations.rb +13 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +29 -41
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -7
- data/generated/google/apis/cloudbuild_v1alpha1.rb +0 -34
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1174
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -435
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -226
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
28
|
module ServicebrokerV1alpha1
|
29
29
|
VERSION = 'V1alpha1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191202'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -750,6 +750,23 @@ module Google
|
|
750
750
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
751
751
|
# * `group:`emailid``: An email address that represents a Google group.
|
752
752
|
# For example, `admins@example.com`.
|
753
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
754
|
+
# identifier) representing a user that has been recently deleted. For
|
755
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
756
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
757
|
+
# retains the role in the binding.
|
758
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
759
|
+
# unique identifier) representing a service account that has been recently
|
760
|
+
# deleted. For example,
|
761
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
762
|
+
# If the service account is undeleted, this value reverts to
|
763
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
764
|
+
# role in the binding.
|
765
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
766
|
+
# identifier) representing a Google group that has been recently
|
767
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
768
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
769
|
+
# recovered group retains the role in the binding.
|
753
770
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
754
771
|
# users of that domain. For example, `google.com` or `example.com`.
|
755
772
|
# Corresponds to the JSON property `members`
|
@@ -774,16 +791,18 @@ module Google
|
|
774
791
|
end
|
775
792
|
end
|
776
793
|
|
777
|
-
#
|
778
|
-
#
|
794
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
795
|
+
# controls for Google Cloud resources.
|
779
796
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
780
797
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
781
798
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
782
|
-
# permissions
|
783
|
-
#
|
784
|
-
#
|
785
|
-
#
|
786
|
-
#
|
799
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
800
|
+
# custom role.
|
801
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
802
|
+
# expression that allows access to a resource only if the expression evaluates
|
803
|
+
# to `true`. A condition can add constraints based on attributes of the
|
804
|
+
# request, the resource, or both.
|
805
|
+
# **JSON example:**
|
787
806
|
# `
|
788
807
|
# "bindings": [
|
789
808
|
# `
|
@@ -801,13 +820,15 @@ module Google
|
|
801
820
|
# "condition": `
|
802
821
|
# "title": "expirable access",
|
803
822
|
# "description": "Does not grant access after Sep 2020",
|
804
|
-
# "expression": "request.time <
|
805
|
-
#
|
823
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
824
|
+
# ",
|
806
825
|
# `
|
807
826
|
# `
|
808
|
-
# ]
|
827
|
+
# ],
|
828
|
+
# "etag": "BwWWja0YfJA=",
|
829
|
+
# "version": 3
|
809
830
|
# `
|
810
|
-
# **YAML
|
831
|
+
# **YAML example:**
|
811
832
|
# bindings:
|
812
833
|
# - members:
|
813
834
|
# - user:mike@example.com
|
@@ -822,14 +843,16 @@ module Google
|
|
822
843
|
# title: expirable access
|
823
844
|
# description: Does not grant access after Sep 2020
|
824
845
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
846
|
+
# - etag: BwWWja0YfJA=
|
847
|
+
# - version: 3
|
825
848
|
# For a description of IAM and its features, see the
|
826
|
-
# [IAM
|
849
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
827
850
|
class GoogleIamV1Policy
|
828
851
|
include Google::Apis::Core::Hashable
|
829
852
|
|
830
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
831
|
-
# `condition` that determines when
|
832
|
-
# `bindings`
|
853
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
854
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
855
|
+
# of the `bindings` must contain at least one member.
|
833
856
|
# Corresponds to the JSON property `bindings`
|
834
857
|
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Binding>]
|
835
858
|
attr_accessor :bindings
|
@@ -841,26 +864,31 @@ module Google
|
|
841
864
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
842
865
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
843
866
|
# ensure that their change will be applied to the same version of the policy.
|
844
|
-
# If
|
845
|
-
#
|
846
|
-
#
|
847
|
-
#
|
867
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
868
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
869
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
870
|
+
# the conditions in the version `3` policy are lost.
|
848
871
|
# Corresponds to the JSON property `etag`
|
849
872
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
850
873
|
# @return [String]
|
851
874
|
attr_accessor :etag
|
852
875
|
|
853
876
|
# Specifies the format of the policy.
|
854
|
-
# Valid values are 0
|
855
|
-
# rejected.
|
856
|
-
#
|
857
|
-
#
|
858
|
-
#
|
859
|
-
# conditional policy
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
863
|
-
#
|
877
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
878
|
+
# are rejected.
|
879
|
+
# Any operation that affects conditional role bindings must specify version
|
880
|
+
# `3`. This requirement applies to the following operations:
|
881
|
+
# * Getting a policy that includes a conditional role binding
|
882
|
+
# * Adding a conditional role binding to a policy
|
883
|
+
# * Changing a conditional role binding in a policy
|
884
|
+
# * Removing any role binding, with or without a condition, from a policy
|
885
|
+
# that includes conditions
|
886
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
887
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
888
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
889
|
+
# the conditions in the version `3` policy are lost.
|
890
|
+
# If a policy does not include any conditions, operations on that policy may
|
891
|
+
# specify any valid version or leave the field unset.
|
864
892
|
# Corresponds to the JSON property `version`
|
865
893
|
# @return [Fixnum]
|
866
894
|
attr_accessor :version
|
@@ -881,16 +909,18 @@ module Google
|
|
881
909
|
class GoogleIamV1SetIamPolicyRequest
|
882
910
|
include Google::Apis::Core::Hashable
|
883
911
|
|
884
|
-
#
|
885
|
-
#
|
912
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
913
|
+
# controls for Google Cloud resources.
|
886
914
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
887
915
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
888
916
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
889
|
-
# permissions
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
893
|
-
#
|
917
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
918
|
+
# custom role.
|
919
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
920
|
+
# expression that allows access to a resource only if the expression evaluates
|
921
|
+
# to `true`. A condition can add constraints based on attributes of the
|
922
|
+
# request, the resource, or both.
|
923
|
+
# **JSON example:**
|
894
924
|
# `
|
895
925
|
# "bindings": [
|
896
926
|
# `
|
@@ -908,13 +938,15 @@ module Google
|
|
908
938
|
# "condition": `
|
909
939
|
# "title": "expirable access",
|
910
940
|
# "description": "Does not grant access after Sep 2020",
|
911
|
-
# "expression": "request.time <
|
912
|
-
#
|
941
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
942
|
+
# ",
|
913
943
|
# `
|
914
944
|
# `
|
915
|
-
# ]
|
945
|
+
# ],
|
946
|
+
# "etag": "BwWWja0YfJA=",
|
947
|
+
# "version": 3
|
916
948
|
# `
|
917
|
-
# **YAML
|
949
|
+
# **YAML example:**
|
918
950
|
# bindings:
|
919
951
|
# - members:
|
920
952
|
# - user:mike@example.com
|
@@ -929,8 +961,10 @@ module Google
|
|
929
961
|
# title: expirable access
|
930
962
|
# description: Does not grant access after Sep 2020
|
931
963
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
964
|
+
# - etag: BwWWja0YfJA=
|
965
|
+
# - version: 3
|
932
966
|
# For a description of IAM and its features, see the
|
933
|
-
# [IAM
|
967
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
934
968
|
# Corresponds to the JSON property `policy`
|
935
969
|
# @return [Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Policy]
|
936
970
|
attr_accessor :policy
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
28
|
module ServicebrokerV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191202'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -867,6 +867,23 @@ module Google
|
|
867
867
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
868
868
|
# * `group:`emailid``: An email address that represents a Google group.
|
869
869
|
# For example, `admins@example.com`.
|
870
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
871
|
+
# identifier) representing a user that has been recently deleted. For
|
872
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
873
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
874
|
+
# retains the role in the binding.
|
875
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
876
|
+
# unique identifier) representing a service account that has been recently
|
877
|
+
# deleted. For example,
|
878
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
879
|
+
# If the service account is undeleted, this value reverts to
|
880
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
881
|
+
# role in the binding.
|
882
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
883
|
+
# identifier) representing a Google group that has been recently
|
884
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
885
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
886
|
+
# recovered group retains the role in the binding.
|
870
887
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
871
888
|
# users of that domain. For example, `google.com` or `example.com`.
|
872
889
|
# Corresponds to the JSON property `members`
|
@@ -891,16 +908,18 @@ module Google
|
|
891
908
|
end
|
892
909
|
end
|
893
910
|
|
894
|
-
#
|
895
|
-
#
|
911
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
912
|
+
# controls for Google Cloud resources.
|
896
913
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
897
914
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
898
915
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
899
|
-
# permissions
|
900
|
-
#
|
901
|
-
#
|
902
|
-
#
|
903
|
-
#
|
916
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
917
|
+
# custom role.
|
918
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
919
|
+
# expression that allows access to a resource only if the expression evaluates
|
920
|
+
# to `true`. A condition can add constraints based on attributes of the
|
921
|
+
# request, the resource, or both.
|
922
|
+
# **JSON example:**
|
904
923
|
# `
|
905
924
|
# "bindings": [
|
906
925
|
# `
|
@@ -918,13 +937,15 @@ module Google
|
|
918
937
|
# "condition": `
|
919
938
|
# "title": "expirable access",
|
920
939
|
# "description": "Does not grant access after Sep 2020",
|
921
|
-
# "expression": "request.time <
|
922
|
-
#
|
940
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
941
|
+
# ",
|
923
942
|
# `
|
924
943
|
# `
|
925
|
-
# ]
|
944
|
+
# ],
|
945
|
+
# "etag": "BwWWja0YfJA=",
|
946
|
+
# "version": 3
|
926
947
|
# `
|
927
|
-
# **YAML
|
948
|
+
# **YAML example:**
|
928
949
|
# bindings:
|
929
950
|
# - members:
|
930
951
|
# - user:mike@example.com
|
@@ -939,14 +960,16 @@ module Google
|
|
939
960
|
# title: expirable access
|
940
961
|
# description: Does not grant access after Sep 2020
|
941
962
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
963
|
+
# - etag: BwWWja0YfJA=
|
964
|
+
# - version: 3
|
942
965
|
# For a description of IAM and its features, see the
|
943
|
-
# [IAM
|
966
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
944
967
|
class GoogleIamV1Policy
|
945
968
|
include Google::Apis::Core::Hashable
|
946
969
|
|
947
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
948
|
-
# `condition` that determines when
|
949
|
-
# `bindings`
|
970
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
971
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
972
|
+
# of the `bindings` must contain at least one member.
|
950
973
|
# Corresponds to the JSON property `bindings`
|
951
974
|
# @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding>]
|
952
975
|
attr_accessor :bindings
|
@@ -958,26 +981,31 @@ module Google
|
|
958
981
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
959
982
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
960
983
|
# ensure that their change will be applied to the same version of the policy.
|
961
|
-
# If
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
984
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
985
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
986
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
987
|
+
# the conditions in the version `3` policy are lost.
|
965
988
|
# Corresponds to the JSON property `etag`
|
966
989
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
967
990
|
# @return [String]
|
968
991
|
attr_accessor :etag
|
969
992
|
|
970
993
|
# Specifies the format of the policy.
|
971
|
-
# Valid values are 0
|
972
|
-
# rejected.
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
# conditional policy
|
977
|
-
#
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
994
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
995
|
+
# are rejected.
|
996
|
+
# Any operation that affects conditional role bindings must specify version
|
997
|
+
# `3`. This requirement applies to the following operations:
|
998
|
+
# * Getting a policy that includes a conditional role binding
|
999
|
+
# * Adding a conditional role binding to a policy
|
1000
|
+
# * Changing a conditional role binding in a policy
|
1001
|
+
# * Removing any role binding, with or without a condition, from a policy
|
1002
|
+
# that includes conditions
|
1003
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1004
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1005
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1006
|
+
# the conditions in the version `3` policy are lost.
|
1007
|
+
# If a policy does not include any conditions, operations on that policy may
|
1008
|
+
# specify any valid version or leave the field unset.
|
981
1009
|
# Corresponds to the JSON property `version`
|
982
1010
|
# @return [Fixnum]
|
983
1011
|
attr_accessor :version
|
@@ -998,16 +1026,18 @@ module Google
|
|
998
1026
|
class GoogleIamV1SetIamPolicyRequest
|
999
1027
|
include Google::Apis::Core::Hashable
|
1000
1028
|
|
1001
|
-
#
|
1002
|
-
#
|
1029
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1030
|
+
# controls for Google Cloud resources.
|
1003
1031
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1004
1032
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1005
1033
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1006
|
-
# permissions
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
#
|
1010
|
-
#
|
1034
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1035
|
+
# custom role.
|
1036
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1037
|
+
# expression that allows access to a resource only if the expression evaluates
|
1038
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1039
|
+
# request, the resource, or both.
|
1040
|
+
# **JSON example:**
|
1011
1041
|
# `
|
1012
1042
|
# "bindings": [
|
1013
1043
|
# `
|
@@ -1025,13 +1055,15 @@ module Google
|
|
1025
1055
|
# "condition": `
|
1026
1056
|
# "title": "expirable access",
|
1027
1057
|
# "description": "Does not grant access after Sep 2020",
|
1028
|
-
# "expression": "request.time <
|
1029
|
-
#
|
1058
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1059
|
+
# ",
|
1030
1060
|
# `
|
1031
1061
|
# `
|
1032
|
-
# ]
|
1062
|
+
# ],
|
1063
|
+
# "etag": "BwWWja0YfJA=",
|
1064
|
+
# "version": 3
|
1033
1065
|
# `
|
1034
|
-
# **YAML
|
1066
|
+
# **YAML example:**
|
1035
1067
|
# bindings:
|
1036
1068
|
# - members:
|
1037
1069
|
# - user:mike@example.com
|
@@ -1046,8 +1078,10 @@ module Google
|
|
1046
1078
|
# title: expirable access
|
1047
1079
|
# description: Does not grant access after Sep 2020
|
1048
1080
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1081
|
+
# - etag: BwWWja0YfJA=
|
1082
|
+
# - version: 3
|
1049
1083
|
# For a description of IAM and its features, see the
|
1050
|
-
# [IAM
|
1084
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1051
1085
|
# Corresponds to the JSON property `policy`
|
1052
1086
|
# @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy]
|
1053
1087
|
attr_accessor :policy
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
26
26
|
module ServiceconsumermanagementV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191203'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1912,42 +1912,19 @@ module Google
|
|
1912
1912
|
# @return [String]
|
1913
1913
|
attr_accessor :type
|
1914
1914
|
|
1915
|
-
#
|
1916
|
-
#
|
1917
|
-
#
|
1918
|
-
#
|
1919
|
-
#
|
1920
|
-
# * `bit` bit
|
1921
|
-
# * `By` byte
|
1922
|
-
# * `s` second
|
1923
|
-
# * `min` minute
|
1924
|
-
# * `h` hour
|
1925
|
-
# * `d` day
|
1926
|
-
# **Prefixes (PREFIX)**
|
1927
|
-
# * `k` kilo (10**3)
|
1928
|
-
# * `M` mega (10**6)
|
1929
|
-
# * `G` giga (10**9)
|
1930
|
-
# * `T` tera (10**12)
|
1931
|
-
# * `P` peta (10**15)
|
1932
|
-
# * `E` exa (10**18)
|
1933
|
-
# * `Z` zetta (10**21)
|
1934
|
-
# * `Y` yotta (10**24)
|
1935
|
-
# * `m` milli (10**-3)
|
1936
|
-
# * `u` micro (10**-6)
|
1937
|
-
# * `n` nano (10**-9)
|
1938
|
-
# * `p` pico (10**-12)
|
1939
|
-
# * `f` femto (10**-15)
|
1940
|
-
# * `a` atto (10**-18)
|
1941
|
-
# * `z` zepto (10**-21)
|
1942
|
-
# * `y` yocto (10**-24)
|
1943
|
-
# * `Ki` kibi (2**10)
|
1944
|
-
# * `Mi` mebi (2**20)
|
1945
|
-
# * `Gi` gibi (2**30)
|
1946
|
-
# * `Ti` tebi (2**40)
|
1915
|
+
# * `Ki` kibi (2^10)
|
1916
|
+
# * `Mi` mebi (2^20)
|
1917
|
+
# * `Gi` gibi (2^30)
|
1918
|
+
# * `Ti` tebi (2^40)
|
1919
|
+
# * `Pi` pebi (2^50)
|
1947
1920
|
# **Grammar**
|
1948
1921
|
# The grammar also includes these connectors:
|
1949
|
-
# * `/` division (as an infix operator
|
1950
|
-
#
|
1922
|
+
# * `/` division or ratio (as an infix operator). For examples,
|
1923
|
+
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
1924
|
+
# have `/s` in a metric `unit`; rates should always be computed at
|
1925
|
+
# query time from the underlying cumulative or delta value).
|
1926
|
+
# * `.` multiplication or composition (as an infix operator). For
|
1927
|
+
# examples, `GBy.d` or `k`watt`.h`.
|
1951
1928
|
# The grammar for a unit is as follows:
|
1952
1929
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
1953
1930
|
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
@@ -1956,14 +1933,25 @@ module Google
|
|
1956
1933
|
# ;
|
1957
1934
|
# Annotation = "`" NAME "`" ;
|
1958
1935
|
# Notes:
|
1959
|
-
# * `Annotation` is just a comment if it follows a `UNIT
|
1960
|
-
#
|
1961
|
-
# ``
|
1936
|
+
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
1937
|
+
# is used alone, then the unit is equivalent to `1`. For examples,
|
1938
|
+
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
1962
1939
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
1963
|
-
# containing
|
1964
|
-
# * `1` represents
|
1965
|
-
#
|
1966
|
-
#
|
1940
|
+
# containing ``` or ```.
|
1941
|
+
# * `1` represents a unitary [dimensionless
|
1942
|
+
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
1943
|
+
# as in `1/s`. It is typically used when none of the basic units are
|
1944
|
+
# appropriate. For example, "new users per day" can be represented as
|
1945
|
+
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
1946
|
+
# users). Alternatively, "thousands of page views per day" would be
|
1947
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
1948
|
+
# value of `5.3` would mean "5300 page views per day").
|
1949
|
+
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
1950
|
+
# a percentage (so the metric values are typically in the range of 0..100,
|
1951
|
+
# and a metric value `3` means "3 percent").
|
1952
|
+
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
1953
|
+
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
1954
|
+
# (so a metric value `0.03` means "3 percent").
|
1967
1955
|
# Corresponds to the JSON property `unit`
|
1968
1956
|
# @return [String]
|
1969
1957
|
attr_accessor :unit
|