From 68aad98b54a129d22055d57e0db282f381f156c6 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 16 Sep 2020 00:39:02 +0000 Subject: [PATCH] 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 --- api_names_out.yaml | 35 ++ generated/google/apis/apigee_v1.rb | 2 +- generated/google/apis/apigee_v1/classes.rb | 208 +++++++++- .../google/apis/apigee_v1/representations.rb | 74 ++++ generated/google/apis/apigee_v1/service.rb | 60 ++- generated/google/apis/cloudidentity_v1.rb | 2 +- .../google/apis/cloudidentity_v1/service.rb | 5 +- generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 28 ++ .../apis/container_v1beta1/representations.rb | 15 + generated/google/apis/dialogflow_v3beta1.rb | 2 +- .../google/apis/dialogflow_v3beta1/classes.rb | 18 + .../dialogflow_v3beta1/representations.rb | 2 + .../google/apis/firebasehosting_v1beta1.rb | 2 +- .../apis/firebasehosting_v1beta1/service.rb | 8 +- generated/google/apis/iam_v1.rb | 2 +- generated/google/apis/iam_v1/service.rb | 3 +- generated/google/apis/licensing_v1.rb | 7 +- generated/google/apis/licensing_v1/classes.rb | 2 +- generated/google/apis/licensing_v1/service.rb | 140 +++---- generated/google/apis/reseller_v1.rb | 4 +- generated/google/apis/reseller_v1/classes.rb | 370 +++++++----------- generated/google/apis/reseller_v1/service.rb | 295 ++++++-------- generated/google/apis/tasks_v1.rb | 2 +- generated/google/apis/tasks_v1/classes.rb | 2 +- generated/google/apis/tasks_v1/service.rb | 7 +- generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 4 +- 28 files changed, 779 insertions(+), 524 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 1368134c6..b5b6addc9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -10353,6 +10353,7 @@ "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/sequenceNumber": sequence_number "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets": targets "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/targets/target": target +"/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/traceConfig": trace_config "/apigee:v1/GoogleCloudApigeeV1EnvironmentConfig/uid": uid "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup": google_cloud_apigee_v1_environment_group "/apigee:v1/GoogleCloudApigeeV1EnvironmentGroup/createdAt": created_at @@ -10686,6 +10687,34 @@ "/apigee:v1/GoogleCloudApigeeV1RoutingRule": google_cloud_apigee_v1_routing_rule "/apigee:v1/GoogleCloudApigeeV1RoutingRule/basepath": basepath "/apigee:v1/GoogleCloudApigeeV1RoutingRule/environment": environment +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig": google_cloud_apigee_v1_runtime_trace_config +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/endpoint": endpoint +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/exporter": exporter +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/name": name +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/overrides": overrides +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/overrides/override": override +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/revisionCreateTime": revision_create_time +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/revisionId": revision_id +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfig/samplingConfig": sampling_config +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride": google_cloud_apigee_v1_runtime_trace_config_override +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/apiProxy": api_proxy +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/name": name +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/revisionCreateTime": revision_create_time +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/revisionId": revision_id +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/samplingConfig": sampling_config +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceConfigOverride/uid": uid +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig": google_cloud_apigee_v1_runtime_trace_sampling_config +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/errorSources": error_sources +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/errorSources/error_source": error_source +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodeRanges": response_code_ranges +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodeRanges/response_code_range": response_code_range +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodes": response_codes +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/responseCodes/response_code": response_code +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/sampler": sampler +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfig/samplingRate": sampling_rate +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange": google_cloud_apigee_v1_runtime_trace_sampling_config_response_code_range +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange/firstResponseCode": first_response_code +"/apigee:v1/GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange/lastResponseCode": last_response_code "/apigee:v1/GoogleCloudApigeeV1Schema": google_cloud_apigee_v1_schema "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions": dimensions "/apigee:v1/GoogleCloudApigeeV1Schema/dimensions/dimension": dimension @@ -21865,6 +21894,7 @@ "/cloudidentity:v1/cloudidentity.devices.wipe": wipe_device "/cloudidentity:v1/cloudidentity.devices.wipe/name": name "/cloudidentity:v1/cloudidentity.groups.create": create_group +"/cloudidentity:v1/cloudidentity.groups.create/initialGroupConfig": initial_group_config "/cloudidentity:v1/cloudidentity.groups.delete": delete_group "/cloudidentity:v1/cloudidentity.groups.delete/name": name "/cloudidentity:v1/cloudidentity.groups.get": get_group @@ -51796,6 +51826,7 @@ "/container:v1beta1/Cluster/clusterTelemetry": cluster_telemetry "/container:v1beta1/Cluster/conditions": conditions "/container:v1beta1/Cluster/conditions/condition": condition +"/container:v1beta1/Cluster/confidentialNodes": confidential_nodes "/container:v1beta1/Cluster/createTime": create_time "/container:v1beta1/Cluster/currentMasterVersion": current_master_version "/container:v1beta1/Cluster/currentNodeCount": current_node_count @@ -51895,6 +51926,8 @@ "/container:v1beta1/CompleteIPRotationRequest/name": name "/container:v1beta1/CompleteIPRotationRequest/projectId": project_id "/container:v1beta1/CompleteIPRotationRequest/zone": zone +"/container:v1beta1/ConfidentialNodes": confidential_nodes +"/container:v1beta1/ConfidentialNodes/enabled": enabled "/container:v1beta1/ConfigConnectorConfig": config_connector_config "/container:v1beta1/ConfigConnectorConfig/enabled": enabled "/container:v1beta1/ConsumptionMeteringConfig": consumption_metering_config @@ -85601,6 +85634,7 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/redact": redact "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameter/required": required "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment @@ -85663,6 +85697,7 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentParameter/redact": redact "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts diff --git a/generated/google/apis/apigee_v1.rb b/generated/google/apis/apigee_v1.rb index d03d066e8..4374b2f28 100644 --- a/generated/google/apis/apigee_v1.rb +++ b/generated/google/apis/apigee_v1.rb @@ -29,7 +29,7 @@ module Google # @see https://cloud.google.com/apigee-api-management/ module ApigeeV1 VERSION = 'V1' - REVISION = '20200827' + REVISION = '20200912' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/apigee_v1/classes.rb b/generated/google/apis/apigee_v1/classes.rb index 9c7c2d05d..3281ef74f 100644 --- a/generated/google/apis/apigee_v1/classes.rb +++ b/generated/google/apis/apigee_v1/classes.rb @@ -2350,6 +2350,12 @@ module Google # @return [Array] attr_accessor :targets + # NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace + # in an environment. + # Corresponds to the JSON property `traceConfig` + # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig] + attr_accessor :trace_config + # Unique ID for the environment configuration. The ID will only change if the # environment is deleted and recreated. # Corresponds to the JSON property `uid` @@ -2377,6 +2383,7 @@ module Google @revision_id = args[:revision_id] if args.key?(:revision_id) @sequence_number = args[:sequence_number] if args.key?(:sequence_number) @targets = args[:targets] if args.key?(:targets) + @trace_config = args[:trace_config] if args.key?(:trace_config) @uid = args[:uid] if args.key?(:uid) end end @@ -3599,9 +3606,9 @@ module Google include Google::Apis::Core::Hashable # Identfies whether the configuration is for Apigee proxy or a remote service. - # Possible values are "proxy" and "remote_service". If none specified, the + # Possible values are "proxy" and "remoteservice". If none specified, the # default is "proxy". "proxy" is used when Apigee proxies are associated with - # the API product. "remote_service" is used when non-Apigee proxy like Envoy is + # the API product. "remoteservice" is used when non-Apigee proxy like Envoy is # used, and is associated with the API product. # Corresponds to the JSON property `operationConfigType` # @return [String] @@ -4677,6 +4684,203 @@ module Google end end + # NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace + # in an environment. + class GoogleCloudApigeeV1RuntimeTraceConfig + include Google::Apis::Core::Hashable + + # Endpoint of the exporter. + # Corresponds to the JSON property `endpoint` + # @return [String] + attr_accessor :endpoint + + # Exporter that is used to view the distributed trace captured using OpenCensus. + # An exporter sends traces to any backend that is capable of consuming them. + # Recorded spans can be exported by registered exporters. + # Corresponds to the JSON property `exporter` + # @return [String] + attr_accessor :exporter + + # Name of the trace config in the following format: `organizations/`org`/ + # environment/`env`/traceConfig` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # List of trace configuration overrides for spicific API proxies. + # Corresponds to the JSON property `overrides` + # @return [Array] + 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] + attr_accessor :error_sources + + # List of response code ranges. + # Corresponds to the JSON property `responseCodeRanges` + # @return [Array] + attr_accessor :response_code_ranges + + # List of single response codes. + # Corresponds to the JSON property `responseCodes` + # @return [Array] + attr_accessor :response_codes + + # Sampler of distributed tracing. OFF is the default value. + # Corresponds to the JSON property `sampler` + # @return [String] + attr_accessor :sampler + + # Field sampling rate. This value is only valid when is only applicable when + # sampling value is probabilistic(PROBABILITY). The supported values are > 0 and + # <= 0.5. + # Corresponds to the JSON property `samplingRate` + # @return [Float] + attr_accessor :sampling_rate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_sources = args[:error_sources] if args.key?(:error_sources) + @response_code_ranges = args[:response_code_ranges] if args.key?(:response_code_ranges) + @response_codes = args[:response_codes] if args.key?(:response_codes) + @sampler = args[:sampler] if args.key?(:sampler) + @sampling_rate = args[:sampling_rate] if args.key?(:sampling_rate) + end + end + + # ResponseCodeRange represents a group of response codes to capture, from the + # first response code to the last response code. Each range is a close interval. + # For example, if an interval is [400, 403], then that means 400, 401, 402, 403 + # will be all captured. + class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange + include Google::Apis::Core::Hashable + + # The first response code to capture. + # Corresponds to the JSON property `firstResponseCode` + # @return [Fixnum] + attr_accessor :first_response_code + + # The last response code to capture. + # Corresponds to the JSON property `lastResponseCode` + # @return [Fixnum] + attr_accessor :last_response_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first_response_code = args[:first_response_code] if args.key?(:first_response_code) + @last_response_code = args[:last_response_code] if args.key?(:last_response_code) + end + end + # Response for Schema call class GoogleCloudApigeeV1Schema include Google::Apis::Core::Hashable diff --git a/generated/google/apis/apigee_v1/representations.rb b/generated/google/apis/apigee_v1/representations.rb index 36ff9937f..75693ee8f 100644 --- a/generated/google/apis/apigee_v1/representations.rb +++ b/generated/google/apis/apigee_v1/representations.rb @@ -694,6 +694,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudApigeeV1RuntimeTraceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1RuntimeTraceConfigOverride + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1RuntimeTraceSamplingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudApigeeV1Schema class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1459,6 +1483,8 @@ module Google property :sequence_number, :numeric_string => true, as: 'sequenceNumber' collection :targets, as: 'targets', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1TargetServerConfig::Representation + property :trace_config, as: 'traceConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig::Representation + property :uid, as: 'uid' end end @@ -2120,6 +2146,54 @@ module Google end end + class GoogleCloudApigeeV1RuntimeTraceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :endpoint, as: 'endpoint' + property :exporter, as: 'exporter' + property :name, as: 'name' + collection :overrides, as: 'overrides', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride::Representation + + property :revision_create_time, as: 'revisionCreateTime' + property :revision_id, as: 'revisionId' + property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation + + end + end + + class GoogleCloudApigeeV1RuntimeTraceConfigOverride + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_proxy, as: 'apiProxy' + property :name, as: 'name' + property :revision_create_time, as: 'revisionCreateTime' + property :revision_id, as: 'revisionId' + property :sampling_config, as: 'samplingConfig', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfig::Representation + + property :uid, as: 'uid' + end + end + + class GoogleCloudApigeeV1RuntimeTraceSamplingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :error_sources, as: 'errorSources' + collection :response_code_ranges, as: 'responseCodeRanges', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange::Representation + + collection :response_codes, as: 'responseCodes' + property :sampler, as: 'sampler' + property :sampling_rate, as: 'samplingRate' + end + end + + class GoogleCloudApigeeV1RuntimeTraceSamplingConfigResponseCodeRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :first_response_code, as: 'firstResponseCode' + property :last_response_code, as: 'lastResponseCode' + end + end + class GoogleCloudApigeeV1Schema # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/apigee_v1/service.rb b/generated/google/apis/apigee_v1/service.rb index 62407c01d..4c6fd761c 100644 --- a/generated/google/apis/apigee_v1/service.rb +++ b/generated/google/apis/apigee_v1/service.rb @@ -3581,13 +3581,16 @@ module Google execute_or_queue_command(command, &block) end - # Deploys a revision of an API proxy. If an API proxy revision is currently - # deployed, to ensure seamless deployment with zero downtime set the `override` - # parameter to `true`. In this case, hybrid attempts to deploy the new revision - # fully before undeploying the existing revision. You cannot invoke an API proxy - # until it has been deployed to an environment. After you deploy an API proxy - # revision, you cannot edit it. To edit the API proxy, you must create and - # deploy a new revision. + # Deploys a revision of an API proxy. If another revision of the same API proxy + # revision is currently deployed, set the `override` parameter to `true` to have + # this revision replace the currently deployed revision. You cannot invoke an + # API proxy until it has been deployed to an environment. After you deploy an + # API proxy revision, you cannot edit it. To edit the API proxy, you must create + # and deploy a new revision. For a request path `organizations/`org`/ + # environments/`env`/apis/`api`/revisions/`rev`/deployments`, two permissions + # are required: * `apigee.deployments.create` on the resource `organizations/` + # org`/environments/`env`` * `apigee.proxyrevisions.deploy` on the resource ` + # organizations/`org`/apis/`api`/revisions/`rev`` # @param [String] name # Required. Name of the API proxy revision deployment in the following format: ` # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` @@ -3670,10 +3673,11 @@ module Google execute_or_queue_command(command, &block) end - # Undeploys an API proxy revision from an environment. Because multiple - # revisions of the same API proxy can be deployed in the same environment if the - # base paths are different, you must specify the revision number of the API - # proxy. + # Undeploys an API proxy revision from an environment. For a request path ` + # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`/deployments`, + # two permissions are required: * `apigee.deployments.delete` on the resource ` + # organizations/`org`/environments/`env`` * `apigee.proxyrevisions.undeploy` on + # the resource `organizations/`org`/apis/`api`/revisions/`rev`` # @param [String] name # Required. Name of the API proxy revision deployment in the following format: ` # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` @@ -3896,7 +3900,11 @@ module Google # traffic routing changes that would result from this deployment being created. # Any potential routing conflicts or unsafe changes will be reported in the # response. This routing analysis is not performed for a non-dry-run - # DeployApiProxy request. + # DeployApiProxy request. For a request path `organizations/`org`/environments/` + # env`/apis/`api`/revisions/`rev`/deployments:generateDeployChangeReport`, two + # permissions are required: * `apigee.deployments.create` on the resource ` + # organizations/`org`/environments/`env`` * `apigee.proxyrevisions.deploy` on + # the resource `organizations/`org`/apis/`api`/revisions/`rev`` # @param [String] name # Name of the API proxy revision deployment in the following format: ` # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` @@ -3941,7 +3949,12 @@ module Google # detect possible traffic routing changes that would result from this deployment # being removed. Any potential routing conflicts or unsafe changes will be # reported in the response. This routing analysis is not performed for a non-dry- - # run UndeployApiProxy request. + # run UndeployApiProxy request. For a request path `organizations/`org`/ + # environments/`env`/apis/`api`/revisions/`rev`/deployments: + # generateUndeployChangeReport`, two permissions are required: * `apigee. + # deployments.delete` on the resource `organizations/`org`/environments/`env`` * + # `apigee.proxyrevisions.undeploy` on the resource `organizations/`org`/apis/` + # api`/revisions/`rev`` # @param [String] name # Name of the API proxy revision deployment in the following format: ` # organizations/`org`/environments/`env`/apis/`api`/revisions/`rev`` @@ -5184,11 +5197,15 @@ module Google execute_or_queue_command(command, &block) end - # Deploys a revision of a shared flow. If a shared flow revision is currently - # deployed, to ensure seamless deployment with zero downtime set the `override` - # parameter to `true`. In this case, hybrid attempts to deply the new revision - # fully before undeploying the existing revision. You cannot use a shared flows - # until it has been deployed to an environment. + # Deploys a revision of a shared flow. If another revision of the same shared + # flow is currently deployed, set the `override` parameter to `true` to have + # this revision replace the currently deployed revision. You cannot use a shared + # flow until it has been deployed to an environment. For a request path ` + # organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/ + # deployments`, two permissions are required: * `apigee.deployments.create` on + # the resource `organizations/`org`/environments/`env`` * `apigee. + # sharedflowrevisions.deploy` on the resource `organizations/`org`/sharedflows/` + # sf`/revisions/`rev`` # @param [String] name # Required. Name of the shared flow revision to deploy in the following format: ` # organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/`rev` @@ -5261,7 +5278,12 @@ module Google execute_or_queue_command(command, &block) end - # Undeploys a shared flow revision from an environment. + # Undeploys a shared flow revision from an environment. For a request path ` + # organizations/`org`/environments/`env`/sharedflows/`sf`/revisions/`rev`/ + # deployments`, two permissions are required: * `apigee.deployments.delete` on + # the resource `organizations/`org`/environments/`env`` * `apigee. + # sharedflowrevisions.undeploy` on the resource `organizations/`org`/sharedflows/ + # `sf`/revisions/`rev`` # @param [String] name # Required. Name of the shared flow revision to undeploy in the following format: # `organizations/`org`/environments/`env`/sharedflows/`sharedflow`/revisions/` diff --git a/generated/google/apis/cloudidentity_v1.rb b/generated/google/apis/cloudidentity_v1.rb index 7cab4a0de..c87caa6ec 100644 --- a/generated/google/apis/cloudidentity_v1.rb +++ b/generated/google/apis/cloudidentity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1 VERSION = 'V1' - REVISION = '20200908' + REVISION = '20200912' # See your device details AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup' diff --git a/generated/google/apis/cloudidentity_v1/service.rb b/generated/google/apis/cloudidentity_v1/service.rb index 13e584379..4ab2b732c 100644 --- a/generated/google/apis/cloudidentity_v1/service.rb +++ b/generated/google/apis/cloudidentity_v1/service.rb @@ -808,6 +808,8 @@ module Google # Creates a Group. # @param [Google::Apis::CloudidentityV1::Group] group_object + # @param [String] initial_group_config + # Optional. The initial configuration option for the `Group`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -825,12 +827,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_group(group_object = nil, initial_group_config: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/groups', options) command.request_representation = Google::Apis::CloudidentityV1::Group::Representation command.request_object = group_object command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation command.response_class = Google::Apis::CloudidentityV1::Operation + command.query['initialGroupConfig'] = initial_group_config unless initial_group_config.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 0394b70c9..080b0faeb 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20200828' + REVISION = '20200901' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index dd508d531..2566753fc 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -513,6 +513,12 @@ module Google # @return [Array] attr_accessor :conditions + # ConfidentialNodes is configuration for the confidential nodes feature, which + # makes nodes run on confidential VMs. + # Corresponds to the JSON property `confidentialNodes` + # @return [Google::Apis::ContainerV1beta1::ConfidentialNodes] + attr_accessor :confidential_nodes + # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf. # org/rfc/rfc3339.txt) text format. # Corresponds to the JSON property `createTime` @@ -866,6 +872,7 @@ module Google @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) @cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry) @conditions = args[:conditions] if args.key?(:conditions) + @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes) @create_time = args[:create_time] if args.key?(:create_time) @current_master_version = args[:current_master_version] if args.key?(:current_master_version) @current_node_count = args[:current_node_count] if args.key?(:current_node_count) @@ -1253,6 +1260,27 @@ module Google end end + # ConfidentialNodes is configuration for the confidential nodes feature, which + # makes nodes run on confidential VMs. + class ConfidentialNodes + include Google::Apis::Core::Hashable + + # Whether Confidential Nodes feature is enabled for all nodes in this cluster. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + # Configuration options for the Config Connector add-on. class ConfigConnectorConfig include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 48e6a8d88..0aad9b4ec 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -124,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConfidentialNodes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConfigConnectorConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -803,6 +809,8 @@ module Google collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation + property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation + property :create_time, as: 'createTime' property :current_master_version, as: 'currentMasterVersion' property :current_node_count, as: 'currentNodeCount' @@ -960,6 +968,13 @@ module Google end end + class ConfidentialNodes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + class ConfigConnectorConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v3beta1.rb b/generated/google/apis/dialogflow_v3beta1.rb index 882ce4e54..96da95547 100644 --- a/generated/google/apis/dialogflow_v3beta1.rb +++ b/generated/google/apis/dialogflow_v3beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV3beta1 VERSION = 'V3beta1' - REVISION = '20200903' + REVISION = '20200914' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v3beta1/classes.rb b/generated/google/apis/dialogflow_v3beta1/classes.rb index 7a1e8b1a2..0c96e0e20 100644 --- a/generated/google/apis/dialogflow_v3beta1/classes.rb +++ b/generated/google/apis/dialogflow_v3beta1/classes.rb @@ -679,6 +679,14 @@ module Google attr_accessor :is_list alias_method :is_list?, :is_list + # Indicates whether the parameter content is logged in text and audio. If it is + # set to true, the parameter content will be replaced to parameter name in both + # request and response. The default value is false. + # Corresponds to the JSON property `redact` + # @return [Boolean] + attr_accessor :redact + alias_method :redact?, :redact + # Indicates whether the parameter is required. Optional parameters will not # trigger prompts; however, they are filled if the user specifies them. Required # parameters must be filled before form filling concludes. @@ -698,6 +706,7 @@ module Google @entity_type = args[:entity_type] if args.key?(:entity_type) @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior) @is_list = args[:is_list] if args.key?(:is_list) + @redact = args[:redact] if args.key?(:redact) @required = args[:required] if args.key?(:required) end end @@ -1195,6 +1204,14 @@ module Google attr_accessor :is_list alias_method :is_list?, :is_list + # Indicates whether the parameter content is logged in text and audio. If it is + # set to true, the parameter content will be replaced to parameter id in both + # request and response. The default value is false. + # Corresponds to the JSON property `redact` + # @return [Boolean] + attr_accessor :redact + alias_method :redact?, :redact + def initialize(**args) update!(**args) end @@ -1204,6 +1221,7 @@ module Google @entity_type = args[:entity_type] if args.key?(:entity_type) @id = args[:id] if args.key?(:id) @is_list = args[:is_list] if args.key?(:is_list) + @redact = args[:redact] if args.key?(:redact) end end diff --git a/generated/google/apis/dialogflow_v3beta1/representations.rb b/generated/google/apis/dialogflow_v3beta1/representations.rb index 2e61927d9..813b4578e 100644 --- a/generated/google/apis/dialogflow_v3beta1/representations.rb +++ b/generated/google/apis/dialogflow_v3beta1/representations.rb @@ -1441,6 +1441,7 @@ module Google property :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation property :is_list, as: 'isList' + property :redact, as: 'redact' property :required, as: 'required' end end @@ -1575,6 +1576,7 @@ module Google property :entity_type, as: 'entityType' property :id, as: 'id' property :is_list, as: 'isList' + property :redact, as: 'redact' end end diff --git a/generated/google/apis/firebasehosting_v1beta1.rb b/generated/google/apis/firebasehosting_v1beta1.rb index 2912dc72a..fd44c753b 100644 --- a/generated/google/apis/firebasehosting_v1beta1.rb +++ b/generated/google/apis/firebasehosting_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://firebase.google.com/docs/hosting/ module FirebasehostingV1beta1 VERSION = 'V1beta1' - REVISION = '20200901' + REVISION = '20200914' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/firebasehosting_v1beta1/service.rb b/generated/google/apis/firebasehosting_v1beta1/service.rb index d5d4ef7d6..dd4e8a6d7 100644 --- a/generated/google/apis/firebasehosting_v1beta1/service.rb +++ b/generated/google/apis/firebasehosting_v1beta1/service.rb @@ -687,8 +687,8 @@ module Google # The self-reported size of the version. This value is used for a pre-emptive # quota check for legacy version uploads. # @param [String] version_id - # A unique id for the new version. This is only specified for legacy version - # creations. + # A unique id for the new version. This is was only specified for legacy version + # creations, and should be blank. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1522,8 +1522,8 @@ module Google # The self-reported size of the version. This value is used for a pre-emptive # quota check for legacy version uploads. # @param [String] version_id - # A unique id for the new version. This is only specified for legacy version - # creations. + # A unique id for the new version. This is was only specified for legacy version + # creations, and should be blank. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 947421890..4904cb547 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -30,7 +30,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20200827' + REVISION = '20200910' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index 16e589447..8eb29dced 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -1371,7 +1371,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a ServiceAccountKey. + # Deletes a ServiceAccountKey. Deleting a service account key does not revoke + # short-lived credentials that have been issued based on the service account key. # @param [String] name # Required. The resource name of the service account key in the following format: # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a diff --git a/generated/google/apis/licensing_v1.rb b/generated/google/apis/licensing_v1.rb index 0a5ccb548..1a0f2da74 100644 --- a/generated/google/apis/licensing_v1.rb +++ b/generated/google/apis/licensing_v1.rb @@ -18,14 +18,15 @@ require 'google/apis/licensing_v1/representations.rb' module Google module Apis - # Licensing API + # Enterprise License Manager API # - # Licensing API to view and manage licenses for your domain + # The Google Enterprise License Manager API's allows you to license apps for all + # the users of a domain managed by you. # # @see https://developers.google.com/admin-sdk/licensing/ module LicensingV1 VERSION = 'V1' - REVISION = '20190916' + REVISION = '20200912' # View and manage G Suite licenses for your domain AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing' diff --git a/generated/google/apis/licensing_v1/classes.rb b/generated/google/apis/licensing_v1/classes.rb index c5b52a469..d8dcff2e9 100644 --- a/generated/google/apis/licensing_v1/classes.rb +++ b/generated/google/apis/licensing_v1/classes.rb @@ -108,7 +108,7 @@ module Google end end - # LicesnseAssignment List for a given product/sku for a customer. + # class LicenseAssignmentList include Google::Apis::Core::Hashable diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index 08f7f15bf..41a02cf7a 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -20,9 +20,10 @@ require 'google/apis/errors' module Google module Apis module LicensingV1 - # Licensing API + # Enterprise License Manager API # - # Licensing API to view and manage licenses for your domain + # The Google Enterprise License Manager API's allows you to license apps for all + # the users of a domain managed by you. # # @example # require 'google/apis/licensing_v1' @@ -38,16 +39,12 @@ module Google attr_accessor :key # @return [String] - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. attr_accessor :quota_user - # @return [String] - # Deprecated. Please use quotaUser instead. - attr_accessor :user_ip - def initialize - super('https://www.googleapis.com/', 'apps/licensing/v1/product/') + super('https://www.googleapis.com/', '') @batch_path = 'batch/licensing/v1' end @@ -60,18 +57,15 @@ module Google # in this version of the API, see Products and SKUs. # @param [String] user_id # The user's current primary email address. If the user's email address changes, - # use the new email address in your API requests. - # Since a userId is subject to change, do not use a userId value as a key for - # persistent data. This key could break if the current user's email address - # changes. - # If the userId is suspended, the license status changes. + # use the new email address in your API requests. Since a userId is subject to + # change, do not use a userId value as a key for persistent data. This key could + # break if the current user's email address changes. If the userId is suspended, + # the license status changes. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -84,14 +78,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{productId}/sku/{skuId}/user/{userId}', options) + def delete_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options) command.params['productId'] = product_id unless product_id.nil? command.params['skuId'] = sku_id unless sku_id.nil? command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -104,18 +97,15 @@ module Google # in this version of the API, see Products and SKUs. # @param [String] user_id # The user's current primary email address. If the user's email address changes, - # use the new email address in your API requests. - # Since a userId is subject to change, do not use a userId value as a key for - # persistent data. This key could break if the current user's email address - # changes. - # If the userId is suspended, the license status changes. + # use the new email address in your API requests. Since a userId is subject to + # change, do not use a userId value as a key for persistent data. This key could + # break if the current user's email address changes. If the userId is suspended, + # the license status changes. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -128,8 +118,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{productId}/sku/{skuId}/user/{userId}', options) + def get_license_assignment(product_id, sku_id, user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options) command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.response_class = Google::Apis::LicensingV1::LicenseAssignment command.params['productId'] = product_id unless product_id.nil? @@ -137,7 +127,6 @@ module Google command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -152,10 +141,8 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -168,8 +155,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{productId}/sku/{skuId}/user', options) + def insert_license_assignment(product_id, sku_id, license_assignment_insert_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user', options) command.request_representation = Google::Apis::LicensingV1::LicenseAssignmentInsert::Representation command.request_object = license_assignment_insert_object command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation @@ -178,7 +165,6 @@ module Google command.params['skuId'] = sku_id unless sku_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -188,8 +174,8 @@ module Google # version of the API, see Products and SKUs. # @param [String] customer_id # Customer's customerId. A previous version of this API accepted the primary - # domain name as a value for this field. - # If the customer is suspended, the server returns an error. + # domain name as a value for this field. If the customer is suspended, the + # server returns an error. # @param [Fixnum] max_results # The maxResults query string determines how many entries are returned on each # page of a large response. This is an optional parameter. The value must be a @@ -202,10 +188,8 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -218,8 +202,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{productId}/users', options) + def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/users', options) command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList command.params['productId'] = product_id unless product_id.nil? @@ -228,7 +212,6 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -241,8 +224,8 @@ module Google # in this version of the API, see Products and SKUs. # @param [String] customer_id # Customer's customerId. A previous version of this API accepted the primary - # domain name as a value for this field. - # If the customer is suspended, the server returns an error. + # domain name as a value for this field. If the customer is suspended, the + # server returns an error. # @param [Fixnum] max_results # The maxResults query string determines how many entries are returned on each # page of a large response. This is an optional parameter. The value must be a @@ -255,10 +238,8 @@ module Google # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -271,8 +252,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{productId}/sku/{skuId}/users', options) + def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'apps/licensing/v1/product/{productId}/sku/{skuId}/users', options) command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList command.params['productId'] = product_id unless product_id.nil? @@ -282,12 +263,10 @@ module Google command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Reassign a user's product SKU with a different SKU in the same product. This - # method supports patch semantics. + # Patch a Licensing info via Apiary Patch Orchestration # @param [String] product_id # A product's unique identifier. For more information about products in this # version of the API, see Products and SKUs. @@ -296,19 +275,16 @@ module Google # in this version of the API, see Products and SKUs. # @param [String] user_id # The user's current primary email address. If the user's email address changes, - # use the new email address in your API requests. - # Since a userId is subject to change, do not use a userId value as a key for - # persistent data. This key could break if the current user's email address - # changes. - # If the userId is suspended, the license status changes. + # use the new email address in your API requests. Since a userId is subject to + # change, do not use a userId value as a key for persistent data. This key could + # break if the current user's email address changes. If the userId is suspended, + # the license status changes. # @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -321,8 +297,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{productId}/sku/{skuId}/user/{userId}', options) + def patch_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options) command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.request_object = license_assignment_object command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation @@ -332,7 +308,6 @@ module Google command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -345,19 +320,16 @@ module Google # in this version of the API, see Products and SKUs. # @param [String] user_id # The user's current primary email address. If the user's email address changes, - # use the new email address in your API requests. - # Since a userId is subject to change, do not use a userId value as a key for - # persistent data. This key could break if the current user's email address - # changes. - # If the userId is suspended, the license status changes. + # use the new email address in your API requests. Since a userId is subject to + # change, do not use a userId value as a key for persistent data. This key could + # break if the current user's email address changes. If the userId is suspended, + # the license status changes. # @param [Google::Apis::LicensingV1::LicenseAssignment] license_assignment_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user - # An opaque string that represents a user for quota purposes. Must not exceed 40 - # characters. - # @param [String] user_ip - # Deprecated. Please use quotaUser instead. + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -370,8 +342,8 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{productId}/sku/{skuId}/user/{userId}', options) + def update_license_assignment(product_id, sku_id, user_id, license_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}', options) command.request_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation command.request_object = license_assignment_object command.response_representation = Google::Apis::LicensingV1::LicenseAssignment::Representation @@ -381,7 +353,6 @@ module Google command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end @@ -390,7 +361,6 @@ module Google def apply_command_defaults(command) command.query['key'] = key unless key.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? end end end diff --git a/generated/google/apis/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index 23c80302c..453c3cee0 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -18,7 +18,7 @@ require 'google/apis/reseller_v1/representations.rb' module Google module Apis - # Google Apps Reseller API + # Enterprise Apps Reseller API # # Perform common functions that are available on the Google Apps Reseller # Console at scale like placing orders and viewing customer information @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20200627' + REVISION = '20200911' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/reseller_v1/classes.rb b/generated/google/apis/reseller_v1/classes.rb index 47549f2d3..ca691f058 100644 --- a/generated/google/apis/reseller_v1/classes.rb +++ b/generated/google/apis/reseller_v1/classes.rb @@ -27,8 +27,7 @@ module Google include Google::Apis::Core::Hashable # A customer's physical address. An address can be composed of one to three - # lines. The addressline2 and addressLine3 are - # optional. + # lines. The addressline2 and addressLine3 are optional. # Corresponds to the JSON property `addressLine1` # @return [String] attr_accessor :address_line1 @@ -48,23 +47,19 @@ module Google # @return [String] attr_accessor :contact_name - # For countryCode information, see the ISO 3166 country code - # elements. Verify that country is approved for resale - # of Google products. This property is required when creating a new customer. + # For countryCode information, see the ISO 3166 country code elements. Verify + # that country is approved for resale of Google products. This property is + # required when creating a new customer. # Corresponds to the JSON property `countryCode` # @return [String] attr_accessor :country_code - # Identifies the resource as a customer address. Value: - # customers#address + # Identifies the resource as a customer address. Value: customers#address # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # An example of a locality value is the city of San - # Francisco. + # An example of a locality value is the city of San Francisco. # Corresponds to the JSON property `locality` # @return [String] attr_accessor :locality @@ -74,14 +69,13 @@ module Google # @return [String] attr_accessor :organization_name - # A postalCode example is a postal zip code such as - # 94043. This property is required when creating a new customer. + # A postalCode example is a postal zip code such as 94043. This property is + # required when creating a new customer. # Corresponds to the JSON property `postalCode` # @return [String] attr_accessor :postal_code - # An example of a region value is CA for the state - # of California. + # An example of a region value is CA for the state of California. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -109,44 +103,39 @@ module Google class ChangePlanRequest include Google::Apis::Core::Hashable - # Google-issued code (100 char max) for discounted pricing on subscription - # plans. Deal code must be included in changePlan request in - # order to receive discounted rate. This property is optional. If a deal code - # has already been added to a subscription, this property may be left empty - # and the existing discounted rate will still apply (if not empty, only - # provide the deal code that is already present on the subscription). If a - # deal code has never been added to a subscription and this property is left - # blank, regular pricing will apply. + # Google-issued code (100 char max) for discounted pricing on subscription plans. + # Deal code must be included in changePlan request in order to receive + # discounted rate. This property is optional. If a deal code has already been + # added to a subscription, this property may be left empty and the existing + # discounted rate will still apply (if not empty, only provide the deal code + # that is already present on the subscription). If a deal code has never been + # added to a subscription and this property is left blank, regular pricing will + # apply. # Corresponds to the JSON property `dealCode` # @return [String] attr_accessor :deal_code # Identifies the resource as a subscription change plan request. Value: - # subscriptions#changePlanRequest + # subscriptions#changePlanRequest # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The planName property is required. This is the name of the - # subscription's payment plan. For more information about the Google payment - # plans, see API - # concepts.

