google-api-client 0.47.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +77 -0
  3. data/CHANGELOG.md +64 -0
  4. data/generated/google/apis/bigquery_v2.rb +1 -1
  5. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  6. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  7. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  8. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  9. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  10. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  11. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  12. data/generated/google/apis/cloudasset_v1.rb +1 -1
  13. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  14. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  15. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  16. data/generated/google/apis/compute_v1.rb +1 -1
  17. data/generated/google/apis/compute_v1/classes.rb +238 -14
  18. data/generated/google/apis/compute_v1/representations.rb +41 -0
  19. data/generated/google/apis/compute_v1/service.rb +2 -0
  20. data/generated/google/apis/content_v2.rb +1 -1
  21. data/generated/google/apis/content_v2/service.rb +7 -7
  22. data/generated/google/apis/content_v2_1.rb +3 -4
  23. data/generated/google/apis/content_v2_1/classes.rb +899 -1054
  24. data/generated/google/apis/content_v2_1/representations.rb +206 -0
  25. data/generated/google/apis/content_v2_1/service.rb +912 -808
  26. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  27. data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
  28. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  29. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  30. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  31. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  32. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  33. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  34. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  35. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  36. data/generated/google/apis/datastore_v1.rb +1 -1
  37. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  38. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  39. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  40. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  41. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  42. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  43. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  44. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  45. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  46. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  47. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
  50. data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
  54. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  55. data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
  56. data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
  57. data/generated/google/apis/displayvideo_v1.rb +1 -1
  58. data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
  59. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  60. data/generated/google/apis/displayvideo_v1/service.rb +249 -9
  61. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  62. data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
  63. data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
  64. data/generated/google/apis/domains_v1beta1.rb +1 -1
  65. data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  68. data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
  69. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  70. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  71. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  72. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  73. data/generated/google/apis/firestore_v1.rb +1 -1
  74. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  75. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  76. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  77. data/generated/google/apis/games_v1.rb +1 -1
  78. data/generated/google/apis/games_v1/classes.rb +300 -0
  79. data/generated/google/apis/games_v1/representations.rb +116 -0
  80. data/generated/google/apis/games_v1/service.rb +34 -0
  81. data/generated/google/apis/gameservices_v1.rb +1 -1
  82. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  83. data/generated/google/apis/iam_v1.rb +2 -5
  84. data/generated/google/apis/iam_v1/service.rb +1 -4
  85. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  86. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  87. data/generated/google/apis/logging_v2.rb +1 -1
  88. data/generated/google/apis/logging_v2/classes.rb +72 -0
  89. data/generated/google/apis/logging_v2/representations.rb +32 -0
  90. data/generated/google/apis/logging_v2/service.rb +345 -0
  91. data/generated/google/apis/people_v1.rb +1 -1
  92. data/generated/google/apis/people_v1/classes.rb +4 -4
  93. data/generated/google/apis/people_v1/service.rb +12 -12
  94. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  95. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  96. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  97. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  98. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  99. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  100. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  101. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  102. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  103. data/generated/google/apis/safebrowsing_v4.rb +35 -0
  104. data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
  105. data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
  106. data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
  107. data/generated/google/apis/secretmanager_v1.rb +1 -1
  108. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  109. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  110. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  111. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  112. data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
  113. data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
  114. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  115. data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
  116. data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
  117. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  118. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
  119. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  120. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  121. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
  122. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  123. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  124. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  125. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  126. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  127. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  128. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  129. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  130. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  131. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  132. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
  133. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  134. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  135. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  136. data/generated/google/apis/translate_v3.rb +1 -1
  137. data/generated/google/apis/translate_v3/classes.rb +2 -1
  138. data/generated/google/apis/translate_v3beta1.rb +1 -1
  139. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  140. data/generated/google/apis/vision_v1.rb +1 -1
  141. data/generated/google/apis/vision_v1/classes.rb +16 -16
  142. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  143. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  144. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  145. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  146. data/generated/google/apis/youtube_v3.rb +1 -1
  147. data/generated/google/apis/youtube_v3/service.rb +2 -2
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +16 -3
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200802'
29
+ REVISION = '20201017'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1245,8 +1245,8 @@ module Google
1245
1245
  end
1246
1246
  end
1247
1247
 
1248
- # An object representing a latitude/longitude pair. This is expressed as a pair
1249
- # of doubles representing degrees latitude and degrees longitude. Unless
1248
+ # An object that represents a latitude/longitude pair. This is expressed as a
1249
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
1250
1250
  # specified otherwise, this must conform to the WGS84 standard. Values must be
1251
1251
  # within normalized ranges.
1252
1252
  class LatLng
@@ -2046,8 +2046,8 @@ module Google
2046
2046
  attr_accessor :exclude_from_indexes
2047
2047
  alias_method :exclude_from_indexes?, :exclude_from_indexes
2048
2048
 
2049
- # An object representing a latitude/longitude pair. This is expressed as a pair
2050
- # of doubles representing degrees latitude and degrees longitude. Unless
2049
+ # An object that represents a latitude/longitude pair. This is expressed as a
2050
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2051
2051
  # specified otherwise, this must conform to the WGS84 standard. Values must be
2052
2052
  # within normalized ranges.
2053
2053
  # Corresponds to the JSON property `geoPointValue`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/datastore/
27
27
  module DatastoreV1beta3
28
28
  VERSION = 'V1beta3'
29
- REVISION = '20200802'
29
+ REVISION = '20201017'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -945,8 +945,8 @@ module Google
945
945
  end
946
946
  end
947
947
 
948
- # An object representing a latitude/longitude pair. This is expressed as a pair
949
- # of doubles representing degrees latitude and degrees longitude. Unless
948
+ # An object that represents a latitude/longitude pair. This is expressed as a
949
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
950
950
  # specified otherwise, this must conform to the WGS84 standard. Values must be
