google-api-client 0.28.0 → 0.28.1
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 +38 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +4 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +13 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +3 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -33
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/service.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +48 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +698 -240
- data/generated/google/apis/compute_alpha/representations.rb +185 -63
- data/generated/google/apis/compute_alpha/service.rb +286 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +195 -148
- data/generated/google/apis/compute_beta/representations.rb +80 -62
- data/generated/google/apis/compute_beta/service.rb +85 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +209 -17
- data/generated/google/apis/compute_v1/representations.rb +70 -0
- data/generated/google/apis/compute_v1/service.rb +2 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +78 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -6
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +12 -213
- data/generated/google/apis/content_v2_1/representations.rb +2 -117
- data/generated/google/apis/content_v2_1/service.rb +1 -161
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +39 -29
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -29
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +576 -0
- data/generated/google/apis/file_v1/representations.rb +219 -0
- data/generated/google/apis/file_v1/service.rb +472 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/service.rb +33 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +4 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/service.rb +40 -40
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +12 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190122'
|
|
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'
|
|
@@ -116,7 +116,7 @@ module Google
|
|
|
116
116
|
# @return [String]
|
|
117
117
|
attr_accessor :display_name
|
|
118
118
|
|
|
119
|
-
# Optional. The collection of
|
|
119
|
+
# Optional. The collection of entity entries associated with the entity type.
|
|
120
120
|
# Corresponds to the JSON property `entities`
|
|
121
121
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity>]
|
|
122
122
|
attr_accessor :entities
|
|
@@ -148,21 +148,26 @@ module Google
|
|
|
148
148
|
end
|
|
149
149
|
end
|
|
150
150
|
|
|
151
|
-
#
|
|
151
|
+
# An **entity entry** for an associated entity type.
|
|
152
152
|
class GoogleCloudDialogflowV2EntityTypeEntity
|
|
153
153
|
include Google::Apis::Core::Hashable
|
|
154
154
|
|
|
155
|
-
# Required. A collection of synonyms. For
|
|
156
|
-
#
|
|
155
|
+
# Required. A collection of value synonyms. For example, if the entity type
|
|
156
|
+
# is *vegetable*, and `value` is *scallions*, a synonym could be *green
|
|
157
|
+
# onions*.
|
|
158
|
+
# For `KIND_LIST` entity types:
|
|
159
|
+
# * This collection must contain exactly one synonym equal to `value`.
|
|
157
160
|
# Corresponds to the JSON property `synonyms`
|
|
158
161
|
# @return [Array<String>]
|
|
159
162
|
attr_accessor :synonyms
|
|
160
163
|
|
|
161
|
-
# Required.
|
|
164
|
+
# Required. The primary value associated with this entity entry.
|
|
165
|
+
# For example, if the entity type is *vegetable*, the value could be
|
|
166
|
+
# *scallions*.
|
|
162
167
|
# For `KIND_MAP` entity types:
|
|
163
|
-
# A canonical
|
|
168
|
+
# * A canonical value to be used in place of synonyms.
|
|
164
169
|
# For `KIND_LIST` entity types:
|
|
165
|
-
# A string that can contain references to other entity types (with or
|
|
170
|
+
# * A string that can contain references to other entity types (with or
|
|
166
171
|
# without aliases).
|
|
167
172
|
# Corresponds to the JSON property `value`
|
|
168
173
|
# @return [String]
|
|
@@ -180,10 +185,10 @@ module Google
|
|
|
180
185
|
end
|
|
181
186
|
|
|
182
187
|
# Events allow for matching intents by event name instead of the natural
|
|
183
|
-
# language input. For instance, input `<event: ` name:
|
|
184
|
-
# parameters: ` name:
|
|
188
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
189
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
185
190
|
# The parameter `name` may be used by the agent in the response:
|
|
186
|
-
#
|
|
191
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
187
192
|
class GoogleCloudDialogflowV2EventInput
|
|
188
193
|
include Google::Apis::Core::Hashable
|
|
189
194
|
|
|
@@ -1406,10 +1411,10 @@ module Google
|
|
|
1406
1411
|
include Google::Apis::Core::Hashable
|
|
1407
1412
|
|
|
1408
1413
|
# Events allow for matching intents by event name instead of the natural
|
|
1409
|
-
# language input. For instance, input `<event: ` name:
|
|
1410
|
-
# parameters: ` name:
|
|
1414
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
1415
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
1411
1416
|
# The parameter `name` may be used by the agent in the response:
|
|
1412
|
-
#
|
|
1417
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
1413
1418
|
# Corresponds to the JSON property `followupEventInput`
|
|
1414
1419
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EventInput]
|
|
1415
1420
|
attr_accessor :followup_event_input
|
|
@@ -2111,7 +2116,7 @@ module Google
|
|
|
2111
2116
|
# @return [String]
|
|
2112
2117
|
attr_accessor :display_name
|
|
2113
2118
|
|
|
2114
|
-
# Optional. The collection of
|
|
2119
|
+
# Optional. The collection of entity entries associated with the entity type.
|
|
2115
2120
|
# Corresponds to the JSON property `entities`
|
|
2116
2121
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
|
2117
2122
|
attr_accessor :entities
|
|
@@ -2162,21 +2167,26 @@ module Google
|
|
|
2162
2167
|
end
|
|
2163
2168
|
end
|
|
2164
2169
|
|
|
2165
|
-
#
|
|
2170
|
+
# An **entity entry** for an associated entity type.
|
|
2166
2171
|
class GoogleCloudDialogflowV2beta1EntityTypeEntity
|
|
2167
2172
|
include Google::Apis::Core::Hashable
|
|
2168
2173
|
|
|
2169
|
-
# Required. A collection of synonyms. For
|
|
2170
|
-
#
|
|
2174
|
+
# Required. A collection of value synonyms. For example, if the entity type
|
|
2175
|
+
# is *vegetable*, and `value` is *scallions*, a synonym could be *green
|
|
2176
|
+
# onions*.
|
|
2177
|
+
# For `KIND_LIST` entity types:
|
|
2178
|
+
# * This collection must contain exactly one synonym equal to `value`.
|
|
2171
2179
|
# Corresponds to the JSON property `synonyms`
|
|
2172
2180
|
# @return [Array<String>]
|
|
2173
2181
|
attr_accessor :synonyms
|
|
2174
2182
|
|
|
2175
|
-
# Required.
|
|
2183
|
+
# Required. The primary value associated with this entity entry.
|
|
2184
|
+
# For example, if the entity type is *vegetable*, the value could be
|
|
2185
|
+
# *scallions*.
|
|
2176
2186
|
# For `KIND_MAP` entity types:
|
|
2177
|
-
# A canonical
|
|
2187
|
+
# * A canonical value to be used in place of synonyms.
|
|
2178
2188
|
# For `KIND_LIST` entity types:
|
|
2179
|
-
# A string that can contain references to other entity types (with or
|
|
2189
|
+
# * A string that can contain references to other entity types (with or
|
|
2180
2190
|
# without aliases).
|
|
2181
2191
|
# Corresponds to the JSON property `value`
|
|
2182
2192
|
# @return [String]
|
|
@@ -2194,10 +2204,10 @@ module Google
|
|
|
2194
2204
|
end
|
|
2195
2205
|
|
|
2196
2206
|
# Events allow for matching intents by event name instead of the natural
|
|
2197
|
-
# language input. For instance, input `<event: ` name:
|
|
2198
|
-
# parameters: ` name:
|
|
2207
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
2208
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
2199
2209
|
# The parameter `name` may be used by the agent in the response:
|
|
2200
|
-
#
|
|
2210
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
2201
2211
|
class GoogleCloudDialogflowV2beta1EventInput
|
|
2202
2212
|
include Google::Apis::Core::Hashable
|
|
2203
2213
|
|
|
@@ -3856,10 +3866,10 @@ module Google
|
|
|
3856
3866
|
attr_accessor :audio_config
|
|
3857
3867
|
|
|
3858
3868
|
# Events allow for matching intents by event name instead of the natural
|
|
3859
|
-
# language input. For instance, input `<event: ` name:
|
|
3860
|
-
# parameters: ` name:
|
|
3869
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
3870
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
3861
3871
|
# The parameter `name` may be used by the agent in the response:
|
|
3862
|
-
#
|
|
3872
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
3863
3873
|
# Corresponds to the JSON property `event`
|
|
3864
3874
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
|
|
3865
3875
|
attr_accessor :event
|
|
@@ -4487,10 +4497,10 @@ module Google
|
|
|
4487
4497
|
alias_method :end_interaction?, :end_interaction
|
|
4488
4498
|
|
|
4489
4499
|
# Events allow for matching intents by event name instead of the natural
|
|
4490
|
-
# language input. For instance, input `<event: ` name:
|
|
4491
|
-
# parameters: ` name:
|
|
4500
|
+
# language input. For instance, input `<event: ` name: "welcome_event",
|
|
4501
|
+
# parameters: ` name: "Sam" ` `>` can trigger a personalized welcome response.
|
|
4492
4502
|
# The parameter `name` may be used by the agent in the response:
|
|
4493
|
-
#
|
|
4503
|
+
# `"Hello #welcome_event.name! What can I do for you today?"`.
|
|
4494
4504
|
# Corresponds to the JSON property `followupEventInput`
|
|
4495
4505
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
|
|
4496
4506
|
attr_accessor :followup_event_input
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/bid-manager/
|
|
26
26
|
module DoubleclickbidmanagerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190125'
|
|
29
29
|
|
|
30
30
|
# View and manage your reports in DoubleClick Bid Manager
|
|
31
31
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/file_v1/service.rb'
|
|
16
|
+
require 'google/apis/file_v1/classes.rb'
|
|
17
|
+
require 'google/apis/file_v1/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# Cloud Filestore API
|
|
22
|
+
#
|
|
23
|
+
# The Cloud Filestore API is used for creating and managing cloud file servers.
|
|
24
|
+
#
|
|
25
|
+
# @see https://cloud.google.com/filestore/
|
|
26
|
+
module FileV1
|
|
27
|
+
VERSION = 'V1'
|
|
28
|
+
REVISION = '20190123'
|
|
29
|
+
|
|
30
|
+
# View and manage your data across Google Cloud Platform services
|
|
31
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'date'
|
|
16
|
+
require 'google/apis/core/base_service'
|
|
17
|
+
require 'google/apis/core/json_representation'
|
|
18
|
+
require 'google/apis/core/hashable'
|
|
19
|
+
require 'google/apis/errors'
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Apis
|
|
23
|
+
module FileV1
|
|
24
|
+
|
|
25
|
+
# The request message for Operations.CancelOperation.
|
|
26
|
+
class CancelOperationRequest
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
def initialize(**args)
|
|
30
|
+
update!(**args)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Update properties of this object
|
|
34
|
+
def update!(**args)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
39
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
40
|
+
# or the response type of an API method. For instance:
|
|
41
|
+
# service Foo `
|
|
42
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
43
|
+
# `
|
|
44
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
45
|
+
class Empty
|
|
46
|
+
include Google::Apis::Core::Hashable
|
|
47
|
+
|
|
48
|
+
def initialize(**args)
|
|
49
|
+
update!(**args)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Update properties of this object
|
|
53
|
+
def update!(**args)
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# File share configuration for the instance.
|
|
58
|
+
class FileShareConfig
|
|
59
|
+
include Google::Apis::Core::Hashable
|
|
60
|
+
|
|
61
|
+
# File share capacity in gigabytes (GB).
|
|
62
|
+
# Cloud Filestore defines 1 GB as 1024^3 bytes.
|
|
63
|
+
# Corresponds to the JSON property `capacityGb`
|
|
64
|
+
# @return [Fixnum]
|
|
65
|
+
attr_accessor :capacity_gb
|
|
66
|
+
|
|
67
|
+
# The name of the file share (must be 16 characters or less).
|
|
68
|
+
# Corresponds to the JSON property `name`
|
|
69
|
+
# @return [String]
|
|
70
|
+
attr_accessor :name
|
|
71
|
+
|
|
72
|
+
def initialize(**args)
|
|
73
|
+
update!(**args)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# Update properties of this object
|
|
77
|
+
def update!(**args)
|
|
78
|
+
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
|
|
79
|
+
@name = args[:name] if args.key?(:name)
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# A Cloud Filestore instance.
|
|
84
|
+
class Instance
|
|
85
|
+
include Google::Apis::Core::Hashable
|
|
86
|
+
|
|
87
|
+
# Output only.
|
|
88
|
+
# The time when the instance was created.
|
|
89
|
+
# Corresponds to the JSON property `createTime`
|
|
90
|
+
# @return [String]
|
|
91
|
+
attr_accessor :create_time
|
|
92
|
+
|
|
93
|
+
# Optional. A description of the instance (2048 characters or less).
|
|
94
|
+
# Corresponds to the JSON property `description`
|
|
95
|
+
# @return [String]
|
|
96
|
+
attr_accessor :description
|
|
97
|
+
|
|
98
|
+
# Server-specified ETag for the instance resource to prevent simultaneous
|
|
99
|
+
# updates from overwriting each other.
|
|
100
|
+
# Corresponds to the JSON property `etag`
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :etag
|
|
103
|
+
|
|
104
|
+
# File system shares on the instance.
|
|
105
|
+
# For this version, only a single file share is supported.
|
|
106
|
+
# Corresponds to the JSON property `fileShares`
|
|
107
|
+
# @return [Array<Google::Apis::FileV1::FileShareConfig>]
|
|
108
|
+
attr_accessor :file_shares
|
|
109
|
+
|
|
110
|
+
# Resource labels to represent user provided metadata.
|
|
111
|
+
# Corresponds to the JSON property `labels`
|
|
112
|
+
# @return [Hash<String,String>]
|
|
113
|
+
attr_accessor :labels
|
|
114
|
+
|
|
115
|
+
# Output only.
|
|
116
|
+
# The resource name of the instance, in the format
|
|
117
|
+
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
|
118
|
+
# Corresponds to the JSON property `name`
|
|
119
|
+
# @return [String]
|
|
120
|
+
attr_accessor :name
|
|
121
|
+
|
|
122
|
+
# VPC networks to which the instance is connected.
|
|
123
|
+
# For this version, only a single network is supported.
|
|
124
|
+
# Corresponds to the JSON property `networks`
|
|
125
|
+
# @return [Array<Google::Apis::FileV1::NetworkConfig>]
|
|
126
|
+
attr_accessor :networks
|
|
127
|
+
|
|
128
|
+
# Output only.
|
|
129
|
+
# The instance state.
|
|
130
|
+
# Corresponds to the JSON property `state`
|
|
131
|
+
# @return [String]
|
|
132
|
+
attr_accessor :state
|
|
133
|
+
|
|
134
|
+
# Output only.
|
|
135
|
+
# Additional information about the instance state, if available.
|
|
136
|
+
# Corresponds to the JSON property `statusMessage`
|
|
137
|
+
# @return [String]
|
|
138
|
+
attr_accessor :status_message
|
|
139
|
+
|
|
140
|
+
# The service tier of the instance.
|
|
141
|
+
# Corresponds to the JSON property `tier`
|
|
142
|
+
# @return [String]
|
|
143
|
+
attr_accessor :tier
|
|
144
|
+
|
|
145
|
+
def initialize(**args)
|
|
146
|
+
update!(**args)
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Update properties of this object
|
|
150
|
+
def update!(**args)
|
|
151
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
152
|
+
@description = args[:description] if args.key?(:description)
|
|
153
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
154
|
+
@file_shares = args[:file_shares] if args.key?(:file_shares)
|
|
155
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
156
|
+
@name = args[:name] if args.key?(:name)
|
|
157
|
+
@networks = args[:networks] if args.key?(:networks)
|
|
158
|
+
@state = args[:state] if args.key?(:state)
|
|
159
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
160
|
+
@tier = args[:tier] if args.key?(:tier)
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# ListInstancesResponse is the result of ListInstancesRequest.
|
|
165
|
+
class ListInstancesResponse
|
|
166
|
+
include Google::Apis::Core::Hashable
|
|
167
|
+
|
|
168
|
+
# A list of instances in the project for the specified location.
|
|
169
|
+
# If the `location` value in the request is "-", the response contains a list
|
|
170
|
+
# of instances from all locations. If any location is unreachable, the
|
|
171
|
+
# response will only return instances in reachable locations and the
|
|
172
|
+
# "unreachable" field will be populated with a list of unreachable locations.
|
|
173
|
+
# Corresponds to the JSON property `instances`
|
|
174
|
+
# @return [Array<Google::Apis::FileV1::Instance>]
|
|
175
|
+
attr_accessor :instances
|
|
176
|
+
|
|
177
|
+
# The token you can use to retrieve the next page of results. Not returned
|
|
178
|
+
# if there are no more results in the list.
|
|
179
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
180
|
+
# @return [String]
|
|
181
|
+
attr_accessor :next_page_token
|
|
182
|
+
|
|
183
|
+
# Locations that could not be reached.
|
|
184
|
+
# Corresponds to the JSON property `unreachable`
|
|
185
|
+
# @return [Array<String>]
|
|
186
|
+
attr_accessor :unreachable
|
|
187
|
+
|
|
188
|
+
def initialize(**args)
|
|
189
|
+
update!(**args)
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
# Update properties of this object
|
|
193
|
+
def update!(**args)
|
|
194
|
+
@instances = args[:instances] if args.key?(:instances)
|
|
195
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
196
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# The response message for Locations.ListLocations.
|
|
201
|
+
class ListLocationsResponse
|
|
202
|
+
include Google::Apis::Core::Hashable
|
|
203
|
+
|
|
204
|
+
# A list of locations that matches the specified filter in the request.
|
|
205
|
+
# Corresponds to the JSON property `locations`
|
|
206
|
+
# @return [Array<Google::Apis::FileV1::Location>]
|
|
207
|
+
attr_accessor :locations
|
|
208
|
+
|
|
209
|
+
# The standard List next-page token.
|
|
210
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
211
|
+
# @return [String]
|
|
212
|
+
attr_accessor :next_page_token
|
|
213
|
+
|
|
214
|
+
def initialize(**args)
|
|
215
|
+
update!(**args)
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Update properties of this object
|
|
219
|
+
def update!(**args)
|
|
220
|
+
@locations = args[:locations] if args.key?(:locations)
|
|
221
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
|
|
225
|
+
# The response message for Operations.ListOperations.
|
|
226
|
+
class ListOperationsResponse
|
|
227
|
+
include Google::Apis::Core::Hashable
|
|
228
|
+
|
|
229
|
+
# The standard List next-page token.
|
|
230
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
231
|
+
# @return [String]
|
|
232
|
+
attr_accessor :next_page_token
|
|
233
|
+
|
|
234
|
+
# A list of operations that matches the specified filter in the request.
|
|
235
|
+
# Corresponds to the JSON property `operations`
|
|
236
|
+
# @return [Array<Google::Apis::FileV1::Operation>]
|
|
237
|
+
attr_accessor :operations
|
|
238
|
+
|
|
239
|
+
def initialize(**args)
|
|
240
|
+
update!(**args)
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
# Update properties of this object
|
|
244
|
+
def update!(**args)
|
|
245
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
246
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# A resource that represents Google Cloud Platform location.
|
|
251
|
+
class Location
|
|
252
|
+
include Google::Apis::Core::Hashable
|
|
253
|
+
|
|
254
|
+
# The friendly name for this location, typically a nearby city name.
|
|
255
|
+
# For example, "Tokyo".
|
|
256
|
+
# Corresponds to the JSON property `displayName`
|
|
257
|
+
# @return [String]
|
|
258
|
+
attr_accessor :display_name
|
|
259
|
+
|
|
260
|
+
# Cross-service attributes for the location. For example
|
|
261
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
|
262
|
+
# Corresponds to the JSON property `labels`
|
|
263
|
+
# @return [Hash<String,String>]
|
|
264
|
+
attr_accessor :labels
|
|
265
|
+
|
|
266
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
|
267
|
+
# Corresponds to the JSON property `locationId`
|
|
268
|
+
# @return [String]
|
|
269
|
+
attr_accessor :location_id
|
|
270
|
+
|
|
271
|
+
# Service-specific metadata. For example the available capacity at the given
|
|
272
|
+
# location.
|
|
273
|
+
# Corresponds to the JSON property `metadata`
|
|
274
|
+
# @return [Hash<String,Object>]
|
|
275
|
+
attr_accessor :metadata
|
|
276
|
+
|
|
277
|
+
# Resource name for the location, which may vary between implementations.
|
|
278
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
|
279
|
+
# Corresponds to the JSON property `name`
|
|
280
|
+
# @return [String]
|
|
281
|
+
attr_accessor :name
|
|
282
|
+
|
|
283
|
+
def initialize(**args)
|
|
284
|
+
update!(**args)
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Update properties of this object
|
|
288
|
+
def update!(**args)
|
|
289
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
290
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
291
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
292
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
293
|
+
@name = args[:name] if args.key?(:name)
|
|
294
|
+
end
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Network configuration for the instance.
|
|
298
|
+
class NetworkConfig
|
|
299
|
+
include Google::Apis::Core::Hashable
|
|
300
|
+
|
|
301
|
+
# Output only.
|
|
302
|
+
# IPv4 addresses in the format
|
|
303
|
+
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
|
|
304
|
+
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block 7`:`block 8`
|
|
305
|
+
# .
|
|
306
|
+
# Corresponds to the JSON property `ipAddresses`
|
|
307
|
+
# @return [Array<String>]
|
|
308
|
+
attr_accessor :ip_addresses
|
|
309
|
+
|
|
310
|
+
# Internet protocol versions for which the instance has IP addresses
|
|
311
|
+
# assigned. For this version, only MODE_IPV4 is supported.
|
|
312
|
+
# Corresponds to the JSON property `modes`
|
|
313
|
+
# @return [Array<String>]
|
|
314
|
+
attr_accessor :modes
|
|
315
|
+
|
|
316
|
+
# The name of the Google Compute Engine
|
|
317
|
+
# [VPC network](/compute/docs/networks-and-firewalls#networks) to which the
|
|
318
|
+
# instance is connected.
|
|
319
|
+
# Corresponds to the JSON property `network`
|
|
320
|
+
# @return [String]
|
|
321
|
+
attr_accessor :network
|
|
322
|
+
|
|
323
|
+
# A /29 CIDR block in one of the
|
|
324
|
+
# [internal IP address ranges](https://www.arin.net/knowledge/address_filters.
|
|
325
|
+
# html)
|
|
326
|
+
# that identifies the range of IP addresses reserved for this
|
|
327
|
+
# instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify
|
|
328
|
+
# can't overlap with either existing subnets or assigned IP address ranges
|
|
329
|
+
# for other Cloud Filestore instances in the selected VPC network.
|
|
330
|
+
# Corresponds to the JSON property `reservedIpRange`
|
|
331
|
+
# @return [String]
|
|
332
|
+
attr_accessor :reserved_ip_range
|
|
333
|
+
|
|
334
|
+
def initialize(**args)
|
|
335
|
+
update!(**args)
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Update properties of this object
|
|
339
|
+
def update!(**args)
|
|
340
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
|
341
|
+
@modes = args[:modes] if args.key?(:modes)
|
|
342
|
+
@network = args[:network] if args.key?(:network)
|
|
343
|
+
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
|
|
344
|
+
end
|
|
345
|
+
end
|
|
346
|
+
|
|
347
|
+
# This resource represents a long-running operation that is the result of a
|
|
348
|
+
# network API call.
|
|
349
|
+
class Operation
|
|
350
|
+
include Google::Apis::Core::Hashable
|
|
351
|
+
|
|
352
|
+
# If the value is `false`, it means the operation is still in progress.
|
|
353
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
|
354
|
+
# available.
|
|
355
|
+
# Corresponds to the JSON property `done`
|
|
356
|
+
# @return [Boolean]
|
|
357
|
+
attr_accessor :done
|
|
358
|
+
alias_method :done?, :done
|
|
359
|
+
|
|
360
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
361
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
362
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
363
|
+
# - Simple to use and understand for most users
|
|
364
|
+
# - Flexible enough to meet unexpected needs
|
|
365
|
+
# # Overview
|
|
366
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
|
367
|
+
# and error details. The error code should be an enum value of
|
|
368
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
369
|
+
# error message should be a developer-facing English message that helps
|
|
370
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
371
|
+
# error message is needed, put the localized message in the error details or
|
|
372
|
+
# localize it in the client. The optional error details may contain arbitrary
|
|
373
|
+
# information about the error. There is a predefined set of error detail types
|
|
374
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
|
375
|
+
# # Language mapping
|
|
376
|
+
# The `Status` message is the logical representation of the error model, but it
|
|
377
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
|
378
|
+
# exposed in different client libraries and different wire protocols, it can be
|
|
379
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
380
|
+
# in Java, but more likely mapped to some error codes in C.
|
|
381
|
+
# # Other uses
|
|
382
|
+
# The error model and the `Status` message can be used in a variety of
|
|
383
|
+
# environments, either with or without APIs, to provide a
|
|
384
|
+
# consistent developer experience across different environments.
|
|
385
|
+
# Example uses of this error model include:
|
|
386
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
|
387
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
|
388
|
+
# errors.
|
|
389
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
390
|
+
# have a `Status` message for error reporting.
|
|
391
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
|
392
|
+
# `Status` message should be used directly inside batch response, one for
|
|
393
|
+
# each error sub-response.
|
|
394
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
395
|
+
# results in its response, the status of those operations should be
|
|
396
|
+
# represented directly using the `Status` message.
|
|
397
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
398
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
|
399
|
+
# Corresponds to the JSON property `error`
|
|
400
|
+
# @return [Google::Apis::FileV1::Status]
|
|
401
|
+
attr_accessor :error
|
|
402
|
+
|
|
403
|
+
# Service-specific metadata associated with the operation. It typically
|
|
404
|
+
# contains progress information and common metadata such as create time.
|
|
405
|
+
# Some services might not provide such metadata. Any method that returns a
|
|
406
|
+
# long-running operation should document the metadata type, if any.
|
|
407
|
+
# Corresponds to the JSON property `metadata`
|
|
408
|
+
# @return [Hash<String,Object>]
|
|
409
|
+
attr_accessor :metadata
|
|
410
|
+
|
|
411
|
+
# The server-assigned name, which is only unique within the same service that
|
|
412
|
+
# originally returns it. If you use the default HTTP mapping, the
|
|
413
|
+
# `name` should have the format of `operations/some/unique/name`.
|
|
414
|
+
# Corresponds to the JSON property `name`
|
|
415
|
+
# @return [String]
|
|
416
|
+
attr_accessor :name
|
|
417
|
+
|
|
418
|
+
# The normal response of the operation in case of success. If the original
|
|
419
|
+
# method returns no data on success, such as `Delete`, the response is
|
|
420
|
+
# `google.protobuf.Empty`. If the original method is standard
|
|
421
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
|
422
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
|
423
|
+
# is the original method name. For example, if the original method name
|
|
424
|
+
# is `TakeSnapshot()`, the inferred response type is
|
|
425
|
+
# `TakeSnapshotResponse`.
|
|
426
|
+
# Corresponds to the JSON property `response`
|
|
427
|
+
# @return [Hash<String,Object>]
|
|
428
|
+
attr_accessor :response
|
|
429
|
+
|
|
430
|
+
def initialize(**args)
|
|
431
|
+
update!(**args)
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Update properties of this object
|
|
435
|
+
def update!(**args)
|
|
436
|
+
@done = args[:done] if args.key?(:done)
|
|
437
|
+
@error = args[:error] if args.key?(:error)
|
|
438
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
439
|
+
@name = args[:name] if args.key?(:name)
|
|
440
|
+
@response = args[:response] if args.key?(:response)
|
|
441
|
+
end
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
# Represents the metadata of the long-running operation.
|
|
445
|
+
class OperationMetadata
|
|
446
|
+
include Google::Apis::Core::Hashable
|
|
447
|
+
|
|
448
|
+
# [Output only] API version used to start the operation.
|
|
449
|
+
# Corresponds to the JSON property `apiVersion`
|
|
450
|
+
# @return [String]
|
|
451
|
+
attr_accessor :api_version
|
|
452
|
+
|
|
453
|
+
# [Output only] Identifies whether the user has requested cancellation
|
|
454
|
+
# of the operation. Operations that have successfully been cancelled
|
|
455
|
+
# have Operation.error value with a google.rpc.Status.code of 1,
|
|
456
|
+
# corresponding to `Code.CANCELLED`.
|
|
457
|
+
# Corresponds to the JSON property `cancelRequested`
|
|
458
|
+
# @return [Boolean]
|
|
459
|
+
attr_accessor :cancel_requested
|
|
460
|
+
alias_method :cancel_requested?, :cancel_requested
|
|
461
|
+
|
|
462
|
+
# [Output only] The time the operation was created.
|
|
463
|
+
# Corresponds to the JSON property `createTime`
|
|
464
|
+
# @return [String]
|
|
465
|
+
attr_accessor :create_time
|
|
466
|
+
|
|
467
|
+
# [Output only] The time the operation finished running.
|
|
468
|
+
# Corresponds to the JSON property `endTime`
|
|
469
|
+
# @return [String]
|
|
470
|
+
attr_accessor :end_time
|
|
471
|
+
|
|
472
|
+
# [Output only] Human-readable status of the operation, if any.
|
|
473
|
+
# Corresponds to the JSON property `statusDetail`
|
|
474
|
+
# @return [String]
|
|
475
|
+
attr_accessor :status_detail
|
|
476
|
+
|
|
477
|
+
# [Output only] Server-defined resource path for the target of the operation.
|
|
478
|
+
# Corresponds to the JSON property `target`
|
|
479
|
+
# @return [String]
|
|
480
|
+
attr_accessor :target
|
|
481
|
+
|
|
482
|
+
# [Output only] Name of the verb executed by the operation.
|
|
483
|
+
# Corresponds to the JSON property `verb`
|
|
484
|
+
# @return [String]
|
|
485
|
+
attr_accessor :verb
|
|
486
|
+
|
|
487
|
+
def initialize(**args)
|
|
488
|
+
update!(**args)
|
|
489
|
+
end
|
|
490
|
+
|
|
491
|
+
# Update properties of this object
|
|
492
|
+
def update!(**args)
|
|
493
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
494
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
|
495
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
496
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
497
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
|
498
|
+
@target = args[:target] if args.key?(:target)
|
|
499
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
500
|
+
end
|
|
501
|
+
end
|
|
502
|
+
|
|
503
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
504
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
505
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
506
|
+
# - Simple to use and understand for most users
|
|
507
|
+
# - Flexible enough to meet unexpected needs
|
|
508
|
+
# # Overview
|
|
509
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
|
510
|
+
# and error details. The error code should be an enum value of
|
|
511
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
512
|
+
# error message should be a developer-facing English message that helps
|
|
513
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
514
|
+
# error message is needed, put the localized message in the error details or
|
|
515
|
+
# localize it in the client. The optional error details may contain arbitrary
|
|
516
|
+
# information about the error. There is a predefined set of error detail types
|
|
517
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
|
518
|
+
# # Language mapping
|
|
519
|
+
# The `Status` message is the logical representation of the error model, but it
|
|
520
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
|
521
|
+
# exposed in different client libraries and different wire protocols, it can be
|
|
522
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
523
|
+
# in Java, but more likely mapped to some error codes in C.
|
|
524
|
+
# # Other uses
|
|
525
|
+
# The error model and the `Status` message can be used in a variety of
|
|
526
|
+
# environments, either with or without APIs, to provide a
|
|
527
|
+
# consistent developer experience across different environments.
|
|
528
|
+
# Example uses of this error model include:
|
|
529
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
|
530
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
|
531
|
+
# errors.
|
|
532
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
533
|
+
# have a `Status` message for error reporting.
|
|
534
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
|
535
|
+
# `Status` message should be used directly inside batch response, one for
|
|
536
|
+
# each error sub-response.
|
|
537
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
538
|
+
# results in its response, the status of those operations should be
|
|
539
|
+
# represented directly using the `Status` message.
|
|
540
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
541
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
|
542
|
+
class Status
|
|
543
|
+
include Google::Apis::Core::Hashable
|
|
544
|
+
|
|
545
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
546
|
+
# Corresponds to the JSON property `code`
|
|
547
|
+
# @return [Fixnum]
|
|
548
|
+
attr_accessor :code
|
|
549
|
+
|
|
550
|
+
# A list of messages that carry the error details. There is a common set of
|
|
551
|
+
# message types for APIs to use.
|
|
552
|
+
# Corresponds to the JSON property `details`
|
|
553
|
+
# @return [Array<Hash<String,Object>>]
|
|
554
|
+
attr_accessor :details
|
|
555
|
+
|
|
556
|
+
# A developer-facing error message, which should be in English. Any
|
|
557
|
+
# user-facing error message should be localized and sent in the
|
|
558
|
+
# google.rpc.Status.details field, or localized by the client.
|
|
559
|
+
# Corresponds to the JSON property `message`
|
|
560
|
+
# @return [String]
|
|
561
|
+
attr_accessor :message
|
|
562
|
+
|
|
563
|
+
def initialize(**args)
|
|
564
|
+
update!(**args)
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# Update properties of this object
|
|
568
|
+
def update!(**args)
|
|
569
|
+
@code = args[:code] if args.key?(:code)
|
|
570
|
+
@details = args[:details] if args.key?(:details)
|
|
571
|
+
@message = args[:message] if args.key?(:message)
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
end
|
|
576
|
+
end
|