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.
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
@@ -47,9 +47,8 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Perform a check on whether a member is granted a permission
51
- # on a resource and how that grant/deny is determined accordinga
52
- # to the resource's effective IAM policy interpretation.
50
+ # Checks whether a member has a specific permission for a specific resource,
51
+ # and explains why the member does or does not have that permission.
53
52
  # @param [Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest] google_cloud_policytroubleshooter_v1beta_troubleshoot_iam_policy_request_object
54
53
  # @param [String] fields
55
54
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191119'
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'
@@ -1616,6 +1616,62 @@ module Google
1616
1616
  end
1617
1617
  end
1618
1618
 
1619
+ # ResourceUsage is the system resource usage of the host machine.
1620
+ class GoogleDevtoolsRemotebuildbotResourceUsage
1621
+ include Google::Apis::Core::Hashable
1622
+
1623
+ #
1624
+ # Corresponds to the JSON property `cpuUsedPercent`
1625
+ # @return [Float]
1626
+ attr_accessor :cpu_used_percent
1627
+
1628
+ #
1629
+ # Corresponds to the JSON property `diskUsage`
1630
+ # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat]
1631
+ attr_accessor :disk_usage
1632
+
1633
+ #
1634
+ # Corresponds to the JSON property `memoryUsage`
1635
+ # @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat]
1636
+ attr_accessor :memory_usage
1637
+
1638
+ def initialize(**args)
1639
+ update!(**args)
1640
+ end
1641
+
1642
+ # Update properties of this object
1643
+ def update!(**args)
1644
+ @cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
1645
+ @disk_usage = args[:disk_usage] if args.key?(:disk_usage)
1646
+ @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1647
+ end
1648
+ end
1649
+
1650
+ #
1651
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
1652
+ include Google::Apis::Core::Hashable
1653
+
1654
+ #
1655
+ # Corresponds to the JSON property `total`
1656
+ # @return [Fixnum]
1657
+ attr_accessor :total
1658
+
1659
+ #
1660
+ # Corresponds to the JSON property `used`
1661
+ # @return [Fixnum]
1662
+ attr_accessor :used
1663
+
1664
+ def initialize(**args)
1665
+ update!(**args)
1666
+ end
1667
+
1668
+ # Update properties of this object
1669
+ def update!(**args)
1670
+ @total = args[:total] if args.key?(:total)
1671
+ @used = args[:used] if args.key?(:used)
1672
+ end
1673
+ end
1674
+
1619
1675
  # AcceleratorConfig defines the accelerator cards to attach to the VM.
1620
1676
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
1621
1677
  include Google::Apis::Core::Hashable
@@ -172,6 +172,18 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleDevtoolsRemotebuildbotResourceUsage
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
175
187
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
176
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
189
 
@@ -651,6 +663,25 @@ module Google
651
663
  end
652
664
  end
653
665
 
666
+ class GoogleDevtoolsRemotebuildbotResourceUsage
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :cpu_used_percent, as: 'cpuUsedPercent'
670
+ property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
671
+
672
+ property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
673
+
674
+ end
675
+ end
676
+
677
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :total, :numeric_string => true, as: 'total'
681
+ property :used, :numeric_string => true, as: 'used'
682
+ end
683
+ end
684
+
654
685
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
655
686
  # @private
656
687
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20191119'
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'
@@ -1597,6 +1597,62 @@ module Google
1597
1597
  end
1598
1598
  end
1599
1599
 