951
951
  # within normalized ranges.
952
952
  class LatLng
@@ -1707,8 +1707,8 @@ module Google
1707
1707
  attr_accessor :exclude_from_indexes
1708
1708
  alias_method :exclude_from_indexes?, :exclude_from_indexes
1709
1709
 
1710
- # An object representing a latitude/longitude pair. This is expressed as a pair
1711
- # of doubles representing degrees latitude and degrees longitude. Unless
1710
+ # An object that represents a latitude/longitude pair. This is expressed as a
1711
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
1712
1712
  # specified otherwise, this must conform to the WGS84 standard. Values must be
1713
1713
  # within normalized ranges.
1714
1714
  # Corresponds to the JSON property `geoPointValue`
@@ -18,14 +18,16 @@ require 'google/apis/deploymentmanager_v2/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Cloud Deployment Manager API
21
+ # Cloud Deployment Manager V2 API
22
22
  #
23
- # Declares, configures, and deploys complex solutions on Google Cloud Platform.
23
+ # The Google Cloud Deployment Manager v2 API provides services for configuring,
24
+ # deploying, and viewing Google Cloud services and APIs via templates which
25
+ # specify deployments of Cloud resources.
24
26
  #
25
- # @see https://cloud.google.com/deployment-manager/
27
+ # @see http://cloud.google.com/deployment-manager
26
28
  module DeploymentmanagerV2
27
29
  VERSION = 'V2'
28
- REVISION = '20200519'
30
+ REVISION = '20201022'
29
31
 
30
32
  # View and manage your data across Google Cloud Platform services
31
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -24,21 +24,19 @@ module Google
24
24
 
25
25
  # Specifies the audit configuration for a service. The configuration determines
26
26
  # which permission types are logged, and what identities, if any, are exempted
27
- # from logging. An AuditConfig must have one or more AuditLogConfigs.
28
- # If there are AuditConfigs for both `allServices` and a specific service, the
29
- # union of the two AuditConfigs is used for that service: the log_types
30
- # specified in each AuditConfig are enabled, and the exempted_members in each
31
- # AuditLogConfig are exempted.
32
- # Example Policy with multiple AuditConfigs:
33
- # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
34
- # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
35
- # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
36
- # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
37
- # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
38
- # ] ` ] ` ] `
39
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
40
- # logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
41
- # example.com from DATA_WRITE logging.
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
42
40
  class AuditConfig
43
41
  include Google::Apis::Core::Hashable
44
42
 
@@ -47,11 +45,6 @@ module Google
47
45
  # @return [Array<Google::Apis::DeploymentmanagerV2::AuditLogConfig>]
48
46
  attr_accessor :audit_log_configs
49
47
 
50
- #
51
- # Corresponds to the JSON property `exemptedMembers`
52
- # @return [Array<String>]
53
- attr_accessor :exempted_members
54
-
55
48
  # Specifies a service that will be enabled for audit logging. For example, `
56
49
  # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
57
50
  # value that covers all services.
@@ -66,31 +59,24 @@ module Google
66
59
  # Update properties of this object
67
60
  def update!(**args)
68
61
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
69
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
70
62
  @service = args[:service] if args.key?(:service)
71
63
  end
72
64
  end
73
65
 
74
- # Provides the configuration for logging a type of permissions. Example:
75
- # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
76
- # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
77
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
78
- # example.com from DATA_READ logging.
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
79
71
  class AuditLogConfig
80
72
  include Google::Apis::Core::Hashable
81
73
 
82
74
  # Specifies the identities that do not cause logging for this type of permission.
83
- # Follows the same format of [Binding.members][].
75
+ # Follows the same format of Binding.members.
84
76
  # Corresponds to the JSON property `exemptedMembers`
85
77
  # @return [Array<String>]
86
78
  attr_accessor :exempted_members
87
79
 
88
- #
89
- # Corresponds to the JSON property `ignoreChildExemptions`
90
- # @return [Boolean]
91
- attr_accessor :ignore_child_exemptions
92
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
93
-
94
80
  # The log type that this config enables.
95
81
  # Corresponds to the JSON property `logType`
96
82
  # @return [String]
@@ -103,88 +89,59 @@ module Google
103
89
  # Update properties of this object
104
90
  def update!(**args)
105
91
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
106
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
107
92
  @log_type = args[:log_type] if args.key?(:log_type)
108
93
  end
109
94
  end
110
95
 
111
- # Authorization-related information used by Cloud Audit Logging.
112
- class AuthorizationLoggingOptions
113
- include Google::Apis::Core::Hashable
114
-
115
- # The type of the permission that was checked.
116
- # Corresponds to the JSON property `permissionType`
117
- # @return [String]
118
- attr_accessor :permission_type
119
-
120
- def initialize(**args)
121
- update!(**args)
122
- end
123
-
124
- # Update properties of this object
125
- def update!(**args)
126
- @permission_type = args[:permission_type] if args.key?(:permission_type)
127
- end
128
- end
129
-
130
96
  # Associates `members` with a `role`.
131
97
  class Binding
132
98
  include Google::Apis::Core::Hashable
133
99
 
134
100
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
135
101
  # CEL is a C-like expression language. The syntax and semantics of CEL are
