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
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/gmail/api/
|
|
26
26
|
module GmailV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190120'
|
|
29
29
|
|
|
30
30
|
# Read, compose, send, and permanently delete all your email from Gmail
|
|
31
31
|
AUTH_SCOPE = 'https://mail.google.com/'
|
|
@@ -778,7 +778,9 @@ module Google
|
|
|
778
778
|
class ListMessagesResponse
|
|
779
779
|
include Google::Apis::Core::Hashable
|
|
780
780
|
|
|
781
|
-
# List of messages.
|
|
781
|
+
# List of messages. Note that each message resource contains only an id and a
|
|
782
|
+
# threadId. Additional message details can be fetched using the messages.get
|
|
783
|
+
# method.
|
|
782
784
|
# Corresponds to the JSON property `messages`
|
|
783
785
|
# @return [Array<Google::Apis::GmailV1::Message>]
|
|
784
786
|
attr_accessor :messages
|
|
@@ -857,7 +859,9 @@ module Google
|
|
|
857
859
|
# @return [Fixnum]
|
|
858
860
|
attr_accessor :result_size_estimate
|
|
859
861
|
|
|
860
|
-
# List of threads.
|
|
862
|
+
# List of threads. Note that each thread resource does not contain a list of
|
|
863
|
+
# messages. The list of messages for a given thread can be fetched using the
|
|
864
|
+
# threads.get method.
|
|
861
865
|
# Corresponds to the JSON property `threads`
|
|
862
866
|
# @return [Array<Google::Apis::GmailV1::Thread>]
|
|
863
867
|
attr_accessor :threads
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV3
|
|
28
28
|
VERSION = 'V3'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190123'
|
|
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'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV3p1beta1
|
|
28
28
|
VERSION = 'V3p1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190123'
|
|
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'
|
|
@@ -1477,9 +1477,9 @@ module Google
|
|
|
1477
1477
|
# The job PostingRegion (for example, state, country) throughout which
|
|
1478
1478
|
# the job is available. If this field is set, a
|
|
1479
1479
|
# LocationFilter in a search query within the job region
|
|
1480
|
-
# finds this job posting if an exact location match
|
|
1481
|
-
# If this field is set to PostingRegion.
|
|
1482
|
-
#
|
|
1480
|
+
# finds this job posting if an exact location match isn't specified.
|
|
1481
|
+
# If this field is set to PostingRegion.NATION or
|
|
1482
|
+
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
|
|
1483
1483
|
# to the same location level as this field is strongly recommended.
|
|
1484
1484
|
# Corresponds to the JSON property `postingRegion`
|
|
1485
1485
|
# @return [String]
|
|
@@ -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 = '20190123'
|
|
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'
|
|
@@ -47,6 +47,39 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# Deletes a long-running operation. This method indicates that the client is
|
|
51
|
+
# no longer interested in the operation result. It does not cancel the
|
|
52
|
+
# operation. If the server doesn't support this method, it returns
|
|
53
|
+
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
54
|
+
# @param [String] name
|
|
55
|
+
# The name of the operation resource to be deleted.
|
|
56
|
+
# @param [String] fields
|
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
|
58
|
+
# @param [String] quota_user
|
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
|
62
|
+
# Request-specific options
|
|
63
|
+
#
|
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
|
65
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
67
|
+
#
|
|
68
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
|
69
|
+
#
|
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
73
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
74
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
75
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
|
76
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
|
77
|
+
command.params['name'] = name unless name.nil?
|
|
78
|
+
command.query['fields'] = fields unless fields.nil?
|
|
79
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
80
|
+
execute_or_queue_command(command, &block)
|
|
81
|
+
end
|
|
82
|
+
|
|
50
83
|
# Get the service account information associated with your project. You need
|
|
51
84
|
# this information in order to grant the service account permissions for
|
|
52
85
|
# the Google Cloud Storage location where you put your model training code
|
|
@@ -1096,39 +1129,6 @@ module Google
|
|
|
1096
1129
|
execute_or_queue_command(command, &block)
|
|
1097
1130
|
end
|
|
1098
1131
|
|
|
1099
|
-
# Deletes a long-running operation. This method indicates that the client is
|
|
1100
|
-
# no longer interested in the operation result. It does not cancel the
|
|
1101
|
-
# operation. If the server doesn't support this method, it returns
|
|
1102
|
-
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
1103
|
-
# @param [String] name
|
|
1104
|
-
# The name of the operation resource to be deleted.
|
|
1105
|
-
# @param [String] fields
|
|
1106
|
-
# Selector specifying which fields to include in a partial response.
|
|
1107
|
-
# @param [String] quota_user
|
|
1108
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1109
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1110
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1111
|
-
# Request-specific options
|
|
1112
|
-
#
|
|
1113
|
-
# @yield [result, err] Result & error if block supplied
|
|
1114
|
-
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
|
1115
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1116
|
-
#
|
|
1117
|
-
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
|
1118
|
-
#
|
|
1119
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1120
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1121
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1122
|
-
def delete_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1123
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
1124
|
-
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
|
1125
|
-
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
|
1126
|
-
command.params['name'] = name unless name.nil?
|
|
1127
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1128
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1129
|
-
execute_or_queue_command(command, &block)
|
|
1130
|
-
end
|
|
1131
|
-
|
|
1132
1132
|
# Gets the latest state of a long-running operation. Clients can use this
|
|
1133
1133
|
# method to poll the operation result at intervals as recommended by the API
|
|
1134
1134
|
# service.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
|
28
28
|
module MonitoringV3
|
|
29
29
|
VERSION = 'V3'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190122'
|
|
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'
|
|
@@ -2869,7 +2869,7 @@ module Google
|
|
|
2869
2869
|
|
|
2870
2870
|
# How often, in seconds, the uptime check is performed. Currently, the only
|
|
2871
2871
|
# supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and
|
|
2872
|
-
# 900s (15 minutes). Optional, defaults to
|
|
2872
|
+
# 900s (15 minutes). Optional, defaults to 60s.
|
|
2873
2873
|
# Corresponds to the JSON property `period`
|
|
2874
2874
|
# @return [String]
|
|
2875
2875
|
attr_accessor :period
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190116'
|
|
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'
|
|
@@ -65,7 +65,8 @@ module Google
|
|
|
65
65
|
# the request, the server will assign a random
|
|
66
66
|
# name for this snapshot on the same project as the subscription, conforming
|
|
67
67
|
# to the
|
|
68
|
-
# [resource name format](https://cloud.google.com/pubsub/docs/
|
|
68
|
+
# [resource name format](https://cloud.google.com/pubsub/docs/admin#
|
|
69
|
+
# resource_names).
|
|
69
70
|
# The generated name is populated in the returned Snapshot object. Note that
|
|
70
71
|
# for REST API requests, you must specify a name in the request.
|
|
71
72
|
# @param [String] name
|
|
@@ -430,7 +431,8 @@ module Google
|
|
|
430
431
|
# If the name is not provided in the request, the server will assign a random
|
|
431
432
|
# name for this subscription on the same project as the topic, conforming
|
|
432
433
|
# to the
|
|
433
|
-
# [resource name format](https://cloud.google.com/pubsub/docs/
|
|
434
|
+
# [resource name format](https://cloud.google.com/pubsub/docs/admin#
|
|
435
|
+
# resource_names).
|
|
434
436
|
# The generated name is populated in the returned Subscription object.
|
|
435
437
|
# Note that for REST API requests, you must specify a name in the request.
|
|
436
438
|
# @param [String] name
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
|
26
26
|
module ServiceconsumermanagementV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190119'
|
|
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'
|
|
@@ -310,6 +310,8 @@ module Google
|
|
|
310
310
|
# New billing configuration will be applied if specified.
|
|
311
311
|
# Omit billing configuration to keep the existing one.
|
|
312
312
|
# Service account in the project will be created if previously non existing.
|
|
313
|
+
# Specified folder will be ignored, moving tenant project to a different
|
|
314
|
+
# folder is not supported.
|
|
313
315
|
# Operation fails if any of the steps fail, but no rollback of already
|
|
314
316
|
# applied configuration changes is attempted.
|
|
315
317
|
# Operation<response: Empty>.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
|
27
27
|
module ServicenetworkingV1beta
|
|
28
28
|
VERSION = 'V1beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190124'
|
|
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'
|
|
@@ -128,21 +128,19 @@ module Google
|
|
|
128
128
|
execute_or_queue_command(command, &block)
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
#
|
|
132
|
-
#
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
#
|
|
139
|
-
# @param [
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
# @param [
|
|
144
|
-
# The update mask. If this is omitted, it defaults to "*". You can only
|
|
145
|
-
# update the listed peering ranges.
|
|
131
|
+
# Service producers can use this method to find a currently unused range
|
|
132
|
+
# within consumer allocated ranges. This returned range is not reserved,
|
|
133
|
+
# and not guaranteed to remain unused.
|
|
134
|
+
# It will validate previously provided allocated ranges, find
|
|
135
|
+
# non-conflicting sub-range of requested size (expressed in
|
|
136
|
+
# number of leading bits of ipv4 network mask, as in CIDR range
|
|
137
|
+
# notation).
|
|
138
|
+
# Operation<response: Range>
|
|
139
|
+
# @param [String] parent
|
|
140
|
+
# Required. This is in a form services/`service`.
|
|
141
|
+
# `service` the name of the private access management service, for example
|
|
142
|
+
# 'service-peering.example.com'.
|
|
143
|
+
# @param [Google::Apis::ServicenetworkingV1beta::SearchRangeRequest] search_range_request_object
|
|
146
144
|
# @param [String] fields
|
|
147
145
|
# Selector specifying which fields to include in a partial response.
|
|
148
146
|
# @param [String] quota_user
|
|
@@ -160,33 +158,33 @@ module Google
|
|
|
160
158
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
161
159
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
162
160
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
163
|
-
def
|
|
164
|
-
command = make_simple_command(:
|
|
165
|
-
command.request_representation = Google::Apis::ServicenetworkingV1beta::
|
|
166
|
-
command.request_object =
|
|
161
|
+
def search_service_range(parent, search_range_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
162
|
+
command = make_simple_command(:post, 'v1beta/{+parent}:searchRange', options)
|
|
163
|
+
command.request_representation = Google::Apis::ServicenetworkingV1beta::SearchRangeRequest::Representation
|
|
164
|
+
command.request_object = search_range_request_object
|
|
167
165
|
command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
|
|
168
166
|
command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
|
|
169
|
-
command.params['
|
|
170
|
-
command.query['force'] = force unless force.nil?
|
|
171
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
167
|
+
command.params['parent'] = parent unless parent.nil?
|
|
172
168
|
command.query['fields'] = fields unless fields.nil?
|
|
173
169
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
174
170
|
execute_or_queue_command(command, &block)
|
|
175
171
|
end
|
|
176
172
|
|
|
177
|
-
#
|
|
178
|
-
#
|
|
179
|
-
#
|
|
180
|
-
#
|
|
181
|
-
#
|
|
182
|
-
#
|
|
183
|
-
#
|
|
184
|
-
#
|
|
185
|
-
# @param [
|
|
186
|
-
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
# @param [
|
|
173
|
+
# Updates the allocated ranges that are assigned to a connection.
|
|
174
|
+
# The response from the `get` operation will be of type `Connection` if the
|
|
175
|
+
# operation successfully completes.
|
|
176
|
+
# @param [String] name
|
|
177
|
+
# The service producer peering service that is managing peering connectivity
|
|
178
|
+
# for a service producer organization.
|
|
179
|
+
# For Google services that support this functionality, this is
|
|
180
|
+
# `services/servicenetworking.googleapis.com`.
|
|
181
|
+
# @param [Google::Apis::ServicenetworkingV1beta::Connection] connection_object
|
|
182
|
+
# @param [Boolean] force
|
|
183
|
+
# If a previously defined allocated range is removed, force flag must be
|
|
184
|
+
# set to true.
|
|
185
|
+
# @param [String] update_mask
|
|
186
|
+
# The update mask. If this is omitted, it defaults to "*". You can only
|
|
187
|
+
# update the listed peering ranges.
|
|
190
188
|
# @param [String] fields
|
|
191
189
|
# Selector specifying which fields to include in a partial response.
|
|
192
190
|
# @param [String] quota_user
|
|
@@ -204,13 +202,15 @@ module Google
|
|
|
204
202
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
205
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
206
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
207
|
-
def
|
|
208
|
-
command = make_simple_command(:
|
|
209
|
-
command.request_representation = Google::Apis::ServicenetworkingV1beta::
|
|
210
|
-
command.request_object =
|
|
205
|
+
def update_service_connections(name, connection_object = nil, force: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
206
|
+
command = make_simple_command(:patch, 'v1beta/{+name}/connections', options)
|
|
207
|
+
command.request_representation = Google::Apis::ServicenetworkingV1beta::Connection::Representation
|
|
208
|
+
command.request_object = connection_object
|
|
211
209
|
command.response_representation = Google::Apis::ServicenetworkingV1beta::Operation::Representation
|
|
212
210
|
command.response_class = Google::Apis::ServicenetworkingV1beta::Operation
|
|
213
|
-
command.params['
|
|
211
|
+
command.params['name'] = name unless name.nil?
|
|
212
|
+
command.query['force'] = force unless force.nil?
|
|
213
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
214
214
|
command.query['fields'] = fields unless fields.nil?
|
|
215
215
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
216
216
|
execute_or_queue_command(command, &block)
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
|
27
27
|
module TestingV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190123'
|
|
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'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
|
26
26
|
module TexttospeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190118'
|
|
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'
|
|
@@ -31,6 +31,17 @@ module Google
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :audio_encoding
|
|
33
33
|
|
|
34
|
+
# An identifier which selects 'audio effects' profiles that are applied on
|
|
35
|
+
# (post synthesized) text to speech.
|
|
36
|
+
# Effects are applied on top of each other in the order they are given.
|
|
37
|
+
# See
|
|
38
|
+
# [audio-profiles](https:
|
|
39
|
+
# //cloud.google.com/text-to-speech/docs/audio-profiles)
|
|
40
|
+
# for current supported profile ids.
|
|
41
|
+
# Corresponds to the JSON property `effectsProfileId`
|
|
42
|
+
# @return [Array<String>]
|
|
43
|
+
attr_accessor :effects_profile_id
|
|
44
|
+
|
|
34
45
|
# Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
|
|
35
46
|
# semitones from the original pitch. -20 means decrease 20 semitones from the
|
|
36
47
|
# original pitch.
|
|
@@ -75,6 +86,7 @@ module Google
|
|
|
75
86
|
# Update properties of this object
|
|
76
87
|
def update!(**args)
|
|
77
88
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
|
89
|
+
@effects_profile_id = args[:effects_profile_id] if args.key?(:effects_profile_id)
|
|
78
90
|
@pitch = args[:pitch] if args.key?(:pitch)
|
|
79
91
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
|
80
92
|
@speaking_rate = args[:speaking_rate] if args.key?(:speaking_rate)
|
|
@@ -68,6 +68,7 @@ module Google
|
|
|
68
68
|
# @private
|
|
69
69
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
70
70
|
property :audio_encoding, as: 'audioEncoding'
|
|
71
|
+
collection :effects_profile_id, as: 'effectsProfileId'
|
|
71
72
|
property :pitch, as: 'pitch'
|
|
72
73
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
|
73
74
|
property :speaking_rate, as: 'speakingRate'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
|
26
26
|
module ToolresultsV1beta3
|
|
27
27
|
VERSION = 'V1beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190124'
|
|
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'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190119'
|
|
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'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1p1beta1
|
|
29
29
|
VERSION = 'V1p1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190119'
|
|
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'
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1p2beta1
|
|
29
29
|
VERSION = 'V1p2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190119'
|
|
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'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
|
26
26
|
module YoutubePartnerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190121'
|
|
29
29
|
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|