google-api-client 0.30.4 → 0.30.5
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 +44 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +50 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +18 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +22 -85
- data/generated/google/apis/bigtableadmin_v2/service.rb +6 -105
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +14 -2
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +28 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -2
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/content_v2/service.rb +4 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -2
- data/generated/google/apis/content_v2_1/representations.rb +18 -0
- data/generated/google/apis/content_v2_1/service.rb +12 -7
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +23 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +20 -9
- data/generated/google/apis/dfareporting_v3_3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +173 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +402 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +17 -16
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +11 -10
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1/service.rb +1 -2
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +11 -10
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1/service.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +4 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +107 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +46 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +306 -51
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +28 -0
- data/generated/google/apis/iap_v1/representations.rb +15 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +28 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +0 -33
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1/service.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +28 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +15 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +28 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +15 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -8
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -8
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +4 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +4 -4
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +44 -66
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +24 -26
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +52 -78
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +24 -26
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ee427d273139c69c26b80ff37e2fcf854a1a500
|
|
4
|
+
data.tar.gz: c568a9b6378b0d51bdd26160a0197dbbca45194a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0911495ef986a7e2d5e5772bfee35b577a9e2f67739098cc7e7b5654e54273aebde0d50a8580758bd240ea53418d66ea6859c2ab1147bc396354a0c294ad0224
|
|
7
|
+
data.tar.gz: b9d4fe50530e2dd0101220938b8c731d6e27c921f7933d42ddbf5317ba7a8031e1447f0243b8188b3af11483785e2a785355b190b48a5eb787b50c781a377590
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,47 @@
|
|
|
1
|
+
# 0.30.5
|
|
2
|
+
* Backwards compatible changes:
|
|
3
|
+
* Updated `androidpublisher_v3`
|
|
4
|
+
* Updated `bigquery_v2`
|
|
5
|
+
* Updated `bigtableadmin_v2`
|
|
6
|
+
* Updated `binaryauthorization_v1beta1`
|
|
7
|
+
* Updated `cloudbuild_v1`
|
|
8
|
+
* Updated `cloudresourcemanager_v1`
|
|
9
|
+
* Updated `cloudresourcemanager_v1beta1`
|
|
10
|
+
* Updated `cloudresourcemanager_v2`
|
|
11
|
+
* Updated `cloudresourcemanager_v2beta1`
|
|
12
|
+
* Updated `content_v2`
|
|
13
|
+
* Updated `content_v2_1`
|
|
14
|
+
* Updated `dataflow_v1b3`
|
|
15
|
+
* Updated `dfareporting_v3_1`
|
|
16
|
+
* Updated `dfareporting_v3_2`
|
|
17
|
+
* Updated `dfareporting_v3_3`
|
|
18
|
+
* Updated `dialogflow_v2`
|
|
19
|
+
* Updated `dialogflow_v2beta1`
|
|
20
|
+
* Updated `dlp_v2`
|
|
21
|
+
* Updated `docs_v1`
|
|
22
|
+
* Updated `file_v1`
|
|
23
|
+
* Updated `file_v1beta1`
|
|
24
|
+
* Updated `firebase_v1beta1`
|
|
25
|
+
* Updated `fitness_v1`
|
|
26
|
+
* Updated `healthcare_v1alpha2`
|
|
27
|
+
* Updated `iam_v1`
|
|
28
|
+
* Updated `iap_v1`
|
|
29
|
+
* Updated `iap_v1beta1`
|
|
30
|
+
* Updated `ml_v1`
|
|
31
|
+
* Updated `securitycenter_v1`
|
|
32
|
+
* Updated `securitycenter_v1beta1`
|
|
33
|
+
* Updated `servicemanagement_v1`
|
|
34
|
+
* Updated `slides_v1`
|
|
35
|
+
* Updated `speech_v1`
|
|
36
|
+
* Updated `speech_v1p1beta1`
|
|
37
|
+
* Updated `tasks_v1`
|
|
38
|
+
* Updated `texttospeech_v1`
|
|
39
|
+
* Updated `texttospeech_v1beta1`
|
|
40
|
+
* Updated `toolresults_v1beta3`
|
|
41
|
+
* Updated `websecurityscanner_v1alpha`
|
|
42
|
+
* Updated `websecurityscanner_v1beta`
|
|
43
|
+
* Updated `youtube_partner_v1`
|
|
44
|
+
|
|
1
45
|
# 0.30.4
|
|
2
46
|
* Backwards compatible changes:
|
|
3
47
|
* Added `websecurityscanner_v1`
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV3
|
|
27
27
|
VERSION = 'V3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190702'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -922,6 +922,50 @@ module Google
|
|
|
922
922
|
end
|
|
923
923
|
end
|
|
924
924
|
|
|
925
|
+
# Contains the introductory price information for a subscription.
|
|
926
|
+
class IntroductoryPriceInfo
|
|
927
|
+
include Google::Apis::Core::Hashable
|
|
928
|
+
|
|
929
|
+
# Introductory price of the subscription, not including tax. The currency is the
|
|
930
|
+
# same as price_currency_code. Price is expressed in micro-units, where 1,000,
|
|
931
|
+
# 000 micro-units represents one unit of the currency. For example, if the
|
|
932
|
+
# subscription price is €1.99, price_amount_micros is 1990000.
|
|
933
|
+
# Corresponds to the JSON property `introductoryPriceAmountMicros`
|
|
934
|
+
# @return [Fixnum]
|
|
935
|
+
attr_accessor :introductory_price_amount_micros
|
|
936
|
+
|
|
937
|
+
# ISO 4217 currency code for the introductory subscription price. For example,
|
|
938
|
+
# if the price is specified in British pounds sterling, price_currency_code is "
|
|
939
|
+
# GBP".
|
|
940
|
+
# Corresponds to the JSON property `introductoryPriceCurrencyCode`
|
|
941
|
+
# @return [String]
|
|
942
|
+
attr_accessor :introductory_price_currency_code
|
|
943
|
+
|
|
944
|
+
# The number of billing period to offer introductory pricing.
|
|
945
|
+
# Corresponds to the JSON property `introductoryPriceCycles`
|
|
946
|
+
# @return [Fixnum]
|
|
947
|
+
attr_accessor :introductory_price_cycles
|
|
948
|
+
|
|
949
|
+
# Introductory price period, specified in ISO 8601 format. Common values are (
|
|
950
|
+
# but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months),
|
|
951
|
+
# "P6M" (six months), and "P1Y" (one year).
|
|
952
|
+
# Corresponds to the JSON property `introductoryPricePeriod`
|
|
953
|
+
# @return [String]
|
|
954
|
+
attr_accessor :introductory_price_period
|
|
955
|
+
|
|
956
|
+
def initialize(**args)
|
|
957
|
+
update!(**args)
|
|
958
|
+
end
|
|
959
|
+
|
|
960
|
+
# Update properties of this object
|
|
961
|
+
def update!(**args)
|
|
962
|
+
@introductory_price_amount_micros = args[:introductory_price_amount_micros] if args.key?(:introductory_price_amount_micros)
|
|
963
|
+
@introductory_price_currency_code = args[:introductory_price_currency_code] if args.key?(:introductory_price_currency_code)
|
|
964
|
+
@introductory_price_cycles = args[:introductory_price_cycles] if args.key?(:introductory_price_cycles)
|
|
965
|
+
@introductory_price_period = args[:introductory_price_period] if args.key?(:introductory_price_period)
|
|
966
|
+
end
|
|
967
|
+
end
|
|
968
|
+
|
|
925
969
|
#
|
|
926
970
|
class Listing
|
|
927
971
|
include Google::Apis::Core::Hashable
|
|
@@ -1556,6 +1600,11 @@ module Google
|
|
|
1556
1600
|
# @return [String]
|
|
1557
1601
|
attr_accessor :given_name
|
|
1558
1602
|
|
|
1603
|
+
# Contains the introductory price information for a subscription.
|
|
1604
|
+
# Corresponds to the JSON property `introductoryPriceInfo`
|
|
1605
|
+
# @return [Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo]
|
|
1606
|
+
attr_accessor :introductory_price_info
|
|
1607
|
+
|
|
1559
1608
|
# This kind represents a subscriptionPurchase object in the androidpublisher
|
|
1560
1609
|
# service.
|
|
1561
1610
|
# Corresponds to the JSON property `kind`
|
|
@@ -1661,6 +1710,7 @@ module Google
|
|
|
1661
1710
|
@expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
|
|
1662
1711
|
@family_name = args[:family_name] if args.key?(:family_name)
|
|
1663
1712
|
@given_name = args[:given_name] if args.key?(:given_name)
|
|
1713
|
+
@introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
|
|
1664
1714
|
@kind = args[:kind] if args.key?(:kind)
|
|
1665
1715
|
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
|
1666
1716
|
@order_id = args[:order_id] if args.key?(:order_id)
|
|
@@ -184,6 +184,12 @@ module Google
|
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
185
|
end
|
|
186
186
|
|
|
187
|
+
class IntroductoryPriceInfo
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
187
193
|
class Listing
|
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
195
|
|
|
@@ -638,6 +644,16 @@ module Google
|
|
|
638
644
|
end
|
|
639
645
|
end
|
|
640
646
|
|
|
647
|
+
class IntroductoryPriceInfo
|
|
648
|
+
# @private
|
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
650
|
+
property :introductory_price_amount_micros, :numeric_string => true, as: 'introductoryPriceAmountMicros'
|
|
651
|
+
property :introductory_price_currency_code, as: 'introductoryPriceCurrencyCode'
|
|
652
|
+
property :introductory_price_cycles, as: 'introductoryPriceCycles'
|
|
653
|
+
property :introductory_price_period, as: 'introductoryPricePeriod'
|
|
654
|
+
end
|
|
655
|
+
end
|
|
656
|
+
|
|
641
657
|
class Listing
|
|
642
658
|
# @private
|
|
643
659
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -820,6 +836,8 @@ module Google
|
|
|
820
836
|
property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis'
|
|
821
837
|
property :family_name, as: 'familyName'
|
|
822
838
|
property :given_name, as: 'givenName'
|
|
839
|
+
property :introductory_price_info, as: 'introductoryPriceInfo', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo::Representation
|
|
840
|
+
|
|
823
841
|
property :kind, as: 'kind'
|
|
824
842
|
property :linked_purchase_token, as: 'linkedPurchaseToken'
|
|
825
843
|
property :order_id, as: 'orderId'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
|
26
26
|
module BigqueryV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190630'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/bigtable/
|
|
26
26
|
module BigtableadminV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190628'
|
|
29
29
|
|
|
30
30
|
# Administer your Cloud Bigtable tables and clusters
|
|
31
31
|
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
|
@@ -44,10 +44,11 @@ module Google
|
|
|
44
44
|
# @return [String]
|
|
45
45
|
attr_accessor :etag
|
|
46
46
|
|
|
47
|
-
# Read/write requests
|
|
48
|
-
# fail over to
|
|
49
|
-
#
|
|
50
|
-
#
|
|
47
|
+
# Read/write requests are routed to the nearest cluster in the instance, and
|
|
48
|
+
# will fail over to the nearest cluster that is available in the event of
|
|
49
|
+
# transient errors or delays. Clusters in a region are considered
|
|
50
|
+
# equidistant. Choosing this option sacrifices read-your-writes consistency
|
|
51
|
+
# to improve availability.
|
|
51
52
|
# Corresponds to the JSON property `multiClusterRoutingUseAny`
|
|
52
53
|
# @return [Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny]
|
|
53
54
|
attr_accessor :multi_cluster_routing_use_any
|
|
@@ -60,7 +61,7 @@ module Google
|
|
|
60
61
|
attr_accessor :name
|
|
61
62
|
|
|
62
63
|
# Unconditionally routes all read/write requests to a specific cluster.
|
|
63
|
-
# This option preserves read-your-writes consistency
|
|
64
|
+
# This option preserves read-your-writes consistency but does not improve
|
|
64
65
|
# availability.
|
|
65
66
|
# Corresponds to the JSON property `singleClusterRouting`
|
|
66
67
|
# @return [Google::Apis::BigtableadminV2::SingleClusterRouting]
|
|
@@ -569,6 +570,7 @@ module Google
|
|
|
569
570
|
|
|
570
571
|
# The name by which the new table should be referred to within the parent
|
|
571
572
|
# instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
|
573
|
+
# Maximum 50 characters.
|
|
572
574
|
# Corresponds to the JSON property `tableId`
|
|
573
575
|
# @return [String]
|
|
574
576
|
attr_accessor :table_id
|
|
@@ -1139,10 +1141,11 @@ module Google
|
|
|
1139
1141
|
end
|
|
1140
1142
|
end
|
|
1141
1143
|
|
|
1142
|
-
# Read/write requests
|
|
1143
|
-
# fail over to
|
|
1144
|
-
#
|
|
1145
|
-
#
|
|
1144
|
+
# Read/write requests are routed to the nearest cluster in the instance, and
|
|
1145
|
+
# will fail over to the nearest cluster that is available in the event of
|
|
1146
|
+
# transient errors or delays. Clusters in a region are considered
|
|
1147
|
+
# equidistant. Choosing this option sacrifices read-your-writes consistency
|
|
1148
|
+
# to improve availability.
|
|
1146
1149
|
class MultiClusterRoutingUseAny
|
|
1147
1150
|
include Google::Apis::Core::Hashable
|
|
1148
1151
|
|
|
@@ -1170,43 +1173,10 @@ module Google
|
|
|
1170
1173
|
|
|
1171
1174
|
# The `Status` type defines a logical error model that is suitable for
|
|
1172
1175
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1173
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1174
|
-
#
|
|
1175
|
-
#
|
|
1176
|
-
#
|
|
1177
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1178
|
-
# message, and error details. The error code should be an enum value of
|
|
1179
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1180
|
-
# error message should be a developer-facing English message that helps
|
|
1181
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1182
|
-
# error message is needed, put the localized message in the error details or
|
|
1183
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1184
|
-
# information about the error. There is a predefined set of error detail types
|
|
1185
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1186
|
-
# # Language mapping
|
|
1187
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1188
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1189
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1190
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1191
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1192
|
-
# # Other uses
|
|
1193
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1194
|
-
# environments, either with or without APIs, to provide a
|
|
1195
|
-
# consistent developer experience across different environments.
|
|
1196
|
-
# Example uses of this error model include:
|
|
1197
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1198
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1199
|
-
# errors.
|
|
1200
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1201
|
-
# have a `Status` message for error reporting.
|
|
1202
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1203
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1204
|
-
# each error sub-response.
|
|
1205
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1206
|
-
# results in its response, the status of those operations should be
|
|
1207
|
-
# represented directly using the `Status` message.
|
|
1208
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1209
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1176
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1177
|
+
# three pieces of data: error code, error message, and error details.
|
|
1178
|
+
# You can find out more about this error model and how to work with it in the
|
|
1179
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1210
1180
|
# Corresponds to the JSON property `error`
|
|
1211
1181
|
# @return [Google::Apis::BigtableadminV2::Status]
|
|
1212
1182
|
attr_accessor :error
|
|
@@ -1221,7 +1191,7 @@ module Google
|
|
|
1221
1191
|
|
|
1222
1192
|
# The server-assigned name, which is only unique within the same service that
|
|
1223
1193
|
# originally returns it. If you use the default HTTP mapping, the
|
|
1224
|
-
# `name` should
|
|
1194
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
1225
1195
|
# Corresponds to the JSON property `name`
|
|
1226
1196
|
# @return [String]
|
|
1227
1197
|
attr_accessor :name
|
|
@@ -1430,7 +1400,7 @@ module Google
|
|
|
1430
1400
|
end
|
|
1431
1401
|
|
|
1432
1402
|
# Unconditionally routes all read/write requests to a specific cluster.
|
|
1433
|
-
# This option preserves read-your-writes consistency
|
|
1403
|
+
# This option preserves read-your-writes consistency but does not improve
|
|
1434
1404
|
# availability.
|
|
1435
1405
|
class SingleClusterRouting
|
|
1436
1406
|
include Google::Apis::Core::Hashable
|
|
@@ -1481,43 +1451,10 @@ module Google
|
|
|
1481
1451
|
|
|
1482
1452
|
# The `Status` type defines a logical error model that is suitable for
|
|
1483
1453
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1484
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1485
|
-
#
|
|
1486
|
-
#
|
|
1487
|
-
#
|
|
1488
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1489
|
-
# message, and error details. The error code should be an enum value of
|
|
1490
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1491
|
-
# error message should be a developer-facing English message that helps
|
|
1492
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1493
|
-
# error message is needed, put the localized message in the error details or
|
|
1494
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1495
|
-
# information about the error. There is a predefined set of error detail types
|
|
1496
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1497
|
-
# # Language mapping
|
|
1498
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1499
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1500
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1501
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1502
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1503
|
-
# # Other uses
|
|
1504
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1505
|
-
# environments, either with or without APIs, to provide a
|
|
1506
|
-
# consistent developer experience across different environments.
|
|
1507
|
-
# Example uses of this error model include:
|
|
1508
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1509
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1510
|
-
# errors.
|
|
1511
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1512
|
-
# have a `Status` message for error reporting.
|
|
1513
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1514
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1515
|
-
# each error sub-response.
|
|
1516
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1517
|
-
# results in its response, the status of those operations should be
|
|
1518
|
-
# represented directly using the `Status` message.
|
|
1519
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1520
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1454
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1455
|
+
# three pieces of data: error code, error message, and error details.
|
|
1456
|
+
# You can find out more about this error model and how to work with it in the
|
|
1457
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1521
1458
|
class Status
|
|
1522
1459
|
include Google::Apis::Core::Hashable
|
|
1523
1460
|
|
|
@@ -626,7 +626,12 @@ module Google
|
|
|
626
626
|
# e.g., `projects/myproject/instances/-`.
|
|
627
627
|
# @param [Fixnum] page_size
|
|
628
628
|
# Maximum number of results per page.
|
|
629
|
-
#
|
|
629
|
+
# A page_size of zero lets the server choose the number of items to return.
|
|
630
|
+
# A page_size which is strictly positive will return at most that many items.
|
|
631
|
+
# A negative page_size will cause an error.
|
|
632
|
+
# Following the first request, subsequent paginated calls are not required
|
|
633
|
+
# to pass a page_size. If a page_size is set in subsequent calls, it must
|
|
634
|
+
# match the page_size given in the first request.
|
|
630
635
|
# @param [String] page_token
|
|
631
636
|
# The value of `next_page_token` returned by a previous call.
|
|
632
637
|
# @param [String] fields
|
|
@@ -1089,41 +1094,6 @@ module Google
|
|
|
1089
1094
|
execute_or_queue_command(command, &block)
|
|
1090
1095
|
end
|
|
1091
1096
|
|
|
1092
|
-
# Gets the access control policy for an instance resource. Returns an empty
|
|
1093
|
-
# policy if an table exists but does not have a policy set.
|
|
1094
|
-
# @param [String] resource
|
|
1095
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
1096
|
-
# See the operation documentation for the appropriate value for this field.
|
|
1097
|
-
# @param [Google::Apis::BigtableadminV2::GetIamPolicyRequest] get_iam_policy_request_object
|
|
1098
|
-
# @param [String] fields
|
|
1099
|
-
# Selector specifying which fields to include in a partial response.
|
|
1100
|
-
# @param [String] quota_user
|
|
1101
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1102
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1103
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1104
|
-
# Request-specific options
|
|
1105
|
-
#
|
|
1106
|
-
# @yield [result, err] Result & error if block supplied
|
|
1107
|
-
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
|
1108
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1109
|
-
#
|
|
1110
|
-
# @return [Google::Apis::BigtableadminV2::Policy]
|
|
1111
|
-
#
|
|
1112
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1113
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1114
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1115
|
-
def get_table_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1116
|
-
command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
|
|
1117
|
-
command.request_representation = Google::Apis::BigtableadminV2::GetIamPolicyRequest::Representation
|
|
1118
|
-
command.request_object = get_iam_policy_request_object
|
|
1119
|
-
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
|
1120
|
-
command.response_class = Google::Apis::BigtableadminV2::Policy
|
|
1121
|
-
command.params['resource'] = resource unless resource.nil?
|
|
1122
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1123
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1124
|
-
execute_or_queue_command(command, &block)
|
|
1125
|
-
end
|
|
1126
|
-
|
|
1127
1097
|
# Lists all tables served from a specified instance.
|
|
1128
1098
|
# @param [String] parent
|
|
1129
1099
|
# The unique name of the instance for which tables should be listed.
|
|
@@ -1209,75 +1179,6 @@ module Google
|
|
|
1209
1179
|
execute_or_queue_command(command, &block)
|
|
1210
1180
|
end
|
|
1211
1181
|
|
|
1212
|
-
# Sets the access control policy on a table resource. Replaces any existing
|
|
1213
|
-
# policy.
|
|
1214
|
-
# @param [String] resource
|
|
1215
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
1216
|
-
# See the operation documentation for the appropriate value for this field.
|
|
1217
|
-
# @param [Google::Apis::BigtableadminV2::SetIamPolicyRequest] set_iam_policy_request_object
|
|
1218
|
-
# @param [String] fields
|
|
1219
|
-
# Selector specifying which fields to include in a partial response.
|
|
1220
|
-
# @param [String] quota_user
|
|
1221
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1222
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1223
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1224
|
-
# Request-specific options
|
|
1225
|
-
#
|
|
1226
|
-
# @yield [result, err] Result & error if block supplied
|
|
1227
|
-
# @yieldparam result [Google::Apis::BigtableadminV2::Policy] parsed result object
|
|
1228
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1229
|
-
#
|
|
1230
|
-
# @return [Google::Apis::BigtableadminV2::Policy]
|
|
1231
|
-
#
|
|
1232
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1233
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1234
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1235
|
-
def set_table_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1236
|
-
command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
|
|
1237
|
-
command.request_representation = Google::Apis::BigtableadminV2::SetIamPolicyRequest::Representation
|
|
1238
|
-
command.request_object = set_iam_policy_request_object
|
|
1239
|
-
command.response_representation = Google::Apis::BigtableadminV2::Policy::Representation
|
|
1240
|
-
command.response_class = Google::Apis::BigtableadminV2::Policy
|
|
1241
|
-
command.params['resource'] = resource unless resource.nil?
|
|
1242
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1243
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1244
|
-
execute_or_queue_command(command, &block)
|
|
1245
|
-
end
|
|
1246
|
-
|
|
1247
|
-
# Returns permissions that the caller has on the specified table resource.
|
|
1248
|
-
# @param [String] resource
|
|
1249
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
1250
|
-
# See the operation documentation for the appropriate value for this field.
|
|
1251
|
-
# @param [Google::Apis::BigtableadminV2::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
1252
|
-
# @param [String] fields
|
|
1253
|
-
# Selector specifying which fields to include in a partial response.
|
|
1254
|
-
# @param [String] quota_user
|
|
1255
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1256
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1257
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1258
|
-
# Request-specific options
|
|
1259
|
-
#
|
|
1260
|
-
# @yield [result, err] Result & error if block supplied
|
|
1261
|
-
# @yieldparam result [Google::Apis::BigtableadminV2::TestIamPermissionsResponse] parsed result object
|
|
1262
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1263
|
-
#
|
|
1264
|
-
# @return [Google::Apis::BigtableadminV2::TestIamPermissionsResponse]
|
|
1265
|
-
#
|
|
1266
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1267
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1268
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1269
|
-
def test_table_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1270
|
-
command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
|
|
1271
|
-
command.request_representation = Google::Apis::BigtableadminV2::TestIamPermissionsRequest::Representation
|
|
1272
|
-
command.request_object = test_iam_permissions_request_object
|
|
1273
|
-
command.response_representation = Google::Apis::BigtableadminV2::TestIamPermissionsResponse::Representation
|
|
1274
|
-
command.response_class = Google::Apis::BigtableadminV2::TestIamPermissionsResponse
|
|
1275
|
-
command.params['resource'] = resource unless resource.nil?
|
|
1276
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1277
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1278
|
-
execute_or_queue_command(command, &block)
|
|
1279
|
-
end
|
|
1280
|
-
|
|
1281
1182
|
# Gets information about a location.
|
|
1282
1183
|
# @param [String] name
|
|
1283
1184
|
# Resource name for the location.
|