136
- # documented at https://github.com/google/cel-spec.
137
- # Example (Comparison):
138
- # title: "Summary size limit" description: "Determines if a summary is less than
139
- # 100 chars" expression: "document.summary.size() < 100"
140
- # Example (Equality):
141
- # title: "Requestor is owner" description: "Determines if requestor is the
142
- # document owner" expression: "document.owner == request.auth.claims.email"
143
- # Example (Logic):
144
- # title: "Public documents" description: "Determine whether the document should
145
- # be publicly visible" expression: "document.type != 'private' && document.type !
146
- # = 'internal'"
147
- # Example (Data Manipulation):
148
- # title: "Notification string" description: "Create a notification string with a
149
- # timestamp." expression: "'New message received at ' + string(document.
150
- # create_time)"
151
- # The exact variables and functions that may be referenced within an expression
152
- # are determined by the service that evaluates it. See the service documentation
153
- # for additional information.
102
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
+ # "Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
154
115
  # Corresponds to the JSON property `condition`
155
116
  # @return [Google::Apis::DeploymentmanagerV2::Expr]
156
117
  attr_accessor :condition
157
118
 
158
119
  # Specifies the identities requesting access for a Cloud Platform resource. `
159
- # members` can have the following values:
160
- # * `allUsers`: A special identifier that represents anyone who is on the
161
- # internet; with or without a Google account.
162
- # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
163
- # authenticated with a Google account or a service account.
164
- # * `user:`emailid``: An email address that represents a specific Google account.
165
- # For example, `alice@example.com` .
166
- # * `serviceAccount:`emailid``: An email address that represents a service
167
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
168
- # * `group:`emailid``: An email address that represents a Google group. For
169
- # example, `admins@example.com`.
170
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
171
- # identifier) representing a user that has been recently deleted. For example, `
172
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
173
- # value reverts to `user:`emailid`` and the recovered user retains the role in
174
- # the binding.
175
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
176
- # unique identifier) representing a service account that has been recently
177
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
178
- # 123456789012345678901`. If the service account is undeleted, this value
179
- # reverts to `serviceAccount:`emailid`` and the undeleted service account
180
- # retains the role in the binding.
181
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
120
+ # members` can have the following values: * `allUsers`: A special identifier
121
+ # that represents anyone who is on the internet; with or without a Google
122
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
123
+ # anyone who is authenticated with a Google account or a service account. * `
124
+ # user:`emailid``: An email address that represents a specific Google account.
125
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
+ # address that represents a service account. For example, `my-other-app@appspot.
127
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
+ # `uniqueid``: An email address (plus unique identifier) representing a user
130
+ # that has been recently deleted. For example, `alice@example.com?uid=
131
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
+ # identifier) representing a service account that has been recently deleted. For
135
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
137
+ # emailid`` and the undeleted service account retains the role in the binding. *
138
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
182
139
  # identifier) representing a Google group that has been recently deleted. For
183
140
  # example, `admins@example.com?uid=123456789012345678901`. If the group is
184
141
  # recovered, this value reverts to `group:`emailid`` and the recovered group
185
- # retains the role in the binding.
186
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
187
- # users of that domain. For example, `google.com` or `example.com`.
142
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
+ # primary) that represents all the users of that domain. For example, `google.
144
+ # com` or `example.com`.
188
145
  # Corresponds to the JSON property `members`
189
146
  # @return [Array<String>]
190
147
  attr_accessor :members
@@ -207,50 +164,6 @@ module Google
207
164
  end
208
165
  end
209
166
 
210
- # A condition to be met.
211
- class Condition
212
- include Google::Apis::Core::Hashable
213
-
214
- # Trusted attributes supplied by the IAM system.
215
- # Corresponds to the JSON property `iam`
216
- # @return [String]
217
- attr_accessor :iam
218
-
219
- # An operator to apply the subject with.
220
- # Corresponds to the JSON property `op`
221
- # @return [String]
222
- attr_accessor :op
223
-
224
- # Trusted attributes discharged by the service.
225
- # Corresponds to the JSON property `svc`
226
- # @return [String]
227
- attr_accessor :svc
228
-
229
- # Trusted attributes supplied by any service that owns resources and uses the
230
- # IAM system for access control.
231
- # Corresponds to the JSON property `sys`
232
- # @return [String]
233
- attr_accessor :sys
234
-
235
- # The objects of the condition.
236
- # Corresponds to the JSON property `values`
237
- # @return [Array<String>]
238
- attr_accessor :values
239
-
240
- def initialize(**args)
241
- update!(**args)
242
- end
243
-
244
- # Update properties of this object
245
- def update!(**args)
246
- @iam = args[:iam] if args.key?(:iam)
247
- @op = args[:op] if args.key?(:op)
248
- @svc = args[:svc] if args.key?(:svc)
249
- @sys = args[:sys] if args.key?(:sys)
250
- @values = args[:values] if args.key?(:values)
251
- end
252
- end
253
-
254
167
  #
255
168
  class ConfigFile
256
169
  include Google::Apis::Core::Hashable
@@ -283,8 +196,8 @@ module Google
283
196
  # update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
284
197
  # randomly generated value that must be provided with `update()`, `stop()`, and `
285
198
  # cancelPreview()` requests to perform optimistic locking. This ensures
286
- # optimistic concurrency so that only one request happens at a time.
287
- # The fingerprint is initially generated by Deployment Manager and changes after
199
+ # optimistic concurrency so that only one request happens at a time. The
200
+ # fingerprint is initially generated by Deployment Manager and changes after
288
201
  # every request to modify data. To get the latest fingerprint value, perform a `
289
202
  # get()` request to a deployment.
290
203
  # Corresponds to the JSON property `fingerprint`
@@ -302,11 +215,11 @@ module Google
302
215
  # @return [String]
303
216
  attr_accessor :insert_time
304
217
 
305
- # Map of labels; provided by the client when the resource is created or updated.
306
- # Specifically: Label keys must be between 1 and 63 characters long and must
307
- # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
308
- # Label values must be between 0 and 63 characters long and must conform to the
309
- # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
218
+ # Map of One Platform labels; provided by the client when the resource is
219
+ # created or updated. Specifically: Label keys must be between 1 and 63
220
+ # characters long and must conform to the following regular expression: `[a-z]([-
221
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
222
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
310
223
  # Corresponds to the JSON property `labels`
