Autogenerated update (2020-09-16)

Update:
- apigee_v1
- cloudidentity_v1
- container_v1beta1
- dialogflow_v3beta1
- firebasehosting_v1beta1
- iam_v1
- licensing_v1
- reseller_v1
- tasks_v1
- testing_v1
This commit is contained in:
Google APIs 2020-09-16 00:39:02 +00:00
parent 1a22c88f8a
commit 68aad98b54
28 changed files with 779 additions and 524 deletions

View File

@ -10353,6 +10353,7 @@
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/sequenceNumber": sequence_number
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets": targets
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets/target": target
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/traceConfig": trace_config
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/uid": uid
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup": google_cloud_apigee_v1_environment_group
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/createdAt": created_at
@ -10686,6 +10687,34 @@
"/apigee:v1/GoogleCloudApigeeV1RoutingRule": google_cloud_apigee_v1_routing_rule
"/apigee:v1/GoogleCloudApigeeV1RoutingRule/basepath": basepath
"/apigee:v1/GoogleCloudApigeeV1RoutingRule/environment": environment
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig": google_cloud_apigee_v1_runtime_trace_config
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/endpoint": endpoint
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/exporter": exporter
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/name": name
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/overrides": overrides
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/overrides/override": override
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/revisionCreateTime": revision_create_time
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/revisionId": revision_id
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/samplingConfig": sampling_config
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride": google_cloud_apigee_v1_runtime_trace_config_override
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/apiProxy": api_proxy
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/name": name
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/revisionCreateTime": revision_create_time
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/revisionId": revision_id
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/samplingConfig": sampling_config
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/uid": uid
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig": google_cloud_apigee_v1_runtime_trace_sampling_config
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/errorSources": error_sources
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/errorSources/error_source": error_source
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodeRanges": response_code_ranges
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodeRanges/response_code_range": response_code_range
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodes": response_codes
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodes/response_code": response_code
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/sampler": sampler
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/samplingRate": sampling_rate
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange": google_cloud_apigee_v1_runtime_trace_sampling_config_response_code_range
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange/firstResponseCode": first_response_code
"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange/lastResponseCode": last_response_code
"/apigee:v1/GoogleCloudApigeeV1Schema": google_cloud_apigee_v1_schema
"/apigee:v1/GoogleCloudApigeeV1Schema/dimensions": dimensions
"/apigee:v1/GoogleCloudApigeeV1Schema/dimensions/dimension": dimension
@ -21865,6 +21894,7 @@
"/cloudidentity:v1/cloudidentity.devices.wipe": wipe_device
"/cloudidentity:v1/cloudidentity.devices.wipe/name": name
"/cloudidentity:v1/cloudidentity.groups.create": create_group
"/cloudidentity:v1/cloudidentity.groups.create/initialGroupConfig": initial_group_config
"/cloudidentity:v1/cloudidentity.groups.delete": delete_group
"/cloudidentity:v1/cloudidentity.groups.delete/name": name
"/cloudidentity:v1/cloudidentity.groups.get": get_group
@ -51796,6 +51826,7 @@
"/container:v1beta1/Cluster/clusterTelemetry": cluster_telemetry
"/container:v1beta1/Cluster/conditions": conditions
"/container:v1beta1/Cluster/conditions/condition": condition
"/container:v1beta1/Cluster/confidentialNodes": confidential_nodes
"/container:v1beta1/Cluster/createTime": create_time
"/container:v1beta1/Cluster/currentMasterVersion": current_master_version
"/container:v1beta1/Cluster/currentNodeCount": current_node_count
@ -51895,6 +51926,8 @@
"/container:v1beta1/CompleteIPRotationRequest/name": name
"/container:v1beta1/CompleteIPRotationRequest/projectId": project_id
"/container:v1beta1/CompleteIPRotationRequest/zone": zone
"/container:v1beta1/ConfidentialNodes": confidential_nodes
"/container:v1beta1/ConfidentialNodes/enabled": enabled
"/container:v1beta1/ConfigConnectorConfig": config_connector_config
"/container:v1beta1/ConfigConnectorConfig/enabled": enabled
"/container:v1beta1/ConsumptionMeteringConfig": consumption_metering_config
@ -85601,6 +85634,7 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/redact": redact
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/required": required
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment
@ -85663,6 +85697,7 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/redact": redact
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/
module ApigeeV1
VERSION = 'V1'
REVISION = '20200827'
REVISION = '20200912'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2350,6 +2350,12 @@ module Google
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
attr_accessor :targets
# NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace
# in an environment.
# Corresponds to the JSON property `traceConfig`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig]
attr_accessor :trace_config
# Unique ID for the environment configuration. The ID will only change if the
# environment is deleted and recreated.
# Corresponds to the JSON property `uid`
@ -2377,6 +2383,7 @@ module Google
@revision_id = args[:revision_id] if args.key?(:revision_id)
@sequence_number = args[:sequence_number] if args.key?(:sequence_number)
@targets = args[:targets] if args.key?(:targets)
@trace_config = args[:trace_config] if args.key?(:trace_config)
@uid = args[:uid] if args.key?(:uid)
end
end
@ -3599,9 +3606,9 @@ module Google
include Google::Apis::Core::Hashable
# Identfies whether the configuration is for Apigee proxy or a remote service.
# Possible values are "proxy" and "remote_service". If none specified, the
# Possible values are "proxy" and "remoteservice". If none specified, the
# default is "proxy". "proxy" is used when Apigee proxies are associated with
# the API product. "remote_service" is used when non-Apigee proxy like Envoy is
# the API product. "remoteservice" is used when non-Apigee proxy like Envoy is
# used, and is associated with the API product.
# Corresponds to the JSON property `operationConfigType`
# @return [String]
@ -4677,6 +4684,203 @@ module Google
end
end
# NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace
# in an environment.
class GoogleCloudApigeeV1RuntimeTraceConfig
include Google::Apis::Core::Hashable
# Endpoint of the exporter.
# Corresponds to the JSON property `endpoint`
# @return [String]
attr_accessor :endpoint
# Exporter that is used to view the distributed trace captured using OpenCensus.
# An exporter sends traces to any backend that is capable of consuming them.
# Recorded spans can be exported by registered exporters.
# Corresponds to the JSON property `exporter`
# @return [String]
attr_accessor :exporter
# Name of the trace config in the following format: `organizations/`org`/
# environment/`env`/traceConfig`
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# List of trace configuration overrides for spicific API proxies.
# Corresponds to the JSON property `overrides`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride>]
attr_accessor :overrides
# The timestamp that the revision was created or updated.
# Corresponds to the JSON property `revisionCreateTime`
# @return [String]
attr_accessor :revision_create_time
# Revision number which can be used by the runtime to detect if the trace config
# has changed between two versions.
# Corresponds to the JSON property `revisionId`
# @return [String]
attr_accessor :revision_id
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
# Corresponds to the JSON property `samplingConfig`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig]
attr_accessor :sampling_config
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@endpoint = args[:endpoint] if args.key?(:endpoint)
@exporter = args[:exporter] if args.key?(:exporter)
@name = args[:name] if args.key?(:name)
@overrides = args[:overrides] if args.key?(:overrides)
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
@revision_id = args[:revision_id] if args.key?(:revision_id)
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
end
end
# NEXT ID: 7 Trace configuration override for a specific API proxy in an
# environment.
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
include Google::Apis::Core::Hashable
# Name of the API proxy that will have its trace configuration overridden
# following format: `organizations/`org`/apis/`api``
# Corresponds to the JSON property `apiProxy`
# @return [String]
attr_accessor :api_proxy
# Name of the trace config override in the following format: `organizations/`org`
# /environment/`env`/traceConfig/overrides/`override``
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The timestamp that the revision was created or updated.
# Corresponds to the JSON property `revisionCreateTime`
# @return [String]
attr_accessor :revision_create_time
# Revision number which can be used by the runtime to detect if the trace config
# override has changed between two versions.
# Corresponds to the JSON property `revisionId`
# @return [String]
attr_accessor :revision_id
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
# Corresponds to the JSON property `samplingConfig`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig]
attr_accessor :sampling_config
# Unique ID for the configuration override. The ID will only change if the
# override is deleted and recreated.
# Corresponds to the JSON property `uid`
# @return [String]
attr_accessor :uid
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
@name = args[:name] if args.key?(:name)
@revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
@revision_id = args[:revision_id] if args.key?(:revision_id)
@sampling_config = args[:sampling_config] if args.key?(:sampling_config)
@uid = args[:uid] if args.key?(:uid)
end
end
# NEXT ID: 6 RuntimeTraceSamplingConfig represents the detail settings of
# distributed tracing. Only the fields that are defined in the distributed trace
# configuration can be overridden using the distribute trace configuration
# override APIs.
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
include Google::Apis::Core::Hashable
# Error sources from which to capture errors. If none are specified, error codes
# are captured from all sources.
# Corresponds to the JSON property `errorSources`
# @return [Array<String>]
attr_accessor :error_sources
# List of response code ranges.
# Corresponds to the JSON property `responseCodeRanges`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange>]
attr_accessor :response_code_ranges
# List of single response codes.
# Corresponds to the JSON property `responseCodes`
# @return [Array<Fixnum>]
attr_accessor :response_codes
# Sampler of distributed tracing. OFF is the default value.
# Corresponds to the JSON property `sampler`
# @return [String]
attr_accessor :sampler
# Field sampling rate. This value is only valid when is only applicable when
# sampling value is probabilistic(PROBABILITY). The supported values are > 0 and
# <= 0.5.
# Corresponds to the JSON property `samplingRate`
# @return [Float]
attr_accessor :sampling_rate
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error_sources = args[:error_sources] if args.key?(:error_sources)
@response_code_ranges = args[:response_code_ranges] if args.key?(:response_code_ranges)
@response_codes = args[:response_codes] if args.key?(:response_codes)
@sampler = args[:sampler] if args.key?(:sampler)
@sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate)
end
end
# ResponseCodeRange represents a group of response codes to capture, from the
# first response code to the last response code. Each range is a close interval.
# For example, if an interval is [400, 403], then that means 400, 401, 402, 403
# will be all captured.
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
include Google::Apis::Core::Hashable
# The first response code to capture.
# Corresponds to the JSON property `firstResponseCode`
# @return [Fixnum]
attr_accessor :first_response_code
# The last response code to capture.
# Corresponds to the JSON property `lastResponseCode`
# @return [Fixnum]
attr_accessor :last_response_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@first_response_code = args[:first_response_code] if args.key?(:first_response_code)
@last_response_code = args[:last_response_code] if args.key?(:last_response_code)
end
end
# Response for Schema call
class GoogleCloudApigeeV1Schema
include Google::Apis::Core::Hashable

