google-api-client 0.46.0 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -496,6 +496,12 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
+
class TargetingValueRequestPlatformTargeting
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
499
505
|
class TargetingValueSize
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
@@ -1423,6 +1429,8 @@ module Google
|
|
1423
1429
|
property :demog_gender_criteria_value, as: 'demogGenderCriteriaValue', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogGenderCriteria, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueDemogGenderCriteria::Representation
|
1424
1430
|
|
1425
1431
|
property :long_value, :numeric_string => true, as: 'longValue'
|
1432
|
+
property :request_platform_targeting_value, as: 'requestPlatformTargetingValue', class: Google::Apis::AdexchangebuyerV1_4::TargetingValueRequestPlatformTargeting, decorator: Google::Apis::AdexchangebuyerV1_4::TargetingValueRequestPlatformTargeting::Representation
|
1433
|
+
|
1426
1434
|
property :string_value, as: 'stringValue'
|
1427
1435
|
end
|
1428
1436
|
end
|
@@ -1475,6 +1483,13 @@ module Google
|
|
1475
1483
|
end
|
1476
1484
|
end
|
1477
1485
|
|
1486
|
+
class TargetingValueRequestPlatformTargeting
|
1487
|
+
# @private
|
1488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1489
|
+
collection :request_platforms, as: 'requestPlatforms'
|
1490
|
+
end
|
1491
|
+
end
|
1492
|
+
|
1478
1493
|
class TargetingValueSize
|
1479
1494
|
# @private
|
1480
1495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20,12 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# AdMob API
|
22
22
|
#
|
23
|
-
# The
|
23
|
+
# The AdMob API allows publishers to programmatically get information about
|
24
|
+
# their AdMob account.
|
24
25
|
#
|
25
26
|
# @see https://developers.google.com/admob/api/
|
26
27
|
module AdmobV1
|
27
28
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20201002'
|
29
30
|
|
30
31
|
# See your AdMob data
|
31
32
|
AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report'
|
@@ -22,7 +22,8 @@ module Google
|
|
22
22
|
module AdmobV1
|
23
23
|
# AdMob API
|
24
24
|
#
|
25
|
-
# The
|
25
|
+
# The AdMob API allows publishers to programmatically get information about
|
26
|
+
# their AdMob account.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/admob_v1'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/adsense/management/
|
26
26
|
module AdsenseV1_4
|
27
27
|
VERSION = 'V1_4'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201002'
|
29
29
|
|
30
30
|
# View and manage your AdSense data
|
31
31
|
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
@@ -129,6 +129,8 @@ module Google
|
|
129
129
|
# Account which contains the ad client.
|
130
130
|
# @param [String] ad_client_id
|
131
131
|
# Ad client to get the code for.
|
132
|
+
# @param [String] tag_partner
|
133
|
+
# Tag partner to include in the ad code snippet.
|
132
134
|
# @param [String] fields
|
133
135
|
# Selector specifying which fields to include in a partial response.
|
134
136
|
# @param [String] quota_user
|
@@ -148,12 +150,13 @@ module Google
|
|
148
150
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
149
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
150
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
151
|
-
def get_account_adclient_ad_code(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
153
|
+
def get_account_adclient_ad_code(account_id, ad_client_id, tag_partner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
152
154
|
command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adcode', options)
|
153
155
|
command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
|
154
156
|
command.response_class = Google::Apis::AdsenseV1_4::AdCode
|
155
157
|
command.params['accountId'] = account_id unless account_id.nil?
|
156
158
|
command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
|
159
|
+
command.query['tagPartner'] = tag_partner unless tag_partner.nil?
|
157
160
|
command.query['fields'] = fields unless fields.nil?
|
158
161
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
162
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/analytics/trusted-testing/analytics-data/
|
26
26
|
module AnalyticsdataV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201006'
|
29
29
|
|
30
30
|
# View and manage your Google Analytics data
|
31
31
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
@@ -677,6 +677,37 @@ module Google
|
|
677
677
|
end
|
678
678
|
end
|
679
679
|
|
680
|
+
# The dimensions and metrics currently accepted in reporting methods.
|
681
|
+
class Metadata
|
682
|
+
include Google::Apis::Core::Hashable
|
683
|
+
|
684
|
+
# The dimensions descriptions.
|
685
|
+
# Corresponds to the JSON property `dimensions`
|
686
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
|
687
|
+
attr_accessor :dimensions
|
688
|
+
|
689
|
+
# The metric descriptions.
|
690
|
+
# Corresponds to the JSON property `metrics`
|
691
|
+
# @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricMetadata>]
|
692
|
+
attr_accessor :metrics
|
693
|
+
|
694
|
+
# Resource name of this metadata.
|
695
|
+
# Corresponds to the JSON property `name`
|
696
|
+
# @return [String]
|
697
|
+
attr_accessor :name
|
698
|
+
|
699
|
+
def initialize(**args)
|
700
|
+
update!(**args)
|
701
|
+
end
|
702
|
+
|
703
|
+
# Update properties of this object
|
704
|
+
def update!(**args)
|
705
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
706
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
707
|
+
@name = args[:name] if args.key?(:name)
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
680
711
|
# The quantitative measurements of a report. For example, the metric eventCount
|
681
712
|
# is the total number of events. Requests are allowed up to 10 metrics.
|
682
713
|
class Metric
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class Metadata
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class Metric
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -512,6 +518,17 @@ module Google
|
|
512
518
|
end
|
513
519
|
end
|
514
520
|
|
521
|
+
class Metadata
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata::Representation
|
525
|
+
|
526
|
+
collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::MetricMetadata::Representation
|
527
|
+
|
528
|
+
property :name, as: 'name'
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
515
532
|
class Metric
|
516
533
|
# @private
|
517
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -47,6 +47,45 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Returns metadata for dimensions and metrics available in reporting methods.
|
51
|
+
# Used to explore the dimensions and metrics. In this method, a Google Analytics
|
52
|
+
# App + Web Property Identifier is specified in the request, and the metadata
|
53
|
+
# response includes Custom dimensions and metrics as well as Universal metadata.
|
54
|
+
# For example if a custom metric with parameter name `levels_unlocked` is
|
55
|
+
# registered to a property, the Metadata response will contain `customEvent:
|
56
|
+
# levels_unlocked`. Universal metadata are dimensions and metrics applicable to
|
57
|
+
# any property such as `country` and `totalUsers`.
|
58
|
+
# @param [String] name
|
59
|
+
# Required. The resource name of the metadata to retrieve. This name field is
|
60
|
+
# specified in the URL path and not URL parameters. Property is a numeric Google
|
61
|
+
# Analytics App + Web Property identifier. Example: properties/1234/metadata
|
62
|
+
# @param [String] fields
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
64
|
+
# @param [String] quota_user
|
65
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
66
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
|
+
# @param [Google::Apis::RequestOptions] options
|
68
|
+
# Request-specific options
|
69
|
+
#
|
70
|
+
# @yield [result, err] Result & error if block supplied
|
71
|
+
# @yieldparam result [Google::Apis::AnalyticsdataV1alpha::Metadata] parsed result object
|
72
|
+
# @yieldparam err [StandardError] error object if request failed
|
73
|
+
#
|
74
|
+
# @return [Google::Apis::AnalyticsdataV1alpha::Metadata]
|
75
|
+
#
|
76
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
+
def get_property_metadata(name, fields: nil, quota_user: nil, options: nil, &block)
|
80
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
81
|
+
command.response_representation = Google::Apis::AnalyticsdataV1alpha::Metadata::Representation
|
82
|
+
command.response_class = Google::Apis::AnalyticsdataV1alpha::Metadata
|
83
|
+
command.params['name'] = name unless name.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
50
89
|
# Returns multiple pivot reports in a batch. All reports must be for the same
|
51
90
|
# Entity.
|
52
91
|
# @param [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest] batch_run_pivot_reports_request_object
|
@@ -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 = '20201007'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -1863,8 +1863,6 @@ module Google
|
|
1863
1863
|
# @param [String] package_name
|
1864
1864
|
# The package name of the application for which this subscription was purchased (
|
1865
1865
|
# for example, 'com.some.thing').
|
1866
|
-
# @param [String] subscription_id
|
1867
|
-
# The purchased subscription ID (for example, 'monthly001').
|
1868
1866
|
# @param [String] token
|
1869
1867
|
# The token provided to the user's device when the subscription was purchased.
|
1870
1868
|
# @param [String] fields
|
@@ -1884,10 +1882,9 @@ module Google
|
|
1884
1882
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1885
1883
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1886
1884
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1887
|
-
def cancel_purchase_subscription(package_name,
|
1888
|
-
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/
|
1885
|
+
def cancel_purchase_subscription(package_name, token, fields: nil, quota_user: nil, options: nil, &block)
|
1886
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/subscriptions/tokens/{token}:cancel', options)
|
1889
1887
|
command.params['packageName'] = package_name unless package_name.nil?
|
1890
|
-
command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
|
1891
1888
|
command.params['token'] = token unless token.nil?
|
1892
1889
|
command.query['fields'] = fields unless fields.nil?
|
1893
1890
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @see https://cloud.google.com/apigee-api-management/
|
30
30
|
module ApigeeV1
|
31
31
|
VERSION = 'V1'
|
32
|
-
REVISION = '
|
32
|
+
REVISION = '20201002'
|
33
33
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -255,6 +255,86 @@ module Google
|
|
255
255
|
end
|
256
256
|
end
|
257
257
|
|
258
|
+
# the Api category resource wrapped with response status, error_code etc.
|
259
|
+
class GoogleCloudApigeeV1ApiCategory
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# the Api category resource.
|
263
|
+
# Corresponds to the JSON property `data`
|
264
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData]
|
265
|
+
attr_accessor :data
|
266
|
+
|
267
|
+
# ID that can be used to find errors in the log files.
|
268
|
+
# Corresponds to the JSON property `errorCode`
|
269
|
+
# @return [String]
|
270
|
+
attr_accessor :error_code
|
271
|
+
|
272
|
+
# Description of the operation.
|
273
|
+
# Corresponds to the JSON property `message`
|
274
|
+
# @return [String]
|
275
|
+
attr_accessor :message
|
276
|
+
|
277
|
+
# ID that can be used to find request details in the log files.
|
278
|
+
# Corresponds to the JSON property `requestId`
|
279
|
+
# @return [String]
|
280
|
+
attr_accessor :request_id
|
281
|
+
|
282
|
+
# Status of the operation.
|
283
|
+
# Corresponds to the JSON property `status`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :status
|
286
|
+
|
287
|
+
def initialize(**args)
|
288
|
+
update!(**args)
|
289
|
+
end
|
290
|
+
|
291
|
+
# Update properties of this object
|
292
|
+
def update!(**args)
|
293
|
+
@data = args[:data] if args.key?(:data)
|
294
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
295
|
+
@message = args[:message] if args.key?(:message)
|
296
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
297
|
+
@status = args[:status] if args.key?(:status)
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# the Api category resource.
|
302
|
+
class GoogleCloudApigeeV1ApiCategoryData
|
303
|
+
include Google::Apis::Core::Hashable
|
304
|
+
|
305
|
+
# ID of the category (a UUID).
|
306
|
+
# Corresponds to the JSON property `id`
|
307
|
+
# @return [String]
|
308
|
+
attr_accessor :id
|
309
|
+
|
310
|
+
# Name of the category.
|
311
|
+
# Corresponds to the JSON property `name`
|
312
|
+
# @return [String]
|
313
|
+
attr_accessor :name
|
314
|
+
|
315
|
+
# Name of the portal.
|
316
|
+
# Corresponds to the JSON property `siteId`
|
317
|
+
# @return [String]
|
318
|
+
attr_accessor :site_id
|
319
|
+
|
320
|
+
# Time the category was last modified in milliseconds since epoch.
|
321
|
+
# Corresponds to the JSON property `updateTime`
|
322
|
+
# @return [Fixnum]
|
323
|
+
attr_accessor :update_time
|
324
|
+
|
325
|
+
def initialize(**args)
|
326
|
+
update!(**args)
|
327
|
+
end
|
328
|
+
|
329
|
+
# Update properties of this object
|
330
|
+
def update!(**args)
|
331
|
+
@id = args[:id] if args.key?(:id)
|
332
|
+
@name = args[:name] if args.key?(:name)
|
333
|
+
@site_id = args[:site_id] if args.key?(:site_id)
|
334
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
258
338
|
#
|
259
339
|
class GoogleCloudApigeeV1ApiProduct
|
260
340
|
include Google::Apis::Core::Hashable
|
@@ -631,6 +711,43 @@ module Google
|
|
631
711
|
end
|
632
712
|
end
|
633
713
|
|
714
|
+
#
|
715
|
+
class GoogleCloudApigeeV1ApiResponseWrapper
|
716
|
+
include Google::Apis::Core::Hashable
|
717
|
+
|
718
|
+
# ID that can be used to find errors in the log files.
|
719
|
+
# Corresponds to the JSON property `errorCode`
|
720
|
+
# @return [String]
|
721
|
+
attr_accessor :error_code
|
722
|
+
|
723
|
+
# Description of the operation.
|
724
|
+
# Corresponds to the JSON property `message`
|
725
|
+
# @return [String]
|
726
|
+
attr_accessor :message
|
727
|
+
|
728
|
+
# ID that can be used to find request details in the log files.
|
729
|
+
# Corresponds to the JSON property `requestId`
|
730
|
+
# @return [String]
|
731
|
+
attr_accessor :request_id
|
732
|
+
|
733
|
+
# Status of the operation.
|
734
|
+
# Corresponds to the JSON property `status`
|
735
|
+
# @return [String]
|
736
|
+
attr_accessor :status
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
745
|
+
@message = args[:message] if args.key?(:message)
|
746
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
747
|
+
@status = args[:status] if args.key?(:status)
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
634
751
|
#
|
635
752
|
class GoogleCloudApigeeV1App
|
636
753
|
include Google::Apis::Core::Hashable
|
@@ -2818,6 +2935,12 @@ module Google
|
|
2818
2935
|
# @return [String]
|
2819
2936
|
attr_accessor :port
|
2820
2937
|
|
2938
|
+
# Output only. State of the instance. Values other than ACTIVE means the
|
2939
|
+
# resource is not ready to use.
|
2940
|
+
# Corresponds to the JSON property `state`
|
2941
|
+
# @return [String]
|
2942
|
+
attr_accessor :state
|
2943
|
+
|
2821
2944
|
def initialize(**args)
|
2822
2945
|
update!(**args)
|
2823
2946
|
end
|
@@ -2833,6 +2956,7 @@ module Google
|
|
2833
2956
|
@location = args[:location] if args.key?(:location)
|
2834
2957
|
@name = args[:name] if args.key?(:name)
|
2835
2958
|
@port = args[:port] if args.key?(:port)
|
2959
|
+
@state = args[:state] if args.key?(:state)
|
2836
2960
|
end
|
2837
2961
|
end
|
2838
2962
|
|
@@ -3067,6 +3191,49 @@ module Google
|
|
3067
3191
|
end
|
3068
3192
|
end
|
3069
3193
|
|
3194
|
+
# the response for ListApiCategoriesRequest.
|
3195
|
+
class GoogleCloudApigeeV1ListApiCategoriesResponse
|
3196
|
+
include Google::Apis::Core::Hashable
|
3197
|
+
|
3198
|
+
# Details of categories.
|
3199
|
+
# Corresponds to the JSON property `data`
|
3200
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiCategoryData>]
|
3201
|
+
attr_accessor :data
|
3202
|
+
|
3203
|
+
# ID that can be used to find errors in the log files.
|
3204
|
+
# Corresponds to the JSON property `errorCode`
|
3205
|
+
# @return [String]
|
3206
|
+
attr_accessor :error_code
|
3207
|
+
|
3208
|
+
# Description of the operation.
|
3209
|
+
# Corresponds to the JSON property `message`
|
3210
|
+
# @return [String]
|
3211
|
+
attr_accessor :message
|
3212
|
+
|
3213
|
+
# ID that can be used to find request details in the log files.
|
3214
|
+
# Corresponds to the JSON property `requestId`
|
3215
|
+
# @return [String]
|
3216
|
+
attr_accessor :request_id
|
3217
|
+
|
3218
|
+
# Status of the operation.
|
3219
|
+
# Corresponds to the JSON property `status`
|
3220
|
+
# @return [String]
|
3221
|
+
attr_accessor :status
|
3222
|
+
|
3223
|
+
def initialize(**args)
|
3224
|
+
update!(**args)
|
3225
|
+
end
|
3226
|
+
|
3227
|
+
# Update properties of this object
|
3228
|
+
def update!(**args)
|
3229
|
+
@data = args[:data] if args.key?(:data)
|
3230
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
3231
|
+
@message = args[:message] if args.key?(:message)
|
3232
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
3233
|
+
@status = args[:status] if args.key?(:status)
|
3234
|
+
end
|
3235
|
+
end
|
3236
|
+
|
3070
3237
|
#
|
3071
3238
|
class GoogleCloudApigeeV1ListApiProductsResponse
|
3072
3239
|
include Google::Apis::Core::Hashable
|
@@ -4042,6 +4209,41 @@ module Google
|
|
4042
4209
|
end
|
4043
4210
|
end
|
4044
4211
|
|
4212
|
+
# Request for ProvisionOrganization.
|
4213
|
+
class GoogleCloudApigeeV1ProvisionOrganizationRequest
|
4214
|
+
include Google::Apis::Core::Hashable
|
4215
|
+
|
4216
|
+
# Primary Cloud Platform region for analytics data storage. For valid values,
|
4217
|
+
# see [Create an organization](https://docs.apigee.com/hybrid/latest/precog-
|
4218
|
+
# provision). Defaults to us-west1.
|
4219
|
+
# Corresponds to the JSON property `analyticsRegion`
|
4220
|
+
# @return [String]
|
4221
|
+
attr_accessor :analytics_region
|
4222
|
+
|
4223
|
+
# Name of the customer project's VPC network. If provided, the network needs to
|
4224
|
+
# be peered through Service Networking. If none is provided, the organization
|
4225
|
+
# will have access only to the public internet.
|
4226
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
4227
|
+
# @return [String]
|
4228
|
+
attr_accessor :authorized_network
|
4229
|
+
|
4230
|
+
# Cloud Platform location for the runtime instance. Defaults to us-west1-a.
|
4231
|
+
# Corresponds to the JSON property `runtimeLocation`
|
4232
|
+
# @return [String]
|
4233
|
+
attr_accessor :runtime_location
|
4234
|
+
|
4235
|
+
def initialize(**args)
|
4236
|
+
update!(**args)
|
4237
|
+
end
|
4238
|
+
|
4239
|
+
# Update properties of this object
|
4240
|
+
def update!(**args)
|
4241
|
+
@analytics_region = args[:analytics_region] if args.key?(:analytics_region)
|
4242
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
4243
|
+
@runtime_location = args[:runtime_location] if args.key?(:runtime_location)
|
4244
|
+
end
|
4245
|
+
end
|
4246
|
+
|
4045
4247
|
#
|
4046
4248
|
class GoogleCloudApigeeV1Query
|
4047
4249
|
include Google::Apis::Core::Hashable
|
@@ -4661,12 +4863,36 @@ module Google
|
|
4661
4863
|
# @return [String]
|
4662
4864
|
attr_accessor :basepath
|
4663
4865
|
|
4866
|
+
# The env group config revision_id when this rule was added or last updated.
|
4867
|
+
# This value is set when the rule is created and will only update if the the
|
4868
|
+
# environment_id changes. It is used to determine if the runtime is up to date
|
4869
|
+
# with respect to this rule. This field is omitted from the IngressConfig unless
|
4870
|
+
# the GetDeployedIngressConfig API is called with debug=true.
|
4871
|
+
# Corresponds to the JSON property `envGroupRevision`
|
4872
|
+
# @return [Fixnum]
|
4873
|
+
attr_accessor :env_group_revision
|
4874
|
+
|
4664
4875
|
# Name of an environment bound to the environment group in the following format:
|
4665
4876
|
# `organizations/`org`/environments/`env``.
|
4666
4877
|
# Corresponds to the JSON property `environment`
|
4667
4878
|
# @return [String]
|
4668
4879
|
attr_accessor :environment
|
4669
4880
|
|
4881
|
+
# The resource name of the proxy revision that is receiving this basepath in the
|
4882
|
+
# following format: `organizations/`org`/apis/`api`/revisions/`rev``. This field
|
4883
|
+
# is omitted from the IngressConfig unless the GetDeployedIngressConfig API is
|
4884
|
+
# called with debug=true.
|
4885
|
+
# Corresponds to the JSON property `receiver`
|
4886
|
+
# @return [String]
|
4887
|
+
attr_accessor :receiver
|
4888
|
+
|
4889
|
+
# The unix timestamp when this rule was updated. This is updated whenever
|
4890
|
+
# env_group_revision is updated. This field is omitted from the IngressConfig
|
4891
|
+
# unless the GetDeployedIngressConfig API is called with debug=true.
|
4892
|
+
# Corresponds to the JSON property `updateTime`
|
4893
|
+
# @return [String]
|
4894
|
+
attr_accessor :update_time
|
4895
|
+
|
4670
4896
|
def initialize(**args)
|
4671
4897
|
update!(**args)
|
4672
4898
|
end
|
@@ -4674,7 +4900,10 @@ module Google
|
|
4674
4900
|
# Update properties of this object
|
4675
4901
|
def update!(**args)
|
4676
4902
|
@basepath = args[:basepath] if args.key?(:basepath)
|
4903
|
+
@env_group_revision = args[:env_group_revision] if args.key?(:env_group_revision)
|
4677
4904
|
@environment = args[:environment] if args.key?(:environment)
|
4905
|
+
@receiver = args[:receiver] if args.key?(:receiver)
|
4906
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4678
4907
|
end
|
4679
4908
|
end
|
4680
4909
|
|
@@ -5422,7 +5651,8 @@ module Google
|
|
5422
5651
|
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TlsInfoCommonName]
|
5423
5652
|
attr_accessor :common_name
|
5424
5653
|
|
5425
|
-
# Required. Enables one-way TLS
|
5654
|
+
# Required. Enables TLS. If false, neither one-way nor two-way TLS will be
|
5655
|
+
# enabled.
|
5426
5656
|
# Corresponds to the JSON property `enabled`
|
5427
5657
|
# @return [Boolean]
|
5428
5658
|
attr_accessor :enabled
|