311
224
  # @return [Array<Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry>]
312
225
  attr_accessor :labels
@@ -328,21 +241,16 @@ module Google
328
241
  # @return [String]
329
242
  attr_accessor :name
330
243
 
331
- # Represents an Operation resource.
332
- # Google Compute Engine has three Operation resources:
333
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
334
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
335
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
336
- # You can use an operation resource to manage asynchronous API requests. For
337
- # more information, read Handling API responses.
338
- # Operations can be global, regional or zonal.
339
- # - For global operations, use the `globalOperations` resource.
340
- # - For regional operations, use the `regionOperations` resource.
341
- # - For zonal operations, use the `zonalOperations` resource.
342
- # For more information, read Global, Regional, and Zonal Resources. (==
343
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
344
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
345
- # zoneOperations ==)
244
+ # Represents an Operation resource. Google Compute Engine has three Operation
245
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
246
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
247
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
248
+ # zoneOperations) You can use an operation resource to manage asynchronous API
249
+ # requests. For more information, read Handling API responses. Operations can be
250
+ # global, regional or zonal. - For global operations, use the `globalOperations`
251
+ # resource. - For regional operations, use the `regionOperations` resource. -
252
+ # For zonal operations, use the `zonalOperations` resource. For more information,
253
+ # read Global, Regional, and Zonal Resources.
346
254
  # Corresponds to the JSON property `operation`
347
255
  # @return [Google::Apis::DeploymentmanagerV2::Operation]
348
256
  attr_accessor :operation
@@ -352,12 +260,14 @@ module Google
352
260
  # @return [String]
353
261
  attr_accessor :self_link
354
262
 
355
- #
263
+ # [Input Only] The parameters that define your deployment, including the
264
+ # deployment configuration and relevant templates.
356
265
  # Corresponds to the JSON property `target`
357
266
  # @return [Google::Apis::DeploymentmanagerV2::TargetConfiguration]
358
267
  attr_accessor :target
359
268
 
360
- #
269
+ # Output only. If Deployment Manager is currently updating or previewing an
270
+ # update to this deployment, the updated configuration appears here.
361
271
  # Corresponds to the JSON property `update`
362
272
  # @return [Google::Apis::DeploymentmanagerV2::DeploymentUpdate]
363
273
  attr_accessor :update
@@ -388,16 +298,16 @@ module Google
388
298
  end
389
299
  end
390
300
 
391
- #
301
+ # Label object for Deployments
392
302
  class DeploymentLabelEntry
393
303
  include Google::Apis::Core::Hashable
394
304
 
395
- #
305
+ # Key of the label
396
306
  # Corresponds to the JSON property `key`
397
307
  # @return [String]
398
308
  attr_accessor :key
399
309
 
400
- #
310
+ # Value of the label
401
311
  # Corresponds to the JSON property `value`
402
312
  # @return [String]
403
313
  attr_accessor :value
@@ -423,7 +333,7 @@ module Google
423
333
  # @return [String]
424
334
  attr_accessor :description
425
335
 
426
- # Output only. Map of labels; provided by the client when the resource is
336
+ # Map of One Platform labels; provided by the client when the resource is
427
337
  # created or updated. Specifically: Label keys must be between 1 and 63
428
338
  # characters long and must conform to the following regular expression: `[a-z]([-
429
339
  # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
@@ -450,16 +360,16 @@ module Google
450
360
  end
451
361
  end
452
362
 
453
- #
363
+ # Label object for DeploymentUpdate
454
364
  class DeploymentUpdateLabelEntry
455
365
  include Google::Apis::Core::Hashable
456
366
 
457
- #
367
+ # Key of the label
458
368
  # Corresponds to the JSON property `key`
459
369
  # @return [String]
460
370
  attr_accessor :key
461
371
 
462
- #
372
+ # Value of the label
463
373
  # Corresponds to the JSON property `value`
464
374
  # @return [String]
465
375
  attr_accessor :value
@@ -484,10 +394,10 @@ module Google
484
394
  # to perform optimistic locking. This ensures optimistic concurrency so that the
485
395
  # deployment does not have conflicting requests (e.g. if someone attempts to
486
396
  # make a new update request while another user attempts to cancel a preview,
487
- # this would prevent one of the requests).
488
- # The fingerprint is initially generated by Deployment Manager and changes after
489
- # every request to modify a deployment. To get the latest fingerprint value,
490
- # perform a `get()` request on the deployment.
397
+ # this would prevent one of the requests). The fingerprint is initially
398
+ # generated by Deployment Manager and changes after every request to modify a
399
+ # deployment. To get the latest fingerprint value, perform a `get()` request on
400
+ # the deployment.
491
401
  # Corresponds to the JSON property `fingerprint`
492
402
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
493
403
  # @return [String]
@@ -538,10 +448,9 @@ module Google
538
448
  # optimistic locking. This ensures optimistic concurrency so that the deployment
539
449
  # does not have conflicting requests (e.g. if someone attempts to make a new
540
450
  # update request while another user attempts to stop an ongoing update request,
541
- # this would prevent a collision).
542
- # The fingerprint is initially generated by Deployment Manager and changes after
543
- # every request to modify a deployment. To get the latest fingerprint value,
544
- # perform a `get()` request on the deployment.
451
+ # this would prevent a collision). The fingerprint is initially generated by
452
+ # Deployment Manager and changes after every request to modify a deployment. To
453
+ # get the latest fingerprint value, perform a `get()` request on the deployment.
545
454
  # Corresponds to the JSON property `fingerprint`
546
455
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
547
456
  # @return [String]
