google-api-client 0.18.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +56 -0
- data/generated/google/apis/bigquery_v2/representations.rb +20 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +15 -4
- data/generated/google/apis/calendar_v3/representations.rb +1 -0
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +256 -63
- data/generated/google/apis/compute_alpha/representations.rb +44 -1
- data/generated/google/apis/compute_alpha/service.rb +217 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +776 -46
- data/generated/google/apis/compute_beta/representations.rb +254 -0
- data/generated/google/apis/compute_beta/service.rb +1070 -13
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +83 -46
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
- data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
- data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -56
- data/generated/google/apis/iam_v1/representations.rb +0 -18
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -6
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -5
- data/generated/google/apis/ml_v1/service.rb +19 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +283 -0
- data/generated/google/apis/sheets_v4/representations.rb +90 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +115 -4
- data/generated/google/apis/storage_v1/representations.rb +23 -0
- data/generated/google/apis/storage_v1/service.rb +44 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/consumersurveys_v2.rb +0 -40
- data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
- data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
- data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
|
@@ -1980,6 +1980,7 @@ module Google
|
|
|
1980
1980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1981
1981
|
property :display_name, as: 'displayName'
|
|
1982
1982
|
property :name, as: 'name'
|
|
1983
|
+
collection :supported_by, as: 'supportedBy'
|
|
1983
1984
|
end
|
|
1984
1985
|
end
|
|
1985
1986
|
|
|
@@ -2630,6 +2631,7 @@ module Google
|
|
|
2630
2631
|
|
|
2631
2632
|
property :transformation, as: 'transformation', class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation, decorator: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation::Representation
|
|
2632
2633
|
|
|
2634
|
+
property :transformed_bytes, :numeric_string => true, as: 'transformedBytes'
|
|
2633
2635
|
end
|
|
2634
2636
|
end
|
|
2635
2637
|
|
|
@@ -50,8 +50,11 @@ module Google
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Returns sensitive information types DLP supports.
|
|
53
|
+
# @param [String] filter
|
|
54
|
+
# Optional filter to only return infoTypes supported by certain parts of the
|
|
55
|
+
# API. Defaults to supported_by=INSPECT.
|
|
53
56
|
# @param [String] language_code
|
|
54
|
-
# Optional BCP-47 language code for localized
|
|
57
|
+
# Optional BCP-47 language code for localized infoType friendly
|
|
55
58
|
# names. If omitted, or if localized strings are not available,
|
|
56
59
|
# en-US strings will be returned.
|
|
57
60
|
# @param [String] fields
|
|
@@ -71,10 +74,11 @@ module Google
|
|
|
71
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
-
def list_info_types(language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
77
|
+
def list_info_types(filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
78
|
command = make_simple_command(:get, 'v2beta2/infoTypes', options)
|
|
76
79
|
command.response_representation = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse::Representation
|
|
77
80
|
command.response_class = Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2ListInfoTypesResponse
|
|
81
|
+
command.query['filter'] = filter unless filter.nil?
|
|
78
82
|
command.query['languageCode'] = language_code unless language_code.nil?
|
|
79
83
|
command.query['fields'] = fields unless fields.nil?
|
|
80
84
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -118,8 +122,8 @@ module Google
|
|
|
118
122
|
|
|
119
123
|
# Deletes inspect templates.
|
|
120
124
|
# @param [String] name
|
|
121
|
-
# Resource name of the organization and
|
|
122
|
-
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
125
|
+
# Resource name of the organization and deidentify template to be deleted,
|
|
126
|
+
# for example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
123
127
|
# @param [String] fields
|
|
124
128
|
# Selector specifying which fields to include in a partial response.
|
|
125
129
|
# @param [String] quota_user
|
|
@@ -149,7 +153,7 @@ module Google
|
|
|
149
153
|
|
|
150
154
|
# Gets an inspect template.
|
|
151
155
|
# @param [String] name
|
|
152
|
-
# Resource name of the organization and
|
|
156
|
+
# Resource name of the organization and deidentify template to be read, for
|
|
153
157
|
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
154
158
|
# @param [String] fields
|
|
155
159
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -219,7 +223,7 @@ module Google
|
|
|
219
223
|
|
|
220
224
|
# Updates the inspect template.
|
|
221
225
|
# @param [String] name
|
|
222
|
-
# Resource name of organization and
|
|
226
|
+
# Resource name of organization and deidentify template to be updated, for
|
|
223
227
|
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
224
228
|
# @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object
|
|
225
229
|
# @param [String] fields
|
|
@@ -630,8 +634,8 @@ module Google
|
|
|
630
634
|
|
|
631
635
|
# Deletes inspect templates.
|
|
632
636
|
# @param [String] name
|
|
633
|
-
# Resource name of the organization and
|
|
634
|
-
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
637
|
+
# Resource name of the organization and deidentify template to be deleted,
|
|
638
|
+
# for example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
635
639
|
# @param [String] fields
|
|
636
640
|
# Selector specifying which fields to include in a partial response.
|
|
637
641
|
# @param [String] quota_user
|
|
@@ -661,7 +665,7 @@ module Google
|
|
|
661
665
|
|
|
662
666
|
# Gets an inspect template.
|
|
663
667
|
# @param [String] name
|
|
664
|
-
# Resource name of the organization and
|
|
668
|
+
# Resource name of the organization and deidentify template to be read, for
|
|
665
669
|
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
666
670
|
# @param [String] fields
|
|
667
671
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -731,7 +735,7 @@ module Google
|
|
|
731
735
|
|
|
732
736
|
# Updates the inspect template.
|
|
733
737
|
# @param [String] name
|
|
734
|
-
# Resource name of organization and
|
|
738
|
+
# Resource name of organization and deidentify template to be updated, for
|
|
735
739
|
# example `organizations/433245324/deidentifyTemplates/432452342`.
|
|
736
740
|
# @param [Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest] google_privacy_dlp_v2beta2_update_deidentify_template_request_object
|
|
737
741
|
# @param [String] fields
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
|
28
28
|
module IamV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20171214'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -94,14 +94,6 @@ module Google
|
|
|
94
94
|
# @return [String]
|
|
95
95
|
attr_accessor :action
|
|
96
96
|
|
|
97
|
-
# Represents an expression text. Example:
|
|
98
|
-
# title: "User account presence"
|
|
99
|
-
# description: "Determines whether the request has a user account"
|
|
100
|
-
# expression: "size(request.user) > 0"
|
|
101
|
-
# Corresponds to the JSON property `condition`
|
|
102
|
-
# @return [Google::Apis::IamV1::Expr]
|
|
103
|
-
attr_accessor :condition
|
|
104
|
-
|
|
105
97
|
# A single identity requesting access for a Cloud Platform resource.
|
|
106
98
|
# Follows the same format of Binding.members.
|
|
107
99
|
# Required
|
|
@@ -123,7 +115,6 @@ module Google
|
|
|
123
115
|
# Update properties of this object
|
|
124
116
|
def update!(**args)
|
|
125
117
|
@action = args[:action] if args.key?(:action)
|
|
126
|
-
@condition = args[:condition] if args.key?(:condition)
|
|
127
118
|
@member = args[:member] if args.key?(:member)
|
|
128
119
|
@role = args[:role] if args.key?(:role)
|
|
129
120
|
end
|
|
@@ -241,53 +232,6 @@ module Google
|
|
|
241
232
|
end
|
|
242
233
|
end
|
|
243
234
|
|
|
244
|
-
# Represents an expression text. Example:
|
|
245
|
-
# title: "User account presence"
|
|
246
|
-
# description: "Determines whether the request has a user account"
|
|
247
|
-
# expression: "size(request.user) > 0"
|
|
248
|
-
class Expr
|
|
249
|
-
include Google::Apis::Core::Hashable
|
|
250
|
-
|
|
251
|
-
# An optional description of the expression. This is a longer text which
|
|
252
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
253
|
-
# Corresponds to the JSON property `description`
|
|
254
|
-
# @return [String]
|
|
255
|
-
attr_accessor :description
|
|
256
|
-
|
|
257
|
-
# Textual representation of an expression in
|
|
258
|
-
# Common Expression Language syntax.
|
|
259
|
-
# The application context of the containing message determines which
|
|
260
|
-
# well-known feature set of CEL is supported.
|
|
261
|
-
# Corresponds to the JSON property `expression`
|
|
262
|
-
# @return [String]
|
|
263
|
-
attr_accessor :expression
|
|
264
|
-
|
|
265
|
-
# An optional string indicating the location of the expression for error
|
|
266
|
-
# reporting, e.g. a file name and a position in the file.
|
|
267
|
-
# Corresponds to the JSON property `location`
|
|
268
|
-
# @return [String]
|
|
269
|
-
attr_accessor :location
|
|
270
|
-
|
|
271
|
-
# An optional title for the expression, i.e. a short string describing
|
|
272
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
273
|
-
# expression.
|
|
274
|
-
# Corresponds to the JSON property `title`
|
|
275
|
-
# @return [String]
|
|
276
|
-
attr_accessor :title
|
|
277
|
-
|
|
278
|
-
def initialize(**args)
|
|
279
|
-
update!(**args)
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
# Update properties of this object
|
|
283
|
-
def update!(**args)
|
|
284
|
-
@description = args[:description] if args.key?(:description)
|
|
285
|
-
@expression = args[:expression] if args.key?(:expression)
|
|
286
|
-
@location = args[:location] if args.key?(:location)
|
|
287
|
-
@title = args[:title] if args.key?(:title)
|
|
288
|
-
end
|
|
289
|
-
end
|
|
290
|
-
|
|
291
235
|
# The response containing the roles defined under a resource.
|
|
292
236
|
class ListRolesResponse
|
|
293
237
|
include Google::Apis::Core::Hashable
|
|
@@ -64,12 +64,6 @@ module Google
|
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
class Expr
|
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
-
|
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
-
end
|
|
72
|
-
|
|
73
67
|
class ListRolesResponse
|
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
69
|
|
|
@@ -216,8 +210,6 @@ module Google
|
|
|
216
210
|
# @private
|
|
217
211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
218
212
|
property :action, as: 'action'
|
|
219
|
-
property :condition, as: 'condition', class: Google::Apis::IamV1::Expr, decorator: Google::Apis::IamV1::Expr::Representation
|
|
220
|
-
|
|
221
213
|
property :member, as: 'member'
|
|
222
214
|
property :role, as: 'role'
|
|
223
215
|
end
|
|
@@ -255,16 +247,6 @@ module Google
|
|
|
255
247
|
end
|
|
256
248
|
end
|
|
257
249
|
|
|
258
|
-
class Expr
|
|
259
|
-
# @private
|
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
261
|
-
property :description, as: 'description'
|
|
262
|
-
property :expression, as: 'expression'
|
|
263
|
-
property :location, as: 'location'
|
|
264
|
-
property :title, as: 'title'
|
|
265
|
-
end
|
|
266
|
-
end
|
|
267
|
-
|
|
268
250
|
class ListRolesResponse
|
|
269
251
|
# @private
|
|
270
252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171219'
|
|
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'
|
|
@@ -703,7 +703,9 @@ module Google
|
|
|
703
703
|
# If this field is omitted in a new log entry, then Stackdriver Logging assigns
|
|
704
704
|
# it the current time.Incoming log entries should have timestamps that are no
|
|
705
705
|
# more than the logs retention period in the past, and no more than 24 hours in
|
|
706
|
-
# the future.
|
|
706
|
+
# the future. Log entries outside those time boundaries will not be available
|
|
707
|
+
# when calling entries.list, but those log entries can still be exported with
|
|
708
|
+
# LogSinks.
|
|
707
709
|
# Corresponds to the JSON property `timestamp`
|
|
708
710
|
# @return [String]
|
|
709
711
|
attr_accessor :timestamp
|
|
@@ -1640,11 +1642,11 @@ module Google
|
|
|
1640
1642
|
# log entries that did not supply their own values, the entries earlier in the
|
|
1641
1643
|
# list will sort before the entries later in the list. See the entries.list
|
|
1642
1644
|
# method.Log entries with timestamps that are more than the logs retention
|
|
1643
|
-
# period in the past or more than 24 hours in the future
|
|
1644
|
-
#
|
|
1645
|
-
#
|
|
1646
|
-
#
|
|
1647
|
-
# each individual log entry.
|
|
1645
|
+
# period in the past or more than 24 hours in the future will not be available
|
|
1646
|
+
# when calling entries.list. However, those log entries can still be exported
|
|
1647
|
+
# with LogSinks.To improve throughput and to avoid exceeding the quota limit for
|
|
1648
|
+
# calls to entries.write, you should try to include several log entries in this
|
|
1649
|
+
# list, rather than calling this method for each individual log entry.
|
|
1648
1650
|
# Corresponds to the JSON property `entries`
|
|
1649
1651
|
# @return [Array<Google::Apis::LoggingV2::LogEntry>]
|
|
1650
1652
|
attr_accessor :entries
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
|
26
26
|
module LoggingV2beta1
|
|
27
27
|
VERSION = 'V2beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171219'
|
|
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'
|
|
@@ -676,7 +676,9 @@ module Google
|
|
|
676
676
|
# If this field is omitted in a new log entry, then Stackdriver Logging assigns
|
|
677
677
|
# it the current time.Incoming log entries should have timestamps that are no
|
|
678
678
|
# more than the logs retention period in the past, and no more than 24 hours in
|
|
679
|
-
# the future.
|
|
679
|
+
# the future. Log entries outside those time boundaries will not be available
|
|
680
|
+
# when calling entries.list, but those log entries can still be exported with
|
|
681
|
+
# LogSinks.
|
|
680
682
|
# Corresponds to the JSON property `timestamp`
|
|
681
683
|
# @return [String]
|
|
682
684
|
attr_accessor :timestamp
|
|
@@ -1563,11 +1565,11 @@ module Google
|
|
|
1563
1565
|
# log entries that did not supply their own values, the entries earlier in the
|
|
1564
1566
|
# list will sort before the entries later in the list. See the entries.list
|
|
1565
1567
|
# method.Log entries with timestamps that are more than the logs retention
|
|
1566
|
-
# period in the past or more than 24 hours in the future
|
|
1567
|
-
#
|
|
1568
|
-
#
|
|
1569
|
-
#
|
|
1570
|
-
# each individual log entry.
|
|
1568
|
+
# period in the past or more than 24 hours in the future will not be available
|
|
1569
|
+
# when calling entries.list. However, those log entries can still be exported
|
|
1570
|
+
# with LogSinks.To improve throughput and to avoid exceeding the quota limit for
|
|
1571
|
+
# calls to entries.write, you should try to include several log entries in this
|
|
1572
|
+
# list, rather than calling this method for each individual log entry.
|
|
1571
1573
|
# Corresponds to the JSON property `entries`
|
|
1572
1574
|
# @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
|
|
1573
1575
|
attr_accessor :entries
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171221'
|
|
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'
|
|
@@ -368,7 +368,12 @@ module Google
|
|
|
368
368
|
# @return [String]
|
|
369
369
|
attr_accessor :state
|
|
370
370
|
|
|
371
|
-
# Represents input parameters for a training job.
|
|
371
|
+
# Represents input parameters for a training job. When using the
|
|
372
|
+
# gcloud command to submit your training job, you can specify
|
|
373
|
+
# the input parameters as command-line arguments and/or in a YAML configuration
|
|
374
|
+
# file referenced from the --config command-line argument. For
|
|
375
|
+
# details, see the guide to
|
|
376
|
+
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>.
|
|
372
377
|
# Corresponds to the JSON property `trainingInput`
|
|
373
378
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
|
|
374
379
|
attr_accessor :training_input
|
|
@@ -610,6 +615,8 @@ module Google
|
|
|
610
615
|
# Optional. The list of regions where the model is going to be deployed.
|
|
611
616
|
# Currently only one region per model is supported.
|
|
612
617
|
# Defaults to 'us-central1' if nothing is set.
|
|
618
|
+
# See the <a href="/ml-engine/docs/regions">available regions</a> for
|
|
619
|
+
# ML Engine services.
|
|
613
620
|
# Note:
|
|
614
621
|
# * No matter where a model is deployed, it can always be accessed by
|
|
615
622
|
# users from anywhere, both for online and batch prediction.
|
|
@@ -866,6 +873,8 @@ module Google
|
|
|
866
873
|
attr_accessor :output_path
|
|
867
874
|
|
|
868
875
|
# Required. The Google Compute Engine region to run the prediction job in.
|
|
876
|
+
# See the <a href="/ml-engine/docs/regions">available regions</a> for
|
|
877
|
+
# ML Engine services.
|
|
869
878
|
# Corresponds to the JSON property `region`
|
|
870
879
|
# @return [String]
|
|
871
880
|
attr_accessor :region
|
|
@@ -976,7 +985,12 @@ module Google
|
|
|
976
985
|
end
|
|
977
986
|
end
|
|
978
987
|
|
|
979
|
-
# Represents input parameters for a training job.
|
|
988
|
+
# Represents input parameters for a training job. When using the
|
|
989
|
+
# gcloud command to submit your training job, you can specify
|
|
990
|
+
# the input parameters as command-line arguments and/or in a YAML configuration
|
|
991
|
+
# file referenced from the --config command-line argument. For
|
|
992
|
+
# details, see the guide to
|
|
993
|
+
# <a href="/ml-engine/docs/training-jobs">submitting a training job</a>.
|
|
980
994
|
class GoogleCloudMlV1TrainingInput
|
|
981
995
|
include Google::Apis::Core::Hashable
|
|
982
996
|
|
|
@@ -1052,14 +1066,14 @@ module Google
|
|
|
1052
1066
|
# <dd>
|
|
1053
1067
|
# A machine equivalent to <code suppresswarning="true">standard</code> that
|
|
1054
1068
|
# also includes a single NVIDIA Tesla P100 GPU. The availability of these
|
|
1055
|
-
# GPUs is in the
|
|
1069
|
+
# GPUs is in the Beta launch stage.
|
|
1056
1070
|
# </dd>
|
|
1057
1071
|
# <dt>complex_model_m_p100</dt>
|
|
1058
1072
|
# <dd>
|
|
1059
1073
|
# A machine equivalent to
|
|
1060
1074
|
# <code suppresswarning="true">complex_model_m</code> that also includes
|
|
1061
1075
|
# four NVIDIA Tesla P100 GPUs. The availability of these GPUs is in
|
|
1062
|
-
# the
|
|
1076
|
+
# the Beta launch stage.
|
|
1063
1077
|
# </dd>
|
|
1064
1078
|
# </dl>
|
|
1065
1079
|
# You must set this value when `scaleTier` is set to `CUSTOM`.
|
|
@@ -1099,12 +1113,15 @@ module Google
|
|
|
1099
1113
|
attr_accessor :python_module
|
|
1100
1114
|
|
|
1101
1115
|
# Optional. The version of Python used in training. If not set, the default
|
|
1102
|
-
# version is '2.7'.
|
|
1116
|
+
# version is '2.7'. Python '3.5' is available when `runtime_version` is set
|
|
1117
|
+
# to '1.4' and above. Python '2.7' works with all supported runtime versions.
|
|
1103
1118
|
# Corresponds to the JSON property `pythonVersion`
|
|
1104
1119
|
# @return [String]
|
|
1105
1120
|
attr_accessor :python_version
|
|
1106
1121
|
|
|
1107
1122
|
# Required. The Google Compute Engine region to run the training job in.
|
|
1123
|
+
# See the <a href="/ml-engine/docs/regions">available regions</a> for
|
|
1124
|
+
# ML Engine services.
|
|
1108
1125
|
# Corresponds to the JSON property `region`
|
|
1109
1126
|
# @return [String]
|
|
1110
1127
|
attr_accessor :region
|
|
@@ -82,8 +82,8 @@ module Google
|
|
|
82
82
|
|
|
83
83
|
# Performs prediction on the data in the request.
|
|
84
84
|
# Cloud ML Engine implements a custom `predict` verb on top of an HTTP POST
|
|
85
|
-
# method. For details of the format, see the **guide
|
|
86
|
-
# [predict request format](/ml-engine/docs/v1/predict-request)**.
|
|
85
|
+
# method. <p>For details of the request and response format, see the **guide
|
|
86
|
+
# to the [predict request format](/ml-engine/docs/v1/predict-request)**.
|
|
87
87
|
# @param [String] name
|
|
88
88
|
# Required. The resource name of a model or a version.
|
|
89
89
|
# Authorization: requires the `predict` permission on the specified resource.
|
|
@@ -247,10 +247,20 @@ module Google
|
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
# Lists the jobs in the project.
|
|
250
|
+
# If there are no jobs that match the request parameters, the list
|
|
251
|
+
# request returns an empty response body: ``.
|
|
250
252
|
# @param [String] parent
|
|
251
253
|
# Required. The name of the project for which to list jobs.
|
|
252
254
|
# @param [String] filter
|
|
253
255
|
# Optional. Specifies the subset of jobs to retrieve.
|
|
256
|
+
# You can filter on the value of one or more attributes of the job object.
|
|
257
|
+
# For example, retrieve jobs with a job identifier that starts with 'census':
|
|
258
|
+
# <p><code>gcloud ml-engine jobs list --filter='jobId:census*'</code>
|
|
259
|
+
# <p>List all failed jobs with names that start with 'rnn':
|
|
260
|
+
# <p><code>gcloud ml-engine jobs list --filter='jobId:rnn*
|
|
261
|
+
# AND state:FAILED'</code>
|
|
262
|
+
# <p>For more examples, see the guide to
|
|
263
|
+
# <a href="/ml-engine/docs/monitor-training">monitoring jobs</a>.
|
|
254
264
|
# @param [Fixnum] page_size
|
|
255
265
|
# Optional. The number of jobs to retrieve per "page" of results. If there
|
|
256
266
|
# are more remaining results than this number, the response message will
|
|
@@ -629,6 +639,8 @@ module Google
|
|
|
629
639
|
# Lists the models in a project.
|
|
630
640
|
# Each project can contain multiple models, and each model can have multiple
|
|
631
641
|
# versions.
|
|
642
|
+
# If there are no models that match the request parameters, the list request
|
|
643
|
+
# returns an empty response body: ``.
|
|
632
644
|
# @param [String] parent
|
|
633
645
|
# Required. The name of the project whose models are to be listed.
|
|
634
646
|
# @param [String] filter
|
|
@@ -912,9 +924,11 @@ module Google
|
|
|
912
924
|
end
|
|
913
925
|
|
|
914
926
|
# Gets basic information about all the versions of a model.
|
|
915
|
-
# If you expect that a model has
|
|
927
|
+
# If you expect that a model has many versions, or if you need to handle
|
|
916
928
|
# only a limited number of results at a time, you can request that the list
|
|
917
|
-
# be retrieved in batches (called pages)
|
|
929
|
+
# be retrieved in batches (called pages).
|
|
930
|
+
# If there are no versions that match the request parameters, the list
|
|
931
|
+
# request returns an empty response body: ``.
|
|
918
932
|
# @param [String] parent
|
|
919
933
|
# Required. The name of the model for which to list the version.
|
|
920
934
|
# @param [String] filter
|
|
@@ -976,7 +990,7 @@ module Google
|
|
|
976
990
|
# To adopt etag mechanism, include `etag` field in the mask, and include the
|
|
977
991
|
# `etag` value in your version resource.
|
|
978
992
|
# Currently the only supported update masks are `description`, `labels`, and
|
|
979
|
-
# `etag`.
|
|
993
|
+
# `etag`, and `expire_time`.
|
|
980
994
|
# @param [String] fields
|
|
981
995
|
# Selector specifying which fields to include in a partial response.
|
|
982
996
|
# @param [String] quota_user
|