View File

@ -694,6 +694,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1RuntimeTraceConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1Schema
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1459,6 +1483,8 @@ module Google
property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
collection :targets, as: 'targets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig::Representation
property :trace_config, as: 'traceConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig::Representation
property :uid, as: 'uid'
end
end
@ -2120,6 +2146,54 @@ module Google
end
end
class GoogleCloudApigeeV1RuntimeTraceConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :endpoint, as: 'endpoint'
property :exporter, as: 'exporter'
property :name, as: 'name'
collection :overrides, as: 'overrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride::Representation
property :revision_create_time, as: 'revisionCreateTime'
property :revision_id, as: 'revisionId'
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation
end
end
class GoogleCloudApigeeV1RuntimeTraceConfigOverride
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_proxy, as: 'apiProxy'
property :name, as: 'name'
property :revision_create_time, as: 'revisionCreateTime'
property :revision_id, as: 'revisionId'
property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation
property :uid, as: 'uid'
end
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :error_sources, as: 'errorSources'
collection :response_code_ranges, as: 'responseCodeRanges', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange::Representation
collection :response_codes, as: 'responseCodes'
property :sampler, as: 'sampler'
property :sampling_rate, as: 'samplingRate'
end
end
class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :first_response_code, as: 'firstResponseCode'
property :last_response_code, as: 'lastResponseCode'
end
end
class GoogleCloudApigeeV1Schema
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -3581,13 +3581,16 @@ module Google
execute_or_queue_command(command, &block)
end
# Deploys a revision of an API proxy. If an API proxy revision is currently
# deployed, to ensure seamless deployment with zero downtime set the `override`
# parameter to `true`. In this case, hybrid attempts to deploy the new revision
# fully before undeploying the existing revision. You cannot invoke an API proxy
# until it has been deployed to an environment. After you deploy an API proxy
# revision, you cannot edit it. To edit the API proxy, you must create and
# deploy a new revision.
# Deploys a revision of an API proxy. If another revision of the same API proxy
# revision is currently deployed, set the `override` parameter to `true` to have
# this revision replace the currently deployed revision. You cannot invoke an
# API proxy until it has been deployed to an environment. After you deploy an
# API proxy revision, you cannot edit it. To edit the API proxy, you must create
# and deploy a new revision. For a request path `organizations/`org`/
# environments/`env`/apis/`api`/revisions/`rev`/deployments`, two permissions
# are required: * `apigee.deployments.create` on the resource `organizations/`
# org`/environments/`env`` * `apigee.proxyrevisions.deploy` on the resource `
# organizations/`org`/apis/`api`/revisions/`rev``
# @param [String] name
# Required. Name of the API proxy revision deployment in the following format: `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
@ -3670,10 +3673,11 @@ module Google
execute_or_queue_command(command, &block)
end
# Undeploys an API proxy revision from an environment. Because multiple
# revisions of the same API proxy can be deployed in the same environment if the
# base paths are different, you must specify the revision number of the API
# proxy.
# Undeploys an API proxy revision from an environment. For a request path `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`/deployments`,
# two permissions are required: * `apigee.deployments.delete` on the resource `
# organizations/`org`/environments/`env`` * `apigee.proxyrevisions.undeploy` on
# the resource `organizations/`org`/apis/`api`/revisions/`rev``
# @param [String] name
# Required. Name of the API proxy revision deployment in the following format: `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
@ -3896,7 +3900,11 @@ module Google
# traffic routing changes that would result from this deployment being created.
# Any potential routing conflicts or unsafe changes will be reported in the
# response. This routing analysis is not performed for a non-dry-run
# DeployApiProxy request.
# DeployApiProxy request. For a request path `organizations/`org`/environments/`
# env`/apis/`api`/revisions/`rev`/deployments:generateDeployChangeReport`, two
# permissions are required: * `apigee.deployments.create` on the resource `
# organizations/`org`/environments/`env`` * `apigee.proxyrevisions.deploy` on
# the resource `organizations/`org`/apis/`api`/revisions/`rev``
# @param [String] name
# Name of the API proxy revision deployment in the following format: `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
@ -3941,7 +3949,12 @@ module Google
# detect possible traffic routing changes that would result from this deployment
# being removed. Any potential routing conflicts or unsafe changes will be
# reported in the response. This routing analysis is not performed for a non-dry-
# run UndeployApiProxy request.
# run UndeployApiProxy request. For a request path `organizations/`org`/
# environments/`env`/apis/`api`/revisions/`rev`/deployments:
# generateUndeployChangeReport`, two permissions are required: * `apigee.
# deployments.delete` on the resource `organizations/`org`/environments/`env`` *
# `apigee.proxyrevisions.undeploy` on the resource `organizations/`org`/apis/`
# api`/revisions/`rev``
# @param [String] name
# Name of the API proxy revision deployment in the following format: `
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
@ -5184,11 +5197,15 @@ module Google
execute_or_queue_command(command, &block)
end
# Deploys a revision of a shared flow. If a shared flow revision is currently
# deployed, to ensure seamless deployment with zero downtime set the `override`
# parameter to `true`. In this case, hybrid attempts to deply the new revision
# fully before undeploying the existing revision. You cannot use a shared flows
# until it has been deployed to an environment.
# Deploys a revision of a shared flow. If another revision of the same shared
# flow is currently deployed, set the `override` parameter to `true` to have
# this revision replace the currently deployed revision. You cannot use a shared
# flow until it has been deployed to an environment. For a request path `
# organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/
# deployments`, two permissions are required: * `apigee.deployments.create` on
# the resource `organizations/`org`/environments/`env`` * `apigee.
# sharedflowrevisions.deploy` on the resource `organizations/`org`/sharedflows/`
# sf`/revisions/`rev``
# @param [String] name
# Required. Name of the shared flow revision to deploy in the following format: `
# organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev`
@ -5261,7 +5278,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Undeploys a shared flow revision from an environment.
# Undeploys a shared flow revision from an environment. For a request path `
# organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/
# deployments`, two permissions are required: * `apigee.deployments.delete` on
# the resource `organizations/`org`/environments/`env`` * `apigee.
# sharedflowrevisions.undeploy` on the resource `organizations/`org`/sharedflows/
# `sf`/revisions/`rev``
# @param [String] name
# Required. Name of the shared flow revision to undeploy in the following format:
# `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/
module CloudidentityV1
VERSION = 'V1'
REVISION = '20200908'
REVISION = '20200912'
# See your device details
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'