@@ -559,24 +468,19 @@ module Google
559
468
 
560
469
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
561
470
  # CEL is a C-like expression language. The syntax and semantics of CEL are
562
- # documented at https://github.com/google/cel-spec.
563
- # Example (Comparison):
564
- # title: "Summary size limit" description: "Determines if a summary is less than
565
- # 100 chars" expression: "document.summary.size() < 100"
566
- # Example (Equality):
567
- # title: "Requestor is owner" description: "Determines if requestor is the
568
- # document owner" expression: "document.owner == request.auth.claims.email"
569
- # Example (Logic):
570
- # title: "Public documents" description: "Determine whether the document should
571
- # be publicly visible" expression: "document.type != 'private' && document.type !
572
- # = 'internal'"
573
- # Example (Data Manipulation):
574
- # title: "Notification string" description: "Create a notification string with a
575
- # timestamp." expression: "'New message received at ' + string(document.
576
- # create_time)"
577
- # The exact variables and functions that may be referenced within an expression
578
- # are determined by the service that evaluates it. See the service documentation
579
- # for additional information.
471
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
472
+ # "Summary size limit" description: "Determines if a summary is less than 100
473
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
474
+ # Requestor is owner" description: "Determines if requestor is the document
475
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
476
+ # Logic): title: "Public documents" description: "Determine whether the document
477
+ # should be publicly visible" expression: "document.type != 'private' &&
478
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
479
+ # string" description: "Create a notification string with a timestamp."
480
+ # expression: "'New message received at ' + string(document.create_time)" The
481
+ # exact variables and functions that may be referenced within an expression are
482
+ # determined by the service that evaluates it. See the service documentation for
483
+ # additional information.
580
484
  class Expr
581
485
  include Google::Apis::Core::Hashable
582
486
 
@@ -634,35 +538,32 @@ module Google
634
538
  attr_accessor :etag
635
539
 
636
540
  # An Identity and Access Management (IAM) policy, which specifies access
637
- # controls for Google Cloud resources.
638
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
639
- # members` to a single `role`. Members can be user accounts, service accounts,
640
- # Google groups, and domains (such as G Suite). A `role` is a named list of
641
- # permissions; each `role` can be an IAM predefined role or a user-created
642
- # custom role.
643
- # For some types of Google Cloud resources, a `binding` can also specify a `
644
- # condition`, which is a logical expression that allows access to a resource
645
- # only if the expression evaluates to `true`. A condition can add constraints
646
- # based on attributes of the request, the resource, or both. To learn which
647
- # resources support conditions in their IAM policies, see the [IAM documentation]
648
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
649
- # **JSON example:**
650
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
651
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
652
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
653
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
654
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
655
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
656
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
657
- # **YAML example:**
658
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
659
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
660
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
661
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
662
- # access description: Does not grant access after Sep 2020 expression: request.
663
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
664
- # For a description of IAM and its features, see the [IAM documentation](https://
665
- # cloud.google.com/iam/docs/).
541
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
542
+ # A `binding` binds one or more `members` to a single `role`. Members can be
543
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
544
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
545
+ # role or a user-created custom role. For some types of Google Cloud resources,
546
+ # a `binding` can also specify a `condition`, which is a logical expression that
547
+ # allows access to a resource only if the expression evaluates to `true`. A
548
+ # condition can add constraints based on attributes of the request, the resource,
549
+ # or both. To learn which resources support conditions in their IAM policies,
550
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
551
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
552
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
553
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
554
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
555
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
556
+ # title": "expirable access", "description": "Does not grant access after Sep
557
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
558
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
559
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
560
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
561
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
562
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
563
+ # description: Does not grant access after Sep 2020 expression: request.time <
564
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
565
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
566
+ # google.com/iam/docs/).
666
567
  # Corresponds to the JSON property `policy`
667
568
  # @return [Google::Apis::DeploymentmanagerV2::Policy]
668
569
  attr_accessor :policy
@@ -704,171 +605,11 @@ module Google
704
605
  end
705
606
  end
706
607
 
