google-api-client 0.44.2 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV3beta1
|
28
28
|
VERSION = 'V3beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200914'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -679,6 +679,14 @@ module Google
|
|
679
679
|
attr_accessor :is_list
|
680
680
|
alias_method :is_list?, :is_list
|
681
681
|
|
682
|
+
# Indicates whether the parameter content is logged in text and audio. If it is
|
683
|
+
# set to true, the parameter content will be replaced to parameter name in both
|
684
|
+
# request and response. The default value is false.
|
685
|
+
# Corresponds to the JSON property `redact`
|
686
|
+
# @return [Boolean]
|
687
|
+
attr_accessor :redact
|
688
|
+
alias_method :redact?, :redact
|
689
|
+
|
682
690
|
# Indicates whether the parameter is required. Optional parameters will not
|
683
691
|
# trigger prompts; however, they are filled if the user specifies them. Required
|
684
692
|
# parameters must be filled before form filling concludes.
|
@@ -698,6 +706,7 @@ module Google
|
|
698
706
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
699
707
|
@fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior)
|
700
708
|
@is_list = args[:is_list] if args.key?(:is_list)
|
709
|
+
@redact = args[:redact] if args.key?(:redact)
|
701
710
|
@required = args[:required] if args.key?(:required)
|
702
711
|
end
|
703
712
|
end
|
@@ -1195,6 +1204,14 @@ module Google
|
|
1195
1204
|
attr_accessor :is_list
|
1196
1205
|
alias_method :is_list?, :is_list
|
1197
1206
|
|
1207
|
+
# Indicates whether the parameter content is logged in text and audio. If it is
|
1208
|
+
# set to true, the parameter content will be replaced to parameter id in both
|
1209
|
+
# request and response. The default value is false.
|
1210
|
+
# Corresponds to the JSON property `redact`
|
1211
|
+
# @return [Boolean]
|
1212
|
+
attr_accessor :redact
|
1213
|
+
alias_method :redact?, :redact
|
1214
|
+
|
1198
1215
|
def initialize(**args)
|
1199
1216
|
update!(**args)
|
1200
1217
|
end
|
@@ -1204,6 +1221,7 @@ module Google
|
|
1204
1221
|
@entity_type = args[:entity_type] if args.key?(:entity_type)
|
1205
1222
|
@id = args[:id] if args.key?(:id)
|
1206
1223
|
@is_list = args[:is_list] if args.key?(:is_list)
|
1224
|
+
@redact = args[:redact] if args.key?(:redact)
|
1207
1225
|
end
|
1208
1226
|
end
|
1209
1227
|
|
@@ -1441,6 +1441,7 @@ module Google
|
|
1441
1441
|
property :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation
|
1442
1442
|
|
1443
1443
|
property :is_list, as: 'isList'
|
1444
|
+
property :redact, as: 'redact'
|
1444
1445
|
property :required, as: 'required'
|
1445
1446
|
end
|
1446
1447
|
end
|
@@ -1575,6 +1576,7 @@ module Google
|
|
1575
1576
|
property :entity_type, as: 'entityType'
|
1576
1577
|
property :id, as: 'id'
|
1577
1578
|
property :is_list, as: 'isList'
|
1579
|
+
property :redact, as: 'redact'
|
1578
1580
|
end
|
1579
1581
|
end
|
1580
1582
|
|
@@ -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 = '20200914'
|
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'
|
@@ -687,8 +687,8 @@ module Google
|
|
687
687
|
# The self-reported size of the version. This value is used for a pre-emptive
|
688
688
|
# quota check for legacy version uploads.
|
689
689
|
# @param [String] version_id
|
690
|
-
# A unique id for the new version. This is only specified for legacy version
|
691
|
-
# creations.
|
690
|
+
# A unique id for the new version. This is was only specified for legacy version
|
691
|
+
# creations, and should be blank.
|
692
692
|
# @param [String] fields
|
693
693
|
# Selector specifying which fields to include in a partial response.
|
694
694
|
# @param [String] quota_user
|
@@ -1522,8 +1522,8 @@ module Google
|
|
1522
1522
|
# The self-reported size of the version. This value is used for a pre-emptive
|
1523
1523
|
# quota check for legacy version uploads.
|
1524
1524
|
# @param [String] version_id
|
1525
|
-
# A unique id for the new version. This is only specified for legacy version
|
1526
|
-
# creations.
|
1525
|
+
# A unique id for the new version. This is was only specified for legacy version
|
1526
|
+
# creations, and should be blank.
|
1527
1527
|
# @param [String] fields
|
1528
1528
|
# Selector specifying which fields to include in a partial response.
|
1529
1529
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200909'
|
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'
|
@@ -118,9 +118,7 @@ module Google
|
|
118
118
|
|
119
119
|
# Creates a new health dataset. Results are returned through the Operation
|
120
120
|
# interface which returns either an `Operation.response` which contains a
|
121
|
-
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
122
|
-
# Google Cloud Platform project can contain up to 500 datasets across all
|
123
|
-
# regions.
|
121
|
+
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
124
122
|
# @param [String] parent
|
125
123
|
# The name of the project where the server creates the dataset. For example, `
|
126
124
|
# projects/`project_id`/locations/`location_id``.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/healthcare
|
26
26
|
module HealthcareV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200909'
|
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'
|
@@ -3231,6 +3231,12 @@ module Google
|
|
3231
3231
|
# @return [String]
|
3232
3232
|
attr_accessor :segment_terminator
|
3233
3233
|
|
3234
|
+
# Immutable. Determines the version of the unschematized parser to be used when `
|
3235
|
+
# schema` is not given. This field is immutable after store creation.
|
3236
|
+
# Corresponds to the JSON property `version`
|
3237
|
+
# @return [String]
|
3238
|
+
attr_accessor :version
|
3239
|
+
|
3234
3240
|
def initialize(**args)
|
3235
3241
|
update!(**args)
|
3236
3242
|
end
|
@@ -3240,6 +3246,7 @@ module Google
|
|
3240
3246
|
@allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
|
3241
3247
|
@schema = args[:schema] if args.key?(:schema)
|
3242
3248
|
@segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
|
3249
|
+
@version = args[:version] if args.key?(:version)
|
3243
3250
|
end
|
3244
3251
|
end
|
3245
3252
|
|
@@ -1645,6 +1645,7 @@ module Google
|
|
1645
1645
|
property :schema, as: 'schema', class: Google::Apis::HealthcareV1beta1::SchemaPackage, decorator: Google::Apis::HealthcareV1beta1::SchemaPackage::Representation
|
1646
1646
|
|
1647
1647
|
property :segment_terminator, :base64 => true, as: 'segmentTerminator'
|
1648
|
+
property :version, as: 'version'
|
1648
1649
|
end
|
1649
1650
|
end
|
1650
1651
|
|
@@ -118,9 +118,7 @@ module Google
|
|
118
118
|
|
119
119
|
# Creates a new health dataset. Results are returned through the Operation
|
120
120
|
# interface which returns either an `Operation.response` which contains a
|
121
|
-
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
122
|
-
# Google Cloud Platform project can contain up to 500 datasets across all
|
123
|
-
# regions.
|
121
|
+
# Dataset or `Operation.error`. The metadata field type is OperationMetadata.
|
124
122
|
# @param [String] parent
|
125
123
|
# The name of the project where the server creates the dataset. For example, `
|
126
124
|
# projects/`project_id`/locations/`location_id``.
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# @see https://cloud.google.com/iam/
|
31
31
|
module IamV1
|
32
32
|
VERSION = 'V1'
|
33
|
-
REVISION = '
|
33
|
+
REVISION = '20200910'
|
34
34
|
|
35
35
|
# View and manage your data across Google Cloud Platform services
|
36
36
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1371,7 +1371,8 @@ module Google
|
|
1371
1371
|
execute_or_queue_command(command, &block)
|
1372
1372
|
end
|
1373
1373
|
|
1374
|
-
# Deletes a ServiceAccountKey.
|
1374
|
+
# Deletes a ServiceAccountKey. Deleting a service account key does not revoke
|
1375
|
+
# short-lived credentials that have been issued based on the service account key.
|
1375
1376
|
# @param [String] name
|
1376
1377
|
# Required. The resource name of the service account key in the following format:
|
1377
1378
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a
|
@@ -18,14 +18,15 @@ require 'google/apis/licensing_v1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Enterprise License Manager API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# The Google Enterprise License Manager API's allows you to license apps for all
|
24
|
+
# the users of a domain managed by you.
|
24
25
|
#
|
25
26
|
# @see https://developers.google.com/admin-sdk/licensing/
|
26
27
|
module LicensingV1
|
27
28
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
+
REVISION = '20200912'
|
29
30
|
|
30
31
|
# View and manage G Suite licenses for your domain
|
31
32
|
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
|
@@ -20,9 +20,10 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module LicensingV1
|
23
|
-
#
|
23
|
+
# Enterprise License Manager API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# The Google Enterprise License Manager API's allows you to license apps for all
|
26
|
+
# the users of a domain managed by you.
|
26
27
|
#
|
27
28
|
# @example
|
28
29
|
# require 'google/apis/licensing_v1'
|
@@ -38,16 +39,12 @@ module Google
|
|
38
39
|
attr_accessor :key
|
39
40
|
|
40
41
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
44
|
attr_accessor :quota_user
|
44
45
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
46
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
47
|
+
super('https://www.googleapis.com/', '')
|
51
48
|
@batch_path = 'batch/licensing/v1'
|
52
49
|
end
|
53
50
|
|
@@ -60,18 +57,15 @@ module Google
|
|
60
57
|
# in this version of the API, see Products and SKUs.
|
61
58
|
# @param [String] user_id
|
62
59
|
# The user's current primary email address. If the user's email address changes,
|
63
|
-
# use the new email address in your API requests.
|
64
|
-
#
|
65
|
-
#
|
66
|
-
# changes.
|
67
|
-
# If the userId is suspended, the license status changes.
|
60
|
+
# use the new email address in your API requests. Since a userId is subject to
|
61
|
+
# change, do not use a userId value as a key for persistent data. This key could
|
62
|
+
# break if the current user's email address changes. If the userId is suspended,
|
63
|
+
# the license status changes.
|
68
64
|
# @param [String] fields
|
69
65
|
# Selector specifying which fields to include in a partial response.
|
70
66
|
# @param [String] quota_user
|
71
|
-
#
|
72
|
-
# characters.
|
73
|
-
# @param [String] user_ip
|
74
|
-
# Deprecated. Please use quotaUser instead.
|
67
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
68
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
75
69
|
# @param [Google::Apis::RequestOptions] options
|
76
70
|
# Request-specific options
|
77
71
|
#
|
@@ -84,14 +78,13 @@ module Google
|
|
84
78
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
85
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
86
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
87
|
-
def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil,
|
88
|
-
command = make_simple_command(:delete, '{productId}/sku/{skuId}/user/{userId}', options)
|
81
|
+
def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
82
|
+
command = make_simple_command(:delete, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
|
89
83
|
command.params['productId'] = product_id unless product_id.nil?
|
90
84
|
command.params['skuId'] = sku_id unless sku_id.nil?
|
91
85
|
command.params['userId'] = user_id unless user_id.nil?
|
92
86
|
command.query['fields'] = fields unless fields.nil?
|
93
87
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
94
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
95
88
|
execute_or_queue_command(command, &block)
|
96
89
|
end
|
97
90
|
|
@@ -104,18 +97,15 @@ module Google
|
|
104
97
|
# in this version of the API, see Products and SKUs.
|
105
98
|
# @param [String] user_id
|
106
99
|
# The user's current primary email address. If the user's email address changes,
|
107
|
-
# use the new email address in your API requests.
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# changes.
|
111
|
-
# If the userId is suspended, the license status changes.
|
100
|
+
# use the new email address in your API requests. Since a userId is subject to
|
101
|
+
# change, do not use a userId value as a key for persistent data. This key could
|
102
|
+
# break if the current user's email address changes. If the userId is suspended,
|
103
|
+
# the license status changes.
|
112
104
|
# @param [String] fields
|
113
105
|
# Selector specifying which fields to include in a partial response.
|
114
106
|
# @param [String] quota_user
|
115
|
-
#
|
116
|
-
# characters.
|
117
|
-
# @param [String] user_ip
|
118
|
-
# Deprecated. Please use quotaUser instead.
|
107
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
108
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
119
109
|
# @param [Google::Apis::RequestOptions] options
|
120
110
|
# Request-specific options
|
121
111
|
#
|
@@ -128,8 +118,8 @@ module Google
|
|
128
118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
129
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
130
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
131
|
-
def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil,
|
132
|
-
command = make_simple_command(:get, '{productId}/sku/{skuId}/user/{userId}', options)
|
121
|
+
def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
122
|
+
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
|
133
123
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
134
124
|
command.response_class = Google::Apis::LicensingV1::LicenseAssignment
|
135
125
|
command.params['productId'] = product_id unless product_id.nil?
|
@@ -137,7 +127,6 @@ module Google
|
|
137
127
|
command.params['userId'] = user_id unless user_id.nil?
|
138
128
|
command.query['fields'] = fields unless fields.nil?
|
139
129
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
140
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
141
130
|
execute_or_queue_command(command, &block)
|
142
131
|
end
|
143
132
|
|
@@ -152,10 +141,8 @@ module Google
|
|
152
141
|
# @param [String] fields
|
153
142
|
# Selector specifying which fields to include in a partial response.
|
154
143
|
# @param [String] quota_user
|
155
|
-
#
|
156
|
-
# characters.
|
157
|
-
# @param [String] user_ip
|
158
|
-
# Deprecated. Please use quotaUser instead.
|
144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
159
146
|
# @param [Google::Apis::RequestOptions] options
|
160
147
|
# Request-specific options
|
161
148
|
#
|
@@ -168,8 +155,8 @@ module Google
|
|
168
155
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
169
156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
|
-
def insert_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil,
|
172
|
-
command = make_simple_command(:post, '{productId}/sku/{skuId}/user', options)
|
158
|
+
def insert_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
command = make_simple_command(:post, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user', options)
|
173
160
|
command.request_representation = Google::Apis::LicensingV1::LicenseAssignmentInsert::Representation
|
174
161
|
command.request_object = license_assignment_insert_object
|
175
162
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
@@ -178,7 +165,6 @@ module Google
|
|
178
165
|
command.params['skuId'] = sku_id unless sku_id.nil?
|
179
166
|
command.query['fields'] = fields unless fields.nil?
|
180
167
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
182
168
|
execute_or_queue_command(command, &block)
|
183
169
|
end
|
184
170
|
|
@@ -188,8 +174,8 @@ module Google
|
|
188
174
|
# version of the API, see Products and SKUs.
|
189
175
|
# @param [String] customer_id
|
190
176
|
# Customer's customerId. A previous version of this API accepted the primary
|
191
|
-
# domain name as a value for this field.
|
192
|
-
#
|
177
|
+
# domain name as a value for this field. If the customer is suspended, the
|
178
|
+
# server returns an error.
|
193
179
|
# @param [Fixnum] max_results
|
194
180
|
# The maxResults query string determines how many entries are returned on each
|
195
181
|
# page of a large response. This is an optional parameter. The value must be a
|
@@ -202,10 +188,8 @@ module Google
|
|
202
188
|
# @param [String] fields
|
203
189
|
# Selector specifying which fields to include in a partial response.
|
204
190
|
# @param [String] quota_user
|
205
|
-
#
|
206
|
-
# characters.
|
207
|
-
# @param [String] user_ip
|
208
|
-
# Deprecated. Please use quotaUser instead.
|
191
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
192
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
209
193
|
# @param [Google::Apis::RequestOptions] options
|
210
194
|
# Request-specific options
|
211
195
|
#
|
@@ -218,8 +202,8 @@ module Google
|
|
218
202
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
-
def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
222
|
-
command = make_simple_command(:get, '{productId}/users', options)
|
205
|
+
def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
206
|
+
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/users', options)
|
223
207
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
224
208
|
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
|
225
209
|
command.params['productId'] = product_id unless product_id.nil?
|
@@ -228,7 +212,6 @@ module Google
|
|
228
212
|
command.query['pageToken'] = page_token unless page_token.nil?
|
229
213
|
command.query['fields'] = fields unless fields.nil?
|
230
214
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
231
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
232
215
|
execute_or_queue_command(command, &block)
|
233
216
|
end
|
234
217
|
|
@@ -241,8 +224,8 @@ module Google
|
|
241
224
|
# in this version of the API, see Products and SKUs.
|
242
225
|
# @param [String] customer_id
|
243
226
|
# Customer's customerId. A previous version of this API accepted the primary
|
244
|
-
# domain name as a value for this field.
|
245
|
-
#
|
227
|
+
# domain name as a value for this field. If the customer is suspended, the
|
228
|
+
# server returns an error.
|
246
229
|
# @param [Fixnum] max_results
|
247
230
|
# The maxResults query string determines how many entries are returned on each
|
248
231
|
# page of a large response. This is an optional parameter. The value must be a
|
@@ -255,10 +238,8 @@ module Google
|
|
255
238
|
# @param [String] fields
|
256
239
|
# Selector specifying which fields to include in a partial response.
|
257
240
|
# @param [String] quota_user
|
258
|
-
#
|
259
|
-
# characters.
|
260
|
-
# @param [String] user_ip
|
261
|
-
# Deprecated. Please use quotaUser instead.
|
241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
262
243
|
# @param [Google::Apis::RequestOptions] options
|
263
244
|
# Request-specific options
|
264
245
|
#
|
@@ -271,8 +252,8 @@ module Google
|
|
271
252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
|
-
def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil,
|
275
|
-
command = make_simple_command(:get, '{productId}/sku/{skuId}/users', options)
|
255
|
+
def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
+
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/users', options)
|
276
257
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
277
258
|
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
|
278
259
|
command.params['productId'] = product_id unless product_id.nil?
|
@@ -282,12 +263,10 @@ module Google
|
|
282
263
|
command.query['pageToken'] = page_token unless page_token.nil?
|
283
264
|
command.query['fields'] = fields unless fields.nil?
|
284
265
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
285
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
286
266
|
execute_or_queue_command(command, &block)
|
287
267
|
end
|
288
268
|
|
289
|
-
#
|
290
|
-
# method supports patch semantics.
|
269
|
+
# Patch a Licensing info via Apiary Patch Orchestration
|
291
270
|
# @param [String] product_id
|
292
271
|
# A product's unique identifier. For more information about products in this
|
293
272
|
# version of the API, see Products and SKUs.
|
@@ -296,19 +275,16 @@ module Google
|
|
296
275
|
# in this version of the API, see Products and SKUs.
|
297
276
|
# @param [String] user_id
|
298
277
|
# The user's current primary email address. If the user's email address changes,
|
299
|
-
# use the new email address in your API requests.
|
300
|
-
#
|
301
|
-
#
|
302
|
-
# changes.
|
303
|
-
# If the userId is suspended, the license status changes.
|
278
|
+
# use the new email address in your API requests. Since a userId is subject to
|
279
|
+
# change, do not use a userId value as a key for persistent data. This key could
|
280
|
+
# break if the current user's email address changes. If the userId is suspended,
|
281
|
+
# the license status changes.
|
304
282
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
305
283
|
# @param [String] fields
|
306
284
|
# Selector specifying which fields to include in a partial response.
|
307
285
|
# @param [String] quota_user
|
308
|
-
#
|
309
|
-
# characters.
|
310
|
-
# @param [String] user_ip
|
311
|
-
# Deprecated. Please use quotaUser instead.
|
286
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
287
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
312
288
|
# @param [Google::Apis::RequestOptions] options
|
313
289
|
# Request-specific options
|
314
290
|
#
|
@@ -321,8 +297,8 @@ module Google
|
|
321
297
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
322
298
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
323
299
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
324
|
-
def patch_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil,
|
325
|
-
command = make_simple_command(:patch, '{productId}/sku/{skuId}/user/{userId}', options)
|
300
|
+
def patch_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
301
|
+
command = make_simple_command(:patch, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
|
326
302
|
command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
327
303
|
command.request_object = license_assignment_object
|
328
304
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
@@ -332,7 +308,6 @@ module Google
|
|
332
308
|
command.params['userId'] = user_id unless user_id.nil?
|
333
309
|
command.query['fields'] = fields unless fields.nil?
|
334
310
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
335
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
336
311
|
execute_or_queue_command(command, &block)
|
337
312
|
end
|
338
313
|
|
@@ -345,19 +320,16 @@ module Google
|
|
345
320
|
# in this version of the API, see Products and SKUs.
|
346
321
|
# @param [String] user_id
|
347
322
|
# The user's current primary email address. If the user's email address changes,
|
348
|
-
# use the new email address in your API requests.
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# changes.
|
352
|
-
# If the userId is suspended, the license status changes.
|
323
|
+
# use the new email address in your API requests. Since a userId is subject to
|
324
|
+
# change, do not use a userId value as a key for persistent data. This key could
|
325
|
+
# break if the current user's email address changes. If the userId is suspended,
|
326
|
+
# the license status changes.
|
353
327
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
354
328
|
# @param [String] fields
|
355
329
|
# Selector specifying which fields to include in a partial response.
|
356
330
|
# @param [String] quota_user
|
357
|
-
#
|
358
|
-
# characters.
|
359
|
-
# @param [String] user_ip
|
360
|
-
# Deprecated. Please use quotaUser instead.
|
331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
361
333
|
# @param [Google::Apis::RequestOptions] options
|
362
334
|
# Request-specific options
|
363
335
|
#
|
@@ -370,8 +342,8 @@ module Google
|
|
370
342
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
371
343
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
372
344
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
373
|
-
def update_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil,
|
374
|
-
command = make_simple_command(:put, '{productId}/sku/{skuId}/user/{userId}', options)
|
345
|
+
def update_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
346
|
+
command = make_simple_command(:put, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
|
375
347
|
command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
376
348
|
command.request_object = license_assignment_object
|
377
349
|
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
|
@@ -381,7 +353,6 @@ module Google
|
|
381
353
|
command.params['userId'] = user_id unless user_id.nil?
|
382
354
|
command.query['fields'] = fields unless fields.nil?
|
383
355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
384
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
385
356
|
execute_or_queue_command(command, &block)
|
386
357
|
end
|
387
358
|
|
@@ -390,7 +361,6 @@ module Google
|
|
390
361
|
def apply_command_defaults(command)
|
391
362
|
command.query['key'] = key unless key.nil?
|
392
363
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
393
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
394
364
|
end
|
395
365
|
end
|
396
366
|
end
|