View File

@ -808,6 +808,8 @@ module Google
# Creates a Group.
# @param [Google::Apis::CloudidentityV1::Group] group_object
# @param [String] initial_group_config
# Optional. The initial configuration option for the `Group`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -825,12 +827,13 @@ module Google
# @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 create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
def create_group(group_object = nil, initial_group_config: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/groups', options)
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1::Operation
command.query['initialGroupConfig'] = initial_group_config unless initial_group_config.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20200828'
REVISION = '20200901'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -513,6 +513,12 @@ module Google
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
attr_accessor :conditions
# ConfidentialNodes is configuration for the confidential nodes feature, which
# makes nodes run on confidential VMs.
# Corresponds to the JSON property `confidentialNodes`
# @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
attr_accessor :confidential_nodes
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
# org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `createTime`
@ -866,6 +872,7 @@ module Google
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
@conditions = args[:conditions] if args.key?(:conditions)
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
@create_time = args[:create_time] if args.key?(:create_time)
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@ -1253,6 +1260,27 @@ module Google
end
end
# ConfidentialNodes is configuration for the confidential nodes feature, which
# makes nodes run on confidential VMs.
class ConfidentialNodes
include Google::Apis::Core::Hashable
# Whether Confidential Nodes feature is enabled for all nodes in this cluster.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# Configuration options for the Config Connector add-on.
class ConfigConnectorConfig
include Google::Apis::Core::Hashable

View File

@ -124,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ConfidentialNodes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConfigConnectorConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -803,6 +809,8 @@ module Google
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
property :create_time, as: 'createTime'
property :current_master_version, as: 'currentMasterVersion'
property :current_node_count, as: 'currentNodeCount'
@ -960,6 +968,13 @@ module Google
end
end
class ConfidentialNodes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class ConfigConnectorConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/
module DialogflowV3beta1
VERSION = 'V3beta1'
REVISION = '20200903'
REVISION = '20200914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -679,6 +679,14 @@ module Google
attr_accessor :is_list
alias_method :is_list?, :is_list
# Indicates whether the parameter content is logged in text and audio. If it is
# set to true, the parameter content will be replaced to parameter name in both
# request and response. The default value is false.
# Corresponds to the JSON property `redact`
# @return [Boolean]
attr_accessor :redact
alias_method :redact?, :redact
# Indicates whether the parameter is required. Optional parameters will not
# trigger prompts; however, they are filled if the user specifies them. Required
# parameters must be filled before form filling concludes.
@ -698,6 +706,7 @@ module Google
@entity_type = args[:entity_type] if args.key?(:entity_type)
@fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior)
@is_list = args[:is_list] if args.key?(:is_list)
@redact = args[:redact] if args.key?(:redact)
@required = args[:required] if args.key?(:required)
end
end
@ -1195,6 +1204,14 @@ module Google
attr_accessor :is_list
alias_method :is_list?, :is_list
# Indicates whether the parameter content is logged in text and audio. If it is
# set to true, the parameter content will be replaced to parameter id in both
# request and response. The default value is false.
# Corresponds to the JSON property `redact`
# @return [Boolean]
attr_accessor :redact
alias_method :redact?, :redact
def initialize(**args)
update!(**args)
end
@ -1204,6 +1221,7 @@ module Google
@entity_type = args[:entity_type] if args.key?(:entity_type)
@id = args[:id] if args.key?(:id)
@is_list = args[:is_list] if args.key?(:is_list)
@redact = args[:redact] if args.key?(:redact)
end
end

View File

@ -1441,6 +1441,7 @@ module Google
property :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation
property :is_list, as: 'isList'
property :redact, as: 'redact'
property :required, as: 'required'
end
end
@ -1575,6 +1576,7 @@ module Google
property :entity_type, as: 'entityType'
property :id, as: 'id'
property :is_list, as: 'isList'
property :redact, as: 'redact'
end
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1
VERSION = 'V1beta1'
REVISION = '20200901'
REVISION = '20200914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -687,8 +687,8 @@ module Google
# The self-reported size of the version. This value is used for a pre-emptive
# quota check for legacy version uploads.
# @param [String] version_id
# A unique id for the new version. This is only specified for legacy version
# creations.
# A unique id for the new version. This is was only specified for legacy version
# creations, and should be blank.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1522,8 +1522,8 @@ module Google
# The self-reported size of the version. This value is used for a pre-emptive
# quota check for legacy version uploads.
# @param [String] version_id
# A unique id for the new version. This is only specified for legacy version
# creations.
# A unique id for the new version. This is was only specified for legacy version
# creations, and should be blank.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/iam/
module IamV1
VERSION = 'V1'
REVISION = '20200827'
REVISION = '20200910'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1371,7 +1371,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Deletes a ServiceAccountKey.
# Deletes a ServiceAccountKey. Deleting a service account key does not revoke
# short-lived credentials that have been issued based on the service account key.
# @param [String] name
# Required. The resource name of the service account key in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a

View File

@ -18,14 +18,15 @@ require 'google/apis/licensing_v1/representations.rb'
module Google
module Apis
# Licensing API
# Enterprise License Manager API
#
# Licensing API to view and manage licenses for your domain
# The Google Enterprise License Manager API's allows you to license apps for all
# the users of a domain managed by you.
#
# @see https://developers.google.com/admin-sdk/licensing/
module LicensingV1
VERSION = 'V1'
REVISION = '20190916'
REVISION = '20200912'
# View and manage G Suite licenses for your domain
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'

View File

@ -108,7 +108,7 @@ module Google
end
end
# LicesnseAssignment List for a given product/sku for a customer.
#
class LicenseAssignmentList
include Google::Apis::Core::Hashable

View File