707
- # Specifies what kind of log the caller must write
708
- class LogConfig
709
- include Google::Apis::Core::Hashable
710
-
711
- # Write a Cloud Audit log
712
- # Corresponds to the JSON property `cloudAudit`
713
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions]
714
- attr_accessor :cloud_audit
715
-
716
- # Increment a streamz counter with the specified metric and field names.
717
- # Metric names should start with a '/', generally be lowercase-only, and end in "
718
- # _count". Field names should not contain an initial slash. The actual exported
719
- # metric names will have "/iam/policy" prepended.
720
- # Field names correspond to IAM request parameters and field values are their
721
- # respective values.
722
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
723
- # is present, otherwise the value of IAMContext.authority_selector if present,
724
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
725
- # a representation of IAMContext.principal even if a token or authority selector
726
- # is present; or - "" (empty string), resulting in a counter with no fields.
727
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
728
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
729
- # IAMContext.principal]`
730
- # Corresponds to the JSON property `counter`
731
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions]
732
- attr_accessor :counter
733
-
734
- # Write a Data Access (Gin) log
735
- # Corresponds to the JSON property `dataAccess`
736
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions]
737
- attr_accessor :data_access
738
-
739
- def initialize(**args)
740
- update!(**args)
741
- end
742
-
743
- # Update properties of this object
744
- def update!(**args)
745
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
746
- @counter = args[:counter] if args.key?(:counter)
747
- @data_access = args[:data_access] if args.key?(:data_access)
748
- end
749
- end
750
-
751
- # Write a Cloud Audit log
752
- class LogConfigCloudAuditOptions
753
- include Google::Apis::Core::Hashable
754
-
755
- # Authorization-related information used by Cloud Audit Logging.
756
- # Corresponds to the JSON property `authorizationLoggingOptions`
757
- # @return [Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions]
758
- attr_accessor :authorization_logging_options
759
-
760
- # The log_name to populate in the Cloud Audit Record.
761
- # Corresponds to the JSON property `logName`
762
- # @return [String]
763
- attr_accessor :log_name
764
-
765
- def initialize(**args)
766
- update!(**args)
767
- end
768
-
769
- # Update properties of this object
770
- def update!(**args)
771
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
772
- @log_name = args[:log_name] if args.key?(:log_name)
773
- end
774
- end
775
-
776
- # Increment a streamz counter with the specified metric and field names.
777
- # Metric names should start with a '/', generally be lowercase-only, and end in "
778
- # _count". Field names should not contain an initial slash. The actual exported
779
- # metric names will have "/iam/policy" prepended.
780
- # Field names correspond to IAM request parameters and field values are their
781
- # respective values.
782
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
783
- # is present, otherwise the value of IAMContext.authority_selector if present,
784
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
785
- # a representation of IAMContext.principal even if a token or authority selector
786
- # is present; or - "" (empty string), resulting in a counter with no fields.
787
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
788
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
789
- # IAMContext.principal]`
790
- class LogConfigCounterOptions
791
- include Google::Apis::Core::Hashable
792
-
793
- # Custom fields.
794
- # Corresponds to the JSON property `customFields`
795
- # @return [Array<Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField>]
796
- attr_accessor :custom_fields
797
-
798
- # The field value to attribute.
799
- # Corresponds to the JSON property `field`
800
- # @return [String]
801
- attr_accessor :field
802
-
803
- # The metric to update.
804
- # Corresponds to the JSON property `metric`
805
- # @return [String]
806
- attr_accessor :metric
807
-
808
- def initialize(**args)
809
- update!(**args)
810
- end
811
-
812
- # Update properties of this object
813
- def update!(**args)
814
- @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
815
- @field = args[:field] if args.key?(:field)
816
- @metric = args[:metric] if args.key?(:metric)
817
- end
818
- end
819
-
820
- # Custom fields. These can be used to create a counter with arbitrary field/
821
- # value pairs. See: go/rpcsp-custom-fields.
822
- class LogConfigCounterOptionsCustomField
823
- include Google::Apis::Core::Hashable
824
-
825
- # Name is the field name.
826
- # Corresponds to the JSON property `name`
827
- # @return [String]
828
- attr_accessor :name
829
-
830
- # Value is the field value. It is important that in contrast to the
831
- # CounterOptions.field, the value here is a constant that is not derived from
832
- # the IAMContext.
833
- # Corresponds to the JSON property `value`
834
- # @return [String]
835
- attr_accessor :value
836
-
837
- def initialize(**args)
838
- update!(**args)
839
- end
840
-
841
- # Update properties of this object
842
- def update!(**args)
843
- @name = args[:name] if args.key?(:name)
844
- @value = args[:value] if args.key?(:value)
845
- end
846
- end
847
-
848
- # Write a Data Access (Gin) log
849
- class LogConfigDataAccessOptions
850
- include Google::Apis::Core::Hashable
851
-
852
- #
853
- # Corresponds to the JSON property `logMode`
854
- # @return [String]
855
- attr_accessor :log_mode
856
-
857
- def initialize(**args)
858
- update!(**args)
859
- end
860
-
861
- # Update properties of this object
862
- def update!(**args)
863
- @log_mode = args[:log_mode] if args.key?(:log_mode)
864
- end
865
- end
866
-
867
608
  #
868
609
  class Manifest
869
610
  include Google::Apis::Core::Hashable
870
611
 
871
- #
612
+ # Output only. The YAML configuration for this manifest.
872
613
  # Corresponds to the JSON property `config`
873
614
  # @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
874
615
  attr_accessor :config
@@ -899,8 +640,7 @@ module Google
899
640
  # @return [String]
900
641
  attr_accessor :layout
901
642
 
902
- # Output only.
903
- # The name of the manifest.
643
+ # Output only. The name of the manifest.
904
644
  # Corresponds to the JSON property `name`
905
645
  # @return [String]
906
646
  attr_accessor :name
@@ -953,21 +693,16 @@ module Google
953
693
  end
954
694
  end
955
695
 
956
- # Represents an Operation resource.
957
- # Google Compute Engine has three Operation resources:
958
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
959
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
960
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
961
- # You can use an operation resource to manage asynchronous API requests. For
962
- # more information, read Handling API responses.
963
- # Operations can be global, regional or zonal.
964
- # - For global operations, use the `globalOperations` resource.
965
- # - For regional operations, use the `regionOperations` resource.
966
- # - For zonal operations, use the `zonalOperations` resource.
967
- # For more information, read Global, Regional, and Zonal Resources. (==
968
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
969
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
970
- # zoneOperations ==)
696
+ # Represents an Operation resource. Google Compute Engine has three Operation
697
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
698
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
699
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
700
+ # zoneOperations) You can use an operation resource to manage asynchronous API
701
+ # requests. For more information, read Handling API responses. Operations can be
702
+ # global, regional or zonal. - For global operations, use the `globalOperations`
703
+ # resource. - For regional operations, use the `regionOperations` resource. -
704
+ # For zonal operations, use the `zonalOperations` resource. For more information,
705
+ # read Global, Regional, and Zonal Resources.
971
706
  class Operation
972
707
  include Google::Apis::Core::Hashable
973
708
 
@@ -1203,8 +938,8 @@ module Google
1203
938
  # @return [String]
1204
939
  attr_accessor :code
1205
940
 
1206
- # [Output Only] Metadata about this warning in key: value format. For example:
1207
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
941
+ # [Output Only] Metadata about this warning in key: value format. For example: "
942
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1208
943
  # Corresponds to the JSON property `data`
