Add knowledge graph API, regen APIs
This commit is contained in:
parent
92fc3b0804
commit
e7c6ba8a5d
|
@ -5832,6 +5832,8 @@
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.enroll/token": token
|
"/androidenterprise:v1/androidenterprise.enterprises.enroll/token": token
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.get": get_enterprise
|
"/androidenterprise:v1/androidenterprise.enterprises.get": get_enterprise
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.get/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.enterprises.get/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout": get_enterprise_store_layout
|
||||||
|
"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.insert": insert_enterprise
|
"/androidenterprise:v1/androidenterprise.enterprises.insert": insert_enterprise
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.insert/token": token
|
"/androidenterprise:v1/androidenterprise.enterprises.insert/token": token
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.list": list_enterprises
|
"/androidenterprise:v1/androidenterprise.enterprises.list": list_enterprises
|
||||||
|
@ -5840,6 +5842,8 @@
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.setAccount": set_enterprise_account
|
"/androidenterprise:v1/androidenterprise.enterprises.setAccount": set_enterprise_account
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.setAccount/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.enterprises.setAccount/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout": set_enterprise_store_layout
|
||||||
|
"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.unenroll": unenroll_enterprise
|
"/androidenterprise:v1/androidenterprise.enterprises.unenroll": unenroll_enterprise
|
||||||
"/androidenterprise:v1/androidenterprise.enterprises.unenroll/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.enterprises.unenroll/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.entitlements.delete": delete_entitlement
|
"/androidenterprise:v1/androidenterprise.entitlements.delete": delete_entitlement
|
||||||
|
@ -5912,6 +5916,44 @@
|
||||||
"/androidenterprise:v1/androidenterprise.products.getPermissions/productId": product_id
|
"/androidenterprise:v1/androidenterprise.products.getPermissions/productId": product_id
|
||||||
"/androidenterprise:v1/androidenterprise.products.updatePermissions/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.products.updatePermissions/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.products.updatePermissions/productId": product_id
|
"/androidenterprise:v1/androidenterprise.products.updatePermissions/productId": product_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete": delete_storelayoutcluster
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/clusterId": cluster_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.get": get_storelayoutcluster
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/clusterId": cluster_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert": insert_storelayoutcluster
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.list": list_storelayoutclusters
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch": patch_storelayoutcluster
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/clusterId": cluster_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.update": update_storelayoutcluster
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/clusterId": cluster_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.delete": delete_storelayoutpage
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.get": get_storelayoutpage
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.get/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.get/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.insert": insert_storelayoutpage
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.insert/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.list": list_storelayoutpages
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.list/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.patch": patch_storelayoutpage
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/pageId": page_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.update": update_storelayoutpage
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.update/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.storelayoutpages.update/pageId": page_id
|
||||||
"/androidenterprise:v1/androidenterprise.users.generateToken/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.users.generateToken/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.users.generateToken/userId": user_id
|
"/androidenterprise:v1/androidenterprise.users.generateToken/userId": user_id
|
||||||
"/androidenterprise:v1/androidenterprise.users.get": get_user
|
"/androidenterprise:v1/androidenterprise.users.get": get_user
|
||||||
|
@ -6019,6 +6061,9 @@
|
||||||
"/androidenterprise:v1/InstallsListResponse/install": install
|
"/androidenterprise:v1/InstallsListResponse/install": install
|
||||||
"/androidenterprise:v1/InstallsListResponse/install/install": install
|
"/androidenterprise:v1/InstallsListResponse/install/install": install
|
||||||
"/androidenterprise:v1/InstallsListResponse/kind": kind
|
"/androidenterprise:v1/InstallsListResponse/kind": kind
|
||||||
|
"/androidenterprise:v1/LocalizedText": localized_text
|
||||||
|
"/androidenterprise:v1/LocalizedText/locale": locale
|
||||||
|
"/androidenterprise:v1/LocalizedText/text": text
|
||||||
"/androidenterprise:v1/Permission": permission
|
"/androidenterprise:v1/Permission": permission
|
||||||
"/androidenterprise:v1/Permission/description": description
|
"/androidenterprise:v1/Permission/description": description
|
||||||
"/androidenterprise:v1/Permission/kind": kind
|
"/androidenterprise:v1/Permission/kind": kind
|
||||||
|
@ -6050,6 +6095,32 @@
|
||||||
"/androidenterprise:v1/ProductSet/productId/product_id": product_id
|
"/androidenterprise:v1/ProductSet/productId/product_id": product_id
|
||||||
"/androidenterprise:v1/ProductsApproveRequest/approvalUrlInfo": approval_url_info
|
"/androidenterprise:v1/ProductsApproveRequest/approvalUrlInfo": approval_url_info
|
||||||
"/androidenterprise:v1/ProductsGenerateApprovalUrlResponse/url": url
|
"/androidenterprise:v1/ProductsGenerateApprovalUrlResponse/url": url
|
||||||
|
"/androidenterprise:v1/StoreCluster": store_cluster
|
||||||
|
"/androidenterprise:v1/StoreCluster/id": id
|
||||||
|
"/androidenterprise:v1/StoreCluster/kind": kind
|
||||||
|
"/androidenterprise:v1/StoreCluster/name": name
|
||||||
|
"/androidenterprise:v1/StoreCluster/name/name": name
|
||||||
|
"/androidenterprise:v1/StoreCluster/orderInPage": order_in_page
|
||||||
|
"/androidenterprise:v1/StoreCluster/productId": product_id
|
||||||
|
"/androidenterprise:v1/StoreCluster/productId/product_id": product_id
|
||||||
|
"/androidenterprise:v1/StoreLayout": store_layout
|
||||||
|
"/androidenterprise:v1/StoreLayout/homepageId": homepage_id
|
||||||
|
"/androidenterprise:v1/StoreLayout/kind": kind
|
||||||
|
"/androidenterprise:v1/StoreLayoutClustersListResponse": store_layout_clusters_list_response
|
||||||
|
"/androidenterprise:v1/StoreLayoutClustersListResponse/cluster": cluster
|
||||||
|
"/androidenterprise:v1/StoreLayoutClustersListResponse/cluster/cluster": cluster
|
||||||
|
"/androidenterprise:v1/StoreLayoutClustersListResponse/kind": kind
|
||||||
|
"/androidenterprise:v1/StoreLayoutPagesListResponse": store_layout_pages_list_response
|
||||||
|
"/androidenterprise:v1/StoreLayoutPagesListResponse/kind": kind
|
||||||
|
"/androidenterprise:v1/StoreLayoutPagesListResponse/page": page
|
||||||
|
"/androidenterprise:v1/StoreLayoutPagesListResponse/page/page": page
|
||||||
|
"/androidenterprise:v1/StorePage": store_page
|
||||||
|
"/androidenterprise:v1/StorePage/id": id
|
||||||
|
"/androidenterprise:v1/StorePage/kind": kind
|
||||||
|
"/androidenterprise:v1/StorePage/link": link
|
||||||
|
"/androidenterprise:v1/StorePage/link/link": link
|
||||||
|
"/androidenterprise:v1/StorePage/name": name
|
||||||
|
"/androidenterprise:v1/StorePage/name/name": name
|
||||||
"/androidenterprise:v1/User": user
|
"/androidenterprise:v1/User": user
|
||||||
"/androidenterprise:v1/User/id": id
|
"/androidenterprise:v1/User/id": id
|
||||||
"/androidenterprise:v1/User/kind": kind
|
"/androidenterprise:v1/User/kind": kind
|
||||||
|
@ -19006,8 +19077,6 @@
|
||||||
"/genomics:v1/genomics.operations.list/pageToken": page_token
|
"/genomics:v1/genomics.operations.list/pageToken": page_token
|
||||||
"/genomics:v1/genomics.operations.cancel": cancel_operation
|
"/genomics:v1/genomics.operations.cancel": cancel_operation
|
||||||
"/genomics:v1/genomics.operations.cancel/name": name
|
"/genomics:v1/genomics.operations.cancel/name": name
|
||||||
"/genomics:v1/genomics.operations.delete": delete_operation
|
|
||||||
"/genomics:v1/genomics.operations.delete/name": name
|
|
||||||
"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id
|
"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id
|
||||||
"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id
|
"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id
|
||||||
"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask
|
"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask
|
||||||
|
@ -19412,6 +19481,22 @@
|
||||||
"/genomics:v1/OperationMetadata/events/event": event
|
"/genomics:v1/OperationMetadata/events/event": event
|
||||||
"/genomics:v1/OperationEvent": operation_event
|
"/genomics:v1/OperationEvent": operation_event
|
||||||
"/genomics:v1/OperationEvent/description": description
|
"/genomics:v1/OperationEvent/description": description
|
||||||
|
"/kgsearch:v1/fields": fields
|
||||||
|
"/kgsearch:v1/key": key
|
||||||
|
"/kgsearch:v1/quotaUser": quota_user
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search": search_entities
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/query": query
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/ids": ids
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/languages": languages
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/types": types
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/indent": indent
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/prefix": prefix
|
||||||
|
"/kgsearch:v1/kgsearch.entities.search/limit": limit
|
||||||
|
"/kgsearch:v1/SearchResponse": search_response
|
||||||
|
"/kgsearch:v1/SearchResponse/context": context
|
||||||
|
"/kgsearch:v1/SearchResponse/type": type
|
||||||
|
"/kgsearch:v1/SearchResponse/itemListElement": item_list_element
|
||||||
|
"/kgsearch:v1/SearchResponse/itemListElement/item_list_element": item_list_element
|
||||||
"/partners:v2/fields": fields
|
"/partners:v2/fields": fields
|
||||||
"/partners:v2/key": key
|
"/partners:v2/key": key
|
||||||
"/partners:v2/quotaUser": quota_user
|
"/partners:v2/quotaUser": quota_user
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/work/play/emm-api
|
# @see https://developers.google.com/android/work/play/emm-api
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151127'
|
REVISION = '20151215'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -857,6 +857,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A localized string with its locale.
|
||||||
|
class LocalizedText
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The BCP47 tag for a locale. (e.g. "en-US", "de").
|
||||||
|
# Corresponds to the JSON property `locale`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :locale
|
||||||
|
|
||||||
|
# The text localized in the associated locale.
|
||||||
|
# Corresponds to the JSON property `text`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :text
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@locale = args[:locale] unless args[:locale].nil?
|
||||||
|
@text = args[:text] unless args[:text].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A permission represents some extra capability, to be granted to an Android app,
|
# A permission represents some extra capability, to be granted to an Android app,
|
||||||
# which requires explicit consent. An enterprise admin must consent to these
|
# which requires explicit consent. An enterprise admin must consent to these
|
||||||
# permissions on behalf of their users before an entitlement for the app can be
|
# permissions on behalf of their users before an entitlement for the app can be
|
||||||
|
@ -1124,6 +1149,188 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Definition of a Google Play for Work store cluster, a list of products
|
||||||
|
# displayed as part of a store page.
|
||||||
|
class StoreCluster
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Unique ID of this cluster. Assigned by the server. Immutable once assigned.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#storeCluster".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# Ordered list of localized strings giving the name of this page. The text
|
||||||
|
# displayed is the one that best matches the user locale, or the first entry if
|
||||||
|
# there is no good match. There needs to be at least one entry.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# String (US-ASCII only) used to determine order of this cluster within the
|
||||||
|
# parent page's elements. Page elements are sorted in lexicographic order of
|
||||||
|
# this field. Duplicated values are allowed, but ordering between elements with
|
||||||
|
# duplicate order is undefined.
|
||||||
|
# The value of this field is never visible to a user, it is used solely for the
|
||||||
|
# purpose of defining an ordering. Maximum length is 20 characters.
|
||||||
|
# Corresponds to the JSON property `orderInPage`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :order_in_page
|
||||||
|
|
||||||
|
# List of products in the order they are displayed in the cluster. There should
|
||||||
|
# not be duplicates within a cluster.
|
||||||
|
# Corresponds to the JSON property `productId`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :product_id
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] unless args[:id].nil?
|
||||||
|
@kind = args[:kind] unless args[:kind].nil?
|
||||||
|
@name = args[:name] unless args[:name].nil?
|
||||||
|
@order_in_page = args[:order_in_page] unless args[:order_in_page].nil?
|
||||||
|
@product_id = args[:product_id] unless args[:product_id].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# General setting for the Google Play for Work store layout, currently only
|
||||||
|
# specifying the page to display the first time the store is opened.
|
||||||
|
class StoreLayout
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The ID of the store page to be used as the homepage. The homepage will be used
|
||||||
|
# as the first page shown in the Google Play for Work store.
|
||||||
|
# If there is no homepage set, an empty store is shown. The homepage can be
|
||||||
|
# unset (by not specifying it) to empty the store.
|
||||||
|
# If there exists at least one page, this field must be set to the ID of a valid
|
||||||
|
# page.
|
||||||
|
# Corresponds to the JSON property `homepageId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :homepage_id
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#storeLayout".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@homepage_id = args[:homepage_id] unless args[:homepage_id].nil?
|
||||||
|
@kind = args[:kind] unless args[:kind].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The store page resources for the enterprise.
|
||||||
|
class StoreLayoutClustersListResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# A store cluster of an enterprise.
|
||||||
|
# Corresponds to the JSON property `cluster`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::StoreCluster>]
|
||||||
|
attr_accessor :cluster
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#storeLayoutClustersListResponse".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@cluster = args[:cluster] unless args[:cluster].nil?
|
||||||
|
@kind = args[:kind] unless args[:kind].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The store page resources for the enterprise.
|
||||||
|
class StoreLayoutPagesListResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#storeLayoutPagesListResponse".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# A store page of an enterprise.
|
||||||
|
# Corresponds to the JSON property `page`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::StorePage>]
|
||||||
|
attr_accessor :page
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] unless args[:kind].nil?
|
||||||
|
@page = args[:page] unless args[:page].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Definition of a Google Play for Work store page, made of a localized name and
|
||||||
|
# links to other pages. A page also contains clusters defined as a subcollection.
|
||||||
|
class StorePage
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Unique ID of this page. Assigned by the server. Immutable once assigned.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#storePage".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# Ordered list of pages a user should be able to reach from this page. The pages
|
||||||
|
# must exist, must not be this page, and once a link is created the page linked
|
||||||
|
# to cannot be deleted until all links to it are removed. It is recommended that
|
||||||
|
# the basic pages are created first, before adding the links between pages.
|
||||||
|
# No attempt is made to verify that all pages are reachable from the homepage.
|
||||||
|
# Corresponds to the JSON property `link`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :link
|
||||||
|
|
||||||
|
# Ordered list of localized strings giving the name of this page. The text
|
||||||
|
# displayed is the one that best matches the user locale, or the first entry if
|
||||||
|
# there is no good match. There needs to be at least one entry.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::LocalizedText>]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@id = args[:id] unless args[:id].nil?
|
||||||
|
@kind = args[:kind] unless args[:kind].nil?
|
||||||
|
@link = args[:link] unless args[:link].nil?
|
||||||
|
@name = args[:name] unless args[:name].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A user resource represents an individual user within the enterprise's domain.
|
# A user resource represents an individual user within the enterprise's domain.
|
||||||
# Note that each user is associated with a Google account based on the user's
|
# Note that each user is associated with a Google account based on the user's
|
||||||
# corporate email address (which must be in one of the enterprise's domains). As
|
# corporate email address (which must be in one of the enterprise's domains). As
|
||||||
|
@ -1146,7 +1353,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
|
||||||
# The user's primary email, e.g. "jsmith@example.com".
|
# The user's primary email, e.g. "jsmith@example.com". Will always be set for
|
||||||
|
# Google managed users and not set for EMM managed users.
|
||||||
# Corresponds to the JSON property `primaryEmail`
|
# Corresponds to the JSON property `primaryEmail`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :primary_email
|
attr_accessor :primary_email
|
||||||
|
|
|
@ -110,6 +110,10 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class LocalizedText
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
class Permission
|
class Permission
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
end
|
end
|
||||||
|
@ -138,6 +142,26 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class StoreCluster
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayout
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayoutClustersListResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayoutPagesListResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StorePage
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
class User
|
class User
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
end
|
end
|
||||||
|
@ -357,6 +381,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class LocalizedText
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :locale, as: 'locale'
|
||||||
|
property :text, as: 'text'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Permission
|
class Permission
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -425,6 +457,55 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class StoreCluster
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
||||||
|
|
||||||
|
property :order_in_page, as: 'orderInPage'
|
||||||
|
collection :product_id, as: 'productId'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayout
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :homepage_id, as: 'homepageId'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayoutClustersListResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :cluster, as: 'cluster', class: Google::Apis::AndroidenterpriseV1::StoreCluster, decorator: Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StoreLayoutPagesListResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
collection :page, as: 'page', class: Google::Apis::AndroidenterpriseV1::StorePage, decorator: Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class StorePage
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
collection :link, as: 'link'
|
||||||
|
collection :name, as: 'name', class: Google::Apis::AndroidenterpriseV1::LocalizedText, decorator: Google::Apis::AndroidenterpriseV1::LocalizedText::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class User
|
class User
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -776,6 +776,41 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Returns the store layout resource.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreLayout] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreLayout]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_enterprise_store_layout(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayout
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Establishes the binding between the MDM and an enterprise. This is now
|
# Establishes the binding between the MDM and an enterprise. This is now
|
||||||
# deprecated; use enroll instead.
|
# deprecated; use enroll instead.
|
||||||
# @param [String] token
|
# @param [String] token
|
||||||
|
@ -924,6 +959,44 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Sets the store layout resource.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreLayout] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreLayout]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def set_enterprise_store_layout(enterprise_id, store_layout_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
||||||
|
command.request_object = store_layout_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayout::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayout
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Unenrolls an enterprise from the calling MDM.
|
# Unenrolls an enterprise from the calling MDM.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
|
@ -1810,6 +1883,482 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Deletes a cluster.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] cluster_id
|
||||||
|
# The ID of the cluster.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [NilClass] No result returned for this method
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [void]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves details of a cluster.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] cluster_id
|
||||||
|
# The ID of the cluster.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreCluster] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreCluster]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_storelayoutcluster(enterprise_id, page_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Inserts a new cluster in a page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StoreCluster] store_cluster_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreCluster] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreCluster]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def insert_storelayoutcluster(enterprise_id, page_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.request_object = store_cluster_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves the details of all clusters on the specified page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_storelayoutclusters(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutClustersListResponse
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates a cluster. This method supports patch semantics.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] cluster_id
|
||||||
|
# The ID of the cluster.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StoreCluster] store_cluster_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreCluster] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreCluster]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def patch_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.request_object = store_cluster_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates a cluster.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] cluster_id
|
||||||
|
# The ID of the cluster.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StoreCluster] store_cluster_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreCluster] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreCluster]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def update_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.request_object = store_cluster_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes a store page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [NilClass] No result returned for this method
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [void]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves details of a store page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StorePage] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StorePage]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_storelayoutpage(enterprise_id, page_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Inserts a new store page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StorePage] store_page_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StorePage] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StorePage]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def insert_storelayoutpage(enterprise_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.request_object = store_page_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves the details of all pages in the store.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_storelayoutpages(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/storeLayout/pages', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StoreLayoutPagesListResponse
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates the content of a store page. This method supports patch semantics.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StorePage] store_page_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StorePage] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StorePage]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def patch_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.request_object = store_page_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates the content of a store page.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] page_id
|
||||||
|
# The ID of the page.
|
||||||
|
# @param [Google::Apis::AndroidenterpriseV1::StorePage] store_page_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StorePage] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::StorePage]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def update_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:put, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
||||||
|
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.request_object = store_page_object
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['pageId'] = page_id unless page_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Generates a token (activation code) to allow this user to configure their work
|
# Generates a token (activation code) to allow this user to configure their work
|
||||||
# account in the Android Setup Wizard. Revokes any previously generated token.
|
# account in the Android Setup Wizard. Revokes any previously generated token.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
|
@ -1925,7 +2474,7 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Looks up a user by email address.
|
# Looks up a user by email address. This only works for Google managed users.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
# @param [String] email
|
# @param [String] email
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/web/api/states
|
# @see https://developers.google.com/games/services/web/api/states
|
||||||
module AppstateV1
|
module AppstateV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151202'
|
REVISION = '20151209'
|
||||||
|
|
||||||
# View and manage your data for this application
|
# View and manage your data for this application
|
||||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigquery/
|
# @see https://cloud.google.com/bigquery/
|
||||||
module BigqueryV2
|
module BigqueryV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20151208'
|
REVISION = '20151211'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/monitoring/v2beta2/
|
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||||
module CloudmonitoringV2beta2
|
module CloudmonitoringV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20151206'
|
REVISION = '20151213'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesConfigurationV1configuration
|
module GamesConfigurationV1configuration
|
||||||
VERSION = 'V1configuration'
|
VERSION = 'V1configuration'
|
||||||
REVISION = '20151202'
|
REVISION = '20151209'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services
|
# @see https://developers.google.com/games/services
|
||||||
module GamesManagementV1management
|
module GamesManagementV1management
|
||||||
VERSION = 'V1management'
|
VERSION = 'V1management'
|
||||||
REVISION = '20151202'
|
REVISION = '20151209'
|
||||||
|
|
||||||
# Share your Google+ profile information and view and manage your game activity
|
# Share your Google+ profile information and view and manage your game activity
|
||||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/games/services/
|
# @see https://developers.google.com/games/services/
|
||||||
module GamesV1
|
module GamesV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151202'
|
REVISION = '20151209'
|
||||||
|
|
||||||
# View and manage its own configuration data in your Google Drive
|
# View and manage its own configuration data in your Google Drive
|
||||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
||||||
# @see
|
# @see
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151210'
|
REVISION = '20151215'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -159,9 +159,7 @@ module Google
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Version of the `Policy`. The default version is 0. 0 =
|
# Version of the `Policy`. The default version is 0.
|
||||||
# resourcemanager_projects only support legacy roles. 1 = supports non-legacy
|
|
||||||
# roles 2 = supports AuditConfig
|
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -173,14 +171,14 @@ module Google
|
||||||
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
# @return [Array<Google::Apis::GenomicsV1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
|
||||||
# The etag is used for optimistic concurrency control as a way to help prevent
|
# `etag` is used for optimistic concurrency control as a way to help prevent
|
||||||
# simultaneous updates of a policy from overwriting each other. It is strongly
|
# simultaneous updates of a policy from overwriting each other. It is strongly
|
||||||
# suggested that systems make use of the etag in the read-modify-write cycle to
|
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
||||||
# perform policy updates in order to avoid race conditions: Etags are returned
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
||||||
# in the response to GetIamPolicy, and systems are expected to put that etag in
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||||
# the request to SetIamPolicy to ensure that their change will be applied to the
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||||
# same version of the policy. If no etag is provided in the call to SetIamPolicy,
|
# applied to the same version of the policy. If no `etag` is provided in the
|
||||||
# then the existing policy is overwritten blindly.
|
# call to `setIamPolicy`, then the existing policy is overwritten blindly.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
@ -208,7 +206,7 @@ module Google
|
||||||
attr_accessor :role
|
attr_accessor :role
|
||||||
|
|
||||||
# Specifies the identities requesting access for a Cloud Platform resource. `
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
||||||
# members` can have the following formats: * `allUsers`: A special identifier
|
# members` can have the following values: * `allUsers`: A special identifier
|
||||||
# that represents anyone who is on the internet; with or without a Google
|
# that represents anyone who is on the internet; with or without a Google
|
||||||
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
||||||
# anyone who is authenticated with a Google account or a service account. * `
|
# anyone who is authenticated with a Google account or a service account. * `
|
||||||
|
|
|
@ -487,37 +487,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# This method is not implemented. To cancel an operation, please use Operations.
|
|
||||||
# CancelOperation.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation resource to be deleted.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# Available to use for quota purposes for server-side applications. Can be any
|
|
||||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::GenomicsV1::Empty]
|
|
||||||
#
|
|
||||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
||||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
||||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
||||||
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::GenomicsV1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Creates read group sets by asynchronously importing the provided information.
|
# Creates read group sets by asynchronously importing the provided information.
|
||||||
# For the definitions of read group sets and other genomics resources, see [
|
# For the definitions of read group sets and other genomics resources, see [
|
||||||
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
# Fundamentals of Google Genomics](https://cloud.google.com/genomics/
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/kgsearch_v1/service.rb'
|
||||||
|
require 'google/apis/kgsearch_v1/classes.rb'
|
||||||
|
require 'google/apis/kgsearch_v1/representations.rb'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
# Knowledge Graph Search API
|
||||||
|
#
|
||||||
|
# Knowledge Graph Search API allows developers to search the Google Knowledge
|
||||||
|
# Graph for entities.
|
||||||
|
#
|
||||||
|
# @see https://developers.google.com/knowledge-graph/
|
||||||
|
module KgsearchV1
|
||||||
|
VERSION = 'V1'
|
||||||
|
REVISION = '20151215'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,59 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'date'
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module KgsearchV1
|
||||||
|
|
||||||
|
# Response message includes the context and a list of matching results which
|
||||||
|
# contain the detail of associated entities.
|
||||||
|
class SearchResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The local context applicable for the response. See more details at http://www.
|
||||||
|
# w3.org/TR/json-ld/#context-definitions.
|
||||||
|
# Corresponds to the JSON property `context`
|
||||||
|
# @return [Object]
|
||||||
|
attr_accessor :context
|
||||||
|
|
||||||
|
# The schema type of top-level JSON-LD object, e.g. ItemList.
|
||||||
|
# Corresponds to the JSON property `type`
|
||||||
|
# @return [Object]
|
||||||
|
attr_accessor :type
|
||||||
|
|
||||||
|
# The item list of search results.
|
||||||
|
# Corresponds to the JSON property `itemListElement`
|
||||||
|
# @return [Array<Object>]
|
||||||
|
attr_accessor :item_list_element
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@context = args[:context] unless args[:context].nil?
|
||||||
|
@type = args[:type] unless args[:type].nil?
|
||||||
|
@item_list_element = args[:item_list_element] unless args[:item_list_element].nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'date'
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module KgsearchV1
|
||||||
|
|
||||||
|
class SearchResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :context, as: 'context'
|
||||||
|
property :type, as: 'type'
|
||||||
|
collection :item_list_element, as: 'itemListElement'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,111 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module KgsearchV1
|
||||||
|
# Knowledge Graph Search API
|
||||||
|
#
|
||||||
|
# Knowledge Graph Search API allows developers to search the Google Knowledge
|
||||||
|
# Graph for entities.
|
||||||
|
#
|
||||||
|
# @example
|
||||||
|
# require 'google/apis/kgsearch_v1'
|
||||||
|
#
|
||||||
|
# Kgsearch = Google::Apis::KgsearchV1 # Alias the module
|
||||||
|
# service = Kgsearch::KgsearchService.new
|
||||||
|
#
|
||||||
|
# @see https://developers.google.com/knowledge-graph/
|
||||||
|
class KgsearchService < Google::Apis::Core::BaseService
|
||||||
|
# @return [String]
|
||||||
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
|
attr_accessor :key
|
||||||
|
|
||||||
|
# @return [String]
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
attr_accessor :quota_user
|
||||||
|
|
||||||
|
def initialize
|
||||||
|
super('https://kgsearch.googleapis.com/', '')
|
||||||
|
end
|
||||||
|
|
||||||
|
# Searches Knowledge Graph for entities that match the constraints. A list of
|
||||||
|
# matched entities will be returned in response, which will be in JSON-LD format
|
||||||
|
# and compatible with http://schema.org
|
||||||
|
# @param [String] query
|
||||||
|
# The literal query string for search.
|
||||||
|
# @param [Array<String>, String] ids
|
||||||
|
# The list of entity id to be used for search instead of query string.
|
||||||
|
# @param [Array<String>, String] languages
|
||||||
|
# The list of language codes (defined in ISO 693) to run the query with, e.g. '
|
||||||
|
# en'.
|
||||||
|
# @param [Array<String>, String] types
|
||||||
|
# Restricts returned entities with these types, e.g. Person (as defined in http:/
|
||||||
|
# /schema.org/Person).
|
||||||
|
# @param [Boolean] indent
|
||||||
|
# Enables indenting of json results.
|
||||||
|
# @param [Boolean] prefix
|
||||||
|
# Enables prefix match against names and aliases of entities
|
||||||
|
# @param [Fixnum] limit
|
||||||
|
# Limits the number of entities to be returned.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::KgsearchV1::SearchResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::KgsearchV1::SearchResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def search_entities(query: nil, ids: nil, languages: nil, types: nil, indent: nil, prefix: nil, limit: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/entities:search', options)
|
||||||
|
command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation
|
||||||
|
command.response_class = Google::Apis::KgsearchV1::SearchResponse
|
||||||
|
command.query['query'] = query unless query.nil?
|
||||||
|
command.query['ids'] = ids unless ids.nil?
|
||||||
|
command.query['languages'] = languages unless languages.nil?
|
||||||
|
command.query['types'] = types unless types.nil?
|
||||||
|
command.query['indent'] = indent unless indent.nil?
|
||||||
|
command.query['prefix'] = prefix unless prefix.nil?
|
||||||
|
command.query['limit'] = limit unless limit.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
protected
|
||||||
|
|
||||||
|
def apply_command_defaults(command)
|
||||||
|
command.query['key'] = key unless key.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/+/domains/
|
# @see https://developers.google.com/+/domains/
|
||||||
module PlusDomainsV1
|
module PlusDomainsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151213'
|
REVISION = '20151214'
|
||||||
|
|
||||||
# View your circles and the people and pages in them
|
# View your circles and the people and pages in them
|
||||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/+/api/
|
# @see https://developers.google.com/+/api/
|
||||||
module PlusV1
|
module PlusV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151213'
|
REVISION = '20151214'
|
||||||
|
|
||||||
# Know your basic profile info and list of people in your circles.
|
# Know your basic profile info and list of people in your circles.
|
||||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/storage/docs/json_api/
|
# @see https://developers.google.com/storage/docs/json_api/
|
||||||
module StorageV1
|
module StorageV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20151207'
|
REVISION = '20151214'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -56,6 +56,7 @@ APIS=(adexchangebuyer:v1.3 \
|
||||||
groupsmigration:v1 \
|
groupsmigration:v1 \
|
||||||
groupssettings:v1 \
|
groupssettings:v1 \
|
||||||
identitytoolkit:v3 \
|
identitytoolkit:v3 \
|
||||||
|
kgsearch:v1 \
|
||||||
licensing:v1 \
|
licensing:v1 \
|
||||||
logging:v1beta3 \
|
logging:v1beta3 \
|
||||||
manager:v1beta2 \
|
manager:v1beta2 \
|
||||||
|
|
Loading…
Reference in New Issue