Possible values are:
  • - # ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly - # payments
  • ANNUAL_YEARLY_PAY - - # The annual commitment plan with yearly payments
  • - # FLEXIBLE - The flexible plan
  • TRIAL - - # The 30-day free trial plan
+ # The planName property is required. This is the name of the subscription's + # payment plan. For more information about the Google payment plans, see API + # concepts. Possible values are: - ANNUAL_MONTHLY_PAY - The annual commitment + # plan with monthly payments *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL + # in all API responses. - ANNUAL_YEARLY_PAY - The annual commitment plan with + # yearly payments - FLEXIBLE - The flexible plan - TRIAL - The 30-day free trial + # plan # Corresponds to the JSON property `planName` # @return [String] attr_accessor :plan_name # This is an optional property. This purchase order (PO) information is for - # resellers to use for their company tracking usage. If a - # purchaseOrderId value is given it appears in the API responses - # and shows up in the invoice. The property accepts up to 80 plain text - # characters. + # resellers to use for their company tracking usage. If a purchaseOrderId value + # is given it appears in the API responses and shows up in the invoice. The + # property accepts up to 80 plain text characters. # Corresponds to the JSON property `purchaseOrderId` # @return [String] attr_accessor :purchase_order_id @@ -174,18 +163,17 @@ module Google class Customer include Google::Apis::Core::Hashable - # Like the "Customer email" in the reseller tools, this email is - # the secondary contact used if something happens to the - # customer's service such as service outage or a security issue. This - # property is required when creating a new customer and should not use the - # same domain as customerDomain. + # Like the "Customer email" in the reseller tools, this email is the secondary + # contact used if something happens to the customer's service such as service + # outage or a security issue. This property is required when creating a new + # customer and should not use the same domain as customerDomain . # Corresponds to the JSON property `alternateEmail` # @return [String] attr_accessor :alternate_email - # The customer's primary domain name string. customerDomain is - # required when creating a new customer. Do not include the www - # prefix in the domain when adding a customer. + # The customer's primary domain name string. customerDomain is required when + # creating a new customer. Do not include the www prefix in the domain when + # adding a customer. # Corresponds to the JSON property `customerDomain` # @return [String] attr_accessor :customer_domain @@ -196,25 +184,21 @@ module Google attr_accessor :customer_domain_verified alias_method :customer_domain_verified?, :customer_domain_verified - # This property will always be returned in a response as the unique - # identifier generated by Google. In a request, this property can be either - # the primary domain or the unique identifier generated by Google. + # This property will always be returned in a response as the unique identifier + # generated by Google. In a request, this property can be either the primary + # domain or the unique identifier generated by Google. # Corresponds to the JSON property `customerId` # @return [String] attr_accessor :customer_id - # Identifies the resource as a customer. Value: - # reseller#customer + # Identifies the resource as a customer. Value: reseller#customer # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Customer contact phone number. Must start with "+" followed by the country # code. The rest of the number can be contiguous numbers or respect the phone - # local - # format conventions, but it must be a real phone number and not, for + # local format conventions, but it must be a real phone number and not, for # example, "123". This field is silently ignored if invalid. # Corresponds to the JSON property `phoneNumber` # @return [String] @@ -225,9 +209,9 @@ module Google # @return [Google::Apis::ResellerV1::Address] attr_accessor :postal_address - # URL to customer's Admin console dashboard. The read-only URL is - # generated by the API service. This is used if your client application - # requires the customer to complete a task in the Admin console. + # URL to customer's Admin console dashboard. The read-only URL is generated by + # the API service. This is used if your client application requires the customer + # to complete a task in the Admin console. # Corresponds to the JSON property `resourceUiUrl` # @return [String] attr_accessor :resource_ui_url @@ -254,17 +238,14 @@ module Google include Google::Apis::Core::Hashable # Identifies the resource as a subscription renewal setting. Value: - # subscriptions#renewalSettings + # subscriptions#renewalSettings # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Renewal settings for the annual commitment plan. For more detailed - # information, see renewal options in the administrator - # help center. When renewing a subscription, the renewalType - # is a required property. + # Renewal settings for the annual commitment plan. For more detailed information, + # see renewal options in the administrator help center. When renewing a + # subscription, the renewalType is a required property. # Corresponds to the JSON property `renewalType` # @return [String] attr_accessor :renewal_type @@ -328,42 +309,37 @@ module Google class Seats include Google::Apis::Core::Hashable - # Identifies the resource as a subscription seat setting. Value: - # subscriptions#seats + # Identifies the resource as a subscription seat setting. Value: subscriptions# + # seats # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # Read-only field containing the current number of users that are assigned a - # license for the product defined in skuId. This - # field's value is equivalent to the numerical count of users returned by the - # Enterprise License Manager API method: listForProductAndSku + # license for the product defined in skuId. This field's value is equivalent to + # the numerical count of users returned by the Enterprise License Manager API + # method: listForProductAndSku # Corresponds to the JSON property `licensedNumberOfSeats` # @return [Fixnum] attr_accessor :licensed_number_of_seats - # This is a required property and is exclusive to subscriptions with - # FLEXIBLE or TRIAL plans. This property sets the - # maximum number of licensed users allowed on a subscription. This quantity - # can be increased up to the maximum limit defined in the - # reseller's contract. The minimum quantity is the current number of users in - # the customer account. + # This is a required property and is exclusive to subscriptions with FLEXIBLE or + # TRIAL plans. This property sets the maximum number of licensed users allowed + # on a subscription. This quantity can be increased up to the maximum limit + # defined in the reseller's contract. The minimum quantity is the current number + # of users in the customer account. *Note: *G Suite subscriptions automatically + # assign a license to every user. # Corresponds to the JSON property `maximumNumberOfSeats` # @return [Fixnum] attr_accessor :maximum_number_of_seats # This is a required property and is exclusive to subscriptions with - # ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. - # This property sets the maximum number of licenses assignable to users on a - # subscription. The reseller can add more licenses, but once set, the - # numberOfSeats cannot be reduced until renewal. The reseller is - # invoiced based on the numberOfSeats value regardless of how - # many of these user licenses are assigned. + # ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum + # number of licenses assignable to users on a subscription. The reseller can add + # more licenses, but once set, the numberOfSeats cannot be reduced until renewal. + # The reseller is invoiced based on the numberOfSeats value regardless of how + # many of these user licenses are assigned. *Note: *G Suite subscriptions + # automatically assign a license to every user. # Corresponds to the JSON property `numberOfSeats` # @return [Fixnum] attr_accessor :number_of_seats @@ -390,9 +366,8 @@ module Google # @return [String] attr_accessor :billing_method - # The creationTime property is the date when subscription was - # created. It is in milliseconds using the Epoch format. See an example Epoch converter. + # The creationTime property is the date when subscription was created. It is in + # milliseconds using the Epoch format. See an example Epoch converter. # Corresponds to the JSON property `creationTime` # @return [Fixnum] attr_accessor :creation_time @@ -402,41 +377,36 @@ module Google # @return [String] attr_accessor :customer_domain - # This property will always be returned in a response as the unique - # identifier generated by Google. In a request, this property can be either - # the primary domain or the unique identifier generated by Google. + # This property will always be returned in a response as the unique identifier + # generated by Google. In a request, this property can be either the primary + # domain or the unique identifier generated by Google. # Corresponds to the JSON property `customerId` # @return [String] attr_accessor :customer_id - # Google-issued code (100 char max) for discounted pricing on subscription - # plans. Deal code must be included in insert requests in order - # to receive discounted rate. This property is optional, regular pricing - # applies if left empty. + # Google-issued code (100 char max) for discounted pricing on subscription plans. + # Deal code must be included in insert requests in order to receive discounted + # rate. This property is optional, regular pricing applies if left empty. # Corresponds to the JSON property `dealCode` # @return [String] attr_accessor :deal_code - # Identifies the resource as a Subscription. Value: - # reseller#subscription + # Identifies the resource as a Subscription. Value: reseller#subscription # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The plan property is required. In this version of the API, the - # G Suite plans are the flexible plan, annual commitment plan, and the 30-day - # free trial plan. For more information about the API"s payment plans, - # see the API - # concepts. + # The plan property is required. In this version of the API, the G Suite plans + # are the flexible plan, annual commitment plan, and the 30-day free trial plan. + # For more information about the API"s payment plans, see the API concepts. # Corresponds to the JSON property `plan` # @return [Google::Apis::ResellerV1::Subscription::Plan] attr_accessor :plan # This is an optional property. This purchase order (PO) information is for - # resellers to use for their company tracking usage. If a - # purchaseOrderId value is given it appears in the API responses - # and shows up in the invoice. The property accepts up to 80 plain text - # characters. + # resellers to use for their company tracking usage. If a purchaseOrderId value + # is given it appears in the API responses and shows up in the invoice. The + # property accepts up to 80 plain text characters. # Corresponds to the JSON property `purchaseOrderId` # @return [String] attr_accessor :purchase_order_id @@ -446,10 +416,10 @@ module Google # @return [Google::Apis::ResellerV1::RenewalSettings] attr_accessor :renewal_settings - # URL to customer's Subscriptions page in the Admin console. The - # read-only URL is generated by the API service. This is used if your client - # application requires the customer to complete a task using the - # Subscriptions page in the Admin console. + # URL to customer's Subscriptions page in the Admin console. The read-only URL + # is generated by the API service. This is used if your client application + # requires the customer to complete a task using the Subscriptions page in the + # Admin console. # Corresponds to the JSON property `resourceUiUrl` # @return [String] attr_accessor :resource_ui_url @@ -459,20 +429,17 @@ module Google # @return [Google::Apis::ResellerV1::Seats] attr_accessor :seats - # A required property. The skuId is a unique system identifier - # for a product's SKU assigned to a customer in the subscription. For - # products and SKUs available in this version of the API, see Product and SKU - # IDs. + # A required property. The skuId is a unique system identifier for a product's + # SKU assigned to a customer in the subscription. For products and SKUs + # available in this version of the API, see Product and SKU IDs. # Corresponds to the JSON property `skuId` # @return [String] attr_accessor :sku_id - # Read-only external display name for a product's SKU assigned to a - # customer in the subscription. SKU names are subject to change at - # Google's discretion. For products and SKUs available in this version of - # the API, see - # Product and SKU IDs. + # Read-only external display name for a product's SKU assigned to a customer in + # the subscription. SKU names are subject to change at Google's discretion. For + # products and SKUs available in this version of the API, see Product and SKU + # IDs. # Corresponds to the JSON property `skuName` # @return [String] attr_accessor :sku_name @@ -482,48 +449,37 @@ module Google # @return [String] attr_accessor :status - # The subscriptionId is the subscription identifier and is - # unique for each customer. This is a required property. Since a - # subscriptionId changes when a subscription is updated, we - # recommend not using this ID as a key for persistent data. Use the - # subscriptionId as described in retrieve - # all reseller subscriptions. + # The subscriptionId is the subscription identifier and is unique for each + # customer. This is a required property. Since a subscriptionId changes when a + # subscription is updated, we recommend not using this ID as a key for + # persistent data. Use the subscriptionId as described in retrieve all reseller + # subscriptions. # Corresponds to the JSON property `subscriptionId` # @return [String] attr_accessor :subscription_id - # Read-only field containing an enumerable of all the current suspension - # reasons for a subscription. It is possible for a subscription to have many - # concurrent, overlapping suspension reasons. A - # subscription's STATUS is SUSPENDED until all - # pending suspensions are removed.