1209
944
  # @return [Array<Google::Apis::DeploymentmanagerV2::Operation::Warning::Datum>]
1210
945
  attr_accessor :data
@@ -1285,35 +1020,32 @@ module Google
1285
1020
  end
1286
1021
 
1287
1022
  # An Identity and Access Management (IAM) policy, which specifies access
1288
- # controls for Google Cloud resources.
1289
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1290
- # members` to a single `role`. Members can be user accounts, service accounts,
1291
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1292
- # permissions; each `role` can be an IAM predefined role or a user-created
1293
- # custom role.
1294
- # For some types of Google Cloud resources, a `binding` can also specify a `
1295
- # condition`, which is a logical expression that allows access to a resource
1296
- # only if the expression evaluates to `true`. A condition can add constraints
1297
- # based on attributes of the request, the resource, or both. To learn which
1298
- # resources support conditions in their IAM policies, see the [IAM documentation]
1299
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
1300
- # **JSON example:**
1301
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1302
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1303
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1304
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1305
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
1306
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1307
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1308
- # **YAML example:**
1309
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1310
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1311
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1312
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1313
- # access description: Does not grant access after Sep 2020 expression: request.
1314
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1315
- # For a description of IAM and its features, see the [IAM documentation](https://
1316
- # cloud.google.com/iam/docs/).
1023
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1024
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1025
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1026
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1027
+ # role or a user-created custom role. For some types of Google Cloud resources,
1028
+ # a `binding` can also specify a `condition`, which is a logical expression that
1029
+ # allows access to a resource only if the expression evaluates to `true`. A
1030
+ # condition can add constraints based on attributes of the request, the resource,
1031
+ # or both. To learn which resources support conditions in their IAM policies,
1032
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1033
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1034
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1035
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1036
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1037
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1038
+ # title": "expirable access", "description": "Does not grant access after Sep
1039
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1040
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1041
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1042
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1043
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1044
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1045
+ # description: Does not grant access after Sep 2020 expression: request.time <
1046
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1047
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1048
+ # google.com/iam/docs/).
1317
1049
  class Policy
1318
1050
  include Google::Apis::Core::Hashable
1319
1051
 
@@ -1335,51 +1067,31 @@ module Google
1335
1067
  # to perform policy updates in order to avoid race conditions: An `etag` is
1336
1068
  # returned in the response to `getIamPolicy`, and systems are expected to put
1337
1069
  # that etag in the request to `setIamPolicy` to ensure that their change will be
1338
- # applied to the same version of the policy.
1339
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1340
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1341
- # to overwrite a version `3` policy with a version `1` policy, and all of the
1342
- # conditions in the version `3` policy are lost.
1070
+ # applied to the same version of the policy. **Important:** If you use IAM
1071
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1072
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1073
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1074
+ # are lost.
1343
1075
  # Corresponds to the JSON property `etag`
1344
1076
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1345
1077
  # @return [String]
1346
1078
  attr_accessor :etag
1347
1079
 
1348
- #
1349
- # Corresponds to the JSON property `iamOwned`
1350
- # @return [Boolean]
1351
- attr_accessor :iam_owned
1352
- alias_method :iam_owned?, :iam_owned
1353
-
1354
- # If more than one rule is specified, the rules are applied in the following
1355
- # manner: - All matching LOG rules are always applied. - If any DENY/
1356
- # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
1357
- # one or more matching rule requires logging. - Otherwise, if any ALLOW/
1358
- # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
1359
- # one or more matching rule requires logging. - Otherwise, if no rule applies,
1360
- # permission is denied.
1361
- # Corresponds to the JSON property `rules`
1362
- # @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
1363
- attr_accessor :rules
1364
-
1365
- # Specifies the format of the policy.
1366
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
1367
- # rejected.
1368
- # Any operation that affects conditional role bindings must specify version `3`.
1369
- # This requirement applies to the following operations:
1370
- # * Getting a policy that includes a conditional role binding * Adding a
1371
- # conditional role binding to a policy * Changing a conditional role binding in
1372
- # a policy * Removing any role binding, with or without a condition, from a
1373
- # policy that includes conditions
1374
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1080
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1081
+ # Requests that specify an invalid value are rejected. Any operation that
1082
+ # affects conditional role bindings must specify version `3`. This requirement
1083
+ # applies to the following operations: * Getting a policy that includes a
1084
+ # conditional role binding * Adding a conditional role binding to a policy *
1085
+ # Changing a conditional role binding in a policy * Removing any role binding,
1086
+ # with or without a condition, from a policy that includes conditions **
1087
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1375
1088
  # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1376
1089
  # to overwrite a version `3` policy with a version `1` policy, and all of the
1377
- # conditions in the version `3` policy are lost.
1378
- # If a policy does not include any conditions, operations on that policy may
1379
- # specify any valid version or leave the field unset.
1380
- # To learn which resources support conditions in their IAM policies, see the [
1381
- # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1382
- # policies).
1090
+ # conditions in the version `3` policy are lost. If a policy does not include
1091
+ # any conditions, operations on that policy may specify any valid version or
1092
+ # leave the field unset. To learn which resources support conditions in their
1093
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1094
+ # conditions/resource-policies).
1383
1095
  # Corresponds to the JSON property `version`
1384
1096
  # @return [Fixnum]
1385
1097
  attr_accessor :version
@@ -1393,8 +1105,6 @@ module Google
1393
1105
  @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1394
1106
  @bindings = args[:bindings] if args.key?(:bindings)
1395
1107
  @etag = args[:etag] if args.key?(:etag)
1396
- @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1397
- @rules = args[:rules] if args.key?(:rules)
1398
1108
  @version = args[:version] if args.key?(:version)
1399
1109
  end