@ -20,9 +20,10 @@ require 'google/apis/errors'
module Google
module Apis
module LicensingV1
# Licensing API
# Enterprise License Manager API
#
# Licensing API to view and manage licenses for your domain
# The Google Enterprise License Manager API's allows you to license apps for all
# the users of a domain managed by you.
#
# @example
# require 'google/apis/licensing_v1'
@ -38,16 +39,12 @@ module Google
attr_accessor :key
# @return [String]
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# 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
# @return [String]
# Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize
super('https://www.googleapis.com/', 'apps/licensing/v1/product/')
super('https://www.googleapis.com/', '')
@batch_path = 'batch/licensing/v1'
end
@ -60,18 +57,15 @@ module Google
# in this version of the API, see Products and SKUs.
# @param [String] user_id
# The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests.
# Since a userId is subject to change, do not use a userId value as a key for
# persistent data. This key could break if the current user's email address
# changes.
# If the userId is suspended, the license status changes.
# use the new email address in your API requests. Since a userId is subject to
# change, do not use a userId value as a key for persistent data. This key could
# break if the current user's email address changes. If the userId is suspended,
# the license status changes.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -84,14 +78,13 @@ module Google
# @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_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:delete, '{productId}/sku/{skuId}/user/{userId}', options)
def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
command.params['productId'] = product_id unless product_id.nil?
command.params['skuId'] = sku_id unless sku_id.nil?
command.params['userId'] = user_id unless user_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
@ -104,18 +97,15 @@ module Google
# in this version of the API, see Products and SKUs.
# @param [String] user_id
# The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests.
# Since a userId is subject to change, do not use a userId value as a key for
# persistent data. This key could break if the current user's email address
# changes.
# If the userId is suspended, the license status changes.
# use the new email address in your API requests. Since a userId is subject to
# change, do not use a userId value as a key for persistent data. This key could
# break if the current user's email address changes. If the userId is suspended,
# the license status changes.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -128,8 +118,8 @@ module Google
# @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_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{productId}/sku/{skuId}/user/{userId}', options)
def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignment
command.params['productId'] = product_id unless product_id.nil?
@ -137,7 +127,6 @@ module Google
command.params['userId'] = user_id unless user_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
@ -152,10 +141,8 @@ module Google
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -168,8 +155,8 @@ module Google
# @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_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{productId}/sku/{skuId}/user', options)
def insert_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user', options)
command.request_representation = Google::Apis::LicensingV1::LicenseAssignmentInsert::Representation
command.request_object = license_assignment_insert_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -178,7 +165,6 @@ module Google
command.params['skuId'] = sku_id unless sku_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
@ -188,8 +174,8 @@ module Google
# version of the API, see Products and SKUs.
# @param [String] customer_id
# Customer's customerId. A previous version of this API accepted the primary
# domain name as a value for this field.
# If the customer is suspended, the server returns an error.
# domain name as a value for this field. If the customer is suspended, the
# server returns an error.
# @param [Fixnum] max_results
# The maxResults query string determines how many entries are returned on each
# page of a large response. This is an optional parameter. The value must be a
@ -202,10 +188,8 @@ module Google
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -218,8 +202,8 @@ module Google
# @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_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{productId}/users', options)
def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/users', options)
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
command.params['productId'] = product_id unless product_id.nil?
@ -228,7 +212,6 @@ module Google
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?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
@ -241,8 +224,8 @@ module Google
# in this version of the API, see Products and SKUs.
# @param [String] customer_id
# Customer's customerId. A previous version of this API accepted the primary
# domain name as a value for this field.
# If the customer is suspended, the server returns an error.
# domain name as a value for this field. If the customer is suspended, the
# server returns an error.
# @param [Fixnum] max_results
# The maxResults query string determines how many entries are returned on each
# page of a large response. This is an optional parameter. The value must be a
@ -255,10 +238,8 @@ module Google
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -271,8 +252,8 @@ module Google
# @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_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{productId}/sku/{skuId}/users', options)
def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/users', options)
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
command.params['productId'] = product_id unless product_id.nil?
@ -282,12 +263,10 @@ module Google
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?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Reassign a user's product SKU with a different SKU in the same product. This
# method supports patch semantics.
# Patch a Licensing info via Apiary Patch Orchestration
# @param [String] product_id
# A product's unique identifier. For more information about products in this
# version of the API, see Products and SKUs.
@ -296,19 +275,16 @@ module Google
# in this version of the API, see Products and SKUs.
# @param [String] user_id
# The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests.
# Since a userId is subject to change, do not use a userId value as a key for
# persistent data. This key could break if the current user's email address
# changes.
# If the userId is suspended, the license status changes.
# use the new email address in your API requests. Since a userId is subject to
# change, do not use a userId value as a key for persistent data. This key could
# break if the current user's email address changes. If the userId is suspended,
# the license status changes.
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -321,8 +297,8 @@ module Google
# @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_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:patch, '{productId}/sku/{skuId}/user/{userId}', options)
def patch_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.request_object = license_assignment_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -332,7 +308,6 @@ module Google
command.params['userId'] = user_id unless user_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
@ -345,19 +320,16 @@ module Google
# in this version of the API, see Products and SKUs.
# @param [String] user_id
# The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests.
# Since a userId is subject to change, do not use a userId value as a key for
# persistent data. This key could break if the current user's email address
# changes.
# If the userId is suspended, the license status changes.
# use the new email address in your API requests. Since a userId is subject to
# change, do not use a userId value as a key for persistent data. This key could
# break if the current user's email address changes. If the userId is suspended,
# the license status changes.
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# 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
#
@ -370,8 +342,8 @@ module Google
# @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_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:put, '{productId}/sku/{skuId}/user/{userId}', options)
def update_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:put, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options)
command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.request_object = license_assignment_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -381,7 +353,6 @@ module Google
command.params['userId'] = user_id unless user_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
@ -390,7 +361,6 @@ module Google
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
end
end
end

View File

@ -18,7 +18,7 @@ require 'google/apis/reseller_v1/representations.rb'
module Google
module Apis
# Google Apps Reseller API
# Enterprise Apps Reseller API
#
# Perform common functions that are available on the Google Apps Reseller
# Console at scale like placing orders and viewing customer information
@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/google-apps/reseller/
module ResellerV1
VERSION = 'V1'
REVISION = '20200627'
REVISION = '20200911'
# Manage users on your domain
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'

View File

