google-api-client 0.28.3 → 0.28.4
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 +18 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +3 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +98 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +21 -0
- data/generated/google/apis/admin_directory_v1/service.rb +12 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +29 -3
- data/generated/google/apis/androidenterprise_v1/representations.rb +15 -0
- data/generated/google/apis/bigtableadmin_v1.rb +31 -0
- data/generated/google/apis/bigtableadmin_v1/classes.rb +510 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +234 -0
- data/generated/google/apis/bigtableadmin_v1/service.rb +128 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/discovery_v1.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +7 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/docs_v1.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +21 -21
- data/generated/google/apis/docs_v1/service.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +40 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -37
- data/generated/google/apis/iam_v1/representations.rb +0 -15
- data/generated/google/apis/iam_v1/service.rb +8 -44
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +15 -11
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -1744,6 +1744,7 @@ module Google
|
|
1744
1744
|
class GooglePrivacyDlpV2InfoTypeDescription
|
1745
1745
|
# @private
|
1746
1746
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1747
|
+
property :description, as: 'description'
|
1747
1748
|
property :display_name, as: 'displayName'
|
1748
1749
|
property :name, as: 'name'
|
1749
1750
|
collection :supported_by, as: 'supportedBy'
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Docs API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Reads and writes Google Docs documents.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/docs/
|
26
26
|
module DocsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190129'
|
29
29
|
|
30
30
|
# View and manage your Google Docs documents
|
31
31
|
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
include Google::Apis::Core::Hashable
|
191
191
|
|
192
192
|
# The contents of the body.
|
193
|
-
# The
|
193
|
+
# The indexes for the body's content begin at zero.
|
194
194
|
# Corresponds to the JSON property `content`
|
195
195
|
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
196
196
|
attr_accessor :content
|
@@ -1417,7 +1417,7 @@ module Google
|
|
1417
1417
|
include Google::Apis::Core::Hashable
|
1418
1418
|
|
1419
1419
|
# The contents of the footer.
|
1420
|
-
# The
|
1420
|
+
# The indexes for a footer's content begin at zero.
|
1421
1421
|
# Corresponds to the JSON property `content`
|
1422
1422
|
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
1423
1423
|
attr_accessor :content
|
@@ -1443,7 +1443,7 @@ module Google
|
|
1443
1443
|
include Google::Apis::Core::Hashable
|
1444
1444
|
|
1445
1445
|
# The contents of the footnote.
|
1446
|
-
# The
|
1446
|
+
# The indexes for a footnote's content begin at zero.
|
1447
1447
|
# Corresponds to the JSON property `content`
|
1448
1448
|
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
1449
1449
|
attr_accessor :content
|
@@ -1539,7 +1539,7 @@ module Google
|
|
1539
1539
|
include Google::Apis::Core::Hashable
|
1540
1540
|
|
1541
1541
|
# The contents of the header.
|
1542
|
-
# The
|
1542
|
+
# The indexes for a header's content begin at zero.
|
1543
1543
|
# Corresponds to the JSON property `content`
|
1544
1544
|
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
1545
1545
|
attr_accessor :content
|
@@ -2255,7 +2255,7 @@ module Google
|
|
2255
2255
|
# ID.
|
2256
2256
|
# Named ranges allow developers to associate parts of a document with an
|
2257
2257
|
# arbitrary user-defined label so their contents can be programmatically read
|
2258
|
-
# or edited at a later time. A document
|
2258
|
+
# or edited at a later time. A document can contain multiple named ranges with
|
2259
2259
|
# the same name, but every named range has a unique ID.
|
2260
2260
|
# A named range is created with a single Range,
|
2261
2261
|
# and content inserted inside a named range generally expands that range.
|
@@ -2887,8 +2887,8 @@ module Google
|
|
2887
2887
|
# The zero-base end index of this paragraph element, exclusive, in Unicode
|
2888
2888
|
# code units of the UTF-16 encoding.
|
2889
2889
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
2890
|
-
# consume two
|
2891
|
-
# represented as "\uD83D\uDE00" and would consume two
|
2890
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
2891
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
2892
2892
|
# Corresponds to the JSON property `endIndex`
|
2893
2893
|
# @return [Fixnum]
|
2894
2894
|
attr_accessor :end_index
|
@@ -2928,8 +2928,8 @@ module Google
|
|
2928
2928
|
# The zero-based start index of this paragraph element, in Unicode code
|
2929
2929
|
# units of the UTF-16 encoding.
|
2930
2930
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
2931
|
-
# consume two
|
2932
|
-
# represented as "\uD83D\uDE00" and would consume two
|
2931
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
2932
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
2933
2933
|
# Corresponds to the JSON property `startIndex`
|
2934
2934
|
# @return [Fixnum]
|
2935
2935
|
attr_accessor :start_index
|
@@ -3977,8 +3977,8 @@ module Google
|
|
3977
3977
|
# The zero-based end index of this structural element, exclusive, in Unicode
|
3978
3978
|
# code units of the UTF-16 encoding.
|
3979
3979
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
3980
|
-
# consume two
|
3981
|
-
# represented as "\uD83D\uDE00" and would consume two
|
3980
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
3981
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
3982
3982
|
# Corresponds to the JSON property `endIndex`
|
3983
3983
|
# @return [Fixnum]
|
3984
3984
|
attr_accessor :end_index
|
@@ -4003,8 +4003,8 @@ module Google
|
|
4003
4003
|
# The zero-based start index of this structural element, in Unicode code
|
4004
4004
|
# units of the UTF-16 encoding.
|
4005
4005
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
4006
|
-
# consume two
|
4007
|
-
# represented as "\uD83D\uDE00" and would consume two
|
4006
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
4007
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
4008
4008
|
# Corresponds to the JSON property `startIndex`
|
4009
4009
|
# @return [Fixnum]
|
4010
4010
|
attr_accessor :start_index
|
@@ -4460,8 +4460,8 @@ module Google
|
|
4460
4460
|
# The zero-based end index of this cell, exclusive, in Unicode code units of
|
4461
4461
|
# the UTF-16 encoding.
|
4462
4462
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
4463
|
-
# consume two
|
4464
|
-
# represented as "\uD83D\uDE00" and would consume two
|
4463
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
4464
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
4465
4465
|
# Corresponds to the JSON property `endIndex`
|
4466
4466
|
# @return [Fixnum]
|
4467
4467
|
attr_accessor :end_index
|
@@ -4469,8 +4469,8 @@ module Google
|
|
4469
4469
|
# The zero-based start index of this cell, in Unicode code units of the
|
4470
4470
|
# UTF-16 encoding.
|
4471
4471
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
4472
|
-
# consume two
|
4473
|
-
# represented as "\uD83D\uDE00" and would consume two
|
4472
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
4473
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
4474
4474
|
# Corresponds to the JSON property `startIndex`
|
4475
4475
|
# @return [Fixnum]
|
4476
4476
|
attr_accessor :start_index
|
@@ -4835,8 +4835,8 @@ module Google
|
|
4835
4835
|
# The zero-based end index of this row, exclusive, in Unicode code units of
|
4836
4836
|
# the UTF-16 encoding.
|
4837
4837
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
4838
|
-
# consume two
|
4839
|
-
# represented as "\uD83D\uDE00" and would consume two
|
4838
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
4839
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
4840
4840
|
# Corresponds to the JSON property `endIndex`
|
4841
4841
|
# @return [Fixnum]
|
4842
4842
|
attr_accessor :end_index
|
@@ -4844,8 +4844,8 @@ module Google
|
|
4844
4844
|
# The zero-based start index of this row, in Unicode code units of the UTF-16
|
4845
4845
|
# encoding.
|
4846
4846
|
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
4847
|
-
# consume two
|
4848
|
-
# represented as "\uD83D\uDE00" and would consume two
|
4847
|
+
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
4848
|
+
# represented as "\uD83D\uDE00" and would consume two indexes.
|
4849
4849
|
# Corresponds to the JSON property `startIndex`
|
4850
4850
|
# @return [Fixnum]
|
4851
4851
|
attr_accessor :start_index
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
28
28
|
module FirebasehostingV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190205'
|
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'
|
@@ -102,6 +102,36 @@ module Google
|
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
|
+
# A configured rewrite that will direct any requests to a Cloud Run service. If
|
106
|
+
# the Cloud Run service does not exist when setting or updating your Firebase
|
107
|
+
# Hosting configuration then the request will fail. Any errors from the Cloud
|
108
|
+
# Run service (including when the service has been deleted) will be passed back
|
109
|
+
# down to the end user.
|
110
|
+
class CloudRunRewrite
|
111
|
+
include Google::Apis::Core::Hashable
|
112
|
+
|
113
|
+
# Optional. The region where the Cloud Run service is hosted. Defaults to
|
114
|
+
# `us-central1` if not supplied.
|
115
|
+
# Corresponds to the JSON property `region`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :region
|
118
|
+
|
119
|
+
# Required. User supplied ID of the Cloud Run service.
|
120
|
+
# Corresponds to the JSON property `serviceId`
|
121
|
+
# @return [String]
|
122
|
+
attr_accessor :service_id
|
123
|
+
|
124
|
+
def initialize(**args)
|
125
|
+
update!(**args)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Update properties of this object
|
129
|
+
def update!(**args)
|
130
|
+
@region = args[:region] if args.key?(:region)
|
131
|
+
@service_id = args[:service_id] if args.key?(:service_id)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
105
135
|
# The intended behavior and status information of a domain.
|
106
136
|
class Domain
|
107
137
|
include Google::Apis::Core::Hashable
|
@@ -553,6 +583,15 @@ module Google
|
|
553
583
|
# @return [String]
|
554
584
|
attr_accessor :path
|
555
585
|
|
586
|
+
# A configured rewrite that will direct any requests to a Cloud Run service. If
|
587
|
+
# the Cloud Run service does not exist when setting or updating your Firebase
|
588
|
+
# Hosting configuration then the request will fail. Any errors from the Cloud
|
589
|
+
# Run service (including when the service has been deleted) will be passed back
|
590
|
+
# down to the end user.
|
591
|
+
# Corresponds to the JSON property `run`
|
592
|
+
# @return [Google::Apis::FirebasehostingV1beta1::CloudRunRewrite]
|
593
|
+
attr_accessor :run
|
594
|
+
|
556
595
|
def initialize(**args)
|
557
596
|
update!(**args)
|
558
597
|
end
|
@@ -563,6 +602,7 @@ module Google
|
|
563
602
|
@function = args[:function] if args.key?(:function)
|
564
603
|
@glob = args[:glob] if args.key?(:glob)
|
565
604
|
@path = args[:path] if args.key?(:path)
|
605
|
+
@run = args[:run] if args.key?(:run)
|
566
606
|
end
|
567
607
|
end
|
568
608
|
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class CloudRunRewrite
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Domain
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -166,6 +172,14 @@ module Google
|
|
166
172
|
end
|
167
173
|
end
|
168
174
|
|
175
|
+
class CloudRunRewrite
|
176
|
+
# @private
|
177
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
+
property :region, as: 'region'
|
179
|
+
property :service_id, as: 'serviceId'
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
169
183
|
class Domain
|
170
184
|
# @private
|
171
185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -290,6 +304,8 @@ module Google
|
|
290
304
|
property :function, as: 'function'
|
291
305
|
property :glob, as: 'glob'
|
292
306
|
property :path, as: 'path'
|
307
|
+
property :run, as: 'run', class: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite, decorator: Google::Apis::FirebasehostingV1beta1::CloudRunRewrite::Representation
|
308
|
+
|
293
309
|
end
|
294
310
|
end
|
295
311
|
|
@@ -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 = '20190201'
|
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'
|
@@ -695,43 +695,6 @@ module Google
|
|
695
695
|
end
|
696
696
|
end
|
697
697
|
|
698
|
-
# The patch service account request.
|
699
|
-
class PatchServiceAccountRequest
|
700
|
-
include Google::Apis::Core::Hashable
|
701
|
-
|
702
|
-
# A service account in the Identity and Access Management API.
|
703
|
-
# To create a service account, specify the `project_id` and the `account_id`
|
704
|
-
# for the account. The `account_id` is unique within the project, and is used
|
705
|
-
# to generate the service account email address and a stable
|
706
|
-
# `unique_id`.
|
707
|
-
# If the account already exists, the account's resource name is returned
|
708
|
-
# in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
|
709
|
-
# can use the name in other methods to access the account.
|
710
|
-
# All other methods can identify the service account using the format
|
711
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
712
|
-
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
713
|
-
# the account. The `ACCOUNT` value can be the `email` address or the
|
714
|
-
# `unique_id` of the service account.
|
715
|
-
# Corresponds to the JSON property `serviceAccount`
|
716
|
-
# @return [Google::Apis::IamV1::ServiceAccount]
|
717
|
-
attr_accessor :service_account
|
718
|
-
|
719
|
-
#
|
720
|
-
# Corresponds to the JSON property `updateMask`
|
721
|
-
# @return [String]
|
722
|
-
attr_accessor :update_mask
|
723
|
-
|
724
|
-
def initialize(**args)
|
725
|
-
update!(**args)
|
726
|
-
end
|
727
|
-
|
728
|
-
# Update properties of this object
|
729
|
-
def update!(**args)
|
730
|
-
@service_account = args[:service_account] if args.key?(:service_account)
|
731
|
-
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
732
|
-
end
|
733
|
-
end
|
734
|
-
|
735
698
|
# A permission which can be included by a role.
|
736
699
|
class Permission
|
737
700
|
include Google::Apis::Core::Hashable
|
@@ -124,12 +124,6 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class PatchServiceAccountRequest
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
127
|
class Permission
|
134
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
129
|
|
@@ -406,15 +400,6 @@ module Google
|
|
406
400
|
end
|
407
401
|
end
|
408
402
|
|
409
|
-
class PatchServiceAccountRequest
|
410
|
-
# @private
|
411
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
-
property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
|
413
|
-
|
414
|
-
property :update_mask, as: 'updateMask'
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
403
|
class Permission
|
419
404
|
# @private
|
420
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -792,50 +792,6 @@ module Google
|
|
792
792
|
execute_or_queue_command(command, &block)
|
793
793
|
end
|
794
794
|
|
795
|
-
# Patches a ServiceAccount.
|
796
|
-
# Currently, only the following fields are updatable:
|
797
|
-
# `display_name` and `description`.
|
798
|
-
# Only fields specified in the request are garaunteed to be returned in
|
799
|
-
# the response. Other fields in the response may be empty.
|
800
|
-
# Note: The field mask is required.
|
801
|
-
# @param [String] name
|
802
|
-
# The resource name of the service account in the following format:
|
803
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
804
|
-
# Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
|
805
|
-
# project from the `account` and the `ACCOUNT` value can be the `email`
|
806
|
-
# address or the `unique_id` of the service account.
|
807
|
-
# In responses the resource name will always be in the format
|
808
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
809
|
-
# @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
|
810
|
-
# @param [String] fields
|
811
|
-
# Selector specifying which fields to include in a partial response.
|
812
|
-
# @param [String] quota_user
|
813
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
814
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
815
|
-
# @param [Google::Apis::RequestOptions] options
|
816
|
-
# Request-specific options
|
817
|
-
#
|
818
|
-
# @yield [result, err] Result & error if block supplied
|
819
|
-
# @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
|
820
|
-
# @yieldparam err [StandardError] error object if request failed
|
821
|
-
#
|
822
|
-
# @return [Google::Apis::IamV1::ServiceAccount]
|
823
|
-
#
|
824
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
825
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
826
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
827
|
-
def patch_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
828
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
829
|
-
command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
|
830
|
-
command.request_object = patch_service_account_request_object
|
831
|
-
command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
|
832
|
-
command.response_class = Google::Apis::IamV1::ServiceAccount
|
833
|
-
command.params['name'] = name unless name.nil?
|
834
|
-
command.query['fields'] = fields unless fields.nil?
|
835
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
836
|
-
execute_or_queue_command(command, &block)
|
837
|
-
end
|
838
|
-
|
839
795
|
# Sets the IAM access control policy for a
|
840
796
|
# ServiceAccount.
|
841
797
|
# @param [String] resource
|
@@ -871,6 +827,10 @@ module Google
|
|
871
827
|
execute_or_queue_command(command, &block)
|
872
828
|
end
|
873
829
|
|
830
|
+
# **Note**: This method is in the process of being deprecated. Call the
|
831
|
+
# [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
|
832
|
+
# signBlob)
|
833
|
+
# method of the Cloud IAM Service Account Credentials API instead.
|
874
834
|
# Signs a blob using a service account's system-managed private key.
|
875
835
|
# @param [String] name
|
876
836
|
# The resource name of the service account in the following format:
|
@@ -908,6 +868,10 @@ module Google
|
|
908
868
|
execute_or_queue_command(command, &block)
|
909
869
|
end
|
910
870
|
|
871
|
+
# **Note**: This method is in the process of being deprecated. Call the
|
872
|
+
# [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
|
873
|
+
# signJwt)
|
874
|
+
# method of the Cloud IAM Service Account Credentials API instead.
|
911
875
|
# Signs a JWT using a service account's system-managed private key.
|
912
876
|
# If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
|
913
877
|
# an expiry time of one hour by default. If you request an expiry time of
|
@@ -18,14 +18,14 @@ require 'google/apis/speech_v1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
# Cloud Speech API
|
21
|
+
# Cloud Speech-to-Text API
|
22
22
|
#
|
23
23
|
# Converts audio to text by applying powerful neural network models.
|
24
24
|
#
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
26
26
|
module SpeechV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190201'
|
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'
|
@@ -382,8 +382,8 @@ module Google
|
|
382
382
|
# 16000 is optimal. For best results, set the sampling rate of the audio
|
383
383
|
# source to 16000 Hz. If that's not possible, use the native sample rate of
|
384
384
|
# the audio source (instead of re-sampling).
|
385
|
-
# This field is optional for `FLAC` and
|
386
|
-
# for all other audio formats. For details, see AudioEncoding.
|
385
|
+
# This field is optional for `FLAC`, `WAV`. and 'MP3' audio files, and is
|
386
|
+
# required for all other audio formats. For details, see AudioEncoding.
|
387
387
|
# Corresponds to the JSON property `sampleRateHertz`
|
388
388
|
# @return [Fixnum]
|
389
389
|
attr_accessor :sample_rate_hertz
|