1600
+ # ResourceUsage is the system resource usage of the host machine.
1601
+ class GoogleDevtoolsRemotebuildbotResourceUsage
1602
+ include Google::Apis::Core::Hashable
1603
+
1604
+ #
1605
+ # Corresponds to the JSON property `cpuUsedPercent`
1606
+ # @return [Float]
1607
+ attr_accessor :cpu_used_percent
1608
+
1609
+ #
1610
+ # Corresponds to the JSON property `diskUsage`
1611
+ # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]
1612
+ attr_accessor :disk_usage
1613
+
1614
+ #
1615
+ # Corresponds to the JSON property `memoryUsage`
1616
+ # @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat]
1617
+ attr_accessor :memory_usage
1618
+
1619
+ def initialize(**args)
1620
+ update!(**args)
1621
+ end
1622
+
1623
+ # Update properties of this object
1624
+ def update!(**args)
1625
+ @cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
1626
+ @disk_usage = args[:disk_usage] if args.key?(:disk_usage)
1627
+ @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
1628
+ end
1629
+ end
1630
+
1631
+ #
1632
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
1633
+ include Google::Apis::Core::Hashable
1634
+
1635
+ #
1636
+ # Corresponds to the JSON property `total`
1637
+ # @return [Fixnum]
1638
+ attr_accessor :total
1639
+
1640
+ #
1641
+ # Corresponds to the JSON property `used`
1642
+ # @return [Fixnum]
1643
+ attr_accessor :used
1644
+
1645
+ def initialize(**args)
1646
+ update!(**args)
1647
+ end
1648
+
1649
+ # Update properties of this object
1650
+ def update!(**args)
1651
+ @total = args[:total] if args.key?(:total)
1652
+ @used = args[:used] if args.key?(:used)
1653
+ end
1654
+ end
1655
+
1600
1656
  # AcceleratorConfig defines the accelerator cards to attach to the VM.
1601
1657
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
1602
1658
  include Google::Apis::Core::Hashable
@@ -166,6 +166,18 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class GoogleDevtoolsRemotebuildbotResourceUsage
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -620,6 +632,25 @@ module Google
620
632
  end
621
633
  end
622
634
 
635
+ class GoogleDevtoolsRemotebuildbotResourceUsage
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :cpu_used_percent, as: 'cpuUsedPercent'
639
+ property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
640
+
641
+ property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
642
+
643
+ end
644
+ end
645
+
646
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :total, :numeric_string => true, as: 'total'
650
+ property :used, :numeric_string => true, as: 'used'
651
+ end
652
+ end
653
+
623
654
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
624
655
  # @private
625
656
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20191119'
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'
@@ -2294,6 +2294,62 @@ module Google
2294
2294
  end
2295
2295
  end
2296
2296
 
2297
+ # ResourceUsage is the system resource usage of the host machine.
2298
+ class GoogleDevtoolsRemotebuildbotResourceUsage
2299
+ include Google::Apis::Core::Hashable
2300
+
2301
+ #
2302
+ # Corresponds to the JSON property `cpuUsedPercent`
2303
+ # @return [Float]
2304
+ attr_accessor :cpu_used_percent
2305
+
2306
+ #
2307
+ # Corresponds to the JSON property `diskUsage`
2308
+ # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
2309
+ attr_accessor :disk_usage
2310
+
2311
+ #
2312
+ # Corresponds to the JSON property `memoryUsage`
2313
+ # @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat]
2314
+ attr_accessor :memory_usage
2315
+
2316
+ def initialize(**args)
2317
+ update!(**args)
2318
+ end
2319
+
2320
+ # Update properties of this object
2321
+ def update!(**args)
2322
+ @cpu_used_percent = args[:cpu_used_percent] if args.key?(:cpu_used_percent)
2323
+ @disk_usage = args[:disk_usage] if args.key?(:disk_usage)
2324
+ @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
2325
+ end
2326
+ end
2327
+
2328
+ #
2329
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
2330
+ include Google::Apis::Core::Hashable
2331
+
2332
+ #
2333
+ # Corresponds to the JSON property `total`
2334
+ # @return [Fixnum]
2335
+ attr_accessor :total
2336
+
2337
+ #
2338
+ # Corresponds to the JSON property `used`
2339
+ # @return [Fixnum]
2340
+ attr_accessor :used
2341
+
2342
+ def initialize(**args)
2343
+ update!(**args)
2344
+ end
2345
+
2346
+ # Update properties of this object
2347
+ def update!(**args)
2348
+ @total = args[:total] if args.key?(:total)
2349
+ @used = args[:used] if args.key?(:used)
2350
+ end
2351
+ end
2352
+
2297
2353
  # AcceleratorConfig defines the accelerator cards to attach to the VM.
2298
2354
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
2299
2355
  include Google::Apis::Core::Hashable
@@ -292,6 +292,18 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class GoogleDevtoolsRemotebuildbotResourceUsage
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -938,6 +950,25 @@ module Google
938
950
  end
939
951
  end
940
952
 
