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/sequenceNumber": sequence_number
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets": targets "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets": targets
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets/target": target "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets/target": target
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/traceConfig": trace_config
"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/uid": uid "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/uid": uid
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup": google_cloud_apigee_v1_environment_group "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup": google_cloud_apigee_v1_environment_group
"/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/createdAt": created_at "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/createdAt": created_at
@ -10686,6 +10687,34 @@
"/apigee:v1/GoogleCloudApigeeV1RoutingRule": google_cloud_apigee_v1_routing_rule "/apigee:v1/GoogleCloudApigeeV1RoutingRule": google_cloud_apigee_v1_routing_rule
"/apigee:v1/GoogleCloudApigeeV1RoutingRule/basepath": basepath "/apigee:v1/GoogleCloudApigeeV1RoutingRule/basepath": basepath
"/apigee:v1/GoogleCloudApigeeV1RoutingRule/environment": environment "/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": google_cloud_apigee_v1_schema
"/apigee:v1/GoogleCloudApigeeV1Schema/dimensions": dimensions "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions": dimensions
"/apigee:v1/GoogleCloudApigeeV1Schema/dimensions/dimension": dimension "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions/dimension": dimension
@ -21865,6 +21894,7 @@
"/cloudidentity:v1/cloudidentity.devices.wipe": wipe_device "/cloudidentity:v1/cloudidentity.devices.wipe": wipe_device
"/cloudidentity:v1/cloudidentity.devices.wipe/name": name "/cloudidentity:v1/cloudidentity.devices.wipe/name": name
"/cloudidentity:v1/cloudidentity.groups.create": create_group "/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": delete_group
"/cloudidentity:v1/cloudidentity.groups.delete/name": name "/cloudidentity:v1/cloudidentity.groups.delete/name": name
"/cloudidentity:v1/cloudidentity.groups.get": get_group "/cloudidentity:v1/cloudidentity.groups.get": get_group
@ -51796,6 +51826,7 @@
"/container:v1beta1/Cluster/clusterTelemetry": cluster_telemetry "/container:v1beta1/Cluster/clusterTelemetry": cluster_telemetry
"/container:v1beta1/Cluster/conditions": conditions "/container:v1beta1/Cluster/conditions": conditions
"/container:v1beta1/Cluster/conditions/condition": condition "/container:v1beta1/Cluster/conditions/condition": condition
"/container:v1beta1/Cluster/confidentialNodes": confidential_nodes
"/container:v1beta1/Cluster/createTime": create_time "/container:v1beta1/Cluster/createTime": create_time
"/container:v1beta1/Cluster/currentMasterVersion": current_master_version "/container:v1beta1/Cluster/currentMasterVersion": current_master_version
"/container:v1beta1/Cluster/currentNodeCount": current_node_count "/container:v1beta1/Cluster/currentNodeCount": current_node_count
@ -51895,6 +51926,8 @@
"/container:v1beta1/CompleteIPRotationRequest/name": name "/container:v1beta1/CompleteIPRotationRequest/name": name
"/container:v1beta1/CompleteIPRotationRequest/projectId": project_id "/container:v1beta1/CompleteIPRotationRequest/projectId": project_id
"/container:v1beta1/CompleteIPRotationRequest/zone": zone "/container:v1beta1/CompleteIPRotationRequest/zone": zone
"/container:v1beta1/ConfidentialNodes": confidential_nodes
"/container:v1beta1/ConfidentialNodes/enabled": enabled
"/container:v1beta1/ConfigConnectorConfig": config_connector_config "/container:v1beta1/ConfigConnectorConfig": config_connector_config
"/container:v1beta1/ConfigConnectorConfig/enabled": enabled "/container:v1beta1/ConfigConnectorConfig/enabled": enabled
"/container:v1beta1/ConsumptionMeteringConfig": consumption_metering_config "/container:v1beta1/ConsumptionMeteringConfig": consumption_metering_config
@ -85601,6 +85634,7 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/redact": redact
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/required": required "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/required": required
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment
@ -85663,6 +85697,7 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list "/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": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts

View File

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

View File

