google-api-client 0.19.7 → 0.19.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +18 -16
- data/generated/google/apis/appengine_v1/service.rb +5 -5
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta/service.rb +5 -5
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +42 -5
- data/generated/google/apis/bigquery_v2/representations.rb +18 -2
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
- data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +40 -14
- data/generated/google/apis/compute_alpha/representations.rb +5 -1
- data/generated/google/apis/compute_alpha/service.rb +131 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +67 -10
- data/generated/google/apis/compute_beta/representations.rb +17 -0
- data/generated/google/apis/compute_beta/service.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +6 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +44 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +13 -13
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -142
- data/generated/google/apis/ml_v1/representations.rb +0 -26
- data/generated/google/apis/ml_v1/service.rb +3 -63
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
- data/generated/google/apis/serviceusage_v1.rb +42 -0
- data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
- data/generated/google/apis/serviceusage_v1/service.rb +406 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +13 -0
- data/generated/google/apis/slides_v1/representations.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -22,18 +22,127 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudiotV1
|
|
24
24
|
|
|
25
|
+
# Specifies the audit configuration for a service.
|
|
26
|
+
# The configuration determines which permission types are logged, and what
|
|
27
|
+
# identities, if any, are exempted from logging.
|
|
28
|
+
# An AuditConfig must have one or more AuditLogConfigs.
|
|
29
|
+
# If there are AuditConfigs for both `allServices` and a specific service,
|
|
30
|
+
# the union of the two AuditConfigs is used for that service: the log_types
|
|
31
|
+
# specified in each AuditConfig are enabled, and the exempted_members in each
|
|
32
|
+
# AuditLogConfig are exempted.
|
|
33
|
+
# Example Policy with multiple AuditConfigs:
|
|
34
|
+
# `
|
|
35
|
+
# "audit_configs": [
|
|
36
|
+
# `
|
|
37
|
+
# "service": "allServices"
|
|
38
|
+
# "audit_log_configs": [
|
|
39
|
+
# `
|
|
40
|
+
# "log_type": "DATA_READ",
|
|
41
|
+
# "exempted_members": [
|
|
42
|
+
# "user:foo@gmail.com"
|
|
43
|
+
# ]
|
|
44
|
+
# `,
|
|
45
|
+
# `
|
|
46
|
+
# "log_type": "DATA_WRITE",
|
|
47
|
+
# `,
|
|
48
|
+
# `
|
|
49
|
+
# "log_type": "ADMIN_READ",
|
|
50
|
+
# `
|
|
51
|
+
# ]
|
|
52
|
+
# `,
|
|
53
|
+
# `
|
|
54
|
+
# "service": "fooservice.googleapis.com"
|
|
55
|
+
# "audit_log_configs": [
|
|
56
|
+
# `
|
|
57
|
+
# "log_type": "DATA_READ",
|
|
58
|
+
# `,
|
|
59
|
+
# `
|
|
60
|
+
# "log_type": "DATA_WRITE",
|
|
61
|
+
# "exempted_members": [
|
|
62
|
+
# "user:bar@gmail.com"
|
|
63
|
+
# ]
|
|
64
|
+
# `
|
|
65
|
+
# ]
|
|
66
|
+
# `
|
|
67
|
+
# ]
|
|
68
|
+
# `
|
|
69
|
+
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
70
|
+
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
|
71
|
+
# bar@gmail.com from DATA_WRITE logging.
|
|
72
|
+
class AuditConfig
|
|
73
|
+
include Google::Apis::Core::Hashable
|
|
74
|
+
|
|
75
|
+
# The configuration for logging of each type of permission.
|
|
76
|
+
# Next ID: 4
|
|
77
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
|
78
|
+
# @return [Array<Google::Apis::CloudiotV1::AuditLogConfig>]
|
|
79
|
+
attr_accessor :audit_log_configs
|
|
80
|
+
|
|
81
|
+
# Specifies a service that will be enabled for audit logging.
|
|
82
|
+
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
|
83
|
+
# `allServices` is a special value that covers all services.
|
|
84
|
+
# Corresponds to the JSON property `service`
|
|
85
|
+
# @return [String]
|
|
86
|
+
attr_accessor :service
|
|
87
|
+
|
|
88
|
+
def initialize(**args)
|
|
89
|
+
update!(**args)
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Update properties of this object
|
|
93
|
+
def update!(**args)
|
|
94
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
95
|
+
@service = args[:service] if args.key?(:service)
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Provides the configuration for logging a type of permissions.
|
|
100
|
+
# Example:
|
|
101
|
+
# `
|
|
102
|
+
# "audit_log_configs": [
|
|
103
|
+
# `
|
|
104
|
+
# "log_type": "DATA_READ",
|
|
105
|
+
# "exempted_members": [
|
|
106
|
+
# "user:foo@gmail.com"
|
|
107
|
+
# ]
|
|
108
|
+
# `,
|
|
109
|
+
# `
|
|
110
|
+
# "log_type": "DATA_WRITE",
|
|
111
|
+
# `
|
|
112
|
+
# ]
|
|
113
|
+
# `
|
|
114
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
115
|
+
# foo@gmail.com from DATA_READ logging.
|
|
116
|
+
class AuditLogConfig
|
|
117
|
+
include Google::Apis::Core::Hashable
|
|
118
|
+
|
|
119
|
+
# Specifies the identities that do not cause logging for this type of
|
|
120
|
+
# permission.
|
|
121
|
+
# Follows the same format of Binding.members.
|
|
122
|
+
# Corresponds to the JSON property `exemptedMembers`
|
|
123
|
+
# @return [Array<String>]
|
|
124
|
+
attr_accessor :exempted_members
|
|
125
|
+
|
|
126
|
+
# The log type that this config enables.
|
|
127
|
+
# Corresponds to the JSON property `logType`
|
|
128
|
+
# @return [String]
|
|
129
|
+
attr_accessor :log_type
|
|
130
|
+
|
|
131
|
+
def initialize(**args)
|
|
132
|
+
update!(**args)
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Update properties of this object
|
|
136
|
+
def update!(**args)
|
|
137
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
138
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
25
142
|
# Associates `members` with a `role`.
|
|
26
143
|
class Binding
|
|
27
144
|
include Google::Apis::Core::Hashable
|
|
28
145
|
|
|
29
|
-
# Represents an expression text. Example:
|
|
30
|
-
# title: "User account presence"
|
|
31
|
-
# description: "Determines whether the request has a user account"
|
|
32
|
-
# expression: "size(request.user) > 0"
|
|
33
|
-
# Corresponds to the JSON property `condition`
|
|
34
|
-
# @return [Google::Apis::CloudiotV1::Expr]
|
|
35
|
-
attr_accessor :condition
|
|
36
|
-
|
|
37
146
|
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
38
147
|
# `members` can have the following values:
|
|
39
148
|
# * `allUsers`: A special identifier that represents anyone who is
|
|
@@ -65,7 +174,6 @@ module Google
|
|
|
65
174
|
|
|
66
175
|
# Update properties of this object
|
|
67
176
|
def update!(**args)
|
|
68
|
-
@condition = args[:condition] if args.key?(:condition)
|
|
69
177
|
@members = args[:members] if args.key?(:members)
|
|
70
178
|
@role = args[:role] if args.key?(:role)
|
|
71
179
|
end
|
|
@@ -174,9 +282,11 @@ module Google
|
|
|
174
282
|
# @return [String]
|
|
175
283
|
attr_accessor :last_event_time
|
|
176
284
|
|
|
177
|
-
# [Output only] The last time
|
|
178
|
-
#
|
|
179
|
-
#
|
|
285
|
+
# [Output only] The last time an MQTT `PINGREQ` was received. This field
|
|
286
|
+
# applies only to devices connecting through MQTT. MQTT clients usually only
|
|
287
|
+
# send `PINGREQ` messages if the connection is idle, and no other messages
|
|
288
|
+
# have been sent. Timestamps are periodically collected and written to
|
|
289
|
+
# storage; they may be stale by a few minutes.
|
|
180
290
|
# Corresponds to the JSON property `lastHeartbeatTime`
|
|
181
291
|
# @return [String]
|
|
182
292
|
attr_accessor :last_heartbeat_time
|
|
@@ -466,53 +576,6 @@ module Google
|
|
|
466
576
|
end
|
|
467
577
|
end
|
|
468
578
|
|
|
469
|
-
# Represents an expression text. Example:
|
|
470
|
-
# title: "User account presence"
|
|
471
|
-
# description: "Determines whether the request has a user account"
|
|
472
|
-
# expression: "size(request.user) > 0"
|
|
473
|
-
class Expr
|
|
474
|
-
include Google::Apis::Core::Hashable
|
|
475
|
-
|
|
476
|
-
# An optional description of the expression. This is a longer text which
|
|
477
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
478
|
-
# Corresponds to the JSON property `description`
|
|
479
|
-
# @return [String]
|
|
480
|
-
attr_accessor :description
|
|
481
|
-
|
|
482
|
-
# Textual representation of an expression in
|
|
483
|
-
# Common Expression Language syntax.
|
|
484
|
-
# The application context of the containing message determines which
|
|
485
|
-
# well-known feature set of CEL is supported.
|
|
486
|
-
# Corresponds to the JSON property `expression`
|
|
487
|
-
# @return [String]
|
|
488
|
-
attr_accessor :expression
|
|
489
|
-
|
|
490
|
-
# An optional string indicating the location of the expression for error
|
|
491
|
-
# reporting, e.g. a file name and a position in the file.
|
|
492
|
-
# Corresponds to the JSON property `location`
|
|
493
|
-
# @return [String]
|
|
494
|
-
attr_accessor :location
|
|
495
|
-
|
|
496
|
-
# An optional title for the expression, i.e. a short string describing
|
|
497
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
498
|
-
# expression.
|
|
499
|
-
# Corresponds to the JSON property `title`
|
|
500
|
-
# @return [String]
|
|
501
|
-
attr_accessor :title
|
|
502
|
-
|
|
503
|
-
def initialize(**args)
|
|
504
|
-
update!(**args)
|
|
505
|
-
end
|
|
506
|
-
|
|
507
|
-
# Update properties of this object
|
|
508
|
-
def update!(**args)
|
|
509
|
-
@description = args[:description] if args.key?(:description)
|
|
510
|
-
@expression = args[:expression] if args.key?(:expression)
|
|
511
|
-
@location = args[:location] if args.key?(:location)
|
|
512
|
-
@title = args[:title] if args.key?(:title)
|
|
513
|
-
end
|
|
514
|
-
end
|
|
515
|
-
|
|
516
579
|
# Request message for `GetIamPolicy` method.
|
|
517
580
|
class GetIamPolicyRequest
|
|
518
581
|
include Google::Apis::Core::Hashable
|
|
@@ -718,6 +781,11 @@ module Google
|
|
|
718
781
|
class Policy
|
|
719
782
|
include Google::Apis::Core::Hashable
|
|
720
783
|
|
|
784
|
+
# Specifies cloud audit logging configuration for this policy.
|
|
785
|
+
# Corresponds to the JSON property `auditConfigs`
|
|
786
|
+
# @return [Array<Google::Apis::CloudiotV1::AuditConfig>]
|
|
787
|
+
attr_accessor :audit_configs
|
|
788
|
+
|
|
721
789
|
# Associates a list of `members` to a `role`.
|
|
722
790
|
# `bindings` with no members will result in an error.
|
|
723
791
|
# Corresponds to the JSON property `bindings`
|
|
@@ -749,6 +817,7 @@ module Google
|
|
|
749
817
|
|
|
750
818
|
# Update properties of this object
|
|
751
819
|
def update!(**args)
|
|
820
|
+
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
752
821
|
@bindings = args[:bindings] if args.key?(:bindings)
|
|
753
822
|
@etag = args[:etag] if args.key?(:etag)
|
|
754
823
|
@version = args[:version] if args.key?(:version)
|
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudiotV1
|
|
24
24
|
|
|
25
|
+
class AuditConfig
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class AuditLogConfig
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class Binding
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -70,12 +82,6 @@ module Google
|
|
|
70
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
83
|
end
|
|
72
84
|
|
|
73
|
-
class Expr
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
85
|
class GetIamPolicyRequest
|
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
87
|
|
|
@@ -184,11 +190,26 @@ module Google
|
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
191
|
end
|
|
186
192
|
|
|
187
|
-
class
|
|
193
|
+
class AuditConfig
|
|
188
194
|
# @private
|
|
189
195
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
190
|
-
|
|
196
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudiotV1::AuditLogConfig, decorator: Google::Apis::CloudiotV1::AuditLogConfig::Representation
|
|
191
197
|
|
|
198
|
+
property :service, as: 'service'
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
class AuditLogConfig
|
|
203
|
+
# @private
|
|
204
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
205
|
+
collection :exempted_members, as: 'exemptedMembers'
|
|
206
|
+
property :log_type, as: 'logType'
|
|
207
|
+
end
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
class Binding
|
|
211
|
+
# @private
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
192
213
|
collection :members, as: 'members'
|
|
193
214
|
property :role, as: 'role'
|
|
194
215
|
end
|
|
@@ -278,16 +299,6 @@ module Google
|
|
|
278
299
|
end
|
|
279
300
|
end
|
|
280
301
|
|
|
281
|
-
class Expr
|
|
282
|
-
# @private
|
|
283
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
284
|
-
property :description, as: 'description'
|
|
285
|
-
property :expression, as: 'expression'
|
|
286
|
-
property :location, as: 'location'
|
|
287
|
-
property :title, as: 'title'
|
|
288
|
-
end
|
|
289
|
-
end
|
|
290
|
-
|
|
291
302
|
class GetIamPolicyRequest
|
|
292
303
|
# @private
|
|
293
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -353,6 +364,8 @@ module Google
|
|
|
353
364
|
class Policy
|
|
354
365
|
# @private
|
|
355
366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
367
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudiotV1::AuditConfig, decorator: Google::Apis::CloudiotV1::AuditConfig::Representation
|
|
368
|
+
|
|
356
369
|
collection :bindings, as: 'bindings', class: Google::Apis::CloudiotV1::Binding, decorator: Google::Apis::CloudiotV1::Binding::Representation
|
|
357
370
|
|
|
358
371
|
property :etag, :base64 => true, as: 'etag'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180214'
|
|
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'
|
|
@@ -1130,9 +1130,10 @@ module Google
|
|
|
1130
1130
|
# @return [String]
|
|
1131
1131
|
attr_accessor :creation_time
|
|
1132
1132
|
|
|
1133
|
-
# A
|
|
1134
|
-
#
|
|
1135
|
-
#
|
|
1133
|
+
# A human-readable string that refers to the Organization in the
|
|
1134
|
+
# GCP Console UI. This string is set by the server and cannot be
|
|
1135
|
+
# changed. The string will be set to the primary domain (for example,
|
|
1136
|
+
# "google.com") of the G Suite customer that owns the organization.
|
|
1136
1137
|
# @OutputOnly
|
|
1137
1138
|
# Corresponds to the JSON property `displayName`
|
|
1138
1139
|
# @return [String]
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
|
27
27
|
module CloudresourcemanagerV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180214'
|
|
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'
|
|
@@ -405,9 +405,10 @@ module Google
|
|
|
405
405
|
# @return [String]
|
|
406
406
|
attr_accessor :creation_time
|
|
407
407
|
|
|
408
|
-
# A
|
|
409
|
-
#
|
|
410
|
-
#
|
|
408
|
+
# A human-readable string that refers to the Organization in the
|
|
409
|
+
# GCP Console UI. This string is set by the server and cannot be
|
|
410
|
+
# changed. The string will be set to the primary domain (for example,
|
|
411
|
+
# "google.com") of the G Suite customer that owns the organization.
|
|
411
412
|
# @OutputOnly
|
|
412
413
|
# Corresponds to the JSON property `displayName`
|
|
413
414
|
# @return [String]
|
|
@@ -429,7 +430,6 @@ module Google
|
|
|
429
430
|
# An immutable id for the Organization that is assigned on creation. This
|
|
430
431
|
# should be omitted when creating a new Organization.
|
|
431
432
|
# This field is read-only.
|
|
432
|
-
# This field is deprecated and will be removed in v1. Use name instead.
|
|
433
433
|
# Corresponds to the JSON property `organizationId`
|
|
434
434
|
# @return [String]
|
|
435
435
|
attr_accessor :organization_id
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeAlpha
|
|
27
27
|
VERSION = 'Alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180123'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1262,7 +1262,7 @@ module Google
|
|
|
1262
1262
|
# If there are AuditConfigs for both `allServices` and a specific service, the
|
|
1263
1263
|
# union of the two AuditConfigs is used for that service: the log_types
|
|
1264
1264
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
|
1265
|
-
#
|
|
1265
|
+
# AuditLogConfig are exempted.
|
|
1266
1266
|
# Example Policy with multiple AuditConfigs:
|
|
1267
1267
|
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
|
1268
1268
|
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
|
@@ -1272,8 +1272,7 @@ module Google
|
|
|
1272
1272
|
# ] `
|
|
1273
1273
|
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
1274
1274
|
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
|
1275
|
-
# com from DATA_WRITE logging.
|
|
1276
|
-
# or IAM_AUDIT_CONFIG.
|
|
1275
|
+
# com from DATA_WRITE logging.
|
|
1277
1276
|
class AuditConfig
|
|
1278
1277
|
include Google::Apis::Core::Hashable
|
|
1279
1278
|
|
|
@@ -4205,7 +4204,8 @@ module Google
|
|
|
4205
4204
|
attr_accessor :storage_type
|
|
4206
4205
|
|
|
4207
4206
|
# URL of the disk type resource describing which disk type to use to create the
|
|
4208
|
-
# disk. Provide this when creating the disk.
|
|
4207
|
+
# disk. Provide this when creating the disk. For example: project/zones/zone/
|
|
4208
|
+
# diskTypes/pd-standard or pd-ssd
|
|
4209
4209
|
# Corresponds to the JSON property `type`
|
|
4210
4210
|
# @return [String]
|
|
4211
4211
|
attr_accessor :type
|
|
@@ -5736,10 +5736,10 @@ module Google
|
|
|
5736
5736
|
# Some types of forwarding target have constraints on the acceptable ports:
|
|
5737
5737
|
# - TargetHttpProxy: 80, 8080
|
|
5738
5738
|
# - TargetHttpsProxy: 443
|
|
5739
|
-
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
|
5740
|
-
# 5222
|
|
5741
|
-
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
|
5742
|
-
# 5222
|
|
5739
|
+
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
5740
|
+
# 1883, 5222
|
|
5741
|
+
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
|
5742
|
+
# 1883, 5222
|
|
5743
5743
|
# - TargetVpnGateway: 500, 4500
|
|
5744
5744
|
# Corresponds to the JSON property `portRange`
|
|
5745
5745
|
# @return [String]
|
|
@@ -11168,6 +11168,11 @@ module Google
|
|
|
11168
11168
|
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
|
11169
11169
|
attr_accessor :service_accounts
|
|
11170
11170
|
|
|
11171
|
+
# A set of Shielded VM options.
|
|
11172
|
+
# Corresponds to the JSON property `shieldedVmConfig`
|
|
11173
|
+
# @return [Google::Apis::ComputeAlpha::ShieldedVmConfig]
|
|
11174
|
+
attr_accessor :shielded_vm_config
|
|
11175
|
+
|
|
11171
11176
|
# A set of instance tags.
|
|
11172
11177
|
# Corresponds to the JSON property `tags`
|
|
11173
11178
|
# @return [Google::Apis::ComputeAlpha::Tags]
|
|
@@ -11190,6 +11195,7 @@ module Google
|
|
|
11190
11195
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
|
11191
11196
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
|
11192
11197
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
|
11198
|
+
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
|
11193
11199
|
@tags = args[:tags] if args.key?(:tags)
|
|
11194
11200
|
end
|
|
11195
11201
|
end
|
|
@@ -12000,6 +12006,17 @@ module Google
|
|
|
12000
12006
|
# @return [String]
|
|
12001
12007
|
attr_accessor :description
|
|
12002
12008
|
|
|
12009
|
+
# Desired availability domain for the attachment. Can only be specified when
|
|
12010
|
+
# creating PARTNER-type InterconnectAttachments.
|
|
12011
|
+
# For improved reliability, customers should configure a pair of attachments
|
|
12012
|
+
# with one per availability domain. The selected availability domain will be
|
|
12013
|
+
# provided to the Partner via the pairing key so that the provisioned circuit
|
|
12014
|
+
# will lie in the specified domain. If not specified, the value will default to
|
|
12015
|
+
# AVAILABILITY_DOMAIN_ANY.
|
|
12016
|
+
# Corresponds to the JSON property `edgeAvailabilityDomain`
|
|
12017
|
+
# @return [String]
|
|
12018
|
+
attr_accessor :edge_availability_domain
|
|
12019
|
+
|
|
12003
12020
|
# [Output Only] Google reference ID, to be used when raising support tickets
|
|
12004
12021
|
# with Google or otherwise to debug backend connectivity issues.
|
|
12005
12022
|
# Corresponds to the JSON property `googleReferenceId`
|
|
@@ -12139,6 +12156,7 @@ module Google
|
|
|
12139
12156
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
12140
12157
|
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
|
12141
12158
|
@description = args[:description] if args.key?(:description)
|
|
12159
|
+
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
|
12142
12160
|
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
|
12143
12161
|
@id = args[:id] if args.key?(:id)
|
|
12144
12162
|
@interconnect = args[:interconnect] if args.key?(:interconnect)
|
|
@@ -16750,8 +16768,7 @@ module Google
|
|
|
16750
16768
|
class Policy
|
|
16751
16769
|
include Google::Apis::Core::Hashable
|
|
16752
16770
|
|
|
16753
|
-
# Specifies cloud audit logging configuration for this policy.
|
|
16754
|
-
# only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
|
|
16771
|
+
# Specifies cloud audit logging configuration for this policy.
|
|
16755
16772
|
# Corresponds to the JSON property `auditConfigs`
|
|
16756
16773
|
# @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
|
|
16757
16774
|
attr_accessor :audit_configs
|
|
@@ -20640,10 +20657,10 @@ module Google
|
|
|
20640
20657
|
# @return [String]
|
|
20641
20658
|
attr_accessor :description
|
|
20642
20659
|
|
|
20643
|
-
# [Output Only]
|
|
20644
|
-
# Corresponds to the JSON property `
|
|
20660
|
+
# [Output Only] Expire time of the certificate. RFC3339
|
|
20661
|
+
# Corresponds to the JSON property `expireTime`
|
|
20645
20662
|
# @return [String]
|
|
20646
|
-
attr_accessor :
|
|
20663
|
+
attr_accessor :expire_time
|
|
20647
20664
|
|
|
20648
20665
|
# [Output Only] The unique identifier for the resource. This identifier is
|
|
20649
20666
|
# defined by the server.
|
|
@@ -20710,7 +20727,7 @@ module Google
|
|
|
20710
20727
|
@certificate = args[:certificate] if args.key?(:certificate)
|
|
20711
20728
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
20712
20729
|
@description = args[:description] if args.key?(:description)
|
|
20713
|
-
@
|
|
20730
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
20714
20731
|
@id = args[:id] if args.key?(:id)
|
|
20715
20732
|
@kind = args[:kind] if args.key?(:kind)
|
|
20716
20733
|
@managed = args[:managed] if args.key?(:managed)
|
|
@@ -21324,6 +21341,14 @@ module Google
|
|
|
21324
21341
|
attr_accessor :enable_flow_logs
|
|
21325
21342
|
alias_method :enable_flow_logs?, :enable_flow_logs
|
|
21326
21343
|
|
|
21344
|
+
# Whether the VMs in this subnet can directly access Google services via
|
|
21345
|
+
# internal IPv6 addresses. This field can be both set at resource creation time
|
|
21346
|
+
# and updated using patch.
|
|
21347
|
+
# Corresponds to the JSON property `enablePrivateV6Access`
|
|
21348
|
+
# @return [Boolean]
|
|
21349
|
+
attr_accessor :enable_private_v6_access
|
|
21350
|
+
alias_method :enable_private_v6_access?, :enable_private_v6_access
|
|
21351
|
+
|
|
21327
21352
|
# Fingerprint of this resource. A hash of the contents stored in this object.
|
|
21328
21353
|
# This field is used in optimistic locking. This field will be ignored when
|
|
21329
21354
|
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
|
|
@@ -21414,6 +21439,7 @@ module Google
|
|
|
21414
21439
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
21415
21440
|
@description = args[:description] if args.key?(:description)
|
|
21416
21441
|
@enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
|
|
21442
|
+
@enable_private_v6_access = args[:enable_private_v6_access] if args.key?(:enable_private_v6_access)
|
|
21417
21443
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
21418
21444
|
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
|
21419
21445
|
@id = args[:id] if args.key?(:id)
|