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.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +77 -0
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +238 -14
- data/generated/google/apis/compute_v1/representations.rb +41 -0
- data/generated/google/apis/compute_v1/service.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +7 -7
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +899 -1054
- data/generated/google/apis/content_v2_1/representations.rb +206 -0
- data/generated/google/apis/content_v2_1/service.rb +912 -808
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +249 -9
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +72 -0
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +12 -12
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +16 -3
@@ -18,15 +18,16 @@ require 'google/apis/deploymentmanager_v2beta/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Cloud Deployment Manager V2 API
|
22
22
|
#
|
23
|
-
# The Deployment Manager API
|
24
|
-
#
|
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.
|
25
26
|
#
|
26
|
-
# @see
|
27
|
+
# @see http://cloud.google.com/deployment-manager
|
27
28
|
module DeploymentmanagerV2beta
|
28
29
|
VERSION = 'V2beta'
|
29
|
-
REVISION = '
|
30
|
+
REVISION = '20201022'
|
30
31
|
|
31
32
|
# View and manage your data across Google Cloud Platform services
|
32
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -31,7 +31,9 @@ module Google
|
|
31
31
|
# @return [String]
|
32
32
|
attr_accessor :method_match
|
33
33
|
|
34
|
-
#
|
34
|
+
# Deployment manager will poll instances for this API resource setting a RUNNING
|
35
|
+
# state, and blocking until polling conditions tell whether the resource is
|
36
|
+
# completed or failed.
|
35
37
|
# Corresponds to the JSON property `pollingOptions`
|
36
38
|
# @return [Google::Apis::DeploymentmanagerV2beta::PollingOptions]
|
37
39
|
attr_accessor :polling_options
|
@@ -49,21 +51,19 @@ module Google
|
|
49
51
|
|
50
52
|
# Specifies the audit configuration for a service. The configuration determines
|
51
53
|
# which permission types are logged, and what identities, if any, are exempted
|
52
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs.
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# log_type": "
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
66
|
-
# example.com from DATA_WRITE logging.
|
54
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
55
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
56
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
57
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
58
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
59
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
60
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
61
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
62
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
63
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
64
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
65
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
66
|
+
# DATA_WRITE logging.
|
67
67
|
class AuditConfig
|
68
68
|
include Google::Apis::Core::Hashable
|
69
69
|
|
@@ -72,11 +72,6 @@ module Google
|
|
72
72
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::AuditLogConfig>]
|
73
73
|
attr_accessor :audit_log_configs
|
74
74
|
|
75
|
-
#
|
76
|
-
# Corresponds to the JSON property `exemptedMembers`
|
77
|
-
# @return [Array<String>]
|
78
|
-
attr_accessor :exempted_members
|
79
|
-
|
80
75
|
# Specifies a service that will be enabled for audit logging. For example, `
|
81
76
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
82
77
|
# value that covers all services.
|
@@ -91,31 +86,24 @@ module Google
|
|
91
86
|
# Update properties of this object
|
92
87
|
def update!(**args)
|
93
88
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
94
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
95
89
|
@service = args[:service] if args.key?(:service)
|
96
90
|
end
|
97
91
|
end
|
98
92
|
|
99
|
-
# Provides the configuration for logging a type of permissions. Example:
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
93
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
94
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
95
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
96
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
97
|
+
# DATA_READ logging.
|
104
98
|
class AuditLogConfig
|
105
99
|
include Google::Apis::Core::Hashable
|
106
100
|
|
107
101
|
# Specifies the identities that do not cause logging for this type of permission.
|
108
|
-
# Follows the same format of
|
102
|
+
# Follows the same format of Binding.members.
|
109
103
|
# Corresponds to the JSON property `exemptedMembers`
|
110
104
|
# @return [Array<String>]
|
111
105
|
attr_accessor :exempted_members
|
112
106
|
|
113
|
-
#
|
114
|
-
# Corresponds to the JSON property `ignoreChildExemptions`
|
115
|
-
# @return [Boolean]
|
116
|
-
attr_accessor :ignore_child_exemptions
|
117
|
-
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
118
|
-
|
119
107
|
# The log type that this config enables.
|
120
108
|
# Corresponds to the JSON property `logType`
|
121
109
|
# @return [String]
|
@@ -128,30 +116,10 @@ module Google
|
|
128
116
|
# Update properties of this object
|
129
117
|
def update!(**args)
|
130
118
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
131
|
-
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
132
119
|
@log_type = args[:log_type] if args.key?(:log_type)
|
133
120
|
end
|
134
121
|
end
|
135
122
|
|
136
|
-
# Authorization-related information used by Cloud Audit Logging.
|
137
|
-
class AuthorizationLoggingOptions
|
138
|
-
include Google::Apis::Core::Hashable
|
139
|
-
|
140
|
-
# The type of the permission that was checked.
|
141
|
-
# Corresponds to the JSON property `permissionType`
|
142
|
-
# @return [String]
|
143
|
-
attr_accessor :permission_type
|
144
|
-
|
145
|
-
def initialize(**args)
|
146
|
-
update!(**args)
|
147
|
-
end
|
148
|
-
|
149
|
-
# Update properties of this object
|
150
|
-
def update!(**args)
|
151
|
-
@permission_type = args[:permission_type] if args.key?(:permission_type)
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
123
|
# BaseType that describes a service-backed Type.
|
156
124
|
class BaseType
|
157
125
|
include Google::Apis::Core::Hashable
|
@@ -221,58 +189,49 @@ module Google
|
|
221
189
|
|
222
190
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
223
191
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
224
|
-
# documented at https://github.com/google/cel-spec.
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
# Example (
|
229
|
-
# title: "
|
230
|
-
#
|
231
|
-
# Example (
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
# timestamp." expression: "'New message received at ' + string(document.
|
238
|
-
# create_time)"
|
239
|
-
# The exact variables and functions that may be referenced within an expression
|
240
|
-
# are determined by the service that evaluates it. See the service documentation
|
241
|
-
# for additional information.
|
192
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
193
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
194
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
195
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
196
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
197
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
198
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
199
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
200
|
+
# string" description: "Create a notification string with a timestamp."
|
201
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
202
|
+
# exact variables and functions that may be referenced within an expression are
|
203
|
+
# determined by the service that evaluates it. See the service documentation for
|
204
|
+
# additional information.
|
242
205
|
# Corresponds to the JSON property `condition`
|
243
206
|
# @return [Google::Apis::DeploymentmanagerV2beta::Expr]
|
244
207
|
attr_accessor :condition
|
245
208
|
|
246
209
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
247
|
-
# members` can have the following values:
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
# * `
|
253
|
-
# For example, `
|
254
|
-
# * `
|
255
|
-
#
|
256
|
-
#
|
257
|
-
# example, `
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# deleted
|
266
|
-
# 123456789012345678901`. If the service account is undeleted, this value
|
267
|
-
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
268
|
-
# retains the role in the binding.
|
269
|
-
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
210
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
211
|
+
# that represents anyone who is on the internet; with or without a Google
|
212
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
213
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
214
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
215
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
216
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
217
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
218
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
219
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
220
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
221
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
222
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
223
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
224
|
+
# identifier) representing a service account that has been recently deleted. For
|
225
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
226
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
227
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
228
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
270
229
|
# identifier) representing a Google group that has been recently deleted. For
|
271
230
|
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
272
231
|
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
273
|
-
# retains the role in the binding.
|
274
|
-
#
|
275
|
-
#
|
232
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
233
|
+
# primary) that represents all the users of that domain. For example, `google.
|
234
|
+
# com` or `example.com`.
|
276
235
|
# Corresponds to the JSON property `members`
|
277
236
|
# @return [Array<String>]
|
278
237
|
attr_accessor :members
|
@@ -356,21 +315,16 @@ module Google
|
|
356
315
|
# @return [String]
|
357
316
|
attr_accessor :name
|
358
317
|
|
359
|
-
# Represents an Operation resource.
|
360
|
-
#
|
361
|
-
# * [
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
370
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
371
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
372
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
373
|
-
# zoneOperations ==)
|
318
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
319
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
320
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
321
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
322
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
323
|
+
# requests. For more information, read Handling API responses. Operations can be
|
324
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
325
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
326
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
327
|
+
# read Global, Regional, and Zonal Resources.
|
374
328
|
# Corresponds to the JSON property `operation`
|
375
329
|
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
376
330
|
attr_accessor :operation
|
@@ -408,16 +362,16 @@ module Google
|
|
408
362
|
end
|
409
363
|
end
|
410
364
|
|
411
|
-
#
|
365
|
+
# Label object for CompositeTypes
|
412
366
|
class CompositeTypeLabelEntry
|
413
367
|
include Google::Apis::Core::Hashable
|
414
368
|
|
415
|
-
#
|
369
|
+
# Key of the label
|
416
370
|
# Corresponds to the JSON property `key`
|
417
371
|
# @return [String]
|
418
372
|
attr_accessor :key
|
419
373
|
|
420
|
-
#
|
374
|
+
# Value of the label
|
421
375
|
# Corresponds to the JSON property `value`
|
422
376
|
# @return [String]
|
423
377
|
attr_accessor :value
|
@@ -459,50 +413,6 @@ module Google
|
|
459
413
|
end
|
460
414
|
end
|
461
415
|
|
462
|
-
# A condition to be met.
|
463
|
-
class Condition
|
464
|
-
include Google::Apis::Core::Hashable
|
465
|
-
|
466
|
-
# Trusted attributes supplied by the IAM system.
|
467
|
-
# Corresponds to the JSON property `iam`
|
468
|
-
# @return [String]
|
469
|
-
attr_accessor :iam
|
470
|
-
|
471
|
-
# An operator to apply the subject with.
|
472
|
-
# Corresponds to the JSON property `op`
|
473
|
-
# @return [String]
|
474
|
-
attr_accessor :op
|
475
|
-
|
476
|
-
# Trusted attributes discharged by the service.
|
477
|
-
# Corresponds to the JSON property `svc`
|
478
|
-
# @return [String]
|
479
|
-
attr_accessor :svc
|
480
|
-
|
481
|
-
# Trusted attributes supplied by any service that owns resources and uses the
|
482
|
-
# IAM system for access control.
|
483
|
-
# Corresponds to the JSON property `sys`
|
484
|
-
# @return [String]
|
485
|
-
attr_accessor :sys
|
486
|
-
|
487
|
-
# The objects of the condition.
|
488
|
-
# Corresponds to the JSON property `values`
|
489
|
-
# @return [Array<String>]
|
490
|
-
attr_accessor :values
|
491
|
-
|
492
|
-
def initialize(**args)
|
493
|
-
update!(**args)
|
494
|
-
end
|
495
|
-
|
496
|
-
# Update properties of this object
|
497
|
-
def update!(**args)
|
498
|
-
@iam = args[:iam] if args.key?(:iam)
|
499
|
-
@op = args[:op] if args.key?(:op)
|
500
|
-
@svc = args[:svc] if args.key?(:svc)
|
501
|
-
@sys = args[:sys] if args.key?(:sys)
|
502
|
-
@values = args[:values] if args.key?(:values)
|
503
|
-
end
|
504
|
-
end
|
505
|
-
|
506
416
|
#
|
507
417
|
class ConfigFile
|
508
418
|
include Google::Apis::Core::Hashable
|
@@ -568,8 +478,8 @@ module Google
|
|
568
478
|
# update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
|
569
479
|
# randomly generated value that must be provided with `update()`, `stop()`, and `
|
570
480
|
# cancelPreview()` requests to perform optimistic locking. This ensures
|
571
|
-
# optimistic concurrency so that only one request happens at a time.
|
572
|
-
#
|
481
|
+
# optimistic concurrency so that only one request happens at a time. The
|
482
|
+
# fingerprint is initially generated by Deployment Manager and changes after
|
573
483
|
# every request to modify data. To get the latest fingerprint value, perform a `
|
574
484
|
# get()` request to a deployment.
|
575
485
|
# Corresponds to the JSON property `fingerprint`
|
@@ -587,11 +497,11 @@ module Google
|
|
587
497
|
# @return [String]
|
588
498
|
attr_accessor :insert_time
|
589
499
|
|
590
|
-
# Map of labels; provided by the client when the resource is
|
591
|
-
# Specifically: Label keys must be between 1 and 63
|
592
|
-
# conform to the following regular expression: `[a-z]([-
|
593
|
-
# Label values must be between 0 and 63 characters long and
|
594
|
-
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
500
|
+
# Map of One Platform labels; provided by the client when the resource is
|
501
|
+
# created or updated. Specifically: Label keys must be between 1 and 63
|
502
|
+
# characters long and must conform to the following regular expression: `[a-z]([-
|
503
|
+
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
504
|
+
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
595
505
|
# Corresponds to the JSON property `labels`
|
596
506
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentLabelEntry>]
|
597
507
|
attr_accessor :labels
|
@@ -613,21 +523,16 @@ module Google
|
|
613
523
|
# @return [String]
|
614
524
|
attr_accessor :name
|
615
525
|
|
616
|
-
# Represents an Operation resource.
|
617
|
-
#
|
618
|
-
# * [
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
627
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
628
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
629
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
630
|
-
# zoneOperations ==)
|
526
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
527
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
528
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
529
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
530
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
531
|
+
# requests. For more information, read Handling API responses. Operations can be
|
532
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
533
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
534
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
535
|
+
# read Global, Regional, and Zonal Resources.
|
631
536
|
# Corresponds to the JSON property `operation`
|
632
537
|
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
633
538
|
attr_accessor :operation
|
@@ -637,12 +542,14 @@ module Google
|
|
637
542
|
# @return [String]
|
638
543
|
attr_accessor :self_link
|
639
544
|
|
640
|
-
#
|
545
|
+
# [Input Only] The parameters that define your deployment, including the
|
546
|
+
# deployment configuration and relevant templates.
|
641
547
|
# Corresponds to the JSON property `target`
|
642
548
|
# @return [Google::Apis::DeploymentmanagerV2beta::TargetConfiguration]
|
643
549
|
attr_accessor :target
|
644
550
|
|
645
|
-
#
|
551
|
+
# Output only. If Deployment Manager is currently updating or previewing an
|
552
|
+
# update to this deployment, the updated configuration appears here.
|
646
553
|
# Corresponds to the JSON property `update`
|
647
554
|
# @return [Google::Apis::DeploymentmanagerV2beta::DeploymentUpdate]
|
648
555
|
attr_accessor :update
|
@@ -673,16 +580,16 @@ module Google
|
|
673
580
|
end
|
674
581
|
end
|
675
582
|
|
676
|
-
#
|
583
|
+
# Label object for Deployments
|
677
584
|
class DeploymentLabelEntry
|
678
585
|
include Google::Apis::Core::Hashable
|
679
586
|
|
680
|
-
#
|
587
|
+
# Key of the label
|
681
588
|
# Corresponds to the JSON property `key`
|
682
589
|
# @return [String]
|
683
590
|
attr_accessor :key
|
684
591
|
|
685
|
-
#
|
592
|
+
# Value of the label
|
686
593
|
# Corresponds to the JSON property `value`
|
687
594
|
# @return [String]
|
688
595
|
attr_accessor :value
|
@@ -708,7 +615,7 @@ module Google
|
|
708
615
|
# @return [String]
|
709
616
|
attr_accessor :description
|
710
617
|
|
711
|
-
#
|
618
|
+
# Map of One Platform labels; provided by the client when the resource is
|
712
619
|
# created or updated. Specifically: Label keys must be between 1 and 63
|
713
620
|
# characters long and must conform to the following regular expression: `[a-z]([-
|
714
621
|
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
@@ -735,16 +642,16 @@ module Google
|
|
735
642
|
end
|
736
643
|
end
|
737
644
|
|
738
|
-
#
|
645
|
+
# Label object for DeploymentUpdate
|
739
646
|
class DeploymentUpdateLabelEntry
|
740
647
|
include Google::Apis::Core::Hashable
|
741
648
|
|
742
|
-
#
|
649
|
+
# Key of the label
|
743
650
|
# Corresponds to the JSON property `key`
|
744
651
|
# @return [String]
|
745
652
|
attr_accessor :key
|
746
653
|
|
747
|
-
#
|
654
|
+
# Value of the label
|
748
655
|
# Corresponds to the JSON property `value`
|
749
656
|
# @return [String]
|
750
657
|
attr_accessor :value
|
@@ -769,10 +676,10 @@ module Google
|
|
769
676
|
# to perform optimistic locking. This ensures optimistic concurrency so that the
|
770
677
|
# deployment does not have conflicting requests (e.g. if someone attempts to
|
771
678
|
# make a new update request while another user attempts to cancel a preview,
|
772
|
-
# this would prevent one of the requests).
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
679
|
+
# this would prevent one of the requests). The fingerprint is initially
|
680
|
+
# generated by Deployment Manager and changes after every request to modify a
|
681
|
+
# deployment. To get the latest fingerprint value, perform a `get()` request on
|
682
|
+
# the deployment.
|
776
683
|
# Corresponds to the JSON property `fingerprint`
|
777
684
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
778
685
|
# @return [String]
|
@@ -823,10 +730,9 @@ module Google
|
|
823
730
|
# optimistic locking. This ensures optimistic concurrency so that the deployment
|
824
731
|
# does not have conflicting requests (e.g. if someone attempts to make a new
|
825
732
|
# update request while another user attempts to stop an ongoing update request,
|
826
|
-
# this would prevent a collision).
|
827
|
-
#
|
828
|
-
#
|
829
|
-
# perform a `get()` request on the deployment.
|
733
|
+
# this would prevent a collision). The fingerprint is initially generated by
|
734
|
+
# Deployment Manager and changes after every request to modify a deployment. To
|
735
|
+
# get the latest fingerprint value, perform a `get()` request on the deployment.
|
830
736
|
# Corresponds to the JSON property `fingerprint`
|
831
737
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
832
738
|
# @return [String]
|
@@ -870,24 +776,19 @@ module Google
|
|
870
776
|
|
871
777
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
872
778
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
873
|
-
# documented at https://github.com/google/cel-spec.
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
877
|
-
# Example (
|
878
|
-
# title: "
|
879
|
-
#
|
880
|
-
# Example (
|
881
|
-
#
|
882
|
-
#
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
# timestamp." expression: "'New message received at ' + string(document.
|
887
|
-
# create_time)"
|
888
|
-
# The exact variables and functions that may be referenced within an expression
|
889
|
-
# are determined by the service that evaluates it. See the service documentation
|
890
|
-
# for additional information.
|
779
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
780
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
781
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
782
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
783
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
784
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
785
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
786
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
787
|
+
# string" description: "Create a notification string with a timestamp."
|
788
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
789
|
+
# exact variables and functions that may be referenced within an expression are
|
790
|
+
# determined by the service that evaluates it. See the service documentation for
|
791
|
+
# additional information.
|
891
792
|
class Expr
|
892
793
|
include Google::Apis::Core::Hashable
|
893
794
|
|
@@ -945,35 +846,32 @@ module Google
|
|
945
846
|
attr_accessor :etag
|
946
847
|
|
947
848
|
# An Identity and Access Management (IAM) policy, which specifies access
|
948
|
-
# controls for Google Cloud resources.
|
949
|
-
# A `
|
950
|
-
#
|
951
|
-
#
|
952
|
-
#
|
953
|
-
#
|
954
|
-
#
|
955
|
-
# condition
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
# [ "user:
|
963
|
-
#
|
964
|
-
#
|
965
|
-
# ], "
|
966
|
-
#
|
967
|
-
#
|
968
|
-
#
|
969
|
-
#
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
975
|
-
# For a description of IAM and its features, see the [IAM documentation](https://
|
976
|
-
# cloud.google.com/iam/docs/).
|
849
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
850
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
851
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
852
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
853
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
854
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
855
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
856
|
+
# condition can add constraints based on attributes of the request, the resource,
|
857
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
858
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
859
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
860
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
861
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
862
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
863
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
864
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
865
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
866
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
867
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
868
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
869
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
870
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
871
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
872
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
873
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
874
|
+
# google.com/iam/docs/).
|
977
875
|
# Corresponds to the JSON property `policy`
|
978
876
|
# @return [Google::Apis::DeploymentmanagerV2beta::Policy]
|
979
877
|
attr_accessor :policy
|
@@ -1053,171 +951,11 @@ module Google
|
|
1053
951
|
end
|
1054
952
|
end
|
1055
953
|
|
1056
|
-
# Specifies what kind of log the caller must write
|
1057
|
-
class LogConfig
|
1058
|
-
include Google::Apis::Core::Hashable
|
1059
|
-
|
1060
|
-
# Write a Cloud Audit log
|
1061
|
-
# Corresponds to the JSON property `cloudAudit`
|
1062
|
-
# @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCloudAuditOptions]
|
1063
|
-
attr_accessor :cloud_audit
|
1064
|
-
|
1065
|
-
# Increment a streamz counter with the specified metric and field names.
|
1066
|
-
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
1067
|
-
# _count". Field names should not contain an initial slash. The actual exported
|
1068
|
-
# metric names will have "/iam/policy" prepended.
|
1069
|
-
# Field names correspond to IAM request parameters and field values are their
|
1070
|
-
# respective values.
|
1071
|
-
# Supported field names: - "authority", which is "[token]" if IAMContext.token
|
1072
|
-
# is present, otherwise the value of IAMContext.authority_selector if present,
|
1073
|
-
# and otherwise a representation of IAMContext.principal; or - "iam_principal",
|
1074
|
-
# a representation of IAMContext.principal even if a token or authority selector
|
1075
|
-
# is present; or - "" (empty string), resulting in a counter with no fields.
|
1076
|
-
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
1077
|
-
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
1078
|
-
# IAMContext.principal]`
|
1079
|
-
# Corresponds to the JSON property `counter`
|
1080
|
-
# @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions]
|
1081
|
-
attr_accessor :counter
|
1082
|
-
|
1083
|
-
# Write a Data Access (Gin) log
|
1084
|
-
# Corresponds to the JSON property `dataAccess`
|
1085
|
-
# @return [Google::Apis::DeploymentmanagerV2beta::LogConfigDataAccessOptions]
|
1086
|
-
attr_accessor :data_access
|
1087
|
-
|
1088
|
-
def initialize(**args)
|
1089
|
-
update!(**args)
|
1090
|
-
end
|
1091
|
-
|
1092
|
-
# Update properties of this object
|
1093
|
-
def update!(**args)
|
1094
|
-
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
1095
|
-
@counter = args[:counter] if args.key?(:counter)
|
1096
|
-
@data_access = args[:data_access] if args.key?(:data_access)
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
|
1100
|
-
# Write a Cloud Audit log
|
1101
|
-
class LogConfigCloudAuditOptions
|
1102
|
-
include Google::Apis::Core::Hashable
|
1103
|
-
|
1104
|
-
# Authorization-related information used by Cloud Audit Logging.
|
1105
|
-
# Corresponds to the JSON property `authorizationLoggingOptions`
|
1106
|
-
# @return [Google::Apis::DeploymentmanagerV2beta::AuthorizationLoggingOptions]
|
1107
|
-
attr_accessor :authorization_logging_options
|
1108
|
-
|
1109
|
-
# The log_name to populate in the Cloud Audit Record.
|
1110
|
-
# Corresponds to the JSON property `logName`
|
1111
|
-
# @return [String]
|
1112
|
-
attr_accessor :log_name
|
1113
|
-
|
1114
|
-
def initialize(**args)
|
1115
|
-
update!(**args)
|
1116
|
-
end
|
1117
|
-
|
1118
|
-
# Update properties of this object
|
1119
|
-
def update!(**args)
|
1120
|
-
@authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
|
1121
|
-
@log_name = args[:log_name] if args.key?(:log_name)
|
1122
|
-
end
|
1123
|
-
end
|
1124
|
-
|
1125
|
-
# Increment a streamz counter with the specified metric and field names.
|
1126
|
-
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
1127
|
-
# _count". Field names should not contain an initial slash. The actual exported
|
1128
|
-
# metric names will have "/iam/policy" prepended.
|
1129
|
-
# Field names correspond to IAM request parameters and field values are their
|
1130
|
-
# respective values.
|
1131
|
-
# Supported field names: - "authority", which is "[token]" if IAMContext.token
|
1132
|
-
# is present, otherwise the value of IAMContext.authority_selector if present,
|
1133
|
-
# and otherwise a representation of IAMContext.principal; or - "iam_principal",
|
1134
|
-
# a representation of IAMContext.principal even if a token or authority selector
|
1135
|
-
# is present; or - "" (empty string), resulting in a counter with no fields.
|
1136
|
-
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
1137
|
-
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
1138
|
-
# IAMContext.principal]`
|
1139
|
-
class LogConfigCounterOptions
|
1140
|
-
include Google::Apis::Core::Hashable
|
1141
|
-
|
1142
|
-
# Custom fields.
|
1143
|
-
# Corresponds to the JSON property `customFields`
|
1144
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField>]
|
1145
|
-
attr_accessor :custom_fields
|
1146
|
-
|
1147
|
-
# The field value to attribute.
|
1148
|
-
# Corresponds to the JSON property `field`
|
1149
|
-
# @return [String]
|
1150
|
-
attr_accessor :field
|
1151
|
-
|
1152
|
-
# The metric to update.
|
1153
|
-
# Corresponds to the JSON property `metric`
|
1154
|
-
# @return [String]
|
1155
|
-
attr_accessor :metric
|
1156
|
-
|
1157
|
-
def initialize(**args)
|
1158
|
-
update!(**args)
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
# Update properties of this object
|
1162
|
-
def update!(**args)
|
1163
|
-
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
|
1164
|
-
@field = args[:field] if args.key?(:field)
|
1165
|
-
@metric = args[:metric] if args.key?(:metric)
|
1166
|
-
end
|
1167
|
-
end
|
1168
|
-
|
1169
|
-
# Custom fields. These can be used to create a counter with arbitrary field/
|
1170
|
-
# value pairs. See: go/rpcsp-custom-fields.
|
1171
|
-
class LogConfigCounterOptionsCustomField
|
1172
|
-
include Google::Apis::Core::Hashable
|
1173
|
-
|
1174
|
-
# Name is the field name.
|
1175
|
-
# Corresponds to the JSON property `name`
|
1176
|
-
# @return [String]
|
1177
|
-
attr_accessor :name
|
1178
|
-
|
1179
|
-
# Value is the field value. It is important that in contrast to the
|
1180
|
-
# CounterOptions.field, the value here is a constant that is not derived from
|
1181
|
-
# the IAMContext.
|
1182
|
-
# Corresponds to the JSON property `value`
|
1183
|
-
# @return [String]
|
1184
|
-
attr_accessor :value
|
1185
|
-
|
1186
|
-
def initialize(**args)
|
1187
|
-
update!(**args)
|
1188
|
-
end
|
1189
|
-
|
1190
|
-
# Update properties of this object
|
1191
|
-
def update!(**args)
|
1192
|
-
@name = args[:name] if args.key?(:name)
|
1193
|
-
@value = args[:value] if args.key?(:value)
|
1194
|
-
end
|
1195
|
-
end
|
1196
|
-
|
1197
|
-
# Write a Data Access (Gin) log
|
1198
|
-
class LogConfigDataAccessOptions
|
1199
|
-
include Google::Apis::Core::Hashable
|
1200
|
-
|
1201
|
-
#
|
1202
|
-
# Corresponds to the JSON property `logMode`
|
1203
|
-
# @return [String]
|
1204
|
-
attr_accessor :log_mode
|
1205
|
-
|
1206
|
-
def initialize(**args)
|
1207
|
-
update!(**args)
|
1208
|
-
end
|
1209
|
-
|
1210
|
-
# Update properties of this object
|
1211
|
-
def update!(**args)
|
1212
|
-
@log_mode = args[:log_mode] if args.key?(:log_mode)
|
1213
|
-
end
|
1214
|
-
end
|
1215
|
-
|
1216
954
|
#
|
1217
955
|
class Manifest
|
1218
956
|
include Google::Apis::Core::Hashable
|
1219
957
|
|
1220
|
-
#
|
958
|
+
# Output only. The YAML configuration for this manifest.
|
1221
959
|
# Corresponds to the JSON property `config`
|
1222
960
|
# @return [Google::Apis::DeploymentmanagerV2beta::ConfigFile]
|
1223
961
|
attr_accessor :config
|
@@ -1248,8 +986,7 @@ module Google
|
|
1248
986
|
# @return [String]
|
1249
987
|
attr_accessor :layout
|
1250
988
|
|
1251
|
-
# Output only.
|
1252
|
-
# The name of the manifest.
|
989
|
+
# Output only. The name of the manifest.
|
1253
990
|
# Corresponds to the JSON property `name`
|
1254
991
|
# @return [String]
|
1255
992
|
attr_accessor :name
|
@@ -1302,21 +1039,16 @@ module Google
|
|
1302
1039
|
end
|
1303
1040
|
end
|
1304
1041
|
|
1305
|
-
# Represents an Operation resource.
|
1306
|
-
#
|
1307
|
-
# * [
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
1316
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
1317
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
1318
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
1319
|
-
# zoneOperations ==)
|
1042
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
1043
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
1044
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
1045
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
1046
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
1047
|
+
# requests. For more information, read Handling API responses. Operations can be
|
1048
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
1049
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
1050
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
1051
|
+
# read Global, Regional, and Zonal Resources.
|
1320
1052
|
class Operation
|
1321
1053
|
include Google::Apis::Core::Hashable
|
1322
1054
|
|
@@ -1552,8 +1284,8 @@ module Google
|
|
1552
1284
|
# @return [String]
|
1553
1285
|
attr_accessor :code
|
1554
1286
|
|
1555
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
1556
|
-
#
|
1287
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
1288
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1557
1289
|
# Corresponds to the JSON property `data`
|
1558
1290
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Warning::Datum>]
|
1559
1291
|
attr_accessor :data
|
@@ -1677,35 +1409,32 @@ module Google
|
|
1677
1409
|
end
|
1678
1410
|
|
1679
1411
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1680
|
-
# controls for Google Cloud resources.
|
1681
|
-
# A `
|
1682
|
-
#
|
1683
|
-
#
|
1684
|
-
#
|
1685
|
-
#
|
1686
|
-
#
|
1687
|
-
# condition
|
1688
|
-
#
|
1689
|
-
#
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
# [ "user:
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
# ], "
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
#
|
1706
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
1707
|
-
# For a description of IAM and its features, see the [IAM documentation](https://
|
1708
|
-
# cloud.google.com/iam/docs/).
|
1412
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1413
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1414
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1415
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1416
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1417
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1418
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1419
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1420
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1421
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1422
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1423
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1424
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1425
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1426
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1427
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1428
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1429
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1430
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1431
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1432
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1433
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1434
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1435
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1436
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1437
|
+
# google.com/iam/docs/).
|
1709
1438
|
class Policy
|
1710
1439
|
include Google::Apis::Core::Hashable
|
1711
1440
|
|
@@ -1727,51 +1456,31 @@ module Google
|
|
1727
1456
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1728
1457
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1729
1458
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1730
|
-
# applied to the same version of the policy.
|
1731
|
-
#
|
1732
|
-
#
|
1733
|
-
#
|
1734
|
-
#
|
1459
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1460
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1461
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1462
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1463
|
+
# are lost.
|
1735
1464
|
# Corresponds to the JSON property `etag`
|
1736
1465
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1737
1466
|
# @return [String]
|
1738
1467
|
attr_accessor :etag
|
1739
1468
|
|
1740
|
-
#
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
#
|
1747
|
-
#
|
1748
|
-
# DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
|
1749
|
-
# one or more matching rule requires logging. - Otherwise, if any ALLOW/
|
1750
|
-
# ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
|
1751
|
-
# one or more matching rule requires logging. - Otherwise, if no rule applies,
|
1752
|
-
# permission is denied.
|
1753
|
-
# Corresponds to the JSON property `rules`
|
1754
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
|
1755
|
-
attr_accessor :rules
|
1756
|
-
|
1757
|
-
# Specifies the format of the policy.
|
1758
|
-
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
|
1759
|
-
# rejected.
|
1760
|
-
# Any operation that affects conditional role bindings must specify version `3`.
|
1761
|
-
# This requirement applies to the following operations:
|
1762
|
-
# * Getting a policy that includes a conditional role binding * Adding a
|
1763
|
-
# conditional role binding to a policy * Changing a conditional role binding in
|
1764
|
-
# a policy * Removing any role binding, with or without a condition, from a
|
1765
|
-
# policy that includes conditions
|
1766
|
-
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1469
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1470
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1471
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1472
|
+
# applies to the following operations: * Getting a policy that includes a
|
1473
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1474
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1475
|
+
# with or without a condition, from a policy that includes conditions **
|
1476
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1767
1477
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1768
1478
|
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1769
|
-
# conditions in the version `3` policy are lost.
|
1770
|
-
#
|
1771
|
-
#
|
1772
|
-
#
|
1773
|
-
#
|
1774
|
-
# policies).
|
1479
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1480
|
+
# any conditions, operations on that policy may specify any valid version or
|
1481
|
+
# leave the field unset. To learn which resources support conditions in their
|
1482
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1483
|
+
# conditions/resource-policies).
|
1775
1484
|
# Corresponds to the JSON property `version`
|
1776
1485
|
# @return [Fixnum]
|
1777
1486
|
attr_accessor :version
|
@@ -1785,8 +1494,6 @@ module Google
|
|
1785
1494
|
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
1786
1495
|
@bindings = args[:bindings] if args.key?(:bindings)
|
1787
1496
|
@etag = args[:etag] if args.key?(:etag)
|
1788
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
1789
|
-
@rules = args[:rules] if args.key?(:rules)
|
1790
1497
|
@version = args[:version] if args.key?(:version)
|
1791
1498
|
end
|
1792
1499
|
end
|
@@ -1884,7 +1591,8 @@ module Google
|
|
1884
1591
|
# @return [String]
|
1885
1592
|
attr_accessor :type
|
1886
1593
|
|
1887
|
-
#
|
1594
|
+
# Output only. If Deployment Manager is currently updating or previewing an
|
1595
|
+
# update to this resource, the updated configuration appears here.
|
1888
1596
|
# Corresponds to the JSON property `update`
|
1889
1597
|
# @return [Google::Apis::DeploymentmanagerV2beta::ResourceUpdate]
|
1890
1598
|
attr_accessor :update
|
@@ -1935,8 +1643,8 @@ module Google
|
|
1935
1643
|
# @return [String]
|
1936
1644
|
attr_accessor :code
|
1937
1645
|
|
1938
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
1939
|
-
#
|
1646
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
1647
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1940
1648
|
# Corresponds to the JSON property `data`
|
1941
1649
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Resource::Warning::Datum>]
|
1942
1650
|
attr_accessor :data
|
@@ -2136,8 +1844,8 @@ module Google
|
|
2136
1844
|
# @return [String]
|
2137
1845
|
attr_accessor :code
|
2138
1846
|
|
2139
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
2140
|
-
#
|
1847
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
1848
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
2141
1849
|
# Corresponds to the JSON property `data`
|
2142
1850
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::ResourceUpdate::Warning::Datum>]
|
2143
1851
|
attr_accessor :data
|
@@ -2217,67 +1925,6 @@ module Google
|
|
2217
1925
|
end
|
2218
1926
|
end
|
2219
1927
|
|
2220
|
-
# A rule to be applied in a Policy.
|
2221
|
-
class Rule
|
2222
|
-
include Google::Apis::Core::Hashable
|
2223
|
-
|
2224
|
-
# Required
|
2225
|
-
# Corresponds to the JSON property `action`
|
2226
|
-
# @return [String]
|
2227
|
-
attr_accessor :action
|
2228
|
-
|
2229
|
-
# Additional restrictions that must be met. All conditions must pass for the
|
2230
|
-
# rule to match.
|
2231
|
-
# Corresponds to the JSON property `conditions`
|
2232
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Condition>]
|
2233
|
-
attr_accessor :conditions
|
2234
|
-
|
2235
|
-
# Human-readable description of the rule.
|
2236
|
-
# Corresponds to the JSON property `description`
|
2237
|
-
# @return [String]
|
2238
|
-
attr_accessor :description
|
2239
|
-
|
2240
|
-
# If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
|
2241
|
-
# AUTHORITY_SELECTOR is in at least one of these entries.
|
2242
|
-
# Corresponds to the JSON property `ins`
|
2243
|
-
# @return [Array<String>]
|
2244
|
-
attr_accessor :ins
|
2245
|
-
|
2246
|
-
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
2247
|
-
# that match the LOG action.
|
2248
|
-
# Corresponds to the JSON property `logConfigs`
|
2249
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2beta::LogConfig>]
|
2250
|
-
attr_accessor :log_configs
|
2251
|
-
|
2252
|
-
# If one or more 'not_in' clauses are specified, the rule matches if the
|
2253
|
-
# PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
2254
|
-
# Corresponds to the JSON property `notIns`
|
2255
|
-
# @return [Array<String>]
|
2256
|
-
attr_accessor :not_ins
|
2257
|
-
|
2258
|
-
# A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
|
2259
|
-
# of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
|
2260
|
-
# *') matches all verbs.
|
2261
|
-
# Corresponds to the JSON property `permissions`
|
2262
|
-
# @return [Array<String>]
|
2263
|
-
attr_accessor :permissions
|
2264
|
-
|
2265
|
-
def initialize(**args)
|
2266
|
-
update!(**args)
|
2267
|
-
end
|
2268
|
-
|
2269
|
-
# Update properties of this object
|
2270
|
-
def update!(**args)
|
2271
|
-
@action = args[:action] if args.key?(:action)
|
2272
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
2273
|
-
@description = args[:description] if args.key?(:description)
|
2274
|
-
@ins = args[:ins] if args.key?(:ins)
|
2275
|
-
@log_configs = args[:log_configs] if args.key?(:log_configs)
|
2276
|
-
@not_ins = args[:not_ins] if args.key?(:not_ins)
|
2277
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
2278
|
-
end
|
2279
|
-
end
|
2280
|
-
|
2281
1928
|
# Service Account used as a credential.
|
2282
1929
|
class ServiceAccount
|
2283
1930
|
include Google::Apis::Core::Hashable
|
@@ -2302,7 +1949,7 @@ module Google
|
|
2302
1949
|
class TargetConfiguration
|
2303
1950
|
include Google::Apis::Core::Hashable
|
2304
1951
|
|
2305
|
-
#
|
1952
|
+
# The configuration to use for this deployment.
|
2306
1953
|
# Corresponds to the JSON property `config`
|
2307
1954
|
# @return [Google::Apis::DeploymentmanagerV2beta::ConfigFile]
|
2308
1955
|
attr_accessor :config
|
@@ -2432,11 +2079,11 @@ module Google
|
|
2432
2079
|
# @return [String]
|
2433
2080
|
attr_accessor :insert_time
|
2434
2081
|
|
2435
|
-
# Map of labels; provided by the client when the resource is
|
2436
|
-
# Specifically: Label keys must be between 1 and 63
|
2437
|
-
# conform to the following regular expression: `[a-z]([-
|
2438
|
-
# Label values must be between 0 and 63 characters long and
|
2439
|
-
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
2082
|
+
# Map of One Platform labels; provided by the client when the resource is
|
2083
|
+
# created or updated. Specifically: Label keys must be between 1 and 63
|
2084
|
+
# characters long and must conform to the following regular expression: `[a-z]([-
|
2085
|
+
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
2086
|
+
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
2440
2087
|
# Corresponds to the JSON property `labels`
|
2441
2088
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeLabelEntry>]
|
2442
2089
|
attr_accessor :labels
|
@@ -2446,21 +2093,16 @@ module Google
|
|
2446
2093
|
# @return [String]
|
2447
2094
|
attr_accessor :name
|
2448
2095
|
|
2449
|
-
# Represents an Operation resource.
|
2450
|
-
#
|
2451
|
-
# * [
|
2452
|
-
#
|
2453
|
-
#
|
2454
|
-
#
|
2455
|
-
#
|
2456
|
-
#
|
2457
|
-
#
|
2458
|
-
#
|
2459
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
2460
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
2461
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
2462
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
2463
|
-
# zoneOperations ==)
|
2096
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
2097
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
2098
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
2099
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
2100
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
2101
|
+
# requests. For more information, read Handling API responses. Operations can be
|
2102
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
2103
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
2104
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
2105
|
+
# read Global, Regional, and Zonal Resources.
|
2464
2106
|
# Corresponds to the JSON property `operation`
|
2465
2107
|
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
2466
2108
|
attr_accessor :operation
|
@@ -2514,7 +2156,8 @@ module Google
|
|
2514
2156
|
# @return [String]
|
2515
2157
|
attr_accessor :name
|
2516
2158
|
|
2517
|
-
#
|
2159
|
+
# For base types with a collection, we return a schema and documentation link
|
2160
|
+
# For template types, we return only a schema
|
2518
2161
|
# Corresponds to the JSON property `schema`
|
2519
2162
|
# @return [Google::Apis::DeploymentmanagerV2beta::TypeInfoSchemaInfo]
|
2520
2163
|
attr_accessor :schema
|
@@ -2573,16 +2216,16 @@ module Google
|
|
2573
2216
|
end
|
2574
2217
|
end
|
2575
2218
|
|
2576
|
-
#
|
2219
|
+
# Label object for Types
|
2577
2220
|
class TypeLabelEntry
|
2578
2221
|
include Google::Apis::Core::Hashable
|
2579
2222
|
|
2580
|
-
#
|
2223
|
+
# Key of the label
|
2581
2224
|
# Corresponds to the JSON property `key`
|
2582
2225
|
# @return [String]
|
2583
2226
|
attr_accessor :key
|
2584
2227
|
|
2585
|
-
#
|
2228
|
+
# Value of the label
|
2586
2229
|
# Corresponds to the JSON property `value`
|
2587
2230
|
# @return [String]
|
2588
2231
|
attr_accessor :value
|
@@ -2644,11 +2287,11 @@ module Google
|
|
2644
2287
|
# @return [String]
|
2645
2288
|
attr_accessor :insert_time
|
2646
2289
|
|
2647
|
-
# Map of labels; provided by the client when the resource is
|
2648
|
-
# Specifically: Label keys must be between 1 and 63
|
2649
|
-
# conform to the following regular expression: `[a-z]([-
|
2650
|
-
# Label values must be between 0 and 63 characters long and
|
2651
|
-
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)
|
2290
|
+
# Map of One Platform labels; provided by the client when the resource is
|
2291
|
+
# created or updated. Specifically: Label keys must be between 1 and 63
|
2292
|
+
# characters long and must conform to the following regular expression: `[a-z]([-
|
2293
|
+
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
2294
|
+
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`
|
2652
2295
|
# Corresponds to the JSON property `labels`
|
2653
2296
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>]
|
2654
2297
|
attr_accessor :labels
|
@@ -2663,21 +2306,16 @@ module Google
|
|
2663
2306
|
# @return [String]
|
2664
2307
|
attr_accessor :name
|
2665
2308
|
|
2666
|
-
# Represents an Operation resource.
|
2667
|
-
#
|
2668
|
-
# * [
|
2669
|
-
#
|
2670
|
-
#
|
2671
|
-
#
|
2672
|
-
#
|
2673
|
-
#
|
2674
|
-
#
|
2675
|
-
#
|
2676
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
2677
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
2678
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
2679
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
2680
|
-
# zoneOperations ==)
|
2309
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
2310
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
2311
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
2312
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
2313
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
2314
|
+
# requests. For more information, read Handling API responses. Operations can be
|
2315
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
2316
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
2317
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
2318
|
+
# read Global, Regional, and Zonal Resources.
|
2681
2319
|
# Corresponds to the JSON property `operation`
|
2682
2320
|
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
2683
2321
|
attr_accessor :operation
|
@@ -2713,16 +2351,16 @@ module Google
|
|
2713
2351
|
end
|
2714
2352
|
end
|
2715
2353
|
|
2716
|
-
#
|
2354
|
+
# Label object for TypeProviders
|
2717
2355
|
class TypeProviderLabelEntry
|
2718
2356
|
include Google::Apis::Core::Hashable
|
2719
2357
|
|
2720
|
-
#
|
2358
|
+
# Key of the label
|
2721
2359
|
# Corresponds to the JSON property `key`
|
2722
2360
|
# @return [String]
|
2723
2361
|
attr_accessor :key
|
2724
2362
|
|
2725
|
-
#
|
2363
|
+
# Value of the label
|
2726
2364
|
# Corresponds to the JSON property `value`
|
2727
2365
|
# @return [String]
|
2728
2366
|
attr_accessor :value
|