@ -2350,6 +2350,12 @@ module Google
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig>]
attr_accessor :targets 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 # Unique ID for the environment configuration. The ID will only change if the
# environment is deleted and recreated. # environment is deleted and recreated.
# Corresponds to the JSON property `uid` # Corresponds to the JSON property `uid`
@ -2377,6 +2383,7 @@ module Google
@revision_id = args[:revision_id] if args.key?(:revision_id) @revision_id = args[:revision_id] if args.key?(:revision_id)
@sequence_number = args[:sequence_number] if args.key?(:sequence_number) @sequence_number = args[:sequence_number] if args.key?(:sequence_number)
@targets = args[:targets] if args.key?(:targets) @targets = args[:targets] if args.key?(:targets)
@trace_config = args[:trace_config] if args.key?(:trace_config)
@uid = args[:uid] if args.key?(:uid) @uid = args[:uid] if args.key?(:uid)
end end
end end
@ -3599,9 +3606,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Identfies whether the configuration is for Apigee proxy or a remote service. # 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 # 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. # used, and is associated with the API product.
# Corresponds to the JSON property `operationConfigType` # Corresponds to the JSON property `operationConfigType`
# @return [String] # @return [String]
@ -4677,6 +4684,203 @@ module Google
end end
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 # Response for Schema call
class GoogleCloudApigeeV1Schema class GoogleCloudApigeeV1Schema
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -694,6 +694,30 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end 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 GoogleCloudApigeeV1Schema
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1459,6 +1483,8 @@ module Google
property :sequence_number, :numeric_string => true, as: 'sequenceNumber' property :sequence_number, :numeric_string => true, as: 'sequenceNumber'
collection :targets, as: 'targets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig::Representation 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' property :uid, as: 'uid'
end end
end end
@ -2120,6 +2146,54 @@ module Google
end end
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 class GoogleCloudApigeeV1Schema
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/identity/ # @see https://cloud.google.com/identity/
module CloudidentityV1 module CloudidentityV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200908' REVISION = '20200912'
# See your device details # See your device details
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup' 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. # Creates a Group.
# @param [Google::Apis::CloudidentityV1::Group] group_object # @param [Google::Apis::CloudidentityV1::Group] group_object
# @param [String] initial_group_config
# Optional. The initial configuration option for the `Group`.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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 = make_simple_command(:post, 'v1/groups', options)
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
command.request_object = group_object command.request_object = group_object
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
command.response_class = Google::Apis::CloudidentityV1::Operation 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['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)

View File

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

View File

@ -513,6 +513,12 @@ module Google
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>] # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
attr_accessor :conditions 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. # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
# org/rfc/rfc3339.txt) text format. # org/rfc/rfc3339.txt) text format.
# Corresponds to the JSON property `createTime` # 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_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry) @cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
@conditions = args[:conditions] if args.key?(:conditions) @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) @create_time = args[:create_time] if args.key?(:create_time)
@current_master_version = args[:current_master_version] if args.key?(:current_master_version) @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) @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@ -1253,6 +1260,27 @@ module Google
end end
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. # Configuration options for the Config Connector add-on.
class ConfigConnectorConfig class ConfigConnectorConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -124,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ConfidentialNodes
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ConfigConnectorConfig class ConfigConnectorConfig
class Representation < Google::Apis::Core::JsonRepresentation; end 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 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 :create_time, as: 'createTime'
property :current_master_version, as: 'currentMasterVersion' property :current_master_version, as: 'currentMasterVersion'
property :current_node_count, as: 'currentNodeCount' property :current_node_count, as: 'currentNodeCount'
@ -960,6 +968,13 @@ module Google
end end
end end
class ConfidentialNodes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class ConfigConnectorConfig class ConfigConnectorConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

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

View File

@ -679,6 +679,14 @@ module Google
attr_accessor :is_list attr_accessor :is_list
alias_method :is_list?, :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 # Indicates whether the parameter is required. Optional parameters will not
# trigger prompts; however, they are filled if the user specifies them. Required # trigger prompts; however, they are filled if the user specifies them. Required
# parameters must be filled before form filling concludes. # parameters must be filled before form filling concludes.
@ -698,6 +706,7 @@ module Google
@entity_type = args[:entity_type] if args.key?(:entity_type) @entity_type = args[:entity_type] if args.key?(:entity_type)
@fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior) @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior)
@is_list = args[:is_list] if args.key?(:is_list) @is_list = args[:is_list] if args.key?(:is_list)
@redact = args[:redact] if args.key?(:redact)
@required = args[:required] if args.key?(:required) @required = args[:required] if args.key?(:required)
end end
end end
@ -1195,6 +1204,14 @@ module Google
attr_accessor :is_list attr_accessor :is_list
alias_method :is_list?, :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) def initialize(**args)
update!(**args) update!(**args)
end end
@ -1204,6 +1221,7 @@ module Google
@entity_type = args[:entity_type] if args.key?(:entity_type) @entity_type = args[:entity_type] if args.key?(:entity_type)
@id = args[:id] if args.key?(:id) @id = args[:id] if args.key?(:id)
@is_list = args[:is_list] if args.key?(:is_list) @is_list = args[:is_list] if args.key?(:is_list)
@redact = args[:redact] if args.key?(:redact)
end end
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 :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation
property :is_list, as: 'isList' property :is_list, as: 'isList'
property :redact, as: 'redact'
property :required, as: 'required' property :required, as: 'required'
end end
end end
@ -1575,6 +1576,7 @@ module Google
property :entity_type, as: 'entityType' property :entity_type, as: 'entityType'
property :id, as: 'id' property :id, as: 'id'
property :is_list, as: 'isList' property :is_list, as: 'isList'
property :redact, as: 'redact'
end end
end end