Possible options include:
    - #
  • PENDING_TOS_ACCEPTANCE - The customer has not logged in - # and accepted the G Suite Resold Terms of Services.
  • - # RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and - # their service was cancelled at the end of their term. - #
  • RESELLER_INITIATED - A manual suspension invoked by - # a Reseller.
  • TRIAL_ENDED - The - # customer's trial expired without a plan selected.
  • - # OTHER - The customer is suspended for an internal Google - # reason (e.g. abuse or otherwise).
+ # Read-only field containing an enumerable of all the current suspension reasons + # for a subscription. It is possible for a subscription to have many concurrent, + # overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all + # pending suspensions are removed. Possible options include: - + # PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G + # Suite Resold Terms of Services. - RENEWAL_WITH_TYPE_CANCEL - The customer's + # commitment ended and their service was cancelled at the end of their term. - + # RESELLER_INITIATED - A manual suspension invoked by a Reseller. - TRIAL_ENDED - + # The customer's trial expired without a plan selected. - OTHER - The customer + # is suspended for an internal Google reason (e.g. abuse or otherwise). # Corresponds to the JSON property `suspensionReasons` # @return [Array] attr_accessor :suspension_reasons # Read-only transfer related information for the subscription. For more - # information, see retrieve - # transferable subscriptions for a customer. + # information, see retrieve transferable subscriptions for a customer. # Corresponds to the JSON property `transferInfo` # @return [Google::Apis::ResellerV1::Subscription::TransferInfo] attr_accessor :transfer_info # The G Suite annual commitment and flexible payment plans can be in a 30-day - # free trial. For more information, see the API concepts. + # free trial. For more information, see the API concepts. # Corresponds to the JSON property `trialSettings` # @return [Google::Apis::ResellerV1::Subscription::TrialSettings] attr_accessor :trial_settings @@ -554,52 +510,39 @@ module Google @trial_settings = args[:trial_settings] if args.key?(:trial_settings) end - # The plan property is required. In this version of the API, the - # G Suite plans are the flexible plan, annual commitment plan, and the 30-day - # free trial plan. For more information about the API"s payment plans, - # see the API - # concepts. + # The plan property is required. In this version of the API, the G Suite plans + # are the flexible plan, annual commitment plan, and the 30-day free trial plan. + # For more information about the API"s payment plans, see the API concepts. class Plan include Google::Apis::Core::Hashable - # In this version of the API, annual commitment plan's interval is one - # year. + # In this version of the API, annual commitment plan's interval is one year. * + # Note: *When billingMethod value is OFFLINE, the subscription property object + # plan.commitmentInterval is omitted in all API responses. # Corresponds to the JSON property `commitmentInterval` # @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval] attr_accessor :commitment_interval - # The isCommitmentPlan property's boolean value identifies - # the plan as an annual commitment plan:
  • true — - # The subscription's plan is an annual commitment - # plan.
  • false — The plan is not an annual - # commitment plan.