953
+ class GoogleDevtoolsRemotebuildbotResourceUsage
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ property :cpu_used_percent, as: 'cpuUsedPercent'
957
+ property :disk_usage, as: 'diskUsage', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
958
+
959
+ property :memory_usage, as: 'memoryUsage', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildbotResourceUsageStat::Representation
960
+
961
+ end
962
+ end
963
+
964
+ class GoogleDevtoolsRemotebuildbotResourceUsageStat
965
+ # @private
966
+ class Representation < Google::Apis::Core::JsonRepresentation
967
+ property :total, :numeric_string => true, as: 'total'
968
+ property :used, :numeric_string => true, as: 'used'
969
+ end
970
+ end
971
+
941
972
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
942
973
  # @private
943
974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
29
  module RuntimeconfigV1beta1
30
30
  VERSION = 'V1beta1'
31
- REVISION = '20191112'
31
+ REVISION = '20191202'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -46,6 +46,23 @@ module Google
46
46
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
47
47
  # * `group:`emailid``: An email address that represents a Google group.
48
48
  # For example, `admins@example.com`.
49
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
50
+ # identifier) representing a user that has been recently deleted. For
51
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
52
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
53
+ # retains the role in the binding.
54
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
55
+ # unique identifier) representing a service account that has been recently
56
+ # deleted. For example,
57
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
58
+ # If the service account is undeleted, this value reverts to
59
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
60
+ # role in the binding.
61
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
62
+ # identifier) representing a Google group that has been recently
63
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
64
+ # the group is recovered, this value reverts to `group:`emailid`` and the
65
+ # recovered group retains the role in the binding.
49
66
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
50
67
  # users of that domain. For example, `google.com` or `example.com`.
51
68
  # Corresponds to the JSON property `members`
@@ -358,16 +375,18 @@ module Google
358
375
  end
359
376
  end
360
377
 
361
- # Defines an Identity and Access Management (IAM) policy. It is used to
362
- # specify access control policies for Cloud Platform resources.
378
+ # An Identity and Access Management (IAM) policy, which specifies access
379
+ # controls for Google Cloud resources.
363
380
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
364
381
  # `members` to a single `role`. Members can be user accounts, service accounts,
365
382
  # Google groups, and domains (such as G Suite). A `role` is a named list of
366
- # permissions (defined by IAM or configured by users). A `binding` can
367
- # optionally specify a `condition`, which is a logic expression that further
368
- # constrains the role binding based on attributes about the request and/or
369
- # target resource.
370
- # **JSON Example**
383
+ # permissions; each `role` can be an IAM predefined role or a user-created
384
+ # custom role.
385
+ # Optionally, a `binding` can specify a `condition`, which is a logical
386
+ # expression that allows access to a resource only if the expression evaluates
387
+ # to `true`. A condition can add constraints based on attributes of the
388
+ # request, the resource, or both.
389
+ # **JSON example:**
371
390
  # `
372
391
  # "bindings": [
373
392
  # `
@@ -385,13 +404,15 @@ module Google
385
404
  # "condition": `
386
405
  # "title": "expirable access",
387
406
  # "description": "Does not grant access after Sep 2020",
388
- # "expression": "request.time <
389
- # timestamp('2020-10-01T00:00:00.000Z')",
407
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
408
+ # ",
390
409
  # `
391
410
  # `
392
- # ]
411
+ # ],
412
+ # "etag": "BwWWja0YfJA=",
413
+ # "version": 3
393
414
  # `
394
- # **YAML Example**
415
+ # **YAML example:**
395
416
  # bindings:
396
417
  # - members:
397
418
  # - user:mike@example.com
@@ -406,14 +427,16 @@ module Google
406
427
  # title: expirable access
407
428
  # description: Does not grant access after Sep 2020
408
429
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
430
+ # - etag: BwWWja0YfJA=
431
+ # - version: 3
409
432
  # For a description of IAM and its features, see the
410
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
433
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
411
434
  class Policy
412
435
  include Google::Apis::Core::Hashable
413
436
 
414
- # Associates a list of `members` to a `role`. Optionally may specify a
415
- # `condition` that determines when binding is in effect.
416
- # `bindings` with no members will result in an error.
437
+ # Associates a list of `members` to a `role`. Optionally, may specify a
438
+ # `condition` that determines how and when the `bindings` are applied. Each
439
+ # of the `bindings` must contain at least one member.
417
440
  # Corresponds to the JSON property `bindings`
418
441
  # @return [Array<Google::Apis::RuntimeconfigV1beta1::Binding>]