View File

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

View File

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

View File

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

View File

@ -1371,7 +1371,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end 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 # @param [String] name
# Required. The resource name of the service account key in the following format: # Required. The resource name of the service account key in the following format:
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a # `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 Google
module Apis 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/ # @see https://developers.google.com/admin-sdk/licensing/
module LicensingV1 module LicensingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190916' REVISION = '20200912'
# View and manage G Suite licenses for your domain # View and manage G Suite licenses for your domain
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing' AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'

View File

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

View File

@ -20,9 +20,10 @@ require 'google/apis/errors'
module Google module Google
module Apis module Apis
module LicensingV1 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 # @example
# require 'google/apis/licensing_v1' # require 'google/apis/licensing_v1'
@ -38,16 +39,12 @@ module Google
attr_accessor :key attr_accessor :key
# @return [String] # @return [String]
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
attr_accessor :quota_user attr_accessor :quota_user
# @return [String]
# Deprecated. Please use quotaUser instead.
attr_accessor :user_ip
def initialize def initialize
super('https://www.googleapis.com/', 'apps/licensing/v1/product/') super('https://www.googleapis.com/', '')
@batch_path = 'batch/licensing/v1' @batch_path = 'batch/licensing/v1'
end end
@ -60,18 +57,15 @@ module Google
# in this version of the API, see Products and SKUs. # in this version of the API, see Products and SKUs.
# @param [String] user_id # @param [String] user_id
# The user's current primary email address. If the user's email address changes, # The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests. # use the new email address in your API requests. Since a userId is subject to
# Since a userId is subject to change, do not use a userId value as a key for # change, do not use a userId value as a key for persistent data. This key could
# persistent data. This key could break if the current user's email address # break if the current user's email address changes. If the userId is suspended,
# changes. # the license status changes.
# If the userId is suspended, the license status changes.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, '{productId}/sku/{skuId}/user/{userId}', options) 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['productId'] = product_id unless product_id.nil?
command.params['skuId'] = sku_id unless sku_id.nil? command.params['skuId'] = sku_id unless sku_id.nil?
command.params['userId'] = user_id unless user_id.nil? command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -104,18 +97,15 @@ module Google
# in this version of the API, see Products and SKUs. # in this version of the API, see Products and SKUs.
# @param [String] user_id # @param [String] user_id
# The user's current primary email address. If the user's email address changes, # The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests. # use the new email address in your API requests. Since a userId is subject to
# Since a userId is subject to change, do not use a userId value as a key for # change, do not use a userId value as a key for persistent data. This key could
# persistent data. This key could break if the current user's email address # break if the current user's email address changes. If the userId is suspended,
# changes. # the license status changes.
# If the userId is suspended, the license status changes.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, '{productId}/sku/{skuId}/user/{userId}', options) 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_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignment command.response_class = Google::Apis::LicensingV1::LicenseAssignment
command.params['productId'] = product_id unless product_id.nil? 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.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -152,10 +141,8 @@ module Google
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) 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, '{productId}/sku/{skuId}/user', options) command = make_simple_command(:post, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user', options)
command.request_representation = Google::Apis::LicensingV1::LicenseAssignmentInsert::Representation command.request_representation = Google::Apis::LicensingV1::LicenseAssignmentInsert::Representation
command.request_object = license_assignment_insert_object command.request_object = license_assignment_insert_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -178,7 +165,6 @@ module Google
command.params['skuId'] = sku_id unless sku_id.nil? command.params['skuId'] = sku_id unless sku_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -188,8 +174,8 @@ module Google
# version of the API, see Products and SKUs. # version of the API, see Products and SKUs.
# @param [String] customer_id # @param [String] customer_id
# Customer's customerId. A previous version of this API accepted the primary # Customer's customerId. A previous version of this API accepted the primary
# domain name as a value for this field. # domain name as a value for this field. If the customer is suspended, the
# If the customer is suspended, the server returns an error. # server returns an error.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maxResults query string determines how many entries are returned on each # 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 # page of a large response. This is an optional parameter. The value must be a
@ -202,10 +188,8 @@ module Google
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) 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, '{productId}/users', options) command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/users', options)
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
command.params['productId'] = product_id unless product_id.nil? 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['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -241,8 +224,8 @@ module Google
# in this version of the API, see Products and SKUs. # in this version of the API, see Products and SKUs.
# @param [String] customer_id # @param [String] customer_id
# Customer's customerId. A previous version of this API accepted the primary # Customer's customerId. A previous version of this API accepted the primary
# domain name as a value for this field. # domain name as a value for this field. If the customer is suspended, the
# If the customer is suspended, the server returns an error. # server returns an error.
# @param [Fixnum] max_results # @param [Fixnum] max_results
# The maxResults query string determines how many entries are returned on each # 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 # page of a large response. This is an optional parameter. The value must be a
@ -255,10 +238,8 @@ module Google
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) 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, '{productId}/sku/{skuId}/users', options) command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/users', options)
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
command.params['productId'] = product_id unless product_id.nil? 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['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
# Reassign a user's product SKU with a different SKU in the same product. This # Patch a Licensing info via Apiary Patch Orchestration
# method supports patch semantics.
# @param [String] product_id # @param [String] product_id
# A product's unique identifier. For more information about products in this # A product's unique identifier. For more information about products in this
# version of the API, see Products and SKUs. # version of the API, see Products and SKUs.
@ -296,19 +275,16 @@ module Google
# in this version of the API, see Products and SKUs. # in this version of the API, see Products and SKUs.
# @param [String] user_id # @param [String] user_id
# The user's current primary email address. If the user's email address changes, # The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests. # use the new email address in your API requests. Since a userId is subject to
# Since a userId is subject to change, do not use a userId value as a key for # change, do not use a userId value as a key for persistent data. This key could
# persistent data. This key could break if the current user's email address # break if the current user's email address changes. If the userId is suspended,
# changes. # the license status changes.
# If the userId is suspended, the license status changes.
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object # @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) 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, '{productId}/sku/{skuId}/user/{userId}', options) 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_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.request_object = license_assignment_object command.request_object = license_assignment_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -332,7 +308,6 @@ module Google
command.params['userId'] = user_id unless user_id.nil? command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -345,19 +320,16 @@ module Google
# in this version of the API, see Products and SKUs. # in this version of the API, see Products and SKUs.
# @param [String] user_id # @param [String] user_id
# The user's current primary email address. If the user's email address changes, # The user's current primary email address. If the user's email address changes,
# use the new email address in your API requests. # use the new email address in your API requests. Since a userId is subject to
# Since a userId is subject to change, do not use a userId value as a key for # change, do not use a userId value as a key for persistent data. This key could
# persistent data. This key could break if the current user's email address # break if the current user's email address changes. If the userId is suspended,
# changes. # the license status changes.
# If the userId is suspended, the license status changes.
# @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object # @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40 # Available to use for quota purposes for server-side applications. Can be any
# characters. # arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options # @param [Google::Apis::RequestOptions] options
# Request-specific 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::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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @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) 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, '{productId}/sku/{skuId}/user/{userId}', options) 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_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
command.request_object = license_assignment_object command.request_object = license_assignment_object
command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation
@ -381,7 +353,6 @@ module Google
command.params['userId'] = user_id unless user_id.nil? command.params['userId'] = user_id unless user_id.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.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) execute_or_queue_command(command, &block)
end end
@ -390,7 +361,6 @@ module Google
def apply_command_defaults(command) def apply_command_defaults(command)
command.query['key'] = key unless key.nil? command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
end end
end end
end end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,8 +43,8 @@ module Google
attr_accessor :quota_user attr_accessor :quota_user
def initialize def initialize
super('https://www.googleapis.com/', '') super('https://tasks.googleapis.com/', '')
@batch_path = 'batch/tasks/v1' @batch_path = 'batch'
end end
# Deletes the authenticated user's specified task list. # Deletes the authenticated user's specified task list.
@ -393,7 +393,8 @@ module Google
# Token specifying the result page to return. Optional. # Token specifying the result page to return. Optional.
# @param [Boolean] show_completed # @param [Boolean] show_completed
# Flag indicating whether completed tasks are returned in the result. Optional. # 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 # @param [Boolean] show_deleted
# Flag indicating whether deleted tasks are returned in the result. Optional. # Flag indicating whether deleted tasks are returned in the result. Optional.
# The default is False. # The default is False.

View File

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

View File

@ -382,7 +382,7 @@ module Google
end end
# A test of an android application that explores the application on a virtual or # 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 class AndroidRoboTest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2271,7 +2271,7 @@ module Google
attr_accessor :android_instrumentation_test attr_accessor :android_instrumentation_test
# A test of an android application that explores the application on a virtual or # 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` # Corresponds to the JSON property `androidRoboTest`
# @return [Google::Apis::TestingV1::AndroidRoboTest] # @return [Google::Apis::TestingV1::AndroidRoboTest]
attr_accessor :android_robo_test attr_accessor :android_robo_test