+ # The isCommitmentPlan property's boolean value identifies the plan as an annual + # commitment plan: - true — The subscription's plan is an annual commitment plan. + # - false — The plan is not an annual commitment plan. # Corresponds to the JSON property `isCommitmentPlan` # @return [Boolean] attr_accessor :is_commitment_plan alias_method :is_commitment_plan?, :is_commitment_plan - # The planName property is required. This is the name of the - # subscription's plan. For more information about the Google payment - # plans, see the API concepts. - #

Possible values are:
  • ANNUAL_MONTHLY_PAY - # — The annual commitment plan with monthly payments.
  • - # ANNUAL_YEARLY_PAY — The annual commitment plan with - # yearly payments
  • FLEXIBLE — The flexible - # plan
  • TRIAL — The 30-day free trial plan. A - # subscription in trial will be suspended after the 30th free day if no - # payment plan is assigned. Calling changePlan will assign a - # payment plan to a trial but will not activate the plan. A trial will - # automatically begin its assigned payment plan after its 30th free day or - # immediately after calling startPaidService.
  • - # FREE — The free plan is exclusive to the Cloud - # Identity SKU and does not incur any billing.
+ # The planName property is required. This is the name of the subscription's plan. + # For more information about the Google payment plans, see the API concepts. + # Possible values are: - ANNUAL_MONTHLY_PAY — The annual commitment plan with + # monthly payments. *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL in all + # API responses. - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly + # payments - FLEXIBLE — The flexible plan - TRIAL — The 30-day free trial plan. + # A subscription in trial will be suspended after the 30th free day if no + # payment plan is assigned. Calling changePlan will assign a payment plan to a + # trial but will not activate the plan. A trial will automatically begin its + # assigned payment plan after its 30th free day or immediately after calling + # startPaidService. - FREE — The free plan is exclusive to the Cloud Identity + # SKU and does not incur any billing. # Corresponds to the JSON property `planName` # @return [String] attr_accessor :plan_name @@ -615,24 +558,20 @@ module Google @plan_name = args[:plan_name] if args.key?(:plan_name) end - # In this version of the API, annual commitment plan's interval is one - # year. + # In this version of the API, annual commitment plan's interval is one year. * + # Note: *When billingMethod value is OFFLINE, the subscription property object + # plan.commitmentInterval is omitted in all API responses. class CommitmentInterval include Google::Apis::Core::Hashable - # An annual commitment plan's interval's endTime in - # milliseconds using the UNIX Epoch format. See an example Epoch converter. + # An annual commitment plan's interval's endTime in milliseconds using the UNIX + # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `endTime` # @return [Fixnum] attr_accessor :end_time - # An annual commitment plan's interval's startTime in - # milliseconds using UNIX Epoch format. See an example Epoch converter. + # An annual commitment plan's interval's startTime in milliseconds using UNIX + # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `startTime` # @return [Fixnum] attr_accessor :start_time @@ -650,23 +589,20 @@ module Google end # Read-only transfer related information for the subscription. For more - # information, see retrieve - # transferable subscriptions for a customer. + # information, see retrieve transferable subscriptions for a customer. class TransferInfo include Google::Apis::Core::Hashable - # When inserting a subscription, this is the minimum number of seats listed - # in the transfer order for this product. For example, if the customer has - # 20 users, the reseller cannot place a transfer order of 15 seats. The - # minimum is 20 seats. + # When inserting a subscription, this is the minimum number of seats listed in + # the transfer order for this product. For example, if the customer has 20 users, + # the reseller cannot place a transfer order of 15 seats. The minimum is 20 + # seats. # Corresponds to the JSON property `minimumTransferableSeats` # @return [Fixnum] attr_accessor :minimum_transferable_seats - # The time when transfer token or intent to transfer will expire. The time - # is in milliseconds using UNIX Epoch format. + # The time when transfer token or intent to transfer will expire. The time is in + # milliseconds using UNIX Epoch format. # Corresponds to the JSON property `transferabilityExpirationTime` # @return [Fixnum] attr_accessor :transferability_expiration_time @@ -683,23 +619,19 @@ module Google end # The G Suite annual commitment and flexible payment plans can be in a 30-day - # free trial. For more information, see the API concepts. + # free trial. For more information, see the API concepts. class TrialSettings include Google::Apis::Core::Hashable - # Determines if a subscription's plan is in a 30-day free trial or - # not:
  • true — The plan is in - # trial.
  • false — The plan is not in - # trial.
