google-api-client 0.33.1 → 0.33.2
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 +42 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +11 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -72
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +3 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +3 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +9 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +205 -4
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +93 -2
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +112 -0
- data/generated/google/apis/docs_v1/representations.rb +60 -0
- 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 +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +11 -7
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +9 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +8 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/speech_v2beta1.rb +34 -0
- data/generated/google/apis/speech_v2beta1/classes.rb +356 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +152 -0
- data/generated/google/apis/speech_v2beta1/service.rb +138 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +63 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +161 -30
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +141 -0
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +34 -34
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +34 -34
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
|
@@ -82,6 +82,30 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
class CreateFooterRequest
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class CreateFooterResponse
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class CreateHeaderRequest
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class CreateHeaderResponse
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
85
109
|
class CreateNamedRangeRequest
|
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
111
|
|
|
@@ -935,6 +959,34 @@ module Google
|
|
|
935
959
|
end
|
|
936
960
|
end
|
|
937
961
|
|
|
962
|
+
class CreateFooterRequest
|
|
963
|
+
# @private
|
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
965
|
+
property :type, as: 'type'
|
|
966
|
+
end
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
class CreateFooterResponse
|
|
970
|
+
# @private
|
|
971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
972
|
+
property :footer_id, as: 'footerId'
|
|
973
|
+
end
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
class CreateHeaderRequest
|
|
977
|
+
# @private
|
|
978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
979
|
+
property :type, as: 'type'
|
|
980
|
+
end
|
|
981
|
+
end
|
|
982
|
+
|
|
983
|
+
class CreateHeaderResponse
|
|
984
|
+
# @private
|
|
985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
986
|
+
property :header_id, as: 'headerId'
|
|
987
|
+
end
|
|
988
|
+
end
|
|
989
|
+
|
|
938
990
|
class CreateNamedRangeRequest
|
|
939
991
|
# @private
|
|
940
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1825,6 +1877,10 @@ module Google
|
|
|
1825
1877
|
class Request
|
|
1826
1878
|
# @private
|
|
1827
1879
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1880
|
+
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterRequest, decorator: Google::Apis::DocsV1::CreateFooterRequest::Representation
|
|
1881
|
+
|
|
1882
|
+
property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderRequest, decorator: Google::Apis::DocsV1::CreateHeaderRequest::Representation
|
|
1883
|
+
|
|
1828
1884
|
property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeRequest, decorator: Google::Apis::DocsV1::CreateNamedRangeRequest::Representation
|
|
1829
1885
|
|
|
1830
1886
|
property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::DocsV1::CreateParagraphBulletsRequest, decorator: Google::Apis::DocsV1::CreateParagraphBulletsRequest::Representation
|
|
@@ -1881,6 +1937,10 @@ module Google
|
|
|
1881
1937
|
class Response
|
|
1882
1938
|
# @private
|
|
1883
1939
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1940
|
+
property :create_footer, as: 'createFooter', class: Google::Apis::DocsV1::CreateFooterResponse, decorator: Google::Apis::DocsV1::CreateFooterResponse::Representation
|
|
1941
|
+
|
|
1942
|
+
property :create_header, as: 'createHeader', class: Google::Apis::DocsV1::CreateHeaderResponse, decorator: Google::Apis::DocsV1::CreateHeaderResponse::Representation
|
|
1943
|
+
|
|
1884
1944
|
property :create_named_range, as: 'createNamedRange', class: Google::Apis::DocsV1::CreateNamedRangeResponse, decorator: Google::Apis::DocsV1::CreateNamedRangeResponse::Representation
|
|
1885
1945
|
|
|
1886
1946
|
property :insert_inline_image, as: 'insertInlineImage', class: Google::Apis::DocsV1::InsertInlineImageResponse, decorator: Google::Apis::DocsV1::InsertInlineImageResponse::Representation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/drive/
|
|
27
27
|
module DriveV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191015'
|
|
30
30
|
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -127,7 +127,8 @@ module Google
|
|
|
127
127
|
# @return [Array<Google::Apis::DriveV2::About::QuotaBytesByService>]
|
|
128
128
|
attr_accessor :quota_bytes_by_service
|
|
129
129
|
|
|
130
|
-
# The total number of quota bytes.
|
|
130
|
+
# The total number of quota bytes. This is only relevant when quotaType is
|
|
131
|
+
# LIMITED.
|
|
131
132
|
# Corresponds to the JSON property `quotaBytesTotal`
|
|
132
133
|
# @return [Fixnum]
|
|
133
134
|
attr_accessor :quota_bytes_total
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
|
26
26
|
module FitnessV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191014'
|
|
29
29
|
|
|
30
30
|
# Use Google Fit to see and store your physical activity data
|
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
|
@@ -466,7 +466,7 @@ module Google
|
|
|
466
466
|
|
|
467
467
|
# Aggregates data of a certain type or stream into buckets divided by a given
|
|
468
468
|
# type of boundary. Multiple data sets of multiple types and from multiple
|
|
469
|
-
# sources can be
|
|
469
|
+
# sources can be aggregated into exactly one bucket type per request.
|
|
470
470
|
# @param [String] user_id
|
|
471
471
|
# Aggregate data for the person identified. Use me to indicate the authenticated
|
|
472
472
|
# user. Only me is supported at this time.
|
|
@@ -390,6 +390,7 @@ module Google
|
|
|
390
390
|
|
|
391
391
|
# Sets the access control policy on the specified resource. Replaces any
|
|
392
392
|
# existing policy.
|
|
393
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
393
394
|
# @param [String] resource
|
|
394
395
|
# REQUIRED: The resource for which the policy is being specified.
|
|
395
396
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -924,6 +925,7 @@ module Google
|
|
|
924
925
|
|
|
925
926
|
# Sets the access control policy on the specified resource. Replaces any
|
|
926
927
|
# existing policy.
|
|
928
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
927
929
|
# @param [String] resource
|
|
928
930
|
# REQUIRED: The resource for which the policy is being specified.
|
|
929
931
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -2059,6 +2061,7 @@ module Google
|
|
|
2059
2061
|
|
|
2060
2062
|
# Sets the access control policy on the specified resource. Replaces any
|
|
2061
2063
|
# existing policy.
|
|
2064
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
2062
2065
|
# @param [String] resource
|
|
2063
2066
|
# REQUIRED: The resource for which the policy is being specified.
|
|
2064
2067
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -2638,7 +2641,12 @@ module Google
|
|
|
2638
2641
|
# @param [String] name
|
|
2639
2642
|
# The name of the resource to retrieve.
|
|
2640
2643
|
# @param [String] _page_token
|
|
2641
|
-
#
|
|
2644
|
+
# Used to retrieve the first, previous, next, or last page of resource
|
|
2645
|
+
# versions when using pagination. Value should be set to the value of
|
|
2646
|
+
# `_page_token` set in next or previous page links' URLs. Next and previous
|
|
2647
|
+
# page are returned in the response bundle's links field, where
|
|
2648
|
+
# `link.relation` is "previous" or "next".
|
|
2649
|
+
# Omit `_page_token` if no previous request has been made.
|
|
2642
2650
|
# @param [String] at
|
|
2643
2651
|
# Only include resource versions that were current at some point during the
|
|
2644
2652
|
# time period specified in the date time value. The date parameter format is
|
|
@@ -2651,12 +2659,7 @@ module Google
|
|
|
2651
2659
|
# @param [Fixnum] count
|
|
2652
2660
|
# The maximum number of search results on a page. Defaults to 1000.
|
|
2653
2661
|
# @param [String] page
|
|
2654
|
-
#
|
|
2655
|
-
# versions when using pagination. Value should be set to the value of
|
|
2656
|
-
# `page` set in next or previous page links' URLs. Next and previous
|
|
2657
|
-
# page are returned in the response bundle's links field, where
|
|
2658
|
-
# `link.relation` is "previous" or "next".
|
|
2659
|
-
# Omit `page` if no previous request has been made.
|
|
2662
|
+
# DEPRECATED! Use `_page_token`.
|
|
2660
2663
|
# @param [String] since
|
|
2661
2664
|
# Only include resource versions that were created at or after the given
|
|
2662
2665
|
# instant in time. The instant in time uses the format
|
|
@@ -3165,6 +3168,7 @@ module Google
|
|
|
3165
3168
|
|
|
3166
3169
|
# Sets the access control policy on the specified resource. Replaces any
|
|
3167
3170
|
# existing policy.
|
|
3171
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
3168
3172
|
# @param [String] resource
|
|
3169
3173
|
# REQUIRED: The resource for which the policy is being specified.
|
|
3170
3174
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -18,14 +18,14 @@ require 'google/apis/licensing_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Licensing API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# Licensing API to view and manage licenses for your domain
|
|
24
24
|
#
|
|
25
|
-
# @see https://developers.google.com/
|
|
25
|
+
# @see https://developers.google.com/admin-sdk/licensing/
|
|
26
26
|
module LicensingV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190916'
|
|
29
29
|
|
|
30
30
|
# View and manage G Suite licenses for your domain
|
|
31
31
|
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module LicensingV1
|
|
24
24
|
|
|
25
|
-
#
|
|
25
|
+
# Representation of a license assignment.
|
|
26
26
|
class LicenseAssignment
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
@@ -36,7 +36,8 @@ module Google
|
|
|
36
36
|
# @return [String]
|
|
37
37
|
attr_accessor :kind
|
|
38
38
|
|
|
39
|
-
#
|
|
39
|
+
# A product's unique identifier. For more information about products in this
|
|
40
|
+
# version of the API, see Product and SKU IDs.
|
|
40
41
|
# Corresponds to the JSON property `productId`
|
|
41
42
|
# @return [String]
|
|
42
43
|
attr_accessor :product_id
|
|
@@ -51,7 +52,8 @@ module Google
|
|
|
51
52
|
# @return [String]
|
|
52
53
|
attr_accessor :self_link
|
|
53
54
|
|
|
54
|
-
#
|
|
55
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
56
|
+
# in this version of the API, see Products and SKUs.
|
|
55
57
|
# Corresponds to the JSON property `skuId`
|
|
56
58
|
# @return [String]
|
|
57
59
|
attr_accessor :sku_id
|
|
@@ -61,7 +63,11 @@ module Google
|
|
|
61
63
|
# @return [String]
|
|
62
64
|
attr_accessor :sku_name
|
|
63
65
|
|
|
64
|
-
#
|
|
66
|
+
# The user's current primary email address. If the user's email address changes,
|
|
67
|
+
# use the new email address in your API requests. Since a userId is subject to
|
|
68
|
+
# change, do not use a userId value as a key for persistent data. This key could
|
|
69
|
+
# break if the current user's email address changes. If the userId is suspended,
|
|
70
|
+
# the license status changes.
|
|
65
71
|
# Corresponds to the JSON property `userId`
|
|
66
72
|
# @return [String]
|
|
67
73
|
attr_accessor :user_id
|
|
@@ -83,7 +89,7 @@ module Google
|
|
|
83
89
|
end
|
|
84
90
|
end
|
|
85
91
|
|
|
86
|
-
#
|
|
92
|
+
# Representation of a license assignment.
|
|
87
93
|
class LicenseAssignmentInsert
|
|
88
94
|
include Google::Apis::Core::Hashable
|
|
89
95
|
|
|
@@ -121,8 +127,10 @@ module Google
|
|
|
121
127
|
# @return [String]
|
|
122
128
|
attr_accessor :kind
|
|
123
129
|
|
|
124
|
-
# The
|
|
125
|
-
#
|
|
130
|
+
# The token that you must submit in a subsequent request to retrieve additional
|
|
131
|
+
# license results matching your query parameters. The maxResults query string is
|
|
132
|
+
# related to the nextPageToken since maxResults determines how many entries are
|
|
133
|
+
# returned on each next page.
|
|
126
134
|
# Corresponds to the JSON property `nextPageToken`
|
|
127
135
|
# @return [String]
|
|
128
136
|
attr_accessor :next_page_token
|
|
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module LicensingV1
|
|
23
|
-
#
|
|
23
|
+
# Licensing API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# Licensing API to view and manage licenses for your domain
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/licensing_v1'
|
|
@@ -30,7 +30,7 @@ module Google
|
|
|
30
30
|
# Licensing = Google::Apis::LicensingV1 # Alias the module
|
|
31
31
|
# service = Licensing::LicensingService.new
|
|
32
32
|
#
|
|
33
|
-
# @see https://developers.google.com/
|
|
33
|
+
# @see https://developers.google.com/admin-sdk/licensing/
|
|
34
34
|
class LicensingService < Google::Apis::Core::BaseService
|
|
35
35
|
# @return [String]
|
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
|
@@ -51,13 +51,20 @@ module Google
|
|
|
51
51
|
@batch_path = 'batch/licensing/v1'
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
# Revoke
|
|
54
|
+
# Revoke a license.
|
|
55
55
|
# @param [String] product_id
|
|
56
|
-
#
|
|
56
|
+
# A product's unique identifier. For more information about products in this
|
|
57
|
+
# version of the API, see Products and SKUs.
|
|
57
58
|
# @param [String] sku_id
|
|
58
|
-
#
|
|
59
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
60
|
+
# in this version of the API, see Products and SKUs.
|
|
59
61
|
# @param [String] user_id
|
|
60
|
-
#
|
|
62
|
+
# 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
|
+
# Since a userId is subject to change, do not use a userId value as a key for
|
|
65
|
+
# persistent data. This key could break if the current user's email address
|
|
66
|
+
# changes.
|
|
67
|
+
# If the userId is suspended, the license status changes.
|
|
61
68
|
# @param [String] fields
|
|
62
69
|
# Selector specifying which fields to include in a partial response.
|
|
63
70
|
# @param [String] quota_user
|
|
@@ -88,13 +95,20 @@ module Google
|
|
|
88
95
|
execute_or_queue_command(command, &block)
|
|
89
96
|
end
|
|
90
97
|
|
|
91
|
-
# Get
|
|
98
|
+
# Get a specific user's license by product SKU.
|
|
92
99
|
# @param [String] product_id
|
|
93
|
-
#
|
|
100
|
+
# A product's unique identifier. For more information about products in this
|
|
101
|
+
# version of the API, see Products and SKUs.
|
|
94
102
|
# @param [String] sku_id
|
|
95
|
-
#
|
|
103
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
104
|
+
# in this version of the API, see Products and SKUs.
|
|
96
105
|
# @param [String] user_id
|
|
97
|
-
#
|
|
106
|
+
# 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
|
+
# Since a userId is subject to change, do not use a userId value as a key for
|
|
109
|
+
# persistent data. This key could break if the current user's email address
|
|
110
|
+
# changes.
|
|
111
|
+
# If the userId is suspended, the license status changes.
|
|
98
112
|
# @param [String] fields
|
|
99
113
|
# Selector specifying which fields to include in a partial response.
|
|
100
114
|
# @param [String] quota_user
|
|
@@ -127,11 +141,13 @@ module Google
|
|
|
127
141
|
execute_or_queue_command(command, &block)
|
|
128
142
|
end
|
|
129
143
|
|
|
130
|
-
# Assign
|
|
144
|
+
# Assign a license.
|
|
131
145
|
# @param [String] product_id
|
|
132
|
-
#
|
|
146
|
+
# A product's unique identifier. For more information about products in this
|
|
147
|
+
# version of the API, see Products and SKUs.
|
|
133
148
|
# @param [String] sku_id
|
|
134
|
-
#
|
|
149
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
150
|
+
# in this version of the API, see Products and SKUs.
|
|
135
151
|
# @param [Google::Apis::LicensingV1::LicenseAssignmentInsert] license_assignment_insert_object
|
|
136
152
|
# @param [String] fields
|
|
137
153
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -166,17 +182,23 @@ module Google
|
|
|
166
182
|
execute_or_queue_command(command, &block)
|
|
167
183
|
end
|
|
168
184
|
|
|
169
|
-
# List
|
|
185
|
+
# List all users assigned licenses for a specific product SKU.
|
|
170
186
|
# @param [String] product_id
|
|
171
|
-
#
|
|
187
|
+
# A product's unique identifier. For more information about products in this
|
|
188
|
+
# version of the API, see Products and SKUs.
|
|
172
189
|
# @param [String] customer_id
|
|
173
|
-
#
|
|
190
|
+
# Customer's customerId. A previous version of this API accepted the primary
|
|
191
|
+
# domain name as a value for this field.
|
|
192
|
+
# If the customer is suspended, the server returns an error.
|
|
174
193
|
# @param [Fixnum] max_results
|
|
175
|
-
#
|
|
176
|
-
#
|
|
194
|
+
# The maxResults query string determines how many entries are returned on each
|
|
195
|
+
# page of a large response. This is an optional parameter. The value must be a
|
|
196
|
+
# positive number.
|
|
177
197
|
# @param [String] page_token
|
|
178
|
-
# Token to fetch the next page.
|
|
179
|
-
#
|
|
198
|
+
# Token to fetch the next page of data. The maxResults query string is related
|
|
199
|
+
# to the pageToken since maxResults determines how many entries are returned on
|
|
200
|
+
# each page. This is an optional query string. If not specified, the server
|
|
201
|
+
# returns the first page.
|
|
180
202
|
# @param [String] fields
|
|
181
203
|
# Selector specifying which fields to include in a partial response.
|
|
182
204
|
# @param [String] quota_user
|
|
@@ -210,19 +232,26 @@ module Google
|
|
|
210
232
|
execute_or_queue_command(command, &block)
|
|
211
233
|
end
|
|
212
234
|
|
|
213
|
-
# List
|
|
235
|
+
# List all users assigned licenses for a specific product SKU.
|
|
214
236
|
# @param [String] product_id
|
|
215
|
-
#
|
|
237
|
+
# A product's unique identifier. For more information about products in this
|
|
238
|
+
# version of the API, see Products and SKUs.
|
|
216
239
|
# @param [String] sku_id
|
|
217
|
-
#
|
|
240
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
241
|
+
# in this version of the API, see Products and SKUs.
|
|
218
242
|
# @param [String] customer_id
|
|
219
|
-
#
|
|
243
|
+
# Customer's customerId. A previous version of this API accepted the primary
|
|
244
|
+
# domain name as a value for this field.
|
|
245
|
+
# If the customer is suspended, the server returns an error.
|
|
220
246
|
# @param [Fixnum] max_results
|
|
221
|
-
#
|
|
222
|
-
#
|
|
247
|
+
# The maxResults query string determines how many entries are returned on each
|
|
248
|
+
# page of a large response. This is an optional parameter. The value must be a
|
|
249
|
+
# positive number.
|
|
223
250
|
# @param [String] page_token
|
|
224
|
-
# Token to fetch the next page.
|
|
225
|
-
#
|
|
251
|
+
# Token to fetch the next page of data. The maxResults query string is related
|
|
252
|
+
# to the pageToken since maxResults determines how many entries are returned on
|
|
253
|
+
# each page. This is an optional query string. If not specified, the server
|
|
254
|
+
# returns the first page.
|
|
226
255
|
# @param [String] fields
|
|
227
256
|
# Selector specifying which fields to include in a partial response.
|
|
228
257
|
# @param [String] quota_user
|
|
@@ -257,13 +286,21 @@ module Google
|
|
|
257
286
|
execute_or_queue_command(command, &block)
|
|
258
287
|
end
|
|
259
288
|
|
|
260
|
-
#
|
|
289
|
+
# Reassign a user's product SKU with a different SKU in the same product. This
|
|
290
|
+
# method supports patch semantics.
|
|
261
291
|
# @param [String] product_id
|
|
262
|
-
#
|
|
292
|
+
# A product's unique identifier. For more information about products in this
|
|
293
|
+
# version of the API, see Products and SKUs.
|
|
263
294
|
# @param [String] sku_id
|
|
264
|
-
#
|
|
295
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
296
|
+
# in this version of the API, see Products and SKUs.
|
|
265
297
|
# @param [String] user_id
|
|
266
|
-
#
|
|
298
|
+
# 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
|
+
# Since a userId is subject to change, do not use a userId value as a key for
|
|
301
|
+
# persistent data. This key could break if the current user's email address
|
|
302
|
+
# changes.
|
|
303
|
+
# If the userId is suspended, the license status changes.
|
|
267
304
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
|
268
305
|
# @param [String] fields
|
|
269
306
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -299,13 +336,20 @@ module Google
|
|
|
299
336
|
execute_or_queue_command(command, &block)
|
|
300
337
|
end
|
|
301
338
|
|
|
302
|
-
#
|
|
339
|
+
# Reassign a user's product SKU with a different SKU in the same product.
|
|
303
340
|
# @param [String] product_id
|
|
304
|
-
#
|
|
341
|
+
# A product's unique identifier. For more information about products in this
|
|
342
|
+
# version of the API, see Products and SKUs.
|
|
305
343
|
# @param [String] sku_id
|
|
306
|
-
#
|
|
344
|
+
# A product SKU's unique identifier. For more information about available SKUs
|
|
345
|
+
# in this version of the API, see Products and SKUs.
|
|
307
346
|
# @param [String] user_id
|
|
308
|
-
#
|
|
347
|
+
# 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
|
+
# Since a userId is subject to change, do not use a userId value as a key for
|
|
350
|
+
# persistent data. This key could break if the current user's email address
|
|
351
|
+
# changes.
|
|
352
|
+
# If the userId is suspended, the license status changes.
|
|
309
353
|
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
|
|
310
354
|
# @param [String] fields
|
|
311
355
|
# Selector specifying which fields to include in a partial response.
|