1400
1110
  end
@@ -1447,7 +1157,8 @@ module Google
1447
1157
  # @return [String]
1448
1158
  attr_accessor :type
1449
1159
 
1450
- #
1160
+ # Output only. If Deployment Manager is currently updating or previewing an
1161
+ # update to this resource, the updated configuration appears here.
1451
1162
  # Corresponds to the JSON property `update`
1452
1163
  # @return [Google::Apis::DeploymentmanagerV2::ResourceUpdate]
1453
1164
  attr_accessor :update
@@ -1498,8 +1209,8 @@ module Google
1498
1209
  # @return [String]
1499
1210
  attr_accessor :code
1500
1211
 
1501
- # [Output Only] Metadata about this warning in key: value format. For example:
1502
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1212
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1213
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1503
1214
  # Corresponds to the JSON property `data`
1504
1215
  # @return [Array<Google::Apis::DeploymentmanagerV2::Resource::Warning::Datum>]
1505
1216
  attr_accessor :data
@@ -1699,8 +1410,8 @@ module Google
1699
1410
  # @return [String]
1700
1411
  attr_accessor :code
1701
1412
 
1702
- # [Output Only] Metadata about this warning in key: value format. For example:
1703
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1413
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1414
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1704
1415
  # Corresponds to the JSON property `data`
1705
1416
  # @return [Array<Google::Apis::DeploymentmanagerV2::ResourceUpdate::Warning::Datum>]
1706
1417
  attr_accessor :data
@@ -1780,72 +1491,11 @@ module Google
1780
1491
  end
1781
1492
  end
1782
1493
 
1783
- # A rule to be applied in a Policy.
1784
- class Rule
1785
- include Google::Apis::Core::Hashable
1786
-
1787
- # Required
1788
- # Corresponds to the JSON property `action`
1789
- # @return [String]
1790
- attr_accessor :action
1791
-
1792
- # Additional restrictions that must be met. All conditions must pass for the
1793
- # rule to match.
1794
- # Corresponds to the JSON property `conditions`
1795
- # @return [Array<Google::Apis::DeploymentmanagerV2::Condition>]
1796
- attr_accessor :conditions
1797
-
1798
- # Human-readable description of the rule.
1799
- # Corresponds to the JSON property `description`
1800
- # @return [String]
1801
- attr_accessor :description
1802
-
1803
- # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
1804
- # AUTHORITY_SELECTOR is in at least one of these entries.
1805
- # Corresponds to the JSON property `ins`
1806
- # @return [Array<String>]
1807
- attr_accessor :ins
1808
-
1809
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1810
- # that match the LOG action.
1811
- # Corresponds to the JSON property `logConfigs`
1812
- # @return [Array<Google::Apis::DeploymentmanagerV2::LogConfig>]
1813
- attr_accessor :log_configs
1814
-
1815
- # If one or more 'not_in' clauses are specified, the rule matches if the
1816
- # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1817
- # Corresponds to the JSON property `notIns`
1818
- # @return [Array<String>]
1819
- attr_accessor :not_ins
1820
-
1821
- # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
1822
- # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
1823
- # *') matches all verbs.
1824
- # Corresponds to the JSON property `permissions`
1825
- # @return [Array<String>]
1826
- attr_accessor :permissions
1827
-
1828
- def initialize(**args)
1829
- update!(**args)
1830
- end
1831
-
1832
- # Update properties of this object
1833
- def update!(**args)
1834
- @action = args[:action] if args.key?(:action)
1835
- @conditions = args[:conditions] if args.key?(:conditions)
1836
- @description = args[:description] if args.key?(:description)
1837
- @ins = args[:ins] if args.key?(:ins)
1838
- @log_configs = args[:log_configs] if args.key?(:log_configs)
1839
- @not_ins = args[:not_ins] if args.key?(:not_ins)
1840
- @permissions = args[:permissions] if args.key?(:permissions)
1841
- end
1842
- end
1843
-
1844
1494
  #
1845
1495
  class TargetConfiguration
1846
1496
  include Google::Apis::Core::Hashable
1847
1497
 
1848
- #
1498
+ # The configuration to use for this deployment.
1849
1499
  # Corresponds to the JSON property `config`
1850
1500
  # @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
1851
1501
  attr_accessor :config
@@ -1926,21 +1576,16 @@ module Google
1926
1576
  # @return [String]
1927
1577
  attr_accessor :name
1928
1578
 
1929
- # Represents an Operation resource.
1930
- # Google Compute Engine has three Operation resources:
1931
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
1932
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
1933
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
1934
- # You can use an operation resource to manage asynchronous API requests. For
1935
- # more information, read Handling API responses.
1936
- # Operations can be global, regional or zonal.
1937
- # - For global operations, use the `globalOperations` resource.
1938
- # - For regional operations, use the `regionOperations` resource.
1939
- # - For zonal operations, use the `zonalOperations` resource.
1940
- # For more information, read Global, Regional, and Zonal Resources. (==
1941
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
1942
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
1943
- # zoneOperations ==)
1579
+ # Represents an Operation resource. Google Compute Engine has three Operation
1580
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
1581
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
1582
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
1583
+ # zoneOperations) You can use an operation resource to manage asynchronous API
1584
+ # requests. For more information, read Handling API responses. Operations can be
1585
+ # global, regional or zonal. - For global operations, use the `globalOperations`
1586
+ # resource. - For regional operations, use the `regionOperations` resource. -
1587
+ # For zonal operations, use the `zonalOperations` resource. For more information,
1588
+ # read Global, Regional, and Zonal Resources.
1944
1589
  # Corresponds to the JSON property `operation`
1945
1590
  # @return [Google::Apis::DeploymentmanagerV2::Operation]
1946
1591
  attr_accessor :operation