Autogenerated update (2018-03-06)
Delete: - serviceusage_v1 Update: - appengine_v1 - appengine_v1alpha - appengine_v1beta - appengine_v1beta4 - appengine_v1beta5 - firebasedynamiclinks_v1 - genomics_v2alpha1 - people_v1 - sheets_v4 - slides_v1
This commit is contained in:
1 parent
5b85c49a25
commit
0e70f11571
32 files changed
+1030
-583
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -153,7 +153,7 @@ module Google
|
||||
|
||||
# Location from which this application runs. Application instances run out of
|
||||
# the data centers in the specified location, which is also where all of the
|
||||
# application's end user content is stored.Defaults to us-central1.View the list
|
||||
# application's end user content is stored.Defaults to us-central.View the list
|
||||
# of supported locations (https://cloud.google.com/appengine/docs/locations).
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
@@ -1446,6 +1446,12 @@ module Google
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name. For example,
|
||||
# "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
@@ -1475,6 +1481,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
|
||||
@@ -806,6 +806,7 @@ module Google
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -395,6 +395,12 @@ module Google
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name. For example,
|
||||
# "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
@@ -424,6 +430,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
|
||||
@@ -279,6 +279,7 @@ module Google
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -153,7 +153,7 @@ module Google
|
||||
|
||||
# Location from which this application runs. Application instances run out of
|
||||
# the data centers in the specified location, which is also where all of the
|
||||
# application's end user content is stored.Defaults to us-central1.View the list
|
||||
# application's end user content is stored.Defaults to us-central.View the list
|
||||
# of supported locations (https://cloud.google.com/appengine/docs/locations).
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
@@ -1580,6 +1580,12 @@ module Google
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name. For example,
|
||||
# "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
@@ -1609,6 +1615,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
|
||||
@@ -865,6 +865,7 @@ module Google
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta4
|
||||
VERSION = 'V1beta4'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -953,6 +953,12 @@ module Google
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name. For example,
|
||||
# "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
@@ -982,6 +988,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
|
||||
@@ -561,6 +561,7 @@ module Google
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta5
|
||||
VERSION = 'V1beta5'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -953,6 +953,12 @@ module Google
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name. For example,
|
||||
# "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
@@ -982,6 +988,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
|
||||
@@ -555,6 +555,7 @@ module Google
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://firebase.google.com/docs/dynamic-links/
|
||||
module FirebasedynamiclinksV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180102'
|
||||
REVISION = '20180303'
|
||||
|
||||
# View and administer all your Firebase data and settings
|
||||
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
||||
|
||||
@@ -99,8 +99,8 @@ module Google
|
||||
# Full long Dynamic Link URL with desired query parameters specified.
|
||||
# For example,
|
||||
# "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
|
||||
# [Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-
|
||||
# dynamic-link-programmatically).
|
||||
# [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
|
||||
# shortener).
|
||||
# Corresponds to the JSON property `longDynamicLink`
|
||||
# @return [String]
|
||||
attr_accessor :long_dynamic_link
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV2alpha1
|
||||
VERSION = 'V2alpha1'
|
||||
REVISION = '20180222'
|
||||
REVISION = '20180303'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -42,6 +42,16 @@ module Google
|
||||
# The environment to pass into the container. This environment is merged
|
||||
# with any values specified in the Pipeline message. These values overwrite
|
||||
# any in the Pipeline message.
|
||||
# In addition to the values passed here, a few other values are
|
||||
# automatically injected into the environment. These cannot be hidden or
|
||||
# overwritten.
|
||||
# `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline has failed
|
||||
# because an action has exited with a non-zero status (and did not have the
|
||||
# IGNORE_EXIT_STATUS flag set). This can be used to determine if additional
|
||||
# debug or logging actions should execute.
|
||||
# `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
|
||||
# non-background action that executed. This can be used by workflow engine
|
||||
# authors to determine whether an individual action has succeeded or failed.
|
||||
# Corresponds to the JSON property `environment`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :environment
|
||||
@@ -975,7 +985,7 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# User defined labels to associate with the returned operation. These
|
||||
# labels are not propogated to any Google Cloud Platform resources used by
|
||||
# labels are not propagated to any Google Cloud Platform resources used by
|
||||
# the operation, and may be modified at any time.
|
||||
# To associate labels with resources created while executing the operation,
|
||||
# see the appropriate resource message (i.e., VirtualMachine).
|
||||
|
||||
@@ -48,12 +48,13 @@ module Google
|
||||
end
|
||||
|
||||
# Runs a pipeline.
|
||||
# **Note:** In order to use this method, the Genomics Service Agent must have
|
||||
# access to your project. This is done automatically when the Genomics API
|
||||
# is first enabled, but if you delete this permission, or if you have
|
||||
# already enabled the Genomics API prior to the launch of the v2alpha1 API,
|
||||
# you must disable and re-enable the API to grant the Genomics Service Agent
|
||||
# the required permissions.
|
||||
# **Note:** In order to use this method, the Genomics Service Agent
|
||||
# must have access to your project. This is done automatically when the
|
||||
# Genomics API is first enabled, but if you delete this permission, or if
|
||||
# you have already enabled the Genomics API prior to the launch of the
|
||||
# v2alpha1 API, you must disable and re-enable the API to grant the Genomics
|
||||
# Service Agent the required permissions.
|
||||
# [1]: /genomics/gsa
|
||||
# @param [Google::Apis::GenomicsV2alpha1::RunPipelineRequest] run_pipeline_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/people/
|
||||
module PeopleV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180225'
|
||||
REVISION = '20180303'
|
||||
|
||||
# Manage your contacts
|
||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||
|
||||
@@ -527,7 +527,6 @@ module Google
|
||||
# * addresses
|
||||
# * biographies
|
||||
# * birthdays
|
||||
# * braggingRights
|
||||
# * emailAddresses
|
||||
# * events
|
||||
# * genders
|
||||
@@ -541,7 +540,6 @@ module Google
|
||||
# * phoneNumbers
|
||||
# * relations
|
||||
# * residences
|
||||
# * skills
|
||||
# * urls
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
+6
-6
@@ -12,9 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/serviceusage_v1/service.rb'
|
||||
require 'google/apis/serviceusage_v1/classes.rb'
|
||||
require 'google/apis/serviceusage_v1/representations.rb'
|
||||
require 'google/apis/serviceusage_v1beta1/service.rb'
|
||||
require 'google/apis/serviceusage_v1beta1/classes.rb'
|
||||
require 'google/apis/serviceusage_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
@@ -25,9 +25,9 @@ module Google
|
||||
# consumers no longer use.
|
||||
#
|
||||
# @see https://cloud.google.com/service-usage/
|
||||
module ServiceusageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180210'
|
||||
module ServiceusageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180303'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
+315
-241
File diff suppressed because it is too large.
Load diff
+116
-144
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module ServiceusageV1
|
||||
module ServiceusageV1beta1
|
||||
|
||||
class Api
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
@@ -76,6 +76,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchEnableServicesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Billing
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -88,12 +94,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CancelOperationRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Context
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -154,24 +154,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EnableServiceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EnabledState
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Endpoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -226,13 +214,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListEnabledServicesResponse
|
||||
class ListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
class ListServicesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -340,12 +328,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PublishedService
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Quota
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -358,13 +340,13 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchServicesResponse
|
||||
class Service
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ServiceState
|
||||
class ServiceConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
@@ -445,14 +427,14 @@ module Google
|
||||
class Api
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1::MethodProp, decorator: Google::Apis::ServiceusageV1::MethodProp::Representation
|
||||
collection :methods_prop, as: 'methods', class: Google::Apis::ServiceusageV1beta1::MethodProp, decorator: Google::Apis::ServiceusageV1beta1::MethodProp::Representation
|
||||
|
||||
collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1::Mixin, decorator: Google::Apis::ServiceusageV1::Mixin::Representation
|
||||
collection :mixins, as: 'mixins', class: Google::Apis::ServiceusageV1beta1::Mixin, decorator: Google::Apis::ServiceusageV1beta1::Mixin::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation
|
||||
|
||||
property :syntax, as: 'syntax'
|
||||
property :version, as: 'version'
|
||||
@@ -481,9 +463,9 @@ module Google
|
||||
class Authentication
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :providers, as: 'providers', class: Google::Apis::ServiceusageV1::AuthProvider, decorator: Google::Apis::ServiceusageV1::AuthProvider::Representation
|
||||
collection :providers, as: 'providers', class: Google::Apis::ServiceusageV1beta1::AuthProvider, decorator: Google::Apis::ServiceusageV1beta1::AuthProvider::Representation
|
||||
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::AuthenticationRule, decorator: Google::Apis::ServiceusageV1::AuthenticationRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::AuthenticationRule, decorator: Google::Apis::ServiceusageV1beta1::AuthenticationRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -492,11 +474,11 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :allow_without_credential, as: 'allowWithoutCredential'
|
||||
property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceusageV1::CustomAuthRequirements, decorator: Google::Apis::ServiceusageV1::CustomAuthRequirements::Representation
|
||||
property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements::Representation
|
||||
|
||||
property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1::OAuthRequirements::Representation
|
||||
property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1beta1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::OAuthRequirements::Representation
|
||||
|
||||
collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1::AuthRequirement, decorator: Google::Apis::ServiceusageV1::AuthRequirement::Representation
|
||||
collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1beta1::AuthRequirement, decorator: Google::Apis::ServiceusageV1beta1::AuthRequirement::Representation
|
||||
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
@@ -520,7 +502,7 @@ module Google
|
||||
class Backend
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::BackendRule, decorator: Google::Apis::ServiceusageV1::BackendRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::BackendRule, decorator: Google::Apis::ServiceusageV1beta1::BackendRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -535,10 +517,17 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BatchEnableServicesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :service_ids, as: 'serviceIds'
|
||||
end
|
||||
end
|
||||
|
||||
class Billing
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::BillingDestination, decorator: Google::Apis::ServiceusageV1::BillingDestination::Representation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::BillingDestination, decorator: Google::Apis::ServiceusageV1beta1::BillingDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -551,16 +540,10 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CancelOperationRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Context
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::ContextRule, decorator: Google::Apis::ServiceusageV1::ContextRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::ContextRule, decorator: Google::Apis::ServiceusageV1beta1::ContextRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -593,7 +576,7 @@ module Google
|
||||
class CustomError
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::CustomErrorRule, decorator: Google::Apis::ServiceusageV1::CustomErrorRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::CustomErrorRule, decorator: Google::Apis::ServiceusageV1beta1::CustomErrorRule::Representation
|
||||
|
||||
collection :types, as: 'types'
|
||||
end
|
||||
@@ -626,9 +609,9 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :documentation_root_url, as: 'documentationRootUrl'
|
||||
property :overview, as: 'overview'
|
||||
collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation
|
||||
collection :pages, as: 'pages', class: Google::Apis::ServiceusageV1beta1::Page, decorator: Google::Apis::ServiceusageV1beta1::Page::Representation
|
||||
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::DocumentationRule, decorator: Google::Apis::ServiceusageV1::DocumentationRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::DocumentationRule, decorator: Google::Apis::ServiceusageV1beta1::DocumentationRule::Representation
|
||||
|
||||
property :summary, as: 'summary'
|
||||
end
|
||||
@@ -643,25 +626,12 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class EnableServiceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class EnabledState
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class Endpoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -676,12 +646,12 @@ module Google
|
||||
class Enum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceusageV1::EnumValue, decorator: Google::Apis::ServiceusageV1::EnumValue::Representation
|
||||
collection :enumvalue, as: 'enumvalue', class: Google::Apis::ServiceusageV1beta1::EnumValue, decorator: Google::Apis::ServiceusageV1beta1::EnumValue::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation
|
||||
|
||||
property :syntax, as: 'syntax'
|
||||
end
|
||||
@@ -692,7 +662,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :number, as: 'number'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -700,7 +670,7 @@ module Google
|
||||
class Experimental
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1::AuthorizationConfig::Representation
|
||||
property :authorization, as: 'authorization', class: Google::Apis::ServiceusageV1beta1::AuthorizationConfig, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationConfig::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -715,7 +685,7 @@ module Google
|
||||
property :name, as: 'name'
|
||||
property :number, as: 'number'
|
||||
property :oneof_index, as: 'oneofIndex'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
property :packed, as: 'packed'
|
||||
property :type_url, as: 'typeUrl'
|
||||
@@ -725,58 +695,58 @@ module Google
|
||||
class GoogleApiService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1::Api, decorator: Google::Apis::ServiceusageV1::Api::Representation
|
||||
collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1beta1::Api, decorator: Google::Apis::ServiceusageV1beta1::Api::Representation
|
||||
|
||||
property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1::Authentication, decorator: Google::Apis::ServiceusageV1::Authentication::Representation
|
||||
property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1beta1::Authentication, decorator: Google::Apis::ServiceusageV1beta1::Authentication::Representation
|
||||
|
||||
property :backend, as: 'backend', class: Google::Apis::ServiceusageV1::Backend, decorator: Google::Apis::ServiceusageV1::Backend::Representation
|
||||
property :backend, as: 'backend', class: Google::Apis::ServiceusageV1beta1::Backend, decorator: Google::Apis::ServiceusageV1beta1::Backend::Representation
|
||||
|
||||
property :billing, as: 'billing', class: Google::Apis::ServiceusageV1::Billing, decorator: Google::Apis::ServiceusageV1::Billing::Representation
|
||||
property :billing, as: 'billing', class: Google::Apis::ServiceusageV1beta1::Billing, decorator: Google::Apis::ServiceusageV1beta1::Billing::Representation
|
||||
|
||||
property :config_version, as: 'configVersion'
|
||||
property :context, as: 'context', class: Google::Apis::ServiceusageV1::Context, decorator: Google::Apis::ServiceusageV1::Context::Representation
|
||||
property :context, as: 'context', class: Google::Apis::ServiceusageV1beta1::Context, decorator: Google::Apis::ServiceusageV1beta1::Context::Representation
|
||||
|
||||
property :control, as: 'control', class: Google::Apis::ServiceusageV1::Control, decorator: Google::Apis::ServiceusageV1::Control::Representation
|
||||
property :control, as: 'control', class: Google::Apis::ServiceusageV1beta1::Control, decorator: Google::Apis::ServiceusageV1beta1::Control::Representation
|
||||
|
||||
property :custom_error, as: 'customError', class: Google::Apis::ServiceusageV1::CustomError, decorator: Google::Apis::ServiceusageV1::CustomError::Representation
|
||||
property :custom_error, as: 'customError', class: Google::Apis::ServiceusageV1beta1::CustomError, decorator: Google::Apis::ServiceusageV1beta1::CustomError::Representation
|
||||
|
||||
property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1::Documentation, decorator: Google::Apis::ServiceusageV1::Documentation::Representation
|
||||
property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1beta1::Documentation, decorator: Google::Apis::ServiceusageV1beta1::Documentation::Representation
|
||||
|
||||
collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1::Endpoint, decorator: Google::Apis::ServiceusageV1::Endpoint::Representation
|
||||
collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1beta1::Endpoint, decorator: Google::Apis::ServiceusageV1beta1::Endpoint::Representation
|
||||
|
||||
collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1::Enum, decorator: Google::Apis::ServiceusageV1::Enum::Representation
|
||||
collection :enums, as: 'enums', class: Google::Apis::ServiceusageV1beta1::Enum, decorator: Google::Apis::ServiceusageV1beta1::Enum::Representation
|
||||
|
||||
property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1::Experimental, decorator: Google::Apis::ServiceusageV1::Experimental::Representation
|
||||
property :experimental, as: 'experimental', class: Google::Apis::ServiceusageV1beta1::Experimental, decorator: Google::Apis::ServiceusageV1beta1::Experimental::Representation
|
||||
|
||||
property :http, as: 'http', class: Google::Apis::ServiceusageV1::Http, decorator: Google::Apis::ServiceusageV1::Http::Representation
|
||||
property :http, as: 'http', class: Google::Apis::ServiceusageV1beta1::Http, decorator: Google::Apis::ServiceusageV1beta1::Http::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :logging, as: 'logging', class: Google::Apis::ServiceusageV1::Logging, decorator: Google::Apis::ServiceusageV1::Logging::Representation
|
||||
property :logging, as: 'logging', class: Google::Apis::ServiceusageV1beta1::Logging, decorator: Google::Apis::ServiceusageV1beta1::Logging::Representation
|
||||
|
||||
collection :logs, as: 'logs', class: Google::Apis::ServiceusageV1::LogDescriptor, decorator: Google::Apis::ServiceusageV1::LogDescriptor::Representation
|
||||
collection :logs, as: 'logs', class: Google::Apis::ServiceusageV1beta1::LogDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LogDescriptor::Representation
|
||||
|
||||
collection :metrics, as: 'metrics', class: Google::Apis::ServiceusageV1::MetricDescriptor, decorator: Google::Apis::ServiceusageV1::MetricDescriptor::Representation
|
||||
collection :metrics, as: 'metrics', class: Google::Apis::ServiceusageV1beta1::MetricDescriptor, decorator: Google::Apis::ServiceusageV1beta1::MetricDescriptor::Representation
|
||||
|
||||
collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1::MonitoredResourceDescriptor::Representation
|
||||
collection :monitored_resources, as: 'monitoredResources', class: Google::Apis::ServiceusageV1beta1::MonitoredResourceDescriptor, decorator: Google::Apis::ServiceusageV1beta1::MonitoredResourceDescriptor::Representation
|
||||
|
||||
property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1::Monitoring, decorator: Google::Apis::ServiceusageV1::Monitoring::Representation
|
||||
property :monitoring, as: 'monitoring', class: Google::Apis::ServiceusageV1beta1::Monitoring, decorator: Google::Apis::ServiceusageV1beta1::Monitoring::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :producer_project_id, as: 'producerProjectId'
|
||||
property :quota, as: 'quota', class: Google::Apis::ServiceusageV1::Quota, decorator: Google::Apis::ServiceusageV1::Quota::Representation
|
||||
property :quota, as: 'quota', class: Google::Apis::ServiceusageV1beta1::Quota, decorator: Google::Apis::ServiceusageV1beta1::Quota::Representation
|
||||
|
||||
property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1::SourceInfo, decorator: Google::Apis::ServiceusageV1::SourceInfo::Representation
|
||||
property :source_info, as: 'sourceInfo', class: Google::Apis::ServiceusageV1beta1::SourceInfo, decorator: Google::Apis::ServiceusageV1beta1::SourceInfo::Representation
|
||||
|
||||
property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceusageV1::SystemParameters, decorator: Google::Apis::ServiceusageV1::SystemParameters::Representation
|
||||
property :system_parameters, as: 'systemParameters', class: Google::Apis::ServiceusageV1beta1::SystemParameters, decorator: Google::Apis::ServiceusageV1beta1::SystemParameters::Representation
|
||||
|
||||
collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation
|
||||
collection :system_types, as: 'systemTypes', class: Google::Apis::ServiceusageV1beta1::Type, decorator: Google::Apis::ServiceusageV1beta1::Type::Representation
|
||||
|
||||
property :title, as: 'title'
|
||||
collection :types, as: 'types', class: Google::Apis::ServiceusageV1::Type, decorator: Google::Apis::ServiceusageV1::Type::Representation
|
||||
collection :types, as: 'types', class: Google::Apis::ServiceusageV1beta1::Type, decorator: Google::Apis::ServiceusageV1beta1::Type::Representation
|
||||
|
||||
property :usage, as: 'usage', class: Google::Apis::ServiceusageV1::Usage, decorator: Google::Apis::ServiceusageV1::Usage::Representation
|
||||
property :usage, as: 'usage', class: Google::Apis::ServiceusageV1beta1::Usage, decorator: Google::Apis::ServiceusageV1beta1::Usage::Representation
|
||||
|
||||
property :visibility, as: 'visibility', class: Google::Apis::ServiceusageV1::Visibility, decorator: Google::Apis::ServiceusageV1::Visibility::Representation
|
||||
property :visibility, as: 'visibility', class: Google::Apis::ServiceusageV1beta1::Visibility, decorator: Google::Apis::ServiceusageV1beta1::Visibility::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -785,7 +755,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fully_decode_reserved_expansion, as: 'fullyDecodeReservedExpansion'
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -793,18 +763,18 @@ module Google
|
||||
class HttpRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
|
||||
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation
|
||||
|
||||
collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1::AuthorizationRule::Representation
|
||||
collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceusageV1beta1::AuthorizationRule, decorator: Google::Apis::ServiceusageV1beta1::AuthorizationRule::Representation
|
||||
|
||||
property :body, as: 'body'
|
||||
property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation
|
||||
property :custom, as: 'custom', class: Google::Apis::ServiceusageV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1beta1::CustomHttpPattern::Representation
|
||||
|
||||
property :delete, as: 'delete'
|
||||
property :get, as: 'get'
|
||||
property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1::MediaDownload, decorator: Google::Apis::ServiceusageV1::MediaDownload::Representation
|
||||
property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceusageV1beta1::MediaDownload, decorator: Google::Apis::ServiceusageV1beta1::MediaDownload::Representation
|
||||
|
||||
property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1::MediaUpload, decorator: Google::Apis::ServiceusageV1::MediaUpload::Representation
|
||||
property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceusageV1beta1::MediaUpload, decorator: Google::Apis::ServiceusageV1beta1::MediaUpload::Representation
|
||||
|
||||
property :patch, as: 'patch'
|
||||
property :post, as: 'post'
|
||||
@@ -824,20 +794,20 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ListEnabledServicesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :services, as: 'services', class: Google::Apis::ServiceusageV1::ServiceState, decorator: Google::Apis::ServiceusageV1::ServiceState::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1::Operation, decorator: Google::Apis::ServiceusageV1::Operation::Representation
|
||||
collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1beta1::Operation, decorator: Google::Apis::ServiceusageV1beta1::Operation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListServicesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :services, as: 'services', class: Google::Apis::ServiceusageV1beta1::Service, decorator: Google::Apis::ServiceusageV1beta1::Service::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -847,7 +817,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
@@ -856,9 +826,9 @@ module Google
|
||||
class Logging
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::LoggingDestination, decorator: Google::Apis::ServiceusageV1beta1::LoggingDestination::Representation
|
||||
|
||||
collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::LoggingDestination, decorator: Google::Apis::ServiceusageV1::LoggingDestination::Representation
|
||||
collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1beta1::LoggingDestination, decorator: Google::Apis::ServiceusageV1beta1::LoggingDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -901,7 +871,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
property :request_streaming, as: 'requestStreaming'
|
||||
property :request_type_url, as: 'requestTypeUrl'
|
||||
@@ -916,7 +886,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
|
||||
|
||||
property :metric_kind, as: 'metricKind'
|
||||
property :name, as: 'name'
|
||||
@@ -947,7 +917,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :display_name, as: 'displayName'
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1::LabelDescriptor::Representation
|
||||
collection :labels, as: 'labels', class: Google::Apis::ServiceusageV1beta1::LabelDescriptor, decorator: Google::Apis::ServiceusageV1beta1::LabelDescriptor::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :type, as: 'type'
|
||||
@@ -957,9 +927,9 @@ module Google
|
||||
class Monitoring
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation
|
||||
collection :consumer_destinations, as: 'consumerDestinations', class: Google::Apis::ServiceusageV1beta1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1beta1::MonitoringDestination::Representation
|
||||
|
||||
collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1::MonitoringDestination::Representation
|
||||
collection :producer_destinations, as: 'producerDestinations', class: Google::Apis::ServiceusageV1beta1::MonitoringDestination, decorator: Google::Apis::ServiceusageV1beta1::MonitoringDestination::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -983,7 +953,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::ServiceusageV1::Status, decorator: Google::Apis::ServiceusageV1::Status::Representation
|
||||
property :error, as: 'error', class: Google::Apis::ServiceusageV1beta1::Status, decorator: Google::Apis::ServiceusageV1beta1::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
@@ -997,7 +967,7 @@ module Google
|
||||
property :progress_percentage, as: 'progressPercentage'
|
||||
collection :resource_names, as: 'resourceNames'
|
||||
property :start_time, as: 'startTime'
|
||||
collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1::Step, decorator: Google::Apis::ServiceusageV1::Step::Representation
|
||||
collection :steps, as: 'steps', class: Google::Apis::ServiceusageV1beta1::Step, decorator: Google::Apis::ServiceusageV1beta1::Step::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1015,16 +985,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content, as: 'content'
|
||||
property :name, as: 'name'
|
||||
collection :subpages, as: 'subpages', class: Google::Apis::ServiceusageV1::Page, decorator: Google::Apis::ServiceusageV1::Page::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class PublishedService
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :service, as: 'service', class: Google::Apis::ServiceusageV1::GoogleApiService, decorator: Google::Apis::ServiceusageV1::GoogleApiService::Representation
|
||||
collection :subpages, as: 'subpages', class: Google::Apis::ServiceusageV1beta1::Page, decorator: Google::Apis::ServiceusageV1beta1::Page::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1032,9 +993,9 @@ module Google
|
||||
class Quota
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :limits, as: 'limits', class: Google::Apis::ServiceusageV1::QuotaLimit, decorator: Google::Apis::ServiceusageV1::QuotaLimit::Representation
|
||||
collection :limits, as: 'limits', class: Google::Apis::ServiceusageV1beta1::QuotaLimit, decorator: Google::Apis::ServiceusageV1beta1::QuotaLimit::Representation
|
||||
|
||||
collection :metric_rules, as: 'metricRules', class: Google::Apis::ServiceusageV1::MetricRule, decorator: Google::Apis::ServiceusageV1::MetricRule::Representation
|
||||
collection :metric_rules, as: 'metricRules', class: Google::Apis::ServiceusageV1beta1::MetricRule, decorator: Google::Apis::ServiceusageV1beta1::MetricRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1055,22 +1016,33 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SearchServicesResponse
|
||||
class Service
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :services, as: 'services', class: Google::Apis::ServiceusageV1::PublishedService, decorator: Google::Apis::ServiceusageV1::PublishedService::Representation
|
||||
property :config, as: 'config', class: Google::Apis::ServiceusageV1beta1::ServiceConfig, decorator: Google::Apis::ServiceusageV1beta1::ServiceConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :parent, as: 'parent'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class ServiceState
|
||||
class ServiceConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enabled, as: 'enabled', class: Google::Apis::ServiceusageV1::EnabledState, decorator: Google::Apis::ServiceusageV1::EnabledState::Representation
|
||||
collection :apis, as: 'apis', class: Google::Apis::ServiceusageV1beta1::Api, decorator: Google::Apis::ServiceusageV1beta1::Api::Representation
|
||||
|
||||
property :authentication, as: 'authentication', class: Google::Apis::ServiceusageV1beta1::Authentication, decorator: Google::Apis::ServiceusageV1beta1::Authentication::Representation
|
||||
|
||||
property :documentation, as: 'documentation', class: Google::Apis::ServiceusageV1beta1::Documentation, decorator: Google::Apis::ServiceusageV1beta1::Documentation::Representation
|
||||
|
||||
collection :endpoints, as: 'endpoints', class: Google::Apis::ServiceusageV1beta1::Endpoint, decorator: Google::Apis::ServiceusageV1beta1::Endpoint::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :service, as: 'service', class: Google::Apis::ServiceusageV1::PublishedService, decorator: Google::Apis::ServiceusageV1::PublishedService::Representation
|
||||
property :quota, as: 'quota', class: Google::Apis::ServiceusageV1beta1::Quota, decorator: Google::Apis::ServiceusageV1beta1::Quota::Representation
|
||||
|
||||
property :title, as: 'title'
|
||||
property :usage, as: 'usage', class: Google::Apis::ServiceusageV1beta1::Usage, decorator: Google::Apis::ServiceusageV1beta1::Usage::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1118,7 +1090,7 @@ module Google
|
||||
class SystemParameterRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :parameters, as: 'parameters', class: Google::Apis::ServiceusageV1::SystemParameter, decorator: Google::Apis::ServiceusageV1::SystemParameter::Representation
|
||||
collection :parameters, as: 'parameters', class: Google::Apis::ServiceusageV1beta1::SystemParameter, decorator: Google::Apis::ServiceusageV1beta1::SystemParameter::Representation
|
||||
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
@@ -1127,7 +1099,7 @@ module Google
|
||||
class SystemParameters
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::SystemParameterRule, decorator: Google::Apis::ServiceusageV1::SystemParameterRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::SystemParameterRule, decorator: Google::Apis::ServiceusageV1beta1::SystemParameterRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1135,13 +1107,13 @@ module Google
|
||||
class Type
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :fields, as: 'fields', class: Google::Apis::ServiceusageV1::Field, decorator: Google::Apis::ServiceusageV1::Field::Representation
|
||||
collection :fields, as: 'fields', class: Google::Apis::ServiceusageV1beta1::Field, decorator: Google::Apis::ServiceusageV1beta1::Field::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
collection :oneofs, as: 'oneofs'
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1::Option, decorator: Google::Apis::ServiceusageV1::Option::Representation
|
||||
collection :options, as: 'options', class: Google::Apis::ServiceusageV1beta1::Option, decorator: Google::Apis::ServiceusageV1beta1::Option::Representation
|
||||
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1::SourceContext, decorator: Google::Apis::ServiceusageV1::SourceContext::Representation
|
||||
property :source_context, as: 'sourceContext', class: Google::Apis::ServiceusageV1beta1::SourceContext, decorator: Google::Apis::ServiceusageV1beta1::SourceContext::Representation
|
||||
|
||||
property :syntax, as: 'syntax'
|
||||
end
|
||||
@@ -1152,7 +1124,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :producer_notification_channel, as: 'producerNotificationChannel'
|
||||
collection :requirements, as: 'requirements'
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::UsageRule, decorator: Google::Apis::ServiceusageV1beta1::UsageRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1169,7 +1141,7 @@ module Google
|
||||
class Visibility
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::VisibilityRule, decorator: Google::Apis::ServiceusageV1::VisibilityRule::Representation
|
||||
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::VisibilityRule, decorator: Google::Apis::ServiceusageV1beta1::VisibilityRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
+97
-162
@@ -19,7 +19,7 @@ require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module ServiceusageV1
|
||||
module ServiceusageV1beta1
|
||||
# Service Usage API
|
||||
#
|
||||
# Enables services that service consumers want to use on Google Cloud Platform,
|
||||
@@ -27,9 +27,9 @@ module Google
|
||||
# consumers no longer use.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/serviceusage_v1'
|
||||
# require 'google/apis/serviceusage_v1beta1'
|
||||
#
|
||||
# Serviceusage = Google::Apis::ServiceusageV1 # Alias the module
|
||||
# Serviceusage = Google::Apis::ServiceusageV1beta1 # Alias the module
|
||||
# service = Serviceusage::ServiceUsageService.new
|
||||
#
|
||||
# @see https://cloud.google.com/service-usage/
|
||||
@@ -49,81 +49,6 @@ module Google
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Starts asynchronous cancellation on a long-running operation. The server
|
||||
# makes a best effort to cancel the operation, but success is not
|
||||
# guaranteed. If the server doesn't support this method, it returns
|
||||
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
||||
# Operations.GetOperation or
|
||||
# other methods to check whether the cancellation succeeded or whether the
|
||||
# operation completed despite cancellation. On successful cancellation,
|
||||
# the operation is not deleted; instead, it becomes an operation with
|
||||
# an Operation.error value with a google.rpc.Status.code of 1,
|
||||
# corresponding to `Code.CANCELLED`.
|
||||
# @param [String] name
|
||||
# The name of the operation resource to be cancelled.
|
||||
# @param [Google::Apis::ServiceusageV1::CancelOperationRequest] cancel_operation_request_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1::CancelOperationRequest::Representation
|
||||
command.request_object = cancel_operation_request_object
|
||||
command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::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
|
||||
|
||||
# Deletes a long-running operation. This method indicates that the client is
|
||||
# no longer interested in the operation result. It does not cancel the
|
||||
# operation. If the server doesn't support this method, it returns
|
||||
# `google.rpc.Code.UNIMPLEMENTED`.
|
||||
# @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::ServiceusageV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::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::ServiceusageV1::Empty::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::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
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
@@ -138,18 +63,18 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::Operation]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
||||
#
|
||||
# @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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::Operation
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
@@ -182,18 +107,18 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::ListOperationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::ListOperationsResponse]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::ListOperationsResponse]
|
||||
#
|
||||
# @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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/operations', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
|
||||
command = make_simple_command(:get, 'v1beta1/operations', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::ListOperationsResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::ListOperationsResponse
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['name'] = name unless name.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
@@ -203,11 +128,49 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Disable a service so it can no longer be used with a
|
||||
# project. This prevents unintended usage that may cause unexpected billing
|
||||
# Enable multiple services on a project. The operation is atomic: if enabling
|
||||
# any service fails, then the entire batch fails, and no state changes occur.
|
||||
# Operation<response: google.protobuf.Empty>
|
||||
# @param [String] parent
|
||||
# Parent to enable services on.
|
||||
# An example name would be:
|
||||
# projects/123
|
||||
# The `BatchEnableServices` method currently only supports projects.
|
||||
# @param [Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest] batch_enable_services_request_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.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
||||
#
|
||||
# @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 batch_enable_services(parent, batch_enable_services_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+parent}/services:batchEnable', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1beta1::BatchEnableServicesRequest::Representation
|
||||
command.request_object = batch_enable_services_request_object
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Disable a service so that it can no longer be used with a project.
|
||||
# This prevents unintended usage that may cause unexpected billing
|
||||
# charges or security leaks.
|
||||
# It is not valid to call the disable method on a service that is not
|
||||
# currently enabled. Callers will receive a FAILED_PRECONDITION status if
|
||||
# currently enabled. Callers will receive a `FAILED_PRECONDITION` status if
|
||||
# the target service is not currently enabled.
|
||||
# Operation<response: google.protobuf.Empty>
|
||||
# @param [String] name
|
||||
@@ -215,7 +178,7 @@ module Google
|
||||
# The enable and disable methods currently only support projects.
|
||||
# An example name would be:
|
||||
# projects/123/services/serviceusage.googleapis.com
|
||||
# @param [Google::Apis::ServiceusageV1::DisableServiceRequest] disable_service_request_object
|
||||
# @param [Google::Apis::ServiceusageV1beta1::DisableServiceRequest] disable_service_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -225,38 +188,37 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::Operation]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
||||
#
|
||||
# @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 disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:disable', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1::DisableServiceRequest::Representation
|
||||
command = make_simple_command(:post, 'v1beta1/{+name}:disable', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1beta1::DisableServiceRequest::Representation
|
||||
command.request_object = disable_service_request_object
|
||||
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::Operation
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
||||
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
|
||||
|
||||
# Enable a service so it can be used with a project.
|
||||
# See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
|
||||
# more information.
|
||||
# Enable a service so that it can be used with a project.
|
||||
# Operation<response: google.protobuf.Empty>
|
||||
# @param [String] name
|
||||
# Name of the consumer and service to enable the service on.
|
||||
# The enable and disable methods currently only support projects.
|
||||
# The `EnableService` and `DisableService` methods currently only support
|
||||
# projects.
|
||||
# Enabling a service requires that the service is public or is shared with
|
||||
# the user enabling the service.
|
||||
# An example name would be:
|
||||
# projects/123/services/serviceusage.googleapis.com
|
||||
# @param [Google::Apis::ServiceusageV1::EnableServiceRequest] enable_service_request_object
|
||||
# @param [Google::Apis::ServiceusageV1beta1::EnableServiceRequest] enable_service_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -266,29 +228,29 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::Operation] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::Operation]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
||||
#
|
||||
# @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 enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:enable', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1::EnableServiceRequest::Representation
|
||||
command = make_simple_command(:post, 'v1beta1/{+name}:enable', options)
|
||||
command.request_representation = Google::Apis::ServiceusageV1beta1::EnableServiceRequest::Representation
|
||||
command.request_object = enable_service_request_object
|
||||
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::Operation
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
||||
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
|
||||
|
||||
# Returns the service definition and EnabledState for a given service.
|
||||
# Returns the service configuration and enabled state for a given service.
|
||||
# @param [String] name
|
||||
# Name of the consumer and service to get the ConsumerState for.
|
||||
# Name of the consumer and service to get the `ConsumerState` for.
|
||||
# An example name would be:
|
||||
# projects/123/services/serviceusage.googleapis.com
|
||||
# @param [String] fields
|
||||
@@ -300,34 +262,43 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::ServiceState] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Service] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::ServiceState]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::Service]
|
||||
#
|
||||
# @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_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1::ServiceState::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::ServiceState
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::Service::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::Service
|
||||
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
|
||||
|
||||
# List enabled services.
|
||||
# List all services available to the specified project, and the current
|
||||
# state of those services with respect to the project. The list includes
|
||||
# all public services, all services for which the calling user has the
|
||||
# `servicemanagement.services.bind` permission, and all services that have
|
||||
# already been enabled on the project. The list can be filtered to
|
||||
# only include services in a specific state, for example to only include
|
||||
# services enabled on the project.
|
||||
# @param [String] parent
|
||||
# Parent to search for services on.
|
||||
# An example name would be:
|
||||
# projects/123
|
||||
# @param [String] filter
|
||||
# Only list services that conform to the given filter.
|
||||
# The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
|
||||
# @param [Fixnum] page_size
|
||||
# Requested size of the next page of data.
|
||||
# @param [String] page_token
|
||||
# Token identifying which result to start with; returned by a previous list
|
||||
# call.
|
||||
# Token identifying which result to start with, which is returned by a
|
||||
# previous list call.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -337,56 +308,20 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1::ListEnabledServicesResponse] parsed result object
|
||||
# @yieldparam result [Google::Apis::ServiceusageV1beta1::ListServicesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::ListEnabledServicesResponse]
|
||||
# @return [Google::Apis::ServiceusageV1beta1::ListServicesResponse]
|
||||
#
|
||||
# @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_service_enabled(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/services:enabled', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1::ListEnabledServicesResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::ListEnabledServicesResponse
|
||||
def list_services(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+parent}/services', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1beta1::ListServicesResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1beta1::ListServicesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Search available services.
|
||||
# When no filter is specified, returns all accessible services. This includes
|
||||
# public services and services for which the calling user has the
|
||||
# "servicemanagement.services.bind" permission.
|
||||
# @param [Fixnum] page_size
|
||||
# Requested size of the next page of data.
|
||||
# @param [String] page_token
|
||||
# Token identifying which result to start with; returned by a previous search
|
||||
# call.
|
||||
# @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::ServiceusageV1::SearchServicesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ServiceusageV1::SearchServicesResponse]
|
||||
#
|
||||
# @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_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/services:search', options)
|
||||
command.response_representation = Google::Apis::ServiceusageV1::SearchServicesResponse::Representation
|
||||
command.response_class = Google::Apis::ServiceusageV1::SearchServicesResponse
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20180124'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -1459,7 +1459,7 @@ module Google
|
||||
attr_accessor :requests
|
||||
|
||||
# True if grid data should be returned. Meaningful only if
|
||||
# if include_spreadsheet_response is 'true'.
|
||||
# if include_spreadsheet_in_response is 'true'.
|
||||
# This parameter is ignored if a field mask was set in the request.
|
||||
# Corresponds to the JSON property `responseIncludeGridData`
|
||||
# @return [Boolean]
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/slides/
|
||||
module SlidesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180216'
|
||||
REVISION = '20180301'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -318,7 +318,7 @@ module Google
|
||||
# The image URL.
|
||||
# The image is fetched once at insertion time and a copy is stored for
|
||||
# display inside the presentation. Images must be less than 50MB in size,
|
||||
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
||||
# cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
|
||||
# format.
|
||||
# The provided URL can be at most 2 kB in length.
|
||||
# Corresponds to the JSON property `url`
|
||||
@@ -2589,7 +2589,7 @@ module Google
|
||||
# The image URL.
|
||||
# The image is fetched once at insertion time and a copy is stored for
|
||||
# display inside the presentation. Images must be less than 50MB in size,
|
||||
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
||||
# cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
|
||||
# format.
|
||||
# The provided URL can be at most 2 kB in length.
|
||||
# Corresponds to the JSON property `imageUrl`
|
||||
@@ -2788,7 +2788,7 @@ module Google
|
||||
# The URL of the new image.
|
||||
# The image is fetched once at insertion time and a copy is stored for
|
||||
# display inside the presentation. Images must be less than 50MB in size,
|
||||
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
||||
# cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
|
||||
# format.
|
||||
# The provided URL can be at most 2 kB in length.
|
||||
# Corresponds to the JSON property `url`
|
||||
@@ -3587,7 +3587,7 @@ module Google
|
||||
# Writing the content_url:
|
||||
# The picture is fetched once at insertion time and a copy is stored for
|
||||
# display inside the presentation. Pictures must be less than 50MB in size,
|
||||
# cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF
|
||||
# cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF
|
||||
# format.
|
||||
# The provided URL can be at most 2 kB in length.
|
||||
# Corresponds to the JSON property `contentUrl`
|
||||
|
||||
@@ -96,8 +96,9 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new presentation using the title given in the request. Other
|
||||
# fields in the request are ignored.
|
||||
# Creates a new presentation using the title given in the request. If a
|
||||
# presentationId is provided, uses it as the ID of the new presentation.
|
||||
# Otherwise, a new presentationId is generated.
|
||||
# Returns the created presentation.
|
||||
# @param [Google::Apis::SlidesV1::Presentation] presentation_object
|
||||
# @param [String] fields
|
||||
|
||||
Reference in new issue
Block a user