+ # Determines if a subscription's plan is in a 30-day free trial or not: - true — + # The plan is in trial. - false — The plan is not in trial. # Corresponds to the JSON property `isInTrial` # @return [Boolean] attr_accessor :is_in_trial alias_method :is_in_trial?, :is_in_trial - # Date when the trial ends. The value is in milliseconds using the UNIX - # Epoch format. See an example Epoch converter. + # Date when the trial ends. The value is in milliseconds using the UNIX Epoch + # format. See an example Epoch converter. # Corresponds to the JSON property `trialEndTime` # @return [Fixnum] attr_accessor :trial_end_time @@ -720,14 +652,14 @@ module Google class Subscriptions include Google::Apis::Core::Hashable - # Identifies the resource as a collection of subscriptions. Value: - # reseller#subscriptions + # Identifies the resource as a collection of subscriptions. Value: reseller# + # subscriptions # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The continuation token, used to page through large result sets. Provide - # this value in a subsequent request to return the next page of results. + # The continuation token, used to page through large result sets. Provide this + # value in a subsequent request to return the next page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index ce67eab2d..3f90c75e7 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module ResellerV1 - # Google Apps Reseller API + # Enterprise Apps Reseller API # # Perform common functions that are available on the Google Apps Reseller # Console at scale like placing orders and viewing customer information @@ -50,11 +50,10 @@ module Google # Get a customer account. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -85,13 +84,11 @@ module Google # Order a new customer's account. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] customer_auth_token - # The customerAuthToken query string is required when creating a - # resold account that transfers a direct customer's subscription or - # transfers another reseller customer's subscription to your reseller - # management. This is a hexadecimal authentication token needed to complete - # the subscription transfer. For more information, see the administrator - # help center. + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal + # authentication token needed to complete the subscription transfer. For more + # information, see the administrator help center. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -123,11 +120,10 @@ module Google # Patch a customer account's settings via Apiary Patch Orchestration # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -160,11 +156,10 @@ module Google # Update a customer account's settings. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -284,20 +279,16 @@ module Google # Activates a subscription previously suspended by the reseller # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -330,20 +321,16 @@ module Google # trial or a flexible plan subscription to an annual commitment plan with # monthly or yearly payments. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -375,23 +362,19 @@ module Google execute_or_queue_command(command, &block) end - # Update a user license's renewal settings. This is applicable for - # accounts with annual commitment plans only. + # Update a user license's renewal settings. This is applicable for accounts with + # annual commitment plans only. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -423,22 +406,18 @@ module Google execute_or_queue_command(command, &block) end - # Update a subscription's user license settings. + # Update a subscription's user license settings. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::Seats] seats_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -472,23 +451,19 @@ module Google # Cancel, suspend, or transfer a subscription to direct. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] deletion_type - # The deletionType query string enables the cancellation, - # downgrade, or suspension of a subscription. + # The deletionType query string enables the cancellation, downgrade, or + # suspension of a subscription. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -518,20 +493,16 @@ module Google # Get a specific subscription. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -562,21 +533,17 @@ module Google # Create or transfer a subscription. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Subscription] subscription_object # @param [String] customer_auth_token - # The customerAuthToken query string is required when creating a - # resold account that transfers a direct - # customer's subscription or transfers another reseller customer's - # subscription to your reseller management. This is a hexadecimal + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal # authentication token needed to complete the subscription transfer. For more - # information, see the administrator - # help center. + # information, see the administrator help center. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -608,40 +575,30 @@ module Google end # List of subscriptions managed by the reseller. The list can be all - # subscriptions, all of a customer's subscriptions, or all of a - # customer's transferable subscriptions. + # subscriptions, all of a customer's subscriptions, or all of a customer's + # transferable subscriptions. # @param [String] customer_auth_token - # The customerAuthToken query string is required when creating a - # resold account that transfers a direct - # customer's subscription or transfers another reseller customer's - # subscription to your reseller management. This is a hexadecimal + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal # authentication token needed to complete the subscription transfer. For more - # information, see the administrator - # help center. + # information, see the administrator help center. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] customer_name_prefix - # When retrieving all of your subscriptions and filtering for specific - # customers, you can enter a prefix for a customer name. Using an example - # customer group that includes exam.com, - # example20.com and example.com: - #
    - #
  • exa -- Returns all customer names that start with - # 'exa' which could include exam.com, - # example20.com, and example.com. A name prefix is - # similar to using a regular expression's asterisk, exa*.
  • - #
  • example -- Returns example20.com and - # example.com.
  • - #