419
442
  attr_accessor :bindings
@@ -425,26 +448,31 @@ module Google
425
448
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
426
449
  # systems are expected to put that etag in the request to `setIamPolicy` to
427
450
  # ensure that their change will be applied to the same version of the policy.
428
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
429
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
430
- # 'setIamPolicy' will not fail even if the incoming policy version does not
431
- # meet the requirements for modifying the stored policy.
451
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
452
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
453
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
454
+ # the conditions in the version `3` policy are lost.
432
455
  # Corresponds to the JSON property `etag`
433
456
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
434
457
  # @return [String]
435
458
  attr_accessor :etag
436
459
 
437
460
  # Specifies the format of the policy.
438
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
439
- # rejected.
440
- # Operations affecting conditional bindings must specify version 3. This can
441
- # be either setting a conditional policy, modifying a conditional binding,
442
- # or removing a binding (conditional or unconditional) from the stored
443
- # conditional policy.
444
- # Operations on non-conditional policies may specify any valid value or
445
- # leave the field unset.
446
- # If no etag is provided in the call to `setIamPolicy`, version compliance
447
- # checks against the stored policy is skipped.
461
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
462
+ # are rejected.
463
+ # Any operation that affects conditional role bindings must specify version
464
+ # `3`. This requirement applies to the following operations:
465
+ # * Getting a policy that includes a conditional role binding
466
+ # * Adding a conditional role binding to a policy
467
+ # * Changing a conditional role binding in a policy
468
+ # * Removing any role binding, with or without a condition, from a policy
469
+ # that includes conditions
470
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
471
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
472
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
473
+ # the conditions in the version `3` policy are lost.
474
+ # If a policy does not include any conditions, operations on that policy may
475
+ # specify any valid version or leave the field unset.
448
476
  # Corresponds to the JSON property `version`
449
477
  # @return [Fixnum]
450
478
  attr_accessor :version
@@ -500,16 +528,18 @@ module Google
500
528
  class SetIamPolicyRequest
501
529
  include Google::Apis::Core::Hashable
502
530
 
503
- # Defines an Identity and Access Management (IAM) policy. It is used to
504
- # specify access control policies for Cloud Platform resources.
531
+ # An Identity and Access Management (IAM) policy, which specifies access
532
+ # controls for Google Cloud resources.
505
533
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
506
534
  # `members` to a single `role`. Members can be user accounts, service accounts,
507
535
  # Google groups, and domains (such as G Suite). A `role` is a named list of
508
- # permissions (defined by IAM or configured by users). A `binding` can
509
- # optionally specify a `condition`, which is a logic expression that further
510
- # constrains the role binding based on attributes about the request and/or
511
- # target resource.
512
- # **JSON Example**
536
+ # permissions; each `role` can be an IAM predefined role or a user-created
537
+ # custom role.
538
+ # Optionally, a `binding` can specify a `condition`, which is a logical
539
+ # expression that allows access to a resource only if the expression evaluates
540
+ # to `true`. A condition can add constraints based on attributes of the
541
+ # request, the resource, or both.
542
+ # **JSON example:**
513
543
  # `
514
544
  # "bindings": [
515
545
  # `
@@ -527,13 +557,15 @@ module Google
527
557
  # "condition": `
528
558
  # "title": "expirable access",
529
559
  # "description": "Does not grant access after Sep 2020",
530
- # "expression": "request.time <
531
- # timestamp('2020-10-01T00:00:00.000Z')",
560
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
561
+ # ",
532
562
  # `
533
563
  # `
534
- # ]
564
+ # ],
565
+ # "etag": "BwWWja0YfJA=",
566
+ # "version": 3
535
567
  # `
536
- # **YAML Example**
568
+ # **YAML example:**
537
569
  # bindings:
538
570
  # - members:
539
571
  # - user:mike@example.com
@@ -548,8 +580,10 @@ module Google
548
580
  # title: expirable access
549
581
  # description: Does not grant access after Sep 2020
550
582
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
583
+ # - etag: BwWWja0YfJA=
584
+ # - version: 3
551
585
  # For a description of IAM and its features, see the
552
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
586
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
553
587
  # Corresponds to the JSON property `policy`
554
588
  # @return [Google::Apis::RuntimeconfigV1beta1::Policy]
555
589
  attr_accessor :policy