google-api-client 0.35.0 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  4. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +5 -1
  5. data/generated/google/apis/cloudasset_v1.rb +1 -1
  6. data/generated/google/apis/cloudasset_v1/classes.rb +75 -41
  7. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  8. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -41
  9. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  10. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -41
  11. data/generated/google/apis/container_v1.rb +1 -1
  12. data/generated/google/apis/container_v1/classes.rb +203 -78
  13. data/generated/google/apis/container_v1/representations.rb +49 -0
  14. data/generated/google/apis/container_v1/service.rb +119 -119
  15. data/generated/google/apis/container_v1beta1.rb +1 -1
  16. data/generated/google/apis/container_v1beta1/classes.rb +32 -0
  17. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  18. data/generated/google/apis/dataproc_v1.rb +1 -1
  19. data/generated/google/apis/dataproc_v1/classes.rb +44 -7
  20. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  21. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  22. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -7
  23. data/generated/google/apis/dataproc_v1beta2/service.rb +12 -12
  24. data/generated/google/apis/dlp_v2.rb +1 -1
  25. data/generated/google/apis/dlp_v2/classes.rb +4 -4
  26. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  27. data/generated/google/apis/firebase_v1beta1/classes.rb +15 -0
  28. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  30. data/generated/google/apis/healthcare_v1beta1/service.rb +20 -23
  31. data/generated/google/apis/ml_v1.rb +1 -1
  32. data/generated/google/apis/ml_v1/classes.rb +75 -41
  33. data/generated/google/apis/monitoring_v1.rb +13 -1
  34. data/generated/google/apis/monitoring_v1/classes.rb +893 -0
  35. data/generated/google/apis/monitoring_v1/representations.rb +405 -0
  36. data/generated/google/apis/monitoring_v1/service.rb +182 -0
  37. data/generated/google/apis/monitoring_v3.rb +1 -1
  38. data/generated/google/apis/monitoring_v3/classes.rb +29 -41
  39. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  40. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -92
  41. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  42. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  43. data/generated/google/apis/remotebuildexecution_v1/classes.rb +56 -0
  44. data/generated/google/apis/remotebuildexecution_v1/representations.rb +31 -0
  45. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  46. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +56 -0
  47. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +31 -0
  48. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  49. data/generated/google/apis/remotebuildexecution_v2/classes.rb +56 -0
  50. data/generated/google/apis/remotebuildexecution_v2/representations.rb +31 -0
  51. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  52. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -41
  53. data/generated/google/apis/securitycenter_v1.rb +1 -1
  54. data/generated/google/apis/securitycenter_v1/classes.rb +75 -41
  55. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  56. data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -41
  57. data/generated/google/apis/servicebroker_v1.rb +1 -1
  58. data/generated/google/apis/servicebroker_v1/classes.rb +75 -41
  59. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  60. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -41
  61. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  62. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -41
  63. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  64. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +29 -41
  65. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  66. data/generated/google/apis/servicemanagement_v1/classes.rb +104 -82
  67. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  68. data/generated/google/apis/servicenetworking_v1/classes.rb +51 -41
  69. data/generated/google/apis/servicenetworking_v1/representations.rb +13 -0
  70. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  71. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  72. data/generated/google/apis/servicenetworking_v1beta/classes.rb +29 -41
  73. data/generated/google/apis/serviceusage_v1.rb +1 -1
  74. data/generated/google/apis/serviceusage_v1/classes.rb +29 -41
  75. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  76. data/generated/google/apis/serviceusage_v1beta1/classes.rb +29 -41
  77. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  78. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +3 -7
  81. data/generated/google/apis/cloudbuild_v1alpha1.rb +0 -34
  82. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1174
  83. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -435
  84. 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 = '20191112'
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
- # Defines an Identity and Access Management (IAM) policy. It is used to
778
- # specify access control policies for Cloud Platform resources.
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 (defined by IAM or configured by users). A `binding` can
783
- # optionally specify a `condition`, which is a logic expression that further
784
- # constrains the role binding based on attributes about the request and/or
785
- # target resource.
786
- # **JSON Example**
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
- # timestamp('2020-10-01T00:00:00.000Z')",
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 Example**
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 developer's guide](https://cloud.google.com/iam/docs).
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 binding is in effect.
832
- # `bindings` with no members will result in an error.
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 no `etag` is provided in the call to `setIamPolicy`, then the existing
845
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
846
- # 'setIamPolicy' will not fail even if the incoming policy version does not
847
- # meet the requirements for modifying the stored policy.
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, 1, and 3. Requests specifying an invalid value will be
855
- # rejected.
856
- # Operations affecting conditional bindings must specify version 3. This can
857
- # be either setting a conditional policy, modifying a conditional binding,
858
- # or removing a binding (conditional or unconditional) from the stored
859
- # conditional policy.
860
- # Operations on non-conditional policies may specify any valid value or
861
- # leave the field unset.
862
- # If no etag is provided in the call to `setIamPolicy`, version compliance
863
- # checks against the stored policy is skipped.
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
- # Defines an Identity and Access Management (IAM) policy. It is used to
885
- # specify access control policies for Cloud Platform resources.
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 (defined by IAM or configured by users). A `binding` can
890
- # optionally specify a `condition`, which is a logic expression that further
891
- # constrains the role binding based on attributes about the request and/or
892
- # target resource.
893
- # **JSON Example**
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
- # timestamp('2020-10-01T00:00:00.000Z')",
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 Example**
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 developer's guide](https://cloud.google.com/iam/docs).
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 = '20191112'
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
- # Defines an Identity and Access Management (IAM) policy. It is used to
895
- # specify access control policies for Cloud Platform resources.
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 (defined by IAM or configured by users). A `binding` can
900
- # optionally specify a `condition`, which is a logic expression that further
901
- # constrains the role binding based on attributes about the request and/or
902
- # target resource.
903
- # **JSON Example**
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
- # timestamp('2020-10-01T00:00:00.000Z')",
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 Example**
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 developer's guide](https://cloud.google.com/iam/docs).
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 binding is in effect.
949
- # `bindings` with no members will result in an error.
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 no `etag` is provided in the call to `setIamPolicy`, then the existing
962
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
963
- # 'setIamPolicy' will not fail even if the incoming policy version does not
964
- # meet the requirements for modifying the stored policy.
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, 1, and 3. Requests specifying an invalid value will be
972
- # rejected.
973
- # Operations affecting conditional bindings must specify version 3. This can
974
- # be either setting a conditional policy, modifying a conditional binding,
975
- # or removing a binding (conditional or unconditional) from the stored
976
- # conditional policy.
977
- # Operations on non-conditional policies may specify any valid value or
978
- # leave the field unset.
979
- # If no etag is provided in the call to `setIamPolicy`, version compliance
980
- # checks against the stored policy is skipped.
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
- # Defines an Identity and Access Management (IAM) policy. It is used to
1002
- # specify access control policies for Cloud Platform resources.
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 (defined by IAM or configured by users). A `binding` can
1007
- # optionally specify a `condition`, which is a logic expression that further
1008
- # constrains the role binding based on attributes about the request and/or
1009
- # target resource.
1010
- # **JSON Example**
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
- # timestamp('2020-10-01T00:00:00.000Z')",
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 Example**
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 developer's guide](https://cloud.google.com/iam/docs).
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 = '20191113'
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
- # The unit in which the metric value is reported. It is only applicable
1916
- # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
1917
- # supported units are a subset of [The Unified Code for Units of
1918
- # Measure](http://unitsofmeasure.org/ucum.html) standard:
1919
- # **Basic units (UNIT)**
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, e.g. `1/s`).
1950
- # * `.` multiplication (as an infix operator, e.g. `GBy.d`)
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` and is
1960
- # equivalent to `1` if it is used alone. For examples,
1961
- # ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
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 '`' or '`'.
1964
- # * `1` represents dimensionless value 1, such as in `1/s`.
1965
- # * `%` represents dimensionless value 1/100, and annotates values giving
1966
- # a percentage.
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