+ # When retrieving all of your subscriptions and filtering for specific customers, + # you can enter a prefix for a customer name. Using an example customer group + # that includes exam.com, example20.com and example.com: - exa -- Returns all + # customer names that start with 'exa' which could include exam.com, example20. + # com, and example.com. A name prefix is similar to using a regular expression's + # asterisk, exa*. - example -- Returns example20.com and example.com. # @param [Fixnum] max_results - # When retrieving a large list, the maxResults is the maximum - # number of results per page. The nextPageToken value takes you - # to the next page. The default is 20. + # When retrieving a large list, the maxResults is the maximum number of results + # per page. The nextPageToken value takes you to the next page. The default is + # 20. # @param [String] page_token # Token to specify next page in the list # @param [String] fields @@ -678,20 +635,16 @@ module Google # Immediately move a 30-day free trial subscription to a paid service # subscription. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -722,20 +675,16 @@ module Google # Suspends an active subscription. # @param [String] customer_id - # Either the customer's primary domain name or the customer's unique - # identifier. If using the domain name, we do not recommend using a - # customerId as a key for persistent data. If the domain name - # for a customerId is changed, the Google system automatically - # updates. + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # This is a required property. The subscriptionId is the - # subscription identifier and is unique for each customer. Since a - # subscriptionId changes when a subscription is updated, we - # recommend to not use this ID as a key for persistent data. And the - # subscriptionId can be found using the retrieve - # all reseller subscriptions method. + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/tasks_v1.rb b/generated/google/apis/tasks_v1.rb index 9998e572a..20270933b 100644 --- a/generated/google/apis/tasks_v1.rb +++ b/generated/google/apis/tasks_v1.rb @@ -25,7 +25,7 @@ module Google # @see module TasksV1 VERSION = 'V1' - REVISION = '20200811' + REVISION = '20200905' # Create, edit, organize, and delete all your tasks AUTH_TASKS = 'https://www.googleapis.com/auth/tasks' diff --git a/generated/google/apis/tasks_v1/classes.rb b/generated/google/apis/tasks_v1/classes.rb index 1eb5c4296..6597afaed 100644 --- a/generated/google/apis/tasks_v1/classes.rb +++ b/generated/google/apis/tasks_v1/classes.rb @@ -22,7 +22,7 @@ module Google module Apis module TasksV1 - # + # LINT.IfChange class Task include Google::Apis::Core::Hashable diff --git a/generated/google/apis/tasks_v1/service.rb b/generated/google/apis/tasks_v1/service.rb index 2bf71a332..9795bd00c 100644 --- a/generated/google/apis/tasks_v1/service.rb +++ b/generated/google/apis/tasks_v1/service.rb @@ -43,8 +43,8 @@ module Google attr_accessor :quota_user def initialize - super('https://www.googleapis.com/', '') - @batch_path = 'batch/tasks/v1' + super('https://tasks.googleapis.com/', '') + @batch_path = 'batch' end # Deletes the authenticated user's specified task list. @@ -393,7 +393,8 @@ module Google # Token specifying the result page to return. Optional. # @param [Boolean] show_completed # Flag indicating whether completed tasks are returned in the result. Optional. - # The default is True. + # The default is True. Note that showHidden must also be True to show tasks + # completed in first party clients, such as the web UI and Google's mobile apps. # @param [Boolean] show_deleted # Flag indicating whether deleted tasks are returned in the result. Optional. # The default is False. diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index efb9cd32f..f0cf4ddf5 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20200820' + REVISION = '20200914' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 79c10dfab..26aa58150 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -382,7 +382,7 @@ module Google end # A test of an android application that explores the application on a virtual or - # physical Android Device, finding culprits and crashes as it goes. + # physical Android Device, finding culprits and crashes as it goes. Next tag: 29 class AndroidRoboTest include Google::Apis::Core::Hashable @@ -2271,7 +2271,7 @@ module Google attr_accessor :android_instrumentation_test # A test of an android application that explores the application on a virtual or - # physical Android Device, finding culprits and crashes as it goes. + # physical Android Device, finding culprits and crashes as it goes. Next tag: 29 # Corresponds to the JSON property `androidRoboTest` # @return [Google::Apis::TestingV1::AndroidRoboTest] attr_accessor :android_robo_test