@ -27,8 +27,7 @@ module Google
include Google::Apis::Core::Hashable
# A customer's physical address. An address can be composed of one to three
# lines. The <code>addressline2</code> and <code>addressLine3</code> are
# optional.
# lines. The addressline2 and addressLine3 are optional.
# Corresponds to the JSON property `addressLine1`
# @return [String]
attr_accessor :address_line1
@ -48,23 +47,19 @@ module Google
# @return [String]
attr_accessor :contact_name
# For <code>countryCode</code> information, see the <a
# href="http://www.iso.org/iso/country_codes.htm">ISO 3166 country code
# elements</a>. Verify that country is <a
# href="https://www.cloudconnect.goog/docs/DOC-29141">approved</a> for resale
# of Google products. This property is required when creating a new customer.
# For countryCode information, see the ISO 3166 country code elements. Verify
# that country is approved for resale of Google products. This property is
# required when creating a new customer.
# Corresponds to the JSON property `countryCode`
# @return [String]
attr_accessor :country_code
# Identifies the resource as a customer address. Value:
# <code>customers#address</code>
# Identifies the resource as a customer address. Value: customers#address
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# An example of a <code>locality</code> value is the city of <code>San
# Francisco</code>.
# An example of a locality value is the city of San Francisco.
# Corresponds to the JSON property `locality`
# @return [String]
attr_accessor :locality
@ -74,14 +69,13 @@ module Google
# @return [String]
attr_accessor :organization_name
# A <code>postalCode</code> example is a postal zip code such as
# <code>94043</code>. This property is required when creating a new customer.
# A postalCode example is a postal zip code such as 94043. This property is
# required when creating a new customer.
# Corresponds to the JSON property `postalCode`
# @return [String]
attr_accessor :postal_code
# An example of a <code>region</code> value is <code>CA</code> for the state
# of California.
# An example of a region value is CA for the state of California.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
@ -109,44 +103,39 @@ module Google
class ChangePlanRequest
include Google::Apis::Core::Hashable
# Google-issued code (100 char max) for discounted pricing on subscription
# plans. Deal code must be included in <code>changePlan</code> request in
# order to receive discounted rate. This property is optional. If a deal code
# has already been added to a subscription, this property may be left empty
# and the existing discounted rate will still apply (if not empty, only
# provide the deal code that is already present on the subscription). If a
# deal code has never been added to a subscription and this property is left
# blank, regular pricing will apply.
# Google-issued code (100 char max) for discounted pricing on subscription plans.
# Deal code must be included in changePlan request in order to receive
# discounted rate. This property is optional. If a deal code has already been
# added to a subscription, this property may be left empty and the existing
# discounted rate will still apply (if not empty, only provide the deal code
# that is already present on the subscription). If a deal code has never been
# added to a subscription and this property is left blank, regular pricing will
# apply.
# Corresponds to the JSON property `dealCode`
# @return [String]
attr_accessor :deal_code
# Identifies the resource as a subscription change plan request. Value:
# <code>subscriptions#changePlanRequest</code>
# subscriptions#changePlanRequest
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The <code>planName</code> property is required. This is the name of the
# subscription's payment plan. For more information about the Google payment
# plans, see <a href="/admin-sdk/reseller/v1/how-tos/concepts.html">API
# concepts</a>. <br><br>Possible values are: <ul> <li>
# <code>ANNUAL_MONTHLY_PAY</code> - The annual commitment plan with monthly
# payments <aside class="caution"> <strong>Caution:
# </strong><code>ANNUAL_MONTHLY_PAY</code> is returned as <code>ANNUAL</code>
# in all API responses.</aside> </li> <li> <code>ANNUAL_YEARLY_PAY</code> -
# The annual commitment plan with yearly payments </li> <li>
# <code>FLEXIBLE</code> - The flexible plan </li> <li> <code>TRIAL</code> -
# The 30-day free trial plan </li> </ul>
# The planName property is required. This is the name of the subscription's
# payment plan. For more information about the Google payment plans, see API
# concepts. Possible values are: - ANNUAL_MONTHLY_PAY - The annual commitment
# plan with monthly payments *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL
# in all API responses. - ANNUAL_YEARLY_PAY - The annual commitment plan with
# yearly payments - FLEXIBLE - The flexible plan - TRIAL - The 30-day free trial
# plan
# Corresponds to the JSON property `planName`
# @return [String]
attr_accessor :plan_name
# This is an optional property. This purchase order (PO) information is for
# resellers to use for their company tracking usage. If a
# <code>purchaseOrderId</code> value is given it appears in the API responses
# and shows up in the invoice. The property accepts up to 80 plain text
# characters.
# resellers to use for their company tracking usage. If a purchaseOrderId value
# is given it appears in the API responses and shows up in the invoice. The
# property accepts up to 80 plain text characters.
# Corresponds to the JSON property `purchaseOrderId`
# @return [String]
attr_accessor :purchase_order_id
@ -174,18 +163,17 @@ module Google
class Customer
include Google::Apis::Core::Hashable
# Like the &quot;Customer email&quot; in the reseller tools, this email is
# the secondary contact used if something happens to the
# customer's service such as service outage or a security issue. This
# property is required when creating a new customer and should not use the
# same domain as <code>customerDomain</code>.
# Like the "Customer email" in the reseller tools, this email is the secondary
# contact used if something happens to the customer's service such as service
# outage or a security issue. This property is required when creating a new
# customer and should not use the same domain as customerDomain .
# Corresponds to the JSON property `alternateEmail`
# @return [String]
attr_accessor :alternate_email
# The customer's primary domain name string. <code>customerDomain</code> is
# required when creating a new customer. Do not include the <code>www</code>
# prefix in the domain when adding a customer.
# The customer's primary domain name string. customerDomain is required when
# creating a new customer. Do not include the www prefix in the domain when
# adding a customer.
# Corresponds to the JSON property `customerDomain`
# @return [String]
attr_accessor :customer_domain
@ -196,25 +184,21 @@ module Google
attr_accessor :customer_domain_verified
alias_method :customer_domain_verified?, :customer_domain_verified
# This property will always be returned in a response as the unique
# identifier generated by Google. In a request, this property can be either
# the primary domain or the unique identifier generated by Google.
# This property will always be returned in a response as the unique identifier
# generated by Google. In a request, this property can be either the primary
# domain or the unique identifier generated by Google.
# Corresponds to the JSON property `customerId`
# @return [String]
attr_accessor :customer_id
# Identifies the resource as a customer. Value:
# <code>reseller#customer</code>
# Identifies the resource as a customer. Value: reseller#customer
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Customer contact phone number. Must start with "+" followed by the country
# code. The rest of the number can be contiguous numbers or respect the phone
# <a
# href="http://wikipedia.org/wiki/
# Local_conventions_for_writing_telephone_numbers">local
# format conventions</a>, but it must be a real phone number and not, for
# local format conventions, but it must be a real phone number and not, for
# example, "123". This field is silently ignored if invalid.
# Corresponds to the JSON property `phoneNumber`
# @return [String]
@ -225,9 +209,9 @@ module Google
# @return [Google::Apis::ResellerV1::Address]
attr_accessor :postal_address
# URL to customer&#39;s Admin console dashboard. The read-only URL is
# generated by the API service. This is used if your client application
# requires the customer to complete a task in the Admin console.
# URL to customer's Admin console dashboard. The read-only URL is generated by
# the API service. This is used if your client application requires the customer
# to complete a task in the Admin console.
# Corresponds to the JSON property `resourceUiUrl`
# @return [String]
attr_accessor :resource_ui_url
@ -254,17 +238,14 @@ module Google
include Google::Apis::Core::Hashable
# Identifies the resource as a subscription renewal setting. Value:
# <code>subscriptions#renewalSettings</code>
# subscriptions#renewalSettings
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Renewal settings for the annual commitment plan. For more detailed
# information, see renewal options in the <a
# href="//support.google.com/a/bin/answer.py?topic=1247359&amp;ctx=topic&amp;
# answer=2500693">administrator
# help center</a>. When renewing a subscription, the <code>renewalType</code>
# is a required property.
# Renewal settings for the annual commitment plan. For more detailed information,
# see renewal options in the administrator help center. When renewing a
# subscription, the renewalType is a required property.
# Corresponds to the JSON property `renewalType`
# @return [String]
attr_accessor :renewal_type
@ -328,42 +309,37 @@ module Google
class Seats
include Google::Apis::Core::Hashable
# Identifies the resource as a subscription seat setting. Value:
# <code>subscriptions#seats</code>
# Identifies the resource as a subscription seat setting. Value: subscriptions#
# seats
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Read-only field containing the current number of users that are assigned a
# license for the product defined in <code>skuId</code>. This
# field's value is equivalent to the numerical count of users returned by the
# Enterprise License Manager API method: <code><a
# href="//developers.google.com/admin-sdk/licensing/v1/reference/
# licenseAssignments/listForProductAndSku">listForProductAndSku</a></code>
# license for the product defined in skuId. This field's value is equivalent to
# the numerical count of users returned by the Enterprise License Manager API
# method: listForProductAndSku
# Corresponds to the JSON property `licensedNumberOfSeats`
# @return [Fixnum]
attr_accessor :licensed_number_of_seats
# This is a required property and is exclusive to subscriptions with
# <code>FLEXIBLE</code> or <code>TRIAL</code> plans. This property sets the
# maximum number of licensed users allowed on a subscription. This quantity
# can be increased up to the maximum limit defined in the
# reseller's contract. The minimum quantity is the current number of users in
# the customer account. <aside class="note"><strong>Note: </strong>G Suite
# subscriptions automatically assign a license to every user.</aside>
# This is a required property and is exclusive to subscriptions with FLEXIBLE or
# TRIAL plans. This property sets the maximum number of licensed users allowed
# on a subscription. This quantity can be increased up to the maximum limit
# defined in the reseller's contract. The minimum quantity is the current number
# of users in the customer account. *Note: *G Suite subscriptions automatically
# assign a license to every user.
# Corresponds to the JSON property `maximumNumberOfSeats`
# @return [Fixnum]
attr_accessor :maximum_number_of_seats
# This is a required property and is exclusive to subscriptions with
# <code>ANNUAL_MONTHLY_PAY</code> and <code>ANNUAL_YEARLY_PAY</code> plans.
# This property sets the maximum number of licenses assignable to users on a
# subscription. The reseller can add more licenses, but once set, the
# <code>numberOfSeats</code> cannot be reduced until renewal. The reseller is
# invoiced based on the <code>numberOfSeats</code> value regardless of how
# many of these user licenses are assigned. <aside class="note"><strong>Note:
# </strong>G Suite subscriptions automatically assign a license to every
# user.</aside>
# ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum
# number of licenses assignable to users on a subscription. The reseller can add
# more licenses, but once set, the numberOfSeats cannot be reduced until renewal.
# The reseller is invoiced based on the numberOfSeats value regardless of how
# many of these user licenses are assigned. *Note: *G Suite subscriptions
# automatically assign a license to every user.
# Corresponds to the JSON property `numberOfSeats`
# @return [Fixnum]
attr_accessor :number_of_seats
@ -390,9 +366,8 @@ module Google
# @return [String]
attr_accessor :billing_method
# The <code>creationTime</code> property is the date when subscription was
# created. It is in milliseconds using the Epoch format. See an example <a
# href="http://www.epochconverter.com/">Epoch converter</a>.
# The creationTime property is the date when subscription was created. It is in
# milliseconds using the Epoch format. See an example Epoch converter.
# Corresponds to the JSON property `creationTime`
# @return [Fixnum]
attr_accessor :creation_time
@ -402,41 +377,36 @@ module Google
# @return [String]
attr_accessor :customer_domain
# This property will always be returned in a response as the unique
# identifier generated by Google. In a request, this property can be either
# the primary domain or the unique identifier generated by Google.
# This property will always be returned in a response as the unique identifier
# generated by Google. In a request, this property can be either the primary
# domain or the unique identifier generated by Google.
# Corresponds to the JSON property `customerId`
# @return [String]
attr_accessor :customer_id
# Google-issued code (100 char max) for discounted pricing on subscription
# plans. Deal code must be included in <code>insert</code> requests in order
# to receive discounted rate. This property is optional, regular pricing
# applies if left empty.
# Google-issued code (100 char max) for discounted pricing on subscription plans.
# Deal code must be included in insert requests in order to receive discounted
# rate. This property is optional, regular pricing applies if left empty.
# Corresponds to the JSON property `dealCode`
# @return [String]
attr_accessor :deal_code
# Identifies the resource as a Subscription. Value:
# <code>reseller#subscription</code>
# Identifies the resource as a Subscription. Value: reseller#subscription
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The <code>plan</code> property is required. In this version of the API, the
# G Suite plans are the flexible plan, annual commitment plan, and the 30-day
# free trial plan. For more information about the API&quot;s payment plans,
# see the <a href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API
# concepts</a>.
# The plan property is required. In this version of the API, the G Suite plans
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
# For more information about the API"s payment plans, see the API concepts.
# Corresponds to the JSON property `plan`
# @return [Google::Apis::ResellerV1::Subscription::Plan]
attr_accessor :plan
# This is an optional property. This purchase order (PO) information is for
# resellers to use for their company tracking usage. If a
# <code>purchaseOrderId</code> value is given it appears in the API responses
# and shows up in the invoice. The property accepts up to 80 plain text
# characters.
# resellers to use for their company tracking usage. If a purchaseOrderId value
# is given it appears in the API responses and shows up in the invoice. The
# property accepts up to 80 plain text characters.
# Corresponds to the JSON property `purchaseOrderId`
# @return [String]
attr_accessor :purchase_order_id
@ -446,10 +416,10 @@ module Google
# @return [Google::Apis::ResellerV1::RenewalSettings]
attr_accessor :renewal_settings
# URL to customer&#39;s Subscriptions page in the Admin console. The
# read-only URL is generated by the API service. This is used if your client
# application requires the customer to complete a task using the
# Subscriptions page in the Admin console.
# URL to customer's Subscriptions page in the Admin console. The read-only URL
# is generated by the API service. This is used if your client application
# requires the customer to complete a task using the Subscriptions page in the
# Admin console.
# Corresponds to the JSON property `resourceUiUrl`
# @return [String]
attr_accessor :resource_ui_url
@ -459,20 +429,17 @@ module Google
# @return [Google::Apis::ResellerV1::Seats]
attr_accessor :seats
# A required property. The <code>skuId</code> is a unique system identifier
# for a product&#39;s SKU assigned to a customer in the subscription. For
# products and SKUs available in this version of the API, see <a
# href="/admin-sdk/reseller/v1/how-tos/products.html"> Product and SKU
# IDs</a>.
# A required property. The skuId is a unique system identifier for a product's
# SKU assigned to a customer in the subscription. For products and SKUs
# available in this version of the API, see Product and SKU IDs.
# Corresponds to the JSON property `skuId`
# @return [String]
attr_accessor :sku_id
# Read-only external display name for a product&#39;s SKU assigned to a
# customer in the subscription. SKU names are subject to change at
# Google&#39;s discretion. For products and SKUs available in this version of
# the API, see <a href="/admin-sdk/reseller/v1/how-tos/products.html">
# Product and SKU IDs</a>.
# Read-only external display name for a product's SKU assigned to a customer in
# the subscription. SKU names are subject to change at Google's discretion. For
# products and SKUs available in this version of the API, see Product and SKU
# IDs.
# Corresponds to the JSON property `skuName`
# @return [String]
attr_accessor :sku_name
@ -482,48 +449,37 @@ module Google
# @return [String]
attr_accessor :status
# The <code>subscriptionId</code> is the subscription identifier and is
# unique for each customer. This is a required property. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend not using this ID as a key for persistent data. Use the
# <code>subscriptionId</code> as described in <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a>.
# The subscriptionId is the subscription identifier and is unique for each
# customer. This is a required property. Since a subscriptionId changes when a
# subscription is updated, we recommend not using this ID as a key for
# persistent data. Use the subscriptionId as described in retrieve all reseller
# subscriptions.
# Corresponds to the JSON property `subscriptionId`
# @return [String]
attr_accessor :subscription_id
# Read-only field containing an enumerable of all the current suspension
# reasons for a subscription. It is possible for a subscription to have many
# concurrent, overlapping suspension reasons. A
# subscription's <code>STATUS</code> is <code>SUSPENDED</code> until all
# pending suspensions are removed. <br/><br/>Possible options include: <ul>
# <li> <code>PENDING_TOS_ACCEPTANCE</code> - The customer has not logged in
# and accepted the G Suite Resold Terms of Services. </li> <li>
# <code>RENEWAL_WITH_TYPE_CANCEL</code> - The customer's commitment ended and
# their service was cancelled at the end of their term.
# </li> <li> <code>RESELLER_INITIATED</code> - A manual suspension invoked by
# a Reseller. </li> <li> <code>TRIAL_ENDED</code> - The
# customer's trial expired without a plan selected. </li> <li>
# <code>OTHER</code> - The customer is suspended for an internal Google
# reason (e.g. abuse or otherwise). </li> </ul>
# Read-only field containing an enumerable of all the current suspension reasons
# for a subscription. It is possible for a subscription to have many concurrent,
# overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
# pending suspensions are removed. Possible options include: -
# PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G
# Suite Resold Terms of Services. - RENEWAL_WITH_TYPE_CANCEL - The customer's
# commitment ended and their service was cancelled at the end of their term. -
# RESELLER_INITIATED - A manual suspension invoked by a Reseller. - TRIAL_ENDED -
# The customer's trial expired without a plan selected. - OTHER - The customer
# is suspended for an internal Google reason (e.g. abuse or otherwise).
# Corresponds to the JSON property `suspensionReasons`
# @return [Array<String>]
attr_accessor :suspension_reasons
# Read-only transfer related information for the subscription. For more
# information, see <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_transferable_subscriptions">retrieve
# transferable subscriptions for a customer</a>.
# information, see retrieve transferable subscriptions for a customer.
# Corresponds to the JSON property `transferInfo`
# @return [Google::Apis::ResellerV1::Subscription::TransferInfo]
attr_accessor :transfer_info
# The G Suite annual commitment and flexible payment plans can be in a 30-day
# free trial. For more information, see the <a
# href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API concepts</a>.
# free trial. For more information, see the API concepts.
# Corresponds to the JSON property `trialSettings`
# @return [Google::Apis::ResellerV1::Subscription::TrialSettings]
attr_accessor :trial_settings
@ -554,52 +510,39 @@ module Google
@trial_settings = args[:trial_settings] if args.key?(:trial_settings)
end
# The <code>plan</code> property is required. In this version of the API, the
# G Suite plans are the flexible plan, annual commitment plan, and the 30-day
# free trial plan. For more information about the API&quot;s payment plans,
# see the <a href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API
# concepts</a>.
# The plan property is required. In this version of the API, the G Suite plans
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
# For more information about the API"s payment plans, see the API concepts.
class Plan
include Google::Apis::Core::Hashable
# In this version of the API, annual commitment plan's interval is one
# year. <aside class="caution"> <strong>Note: </strong>When
# <code>billingMethod</code> value is <code>OFFLINE</code>, the
# subscription property object <code>plan.commitmentInterval</code> is
# omitted in all API responses. </aside>
# In this version of the API, annual commitment plan's interval is one year. *
# Note: *When billingMethod value is OFFLINE, the subscription property object
# plan.commitmentInterval is omitted in all API responses.
# Corresponds to the JSON property `commitmentInterval`
# @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
attr_accessor :commitment_interval
# The <code>isCommitmentPlan</code> property&#39;s boolean value identifies
# the plan as an annual commitment plan:<ul><li><code>true</code> &mdash;
# The subscription&#39;s plan is an annual commitment
# plan.</li><li><code>false</code> &mdash; The plan is not an annual
# commitment plan.</li></ul>
# The isCommitmentPlan property's boolean value identifies the plan as an annual
# commitment plan: - true — The subscription's plan is an annual commitment plan.
# - false — The plan is not an annual commitment plan.
# Corresponds to the JSON property `isCommitmentPlan`
# @return [Boolean]
attr_accessor :is_commitment_plan
alias_method :is_commitment_plan?, :is_commitment_plan
# The <code>planName</code> property is required. This is the name of the
# subscription&#39;s plan. For more information about the Google payment
# plans, see the <a
# href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API concepts</a>.
# <br/><br/>Possible values are: <ul> <li> <code>ANNUAL_MONTHLY_PAY</code>
# &mdash; The annual commitment plan with monthly payments. <aside
# class="caution"> <strong>Caution:
# </strong><code>ANNUAL_MONTHLY_PAY</code> is returned as
# <code>ANNUAL</code> in all API responses.</aside> </li> <li>
# <code>ANNUAL_YEARLY_PAY</code> &mdash; The annual commitment plan with
# yearly payments </li> <li> <code>FLEXIBLE</code> &mdash; The flexible
# plan </li> <li> <code>TRIAL</code> &mdash; The 30-day free trial plan. A
# subscription in trial will be suspended after the 30th free day if no
# payment plan is assigned. Calling <code>changePlan</code> will assign a
# payment plan to a trial but will not activate the plan. A trial will
# automatically begin its assigned payment plan after its 30th free day or
# immediately after calling <code>startPaidService</code>. </li> <li>
# <code>FREE</code> &mdash; The free plan is exclusive to the Cloud
# Identity SKU and does not incur any billing. </li> </ul>
# The planName property is required. This is the name of the subscription's plan.
# For more information about the Google payment plans, see the API concepts.
# Possible values are: - ANNUAL_MONTHLY_PAY — The annual commitment plan with
# monthly payments. *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL in all
# API responses. - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly
# payments - FLEXIBLE — The flexible plan - TRIAL — The 30-day free trial plan.
# A subscription in trial will be suspended after the 30th free day if no
# payment plan is assigned. Calling changePlan will assign a payment plan to a
# trial but will not activate the plan. A trial will automatically begin its
# assigned payment plan after its 30th free day or immediately after calling
# startPaidService. - FREE — The free plan is exclusive to the Cloud Identity
# SKU and does not incur any billing.
# Corresponds to the JSON property `planName`
# @return [String]
attr_accessor :plan_name
@ -615,24 +558,20 @@ module Google
@plan_name = args[:plan_name] if args.key?(:plan_name)
end
# In this version of the API, annual commitment plan's interval is one
# year. <aside class="caution"> <strong>Note: </strong>When
# <code>billingMethod</code> value is <code>OFFLINE</code>, the
# subscription property object <code>plan.commitmentInterval</code> is
# omitted in all API responses. </aside>
# In this version of the API, annual commitment plan's interval is one year. *
# Note: *When billingMethod value is OFFLINE, the subscription property object
# plan.commitmentInterval is omitted in all API responses.
class CommitmentInterval
include Google::Apis::Core::Hashable
# An annual commitment plan&#39;s interval&#39;s <code>endTime</code> in
# milliseconds using the UNIX Epoch format. See an example <a
# href="http://www.epochconverter.com/">Epoch converter</a>.
# An annual commitment plan's interval's endTime in milliseconds using the UNIX
# Epoch format. See an example Epoch converter.
# Corresponds to the JSON property `endTime`
# @return [Fixnum]
attr_accessor :end_time
# An annual commitment plan's interval's <code>startTime</code> in
# milliseconds using UNIX Epoch format. See an example <a
# href="http://www.epochconverter.com/">Epoch converter</a>.
# An annual commitment plan's interval's startTime in milliseconds using UNIX
# Epoch format. See an example Epoch converter.
# Corresponds to the JSON property `startTime`
# @return [Fixnum]
attr_accessor :start_time
@ -650,23 +589,20 @@ module Google
end
# Read-only transfer related information for the subscription. For more
# information, see <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_transferable_subscriptions">retrieve
# transferable subscriptions for a customer</a>.
# information, see retrieve transferable subscriptions for a customer.
class TransferInfo
include Google::Apis::Core::Hashable
# When inserting a subscription, this is the minimum number of seats listed
# in the transfer order for this product. For example, if the customer has
# 20 users, the reseller cannot place a transfer order of 15 seats. The
# minimum is 20 seats.
# When inserting a subscription, this is the minimum number of seats listed in
# the transfer order for this product. For example, if the customer has 20 users,
# the reseller cannot place a transfer order of 15 seats. The minimum is 20
# seats.
# Corresponds to the JSON property `minimumTransferableSeats`
# @return [Fixnum]
attr_accessor :minimum_transferable_seats
# The time when transfer token or intent to transfer will expire. The time
# is in milliseconds using UNIX Epoch format.
# The time when transfer token or intent to transfer will expire. The time is in
# milliseconds using UNIX Epoch format.
# Corresponds to the JSON property `transferabilityExpirationTime`
# @return [Fixnum]
attr_accessor :transferability_expiration_time
@ -683,23 +619,19 @@ module Google
end
# The G Suite annual commitment and flexible payment plans can be in a 30-day
# free trial. For more information, see the <a
# href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API concepts</a>.
# free trial. For more information, see the API concepts.
class TrialSettings
include Google::Apis::Core::Hashable
# Determines if a subscription&#39;s plan is in a 30-day free trial or
# not:<ul><li><code>true</code> &mdash; The plan is in
# trial.</li><li><code>false</code> &mdash; The plan is not in
# trial.</li></ul>
# Determines if a subscription's plan is in a 30-day free trial or not: - true —
# The plan is in trial. - false — The plan is not in trial.
# Corresponds to the JSON property `isInTrial`
# @return [Boolean]
attr_accessor :is_in_trial
alias_method :is_in_trial?, :is_in_trial
# Date when the trial ends. The value is in milliseconds using the UNIX
# Epoch format. See an example <a
# href="http://www.epochconverter.com/">Epoch converter</a>.
# Date when the trial ends. The value is in milliseconds using the UNIX Epoch
# format. See an example Epoch converter.
# Corresponds to the JSON property `trialEndTime`
# @return [Fixnum]
attr_accessor :trial_end_time
@ -720,14 +652,14 @@ module Google
class Subscriptions
include Google::Apis::Core::Hashable
# Identifies the resource as a collection of subscriptions. Value:
# reseller#subscriptions
# Identifies the resource as a collection of subscriptions. Value: reseller#
# subscriptions
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# The continuation token, used to page through large result sets. Provide
# this value in a subsequent request to return the next page of results.
# The continuation token, used to page through large result sets. Provide this
# value in a subsequent request to return the next page of results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module ResellerV1
# Google Apps Reseller API
# Enterprise Apps Reseller API
#
# Perform common functions that are available on the Google Apps Reseller
# Console at scale like placing orders and viewing customer information
@ -50,11 +50,10 @@ module Google
# Get a customer account.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -85,13 +84,11 @@ module Google
# Order a new customer's account.
# @param [Google::Apis::ResellerV1::Customer] customer_object
# @param [String] customer_auth_token
# The <code>customerAuthToken</code> query string is required when creating a
# resold account that transfers a direct customer&#39;s subscription or
# transfers another reseller customer&#39;s subscription to your reseller
# management. This is a hexadecimal authentication token needed to complete
# the subscription transfer. For more information, see the <a
# href="//support.google.com/a/bin/answer.py?answer=142336">administrator
# help center</a>.
# The customerAuthToken query string is required when creating a resold account
# that transfers a direct customer's subscription or transfers another reseller
# customer's subscription to your reseller management. This is a hexadecimal
# authentication token needed to complete the subscription transfer. For more
# information, see the administrator help center.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -123,11 +120,10 @@ module Google
# Patch a customer account's settings via Apiary Patch Orchestration
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [Google::Apis::ResellerV1::Customer] customer_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -160,11 +156,10 @@ module Google
# Update a customer account's settings.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [Google::Apis::ResellerV1::Customer] customer_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -284,20 +279,16 @@ module Google
# Activates a subscription previously suspended by the reseller
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -330,20 +321,16 @@ module Google
# trial or a flexible plan subscription to an annual commitment plan with
# monthly or yearly payments.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -375,23 +362,19 @@ module Google
execute_or_queue_command(command, &block)
end
# Update a user license&#39;s renewal settings. This is applicable for
# accounts with annual commitment plans only.
# Update a user license's renewal settings. This is applicable for accounts with
# annual commitment plans only.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -423,22 +406,18 @@ module Google
execute_or_queue_command(command, &block)
end
# Update a subscription&#39;s user license settings.
# Update a subscription's user license settings.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [Google::Apis::ResellerV1::Seats] seats_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -472,23 +451,19 @@ module Google
# Cancel, suspend, or transfer a subscription to direct.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [String] deletion_type
# The <code>deletionType</code> query string enables the cancellation,
# downgrade, or suspension of a subscription.
# The deletionType query string enables the cancellation, downgrade, or
# suspension of a subscription.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -518,20 +493,16 @@ module Google
# Get a specific subscription.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -562,21 +533,17 @@ module Google
# Create or transfer a subscription.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [Google::Apis::ResellerV1::Subscription] subscription_object
# @param [String] customer_auth_token
# The <code>customerAuthToken</code> query string is required when creating a
# resold account that transfers a direct
# customer's subscription or transfers another reseller customer's
# subscription to your reseller management. This is a hexadecimal
# The customerAuthToken query string is required when creating a resold account
# that transfers a direct customer's subscription or transfers another reseller
# customer's subscription to your reseller management. This is a hexadecimal
# authentication token needed to complete the subscription transfer. For more
# information, see the <a
# href="//support.google.com/a/bin/answer.py?answer=142336">administrator
# help center</a>.
# information, see the administrator help center.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -608,40 +575,30 @@ module Google
end
# List of subscriptions managed by the reseller. The list can be all
# subscriptions, all of a customer&#39;s subscriptions, or all of a
# customer&#39;s transferable subscriptions.
# subscriptions, all of a customer's subscriptions, or all of a customer's
# transferable subscriptions.
# @param [String] customer_auth_token
# The <code>customerAuthToken</code> query string is required when creating a
# resold account that transfers a direct
# customer's subscription or transfers another reseller customer's
# subscription to your reseller management. This is a hexadecimal
# The customerAuthToken query string is required when creating a resold account
# that transfers a direct customer's subscription or transfers another reseller
# customer's subscription to your reseller management. This is a hexadecimal
# authentication token needed to complete the subscription transfer. For more
# information, see the <a
# href="//support.google.com/a/bin/answer.py?answer=142336">administrator
# help center</a>.
# information, see the administrator help center.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] customer_name_prefix
# When retrieving all of your subscriptions and filtering for specific
# customers, you can enter a prefix for a customer name. Using an example
# customer group that includes <code>exam.com</code>,
# <code>example20.com</code> and <code>example.com</code>:
# <ul>
# <li><code>exa</code> -- Returns all customer names that start with
# &#39;exa&#39; which could include <code>exam.com</code>,
# <code>example20.com</code>, and <code>example.com</code>. A name prefix is
# similar to using a regular expression&#39;s asterisk, exa*.</li>
# <li><code>example</code> -- Returns <code>example20.com</code> and
# <code>example.com</code>.</li>
# </ul>
# When retrieving all of your subscriptions and filtering for specific customers,
# you can enter a prefix for a customer name. Using an example customer group
# that includes exam.com, example20.com and example.com: - exa -- Returns all
# customer names that start with 'exa' which could include exam.com, example20.
# com, and example.com. A name prefix is similar to using a regular expression's
# asterisk, exa*. - example -- Returns example20.com and example.com.
# @param [Fixnum] max_results
# When retrieving a large list, the <code>maxResults</code> is the maximum
# number of results per page. The <code>nextPageToken</code> value takes you
# to the next page. The default is 20.
# When retrieving a large list, the maxResults is the maximum number of results
# per page. The nextPageToken value takes you to the next page. The default is
# 20.
# @param [String] page_token
# Token to specify next page in the list
# @param [String] fields
@ -678,20 +635,16 @@ module Google
# Immediately move a 30-day free trial subscription to a paid service
# subscription.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -722,20 +675,16 @@ module Google
# Suspends an active subscription.
# @param [String] customer_id
# Either the customer&#39;s primary domain name or the customer's unique
# identifier. If using the domain name, we do not recommend using a
# <code>customerId</code> as a key for persistent data. If the domain name
# for a <code>customerId</code> is changed, the Google system automatically
# updates.
# Either the customer's primary domain name or the customer's unique identifier.
# If using the domain name, we do not recommend using a customerId as a key for
# persistent data. If the domain name for a customerId is changed, the Google
# system automatically updates.
# @param [String] subscription_id
# This is a required property. The <code>subscriptionId</code> is the
# subscription identifier and is unique for each customer. Since a
# <code>subscriptionId</code> changes when a subscription is updated, we
# recommend to not use this ID as a key for persistent data. And the
# <code>subscriptionId</code> can be found using the <a
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
# get_all_subscriptions">retrieve
# all reseller subscriptions</a> method.
# This is a required property. The subscriptionId is the subscription identifier
# and is unique for each customer. Since a subscriptionId changes when a
# subscription is updated, we recommend to not use this ID as a key for
# persistent data. And the subscriptionId can be found using the retrieve all
# reseller subscriptions method.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see
module TasksV1
VERSION = 'V1'
REVISION = '20200811'
REVISION = '20200905'
# Create, edit, organize, and delete all your tasks
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'

View File

@ -22,7 +22,7 @@ module Google
module Apis
module TasksV1
#
# LINT.IfChange
class Task
include Google::Apis::Core::Hashable

View File

@ -43,8 +43,8 @@ module Google
attr_accessor :quota_user
def initialize
super('https://www.googleapis.com/', '')
@batch_path = 'batch/tasks/v1'
super('https://tasks.googleapis.com/', '')
@batch_path = 'batch'
end
# Deletes the authenticated user's specified task list.
@ -393,7 +393,8 @@ module Google
# Token specifying the result page to return. Optional.
# @param [Boolean] show_completed
# Flag indicating whether completed tasks are returned in the result. Optional.
# The default is True.
# The default is True. Note that showHidden must also be True to show tasks
# completed in first party clients, such as the web UI and Google's mobile apps.
# @param [Boolean] show_deleted
# Flag indicating whether deleted tasks are returned in the result. Optional.
# The default is False.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20200820'
REVISION = '20200914'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -382,7 +382,7 @@ module Google
end
# A test of an android application that explores the application on a virtual or
# physical Android Device, finding culprits and crashes as it goes.
# physical Android Device, finding culprits and crashes as it goes. Next tag: 29
class AndroidRoboTest
include Google::Apis::Core::Hashable
@ -2271,7 +2271,7 @@ module Google
attr_accessor :android_instrumentation_test
# A test of an android application that explores the application on a virtual or
# physical Android Device, finding culprits and crashes as it goes.
# physical Android Device, finding culprits and crashes as it goes. Next tag: 29
# Corresponds to the JSON property `androidRoboTest`
# @return [Google::Apis::TestingV1::AndroidRoboTest]
attr_accessor :android_robo_test