diff --git a/api_names_out.yaml b/api_names_out.yaml index daa16aa1b..60f9aae51 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6214,6 +6214,16 @@ "/androidenterprise:v1/AuthenticationToken": authentication_token "/androidenterprise:v1/AuthenticationToken/kind": kind "/androidenterprise:v1/AuthenticationToken/token": token +"/androidenterprise:v1/AutoInstallConstraint": auto_install_constraint +"/androidenterprise:v1/AutoInstallConstraint/chargingStateConstraint": charging_state_constraint +"/androidenterprise:v1/AutoInstallConstraint/deviceIdleStateConstraint": device_idle_state_constraint +"/androidenterprise:v1/AutoInstallConstraint/networkTypeConstraint": network_type_constraint +"/androidenterprise:v1/AutoInstallPolicy": auto_install_policy +"/androidenterprise:v1/AutoInstallPolicy/autoInstallConstraint": auto_install_constraint +"/androidenterprise:v1/AutoInstallPolicy/autoInstallConstraint/auto_install_constraint": auto_install_constraint +"/androidenterprise:v1/AutoInstallPolicy/autoInstallMode": auto_install_mode +"/androidenterprise:v1/AutoInstallPolicy/autoInstallPriority": auto_install_priority +"/androidenterprise:v1/AutoInstallPolicy/minimumVersionCode": minimum_version_code "/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response "/androidenterprise:v1/CollectionsListResponse": list_collections_response "/androidenterprise:v1/ConfigurationVariables": configuration_variables @@ -6421,6 +6431,7 @@ "/androidenterprise:v1/ProductPermissions/permission/permission": permission "/androidenterprise:v1/ProductPermissions/productId": product_id "/androidenterprise:v1/ProductPolicy": product_policy +"/androidenterprise:v1/ProductPolicy/autoInstallPolicy": auto_install_policy "/androidenterprise:v1/ProductPolicy/productId": product_id "/androidenterprise:v1/ProductPolicy/trackIds": track_ids "/androidenterprise:v1/ProductPolicy/trackIds/track_id": track_id diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 2d8de5d1d..d0348093c 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20181120' + REVISION = '20181205' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 41527bc08..339c5cb06 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -529,6 +529,78 @@ module Google end end + # The Auto install constraint. Defines a set of restrictions for installation. + # At least one of the fields must be set. + class AutoInstallConstraint + include Google::Apis::Core::Hashable + + # Charging state to constrain on. + # Corresponds to the JSON property `chargingStateConstraint` + # @return [String] + attr_accessor :charging_state_constraint + + # The idle state of the device to constrain on. + # Corresponds to the JSON property `deviceIdleStateConstraint` + # @return [String] + attr_accessor :device_idle_state_constraint + + # Network type to constrain on. + # Corresponds to the JSON property `networkTypeConstraint` + # @return [String] + attr_accessor :network_type_constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @charging_state_constraint = args[:charging_state_constraint] if args.key?(:charging_state_constraint) + @device_idle_state_constraint = args[:device_idle_state_constraint] if args.key?(:device_idle_state_constraint) + @network_type_constraint = args[:network_type_constraint] if args.key?(:network_type_constraint) + end + end + + # + class AutoInstallPolicy + include Google::Apis::Core::Hashable + + # The constraints for the install. Currently there can be at most one constraint. + # Corresponds to the JSON property `autoInstallConstraint` + # @return [Array] + attr_accessor :auto_install_constraint + + # The auto install mode. If unset defaults to AVAILABLE. + # Corresponds to the JSON property `autoInstallMode` + # @return [String] + attr_accessor :auto_install_mode + + # The priority of the install, as an unsigned integer. Lower number means higher + # priority. + # Corresponds to the JSON property `autoInstallPriority` + # @return [Fixnum] + attr_accessor :auto_install_priority + + # The minimum version of the app. If a lower version of the app is installed + # then the app will be auto-updated according to the auto-install constraints, + # instead of waiting for the regular auto-update. + # Corresponds to the JSON property `minimumVersionCode` + # @return [Fixnum] + attr_accessor :minimum_version_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_install_constraint = args[:auto_install_constraint] if args.key?(:auto_install_constraint) + @auto_install_mode = args[:auto_install_mode] if args.key?(:auto_install_mode) + @auto_install_priority = args[:auto_install_priority] if args.key?(:auto_install_priority) + @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code) + end + end + # A configuration variables resource contains the managed configuration settings # ID to be applied to a single user, as well as the variable set that is # attributed to the user. The variable set will be used to replace placeholders @@ -2078,6 +2150,11 @@ module Google class ProductPolicy include Google::Apis::Core::Hashable + # The auto install policy for the product. + # Corresponds to the JSON property `autoInstallPolicy` + # @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy] + attr_accessor :auto_install_policy + # The ID of the product. For example, "app:com.google.android.gm". # Corresponds to the JSON property `productId` # @return [String] @@ -2101,6 +2178,7 @@ module Google # Update properties of this object def update!(**args) + @auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy) @product_id = args[:product_id] if args.key?(:product_id) @track_ids = args[:track_ids] if args.key?(:track_ids) @tracks = args[:tracks] if args.key?(:tracks) diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index e08ec82eb..8e0589277 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -118,6 +118,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AutoInstallConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoInstallPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConfigurationVariables class Representation < Google::Apis::Core::JsonRepresentation; end @@ -636,6 +648,26 @@ module Google end end + class AutoInstallConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :charging_state_constraint, as: 'chargingStateConstraint' + property :device_idle_state_constraint, as: 'deviceIdleStateConstraint' + property :network_type_constraint, as: 'networkTypeConstraint' + end + end + + class AutoInstallPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :auto_install_constraint, as: 'autoInstallConstraint', class: Google::Apis::AndroidenterpriseV1::AutoInstallConstraint, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallConstraint::Representation + + property :auto_install_mode, as: 'autoInstallMode' + property :auto_install_priority, as: 'autoInstallPriority' + property :minimum_version_code, as: 'minimumVersionCode' + end + end + class ConfigurationVariables # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1034,6 +1066,8 @@ module Google class ProductPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation + property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation + property :product_id, as: 'productId' collection :track_ids, as: 'trackIds' collection :tracks, as: 'tracks' diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 5d058b857..9ee7de421 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20181027' + REVISION = '20181211' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index f4716a4ae..7cea4192a 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -681,7 +681,7 @@ module Google # The resource name of the transfer config. # Transfer config names have the form of - # `projects/`project_id`/location/`region`/transferConfigs/`config_id``. + # `projects/`project_id`/locations/`region`/transferConfigs/`config_id``. # The name is automatically generated based on the config_id specified in # CreateTransferConfigRequest along with project_id and region. If config_id # is not provided, usually a uuid, even though it is not guaranteed or @@ -727,11 +727,7 @@ module Google # @return [String] attr_accessor :update_time - # Output only. Unique ID of the user on whose behalf transfer is done. - # Applicable only to data sources that do not support service accounts. - # When set to 0, the data source service account credentials are used. - # May be negative. Note, that this identifier is not stable. - # It may change over time even for the same user. + # Deprecated. Unique ID of the user on whose behalf transfer is done. # Corresponds to the JSON property `userId` # @return [Fixnum] attr_accessor :user_id @@ -902,11 +898,7 @@ module Google # @return [String] attr_accessor :update_time - # Output only. Unique ID of the user on whose behalf transfer is done. - # Applicable only to data sources that do not support service accounts. - # When set to 0, the data source service account credentials are used. - # May be negative. Note, that this identifier is not stable. - # It may change over time even for the same user. + # Deprecated. Unique ID of the user on whose behalf transfer is done. # Corresponds to the JSON property `userId` # @return [Fixnum] attr_accessor :user_id diff --git a/generated/google/apis/bigquerydatatransfer_v1/service.rb b/generated/google/apis/bigquerydatatransfer_v1/service.rb index f76d645c1..fa225c8ac 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/service.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/service.rb @@ -509,7 +509,7 @@ module Google # @param [String] name # The resource name of the transfer config. # Transfer config names have the form of - # `projects/`project_id`/location/`region`/transferConfigs/`config_id``. + # `projects/`project_id`/locations/`region`/transferConfigs/`config_id``. # The name is automatically generated based on the config_id specified in # CreateTransferConfigRequest along with project_id and region. If config_id # is not provided, usually a uuid, even though it is not guaranteed or @@ -923,7 +923,7 @@ module Google # @param [String] name # The resource name of the transfer config. # Transfer config names have the form of - # `projects/`project_id`/location/`region`/transferConfigs/`config_id``. + # `projects/`project_id`/locations/`region`/transferConfigs/`config_id``. # The name is automatically generated based on the config_id specified in # CreateTransferConfigRequest along with project_id and region. If config_id # is not provided, usually a uuid, even though it is not guaranteed or diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 1b5ebc6a0..b73b02baf 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2 VERSION = 'V2' - REVISION = '20181121' + REVISION = '20181207' # 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_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index af987a047..957451cad 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -3840,11 +3840,11 @@ module Google attr_accessor :faq_question # The system's confidence score that this Knowledge answer is a good match - # for this converstational query, range from 0.0 (completely uncertain) - # to 1.0 (completely certain). + # for this conversational query. + # The range is from 0.0 (completely uncertain) to 1.0 (completely certain). # Note: The confidence score is likely to vary somewhat (possibly even for # identical requests), as the underlying model is under constant - # improvement, we may deprecate it in the future. We recommend using + # improvement. It may be deprecated in the future. We recommend using # `match_confidence_level` which should be generally more stable. # Corresponds to the JSON property `matchConfidence` # @return [Float] diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 401188501..b43f058fe 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow-enterprise/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20181121' + REVISION = '20181207' # 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_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 1cf7b2b18..57680195f 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -3602,11 +3602,11 @@ module Google attr_accessor :faq_question # The system's confidence score that this Knowledge answer is a good match - # for this converstational query, range from 0.0 (completely uncertain) - # to 1.0 (completely certain). + # for this conversational query. + # The range is from 0.0 (completely uncertain) to 1.0 (completely certain). # Note: The confidence score is likely to vary somewhat (possibly even for # identical requests), as the underlying model is under constant - # improvement, we may deprecate it in the future. We recommend using + # improvement. It may be deprecated in the future. We recommend using # `match_confidence_level` which should be generally more stable. # Corresponds to the JSON property `matchConfidence` # @return [Float] diff --git a/generated/google/apis/replicapoolupdater_v1beta1.rb b/generated/google/apis/replicapoolupdater_v1beta1.rb deleted file mode 100644 index c7c471641..000000000 --- a/generated/google/apis/replicapoolupdater_v1beta1.rb +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/replicapoolupdater_v1beta1/service.rb' -require 'google/apis/replicapoolupdater_v1beta1/classes.rb' -require 'google/apis/replicapoolupdater_v1beta1/representations.rb' - -module Google - module Apis - # Google Compute Engine Instance Group Updater API - # - # [Deprecated. Please use compute.instanceGroupManagers.update method. - # replicapoolupdater API will be disabled after December 30th, 2016] Updates - # groups of Compute Engine instances. - # - # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service - module ReplicapoolupdaterV1beta1 - VERSION = 'V1beta1' - REVISION = '20161003' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - - # View your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' - - # View and manage replica pools - AUTH_REPLICAPOOL = 'https://www.googleapis.com/auth/replicapool' - - # View replica pools - AUTH_REPLICAPOOL_READONLY = 'https://www.googleapis.com/auth/replicapool.readonly' - end - end -end diff --git a/generated/google/apis/replicapoolupdater_v1beta1/classes.rb b/generated/google/apis/replicapoolupdater_v1beta1/classes.rb deleted file mode 100644 index 0d065c677..000000000 --- a/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +++ /dev/null @@ -1,733 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ReplicapoolupdaterV1beta1 - - # Update of a single instance. - class InstanceUpdate - include Google::Apis::Core::Hashable - - # Errors that occurred during the instance update. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error] - attr_accessor :error - - # Fully-qualified URL of the instance being updated. - # Corresponds to the JSON property `instance` - # @return [String] - attr_accessor :instance - - # Status of the instance update. Possible values are: - # - "PENDING": The instance update is pending execution. - # - "ROLLING_FORWARD": The instance update is going forward. - # - "ROLLING_BACK": The instance update is being rolled back. - # - "PAUSED": The instance update is temporarily paused (inactive). - # - "ROLLED_OUT": The instance update is finished, the instance is running the - # new template. - # - "ROLLED_BACK": The instance update is finished, the instance has been - # reverted to the previous template. - # - "CANCELLED": The instance update is paused and no longer can be resumed, - # undefined in which template the instance is running. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error = args[:error] if args.key?(:error) - @instance = args[:instance] if args.key?(:instance) - @status = args[:status] if args.key?(:status) - end - - # Errors that occurred during the instance update. - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The array of errors encountered while processing this operation. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @errors = args[:errors] if args.key?(:errors) - end - - # - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The error type identifier for this error. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output Only] Indicates the field in the request that caused the error. This - # property is optional. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # [Output Only] An optional, human-readable error message. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @location = args[:location] if args.key?(:location) - @message = args[:message] if args.key?(:message) - end - end - end - end - - # Response returned by ListInstanceUpdates method. - class InstanceUpdateList - include Google::Apis::Core::Hashable - - # Collection of requested instance updates. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of the resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A token used to continue a truncated list request. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # [Output Only] The fully qualified URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - end - end - - # An operation resource, used to manage asynchronous API requests. - class Operation - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `clientOperationId` - # @return [String] - attr_accessor :client_operation_id - - # [Output Only] Creation timestamp in RFC3339 text format. - # Corresponds to the JSON property `creationTimestamp` - # @return [String] - attr_accessor :creation_timestamp - - # - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # [Output Only] If errors occurred during processing of this operation, this - # field will be populated. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error] - attr_accessor :error - - # - # Corresponds to the JSON property `httpErrorMessage` - # @return [String] - attr_accessor :http_error_message - - # - # Corresponds to the JSON property `httpErrorStatusCode` - # @return [Fixnum] - attr_accessor :http_error_status_code - - # [Output Only] Unique identifier for the resource; defined by the server. - # Corresponds to the JSON property `id` - # @return [Fixnum] - attr_accessor :id - - # [Output Only] The time that this operation was requested. This is in RFC 3339 - # format. - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # [Output Only] Type of the resource. Always replicapoolupdater#operation for - # Operation resources. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # [Output Only] Name of the resource. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # - # Corresponds to the JSON property `progress` - # @return [Fixnum] - attr_accessor :progress - - # [Output Only] URL of the region where the operation resides. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # [Output Only] The fully qualified URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # [Output Only] The time that this operation was started by the server. This is - # in RFC 3339 format. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # [Output Only] Status of the operation. Can be one of the following: "PENDING", - # "RUNNING", or "DONE". - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # [Output Only] An optional textual description of the current status of the - # operation. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - # [Output Only] Unique target id which identifies a particular incarnation of - # the target. - # Corresponds to the JSON property `targetId` - # @return [Fixnum] - attr_accessor :target_id - - # [Output Only] URL of the resource the operation is mutating. - # Corresponds to the JSON property `targetLink` - # @return [String] - attr_accessor :target_link - - # - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - # - # Corresponds to the JSON property `warnings` - # @return [Array] - attr_accessor :warnings - - # [Output Only] URL of the zone where the operation resides. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id) - @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) - @end_time = args[:end_time] if args.key?(:end_time) - @error = args[:error] if args.key?(:error) - @http_error_message = args[:http_error_message] if args.key?(:http_error_message) - @http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code) - @id = args[:id] if args.key?(:id) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @progress = args[:progress] if args.key?(:progress) - @region = args[:region] if args.key?(:region) - @self_link = args[:self_link] if args.key?(:self_link) - @start_time = args[:start_time] if args.key?(:start_time) - @status = args[:status] if args.key?(:status) - @status_message = args[:status_message] if args.key?(:status_message) - @target_id = args[:target_id] if args.key?(:target_id) - @target_link = args[:target_link] if args.key?(:target_link) - @user = args[:user] if args.key?(:user) - @warnings = args[:warnings] if args.key?(:warnings) - @zone = args[:zone] if args.key?(:zone) - end - - # [Output Only] If errors occurred during processing of this operation, this - # field will be populated. - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The array of errors encountered while processing this operation. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @errors = args[:errors] if args.key?(:errors) - end - - # - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The error type identifier for this error. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output Only] Indicates the field in the request that caused the error. This - # property is optional. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # [Output Only] An optional, human-readable error message. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @location = args[:location] if args.key?(:location) - @message = args[:message] if args.key?(:message) - end - end - end - - # - class Warning - include Google::Apis::Core::Hashable - - # [Output only] The warning type identifier for this warning. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output only] Metadata for this warning in key:value format. - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - # [Output only] Optional human-readable details for this warning. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @data = args[:data] if args.key?(:data) - @message = args[:message] if args.key?(:message) - end - - # - class Datum - include Google::Apis::Core::Hashable - - # [Output Only] Metadata key for this warning. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # [Output Only] Metadata value for this warning. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - end - end - - # Contains a list of Operation resources. - class OperationList - include Google::Apis::Core::Hashable - - # [Output Only] Unique identifier for the resource; defined by the server. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # [Output Only] The Operation resources. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of resource. Always replicapoolupdater#operationList for - # OperationList resources. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # [Output Only] A token used to continue a truncate. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # [Output Only] The fully qualified URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - end - end - - # The following represents a resource describing a single update (rollout) of a - # group of instances to the given template. - class RollingUpdate - include Google::Apis::Core::Hashable - - # Specifies the action to take for each instance within the instance group. This - # can be RECREATE which will recreate each instance and is only available for - # managed instance groups. It can also be REBOOT which performs a soft reboot - # for each instance and is only available for regular (non-managed) instance - # groups. - # Corresponds to the JSON property `actionType` - # @return [String] - attr_accessor :action_type - - # [Output Only] Creation timestamp in RFC3339 text format. - # Corresponds to the JSON property `creationTimestamp` - # @return [String] - attr_accessor :creation_timestamp - - # An optional textual description of the resource; provided by the client when - # the resource is created. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # [Output Only] Errors that occurred during the rolling update. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error] - attr_accessor :error - - # [Output Only] Unique identifier for the resource; defined by the server. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Fully-qualified URL of an instance group being updated. Exactly one of - # instanceGroupManager and instanceGroup must be set. - # Corresponds to the JSON property `instanceGroup` - # @return [String] - attr_accessor :instance_group - - # Fully-qualified URL of an instance group manager being updated. Exactly one of - # instanceGroupManager and instanceGroup must be set. - # Corresponds to the JSON property `instanceGroupManager` - # @return [String] - attr_accessor :instance_group_manager - - # Fully-qualified URL of an instance template to apply. - # Corresponds to the JSON property `instanceTemplate` - # @return [String] - attr_accessor :instance_template - - # [Output Only] Type of the resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Fully-qualified URL of the instance template encountered while starting the - # update. - # Corresponds to the JSON property `oldInstanceTemplate` - # @return [String] - attr_accessor :old_instance_template - - # Parameters of the update process. - # Corresponds to the JSON property `policy` - # @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy] - attr_accessor :policy - - # [Output Only] An optional progress indicator that ranges from 0 to 100. There - # is no requirement that this be linear or support any granularity of operations. - # This should not be used to guess at when the update will be complete. This - # number should be monotonically increasing as the update progresses. - # Corresponds to the JSON property `progress` - # @return [Fixnum] - attr_accessor :progress - - # [Output Only] The fully qualified URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - # [Output Only] Status of the update. Possible values are: - # - "ROLLING_FORWARD": The update is going forward. - # - "ROLLING_BACK": The update is being rolled back. - # - "PAUSED": The update is temporarily paused (inactive). - # - "ROLLED_OUT": The update is finished, all instances have been updated - # successfully. - # - "ROLLED_BACK": The update is finished, all instances have been reverted to - # the previous template. - # - "CANCELLED": The update is paused and no longer can be resumed, undefined - # how many instances are running in which template. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # [Output Only] An optional textual description of the current status of the - # update. - # Corresponds to the JSON property `statusMessage` - # @return [String] - attr_accessor :status_message - - # [Output Only] User who requested the update, for example: user@example.com. - # Corresponds to the JSON property `user` - # @return [String] - attr_accessor :user - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action_type = args[:action_type] if args.key?(:action_type) - @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) - @description = args[:description] if args.key?(:description) - @error = args[:error] if args.key?(:error) - @id = args[:id] if args.key?(:id) - @instance_group = args[:instance_group] if args.key?(:instance_group) - @instance_group_manager = args[:instance_group_manager] if args.key?(:instance_group_manager) - @instance_template = args[:instance_template] if args.key?(:instance_template) - @kind = args[:kind] if args.key?(:kind) - @old_instance_template = args[:old_instance_template] if args.key?(:old_instance_template) - @policy = args[:policy] if args.key?(:policy) - @progress = args[:progress] if args.key?(:progress) - @self_link = args[:self_link] if args.key?(:self_link) - @status = args[:status] if args.key?(:status) - @status_message = args[:status_message] if args.key?(:status_message) - @user = args[:user] if args.key?(:user) - end - - # [Output Only] Errors that occurred during the rolling update. - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The array of errors encountered while processing this operation. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @errors = args[:errors] if args.key?(:errors) - end - - # - class Error - include Google::Apis::Core::Hashable - - # [Output Only] The error type identifier for this error. - # Corresponds to the JSON property `code` - # @return [String] - attr_accessor :code - - # [Output Only] Indicates the field in the request that caused the error. This - # property is optional. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - # [Output Only] An optional, human-readable error message. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @location = args[:location] if args.key?(:location) - @message = args[:message] if args.key?(:message) - end - end - end - - # Parameters of the update process. - class Policy - include Google::Apis::Core::Hashable - - # Number of instances to update before the updater pauses the rolling update. - # Corresponds to the JSON property `autoPauseAfterInstances` - # @return [Fixnum] - attr_accessor :auto_pause_after_instances - - # The maximum amount of time that the updater waits for a HEALTHY state after - # all of the update steps are complete. If the HEALTHY state is not received - # before the deadline, the instance update is considered a failure. - # Corresponds to the JSON property `instanceStartupTimeoutSec` - # @return [Fixnum] - attr_accessor :instance_startup_timeout_sec - - # The maximum number of instances that can be updated simultaneously. An - # instance update is considered complete only after the instance is restarted - # and initialized. - # Corresponds to the JSON property `maxNumConcurrentInstances` - # @return [Fixnum] - attr_accessor :max_num_concurrent_instances - - # The maximum number of instance updates that can fail before the group update - # is considered a failure. An instance update is considered failed if any of its - # update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed - # with permanent failure, or if the instance is in an UNHEALTHY state after it - # finishes all of the update actions. - # Corresponds to the JSON property `maxNumFailedInstances` - # @return [Fixnum] - attr_accessor :max_num_failed_instances - - # The minimum amount of time that the updater spends to update each instance. - # Update time is the time it takes to complete all update actions (e.g. Stop - # call on Instance resource in Rolling Reboot), reboot, and initialize. If the - # instance update finishes early, the updater pauses for the remainder of the - # time before it starts the next instance update. - # Corresponds to the JSON property `minInstanceUpdateTimeSec` - # @return [Fixnum] - attr_accessor :min_instance_update_time_sec - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @auto_pause_after_instances = args[:auto_pause_after_instances] if args.key?(:auto_pause_after_instances) - @instance_startup_timeout_sec = args[:instance_startup_timeout_sec] if args.key?(:instance_startup_timeout_sec) - @max_num_concurrent_instances = args[:max_num_concurrent_instances] if args.key?(:max_num_concurrent_instances) - @max_num_failed_instances = args[:max_num_failed_instances] if args.key?(:max_num_failed_instances) - @min_instance_update_time_sec = args[:min_instance_update_time_sec] if args.key?(:min_instance_update_time_sec) - end - end - end - - # Response returned by List method. - class RollingUpdateList - include Google::Apis::Core::Hashable - - # Collection of requested updates. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # [Output Only] Type of the resource. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A token used to continue a truncated list request. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # [Output Only] The fully qualified URL for the resource. - # Corresponds to the JSON property `selfLink` - # @return [String] - attr_accessor :self_link - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @self_link = args[:self_link] if args.key?(:self_link) - end - end - end - end -end diff --git a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb b/generated/google/apis/replicapoolupdater_v1beta1/representations.rb deleted file mode 100644 index 8cf066288..000000000 --- a/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +++ /dev/null @@ -1,294 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ReplicapoolupdaterV1beta1 - - class InstanceUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstanceUpdateList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Warning - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Datum - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class OperationList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RollingUpdate - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Error - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class RollingUpdateList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstanceUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Representation - - property :instance, as: 'instance' - property :status, as: 'status' - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error::Representation - - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :location, as: 'location' - property :message, as: 'message' - end - end - end - end - - class InstanceUpdateList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :client_operation_id, as: 'clientOperationId' - property :creation_timestamp, as: 'creationTimestamp' - property :end_time, as: 'endTime' - property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Representation - - property :http_error_message, as: 'httpErrorMessage' - property :http_error_status_code, as: 'httpErrorStatusCode' - property :id, :numeric_string => true, as: 'id' - property :insert_time, as: 'insertTime' - property :kind, as: 'kind' - property :name, as: 'name' - property :operation_type, as: 'operationType' - property :progress, as: 'progress' - property :region, as: 'region' - property :self_link, as: 'selfLink' - property :start_time, as: 'startTime' - property :status, as: 'status' - property :status_message, as: 'statusMessage' - property :target_id, :numeric_string => true, as: 'targetId' - property :target_link, as: 'targetLink' - property :user, as: 'user' - collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Representation - - property :zone, as: 'zone' - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Error::Representation - - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :location, as: 'location' - property :message, as: 'message' - end - end - end - - class Warning - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :data, as: 'data', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum::Representation - - property :message, as: 'message' - end - - class Datum - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - end - end - - class OperationList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - end - end - - class RollingUpdate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action_type, as: 'actionType' - property :creation_timestamp, as: 'creationTimestamp' - property :description, as: 'description' - property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Representation - - property :id, as: 'id' - property :instance_group, as: 'instanceGroup' - property :instance_group_manager, as: 'instanceGroupManager' - property :instance_template, as: 'instanceTemplate' - property :kind, as: 'kind' - property :old_instance_template, as: 'oldInstanceTemplate' - property :policy, as: 'policy', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy::Representation - - property :progress, as: 'progress' - property :self_link, as: 'selfLink' - property :status, as: 'status' - property :status_message, as: 'statusMessage' - property :user, as: 'user' - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Error::Representation - - end - - class Error - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :location, as: 'location' - property :message, as: 'message' - end - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :auto_pause_after_instances, as: 'autoPauseAfterInstances' - property :instance_startup_timeout_sec, as: 'instanceStartupTimeoutSec' - property :max_num_concurrent_instances, as: 'maxNumConcurrentInstances' - property :max_num_failed_instances, as: 'maxNumFailedInstances' - property :min_instance_update_time_sec, as: 'minInstanceUpdateTimeSec' - end - end - end - - class RollingUpdateList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Representation - - property :kind, as: 'kind' - property :next_page_token, as: 'nextPageToken' - property :self_link, as: 'selfLink' - end - end - end - end -end diff --git a/generated/google/apis/replicapoolupdater_v1beta1/service.rb b/generated/google/apis/replicapoolupdater_v1beta1/service.rb deleted file mode 100644 index 313d93b61..000000000 --- a/generated/google/apis/replicapoolupdater_v1beta1/service.rb +++ /dev/null @@ -1,488 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ReplicapoolupdaterV1beta1 - # Google Compute Engine Instance Group Updater API - # - # [Deprecated. Please use compute.instanceGroupManagers.update method. - # replicapoolupdater API will be disabled after December 30th, 2016] Updates - # groups of Compute Engine instances. - # - # @example - # require 'google/apis/replicapoolupdater_v1beta1' - # - # Replicapoolupdater = Google::Apis::ReplicapoolupdaterV1beta1 # Alias the module - # service = Replicapoolupdater::ReplicapoolupdaterService.new - # - # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service - class ReplicapoolupdaterService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - - # @return [String] - # An opaque string that represents a user for quota purposes. Must 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/', 'replicapoolupdater/v1beta1/projects/') - @batch_path = 'batch/replicapoolupdater/v1beta1' - end - - # Cancels an update. The update must be PAUSED before it can be cancelled. This - # has no effect if the update is already CANCELLED. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_rolling_update(project, zone, rolling_update, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/cancel', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.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 - - # Returns information about an update. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate] - # - # @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_rolling_update(project, zone, rolling_update, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Inserts and starts a new update. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate] rolling_update_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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_rolling_update(project, zone, rolling_update_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/rollingUpdates', options) - command.request_representation = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Representation - command.request_object = rolling_update_object - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.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 - - # Lists recent updates for a given managed instance group, in reverse - # chronological order and paginated format. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] filter - # Optional. Filter expression for filtering listed resources. - # @param [Fixnum] max_results - # Optional. Maximum count of results to be returned. Maximum value is 500 and - # default value is 500. - # @param [String] page_token - # Optional. Tag returned by a previous list request truncated by maxResults. - # Used to continue a previous list request. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList] - # - # @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_rolling_updates(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/rollingUpdates', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdateList - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.query['filter'] = filter unless filter.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists the current status for each instance within a given update. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @param [String] filter - # Optional. Filter expression for filtering listed resources. - # @param [Fixnum] max_results - # Optional. Maximum count of results to be returned. Maximum value is 500 and - # default value is 500. - # @param [String] page_token - # Optional. Tag returned by a previous list request truncated by maxResults. - # Used to continue a previous list request. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdateList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdateList] - # - # @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_instance_updates(project, zone, rolling_update, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/instanceUpdates', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdateList::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdateList - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.nil? - command.query['filter'] = filter unless filter.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no effect - # if invoked when the state of the update is PAUSED. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def pause_rolling_update(project, zone, rolling_update, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/pause', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.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 - - # Continues an update in PAUSED state. Has no effect if invoked when the state - # of the update is ROLLED_OUT. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def resume_rolling_update(project, zone, rolling_update, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/resume', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.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 - - # Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect - # if invoked when the state of the update is ROLLED_BACK. - # @param [String] project - # The Google Developers Console project name. - # @param [String] zone - # The name of the zone in which the update's target resides. - # @param [String] rolling_update - # The name of the update. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def rollback_rolling_update(project, zone, rolling_update, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/rollingUpdates/{rollingUpdate}/rollback', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['rollingUpdate'] = rolling_update unless rolling_update.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the specified zone-specific operation resource. - # @param [String] project - # Name of the project scoping this request. - # @param [String] zone - # Name of the zone scoping this request. - # @param [String] operation - # Name of the operation resource to return. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::Operation - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.params['operation'] = operation unless operation.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the list of Operation resources contained within the specified zone. - # @param [String] project - # Name of the project scoping this request. - # @param [String] zone - # Name of the zone scoping this request. - # @param [String] filter - # Optional. Filter expression for filtering listed resources. - # @param [Fixnum] max_results - # Optional. Maximum count of results to be returned. Maximum value is 500 and - # default value is 500. - # @param [String] page_token - # Optional. Tag returned by a previous list request truncated by maxResults. - # Used to continue a previous list request. - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ReplicapoolupdaterV1beta1::OperationList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ReplicapoolupdaterV1beta1::OperationList] - # - # @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_zone_operations(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) - command.response_representation = Google::Apis::ReplicapoolupdaterV1beta1::OperationList::Representation - command.response_class = Google::Apis::ReplicapoolupdaterV1beta1::OperationList - command.params['project'] = project unless project.nil? - command.params['zone'] = zone unless zone.nil? - command.query['filter'] = filter unless filter.nil? - command.query['maxResults'] = max_results unless max_results.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - protected - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/runtimeconfig_v1beta1.rb b/generated/google/apis/runtimeconfig_v1beta1.rb index 1dbda4d8d..5c9962716 100644 --- a/generated/google/apis/runtimeconfig_v1beta1.rb +++ b/generated/google/apis/runtimeconfig_v1beta1.rb @@ -28,7 +28,7 @@ module Google # @see https://cloud.google.com/deployment-manager/runtime-configurator/ module RuntimeconfigV1beta1 VERSION = 'V1beta1' - REVISION = '20181105' + REVISION = '20181210' # 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/runtimeconfig_v1beta1/classes.rb b/generated/google/apis/runtimeconfig_v1beta1/classes.rb index e42cbd100..2aa31c548 100644 --- a/generated/google/apis/runtimeconfig_v1beta1/classes.rb +++ b/generated/google/apis/runtimeconfig_v1beta1/classes.rb @@ -719,7 +719,9 @@ module Google # The binary value of the variable. The length of the value must be less # than 4096 bytes. Empty values are also accepted. The value must be - # base64 encoded. Only one of `value` or `text` can be set. + # base64 encoded, and must comply with IETF RFC4648 + # (https://www.ietf.org/rfc/rfc4648.txt). Only one of `value` or `text` + # can be set. # Corresponds to the JSON property `value` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index f17eb249f..aca55ccce 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 = '20181127' + REVISION = '20181211' # 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 59a0347e1..9f1ec709f 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -22,7 +22,7 @@ module Google module Apis module TestingV1 - # Identifies an account and how to log into it + # Identifies an account and how to log into it. class Account include Google::Apis::Core::Hashable @@ -51,30 +51,26 @@ module Google class AndroidDevice include Google::Apis::Core::Hashable - # The id of the Android device to be used. + # Required. The id of the Android device to be used. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `androidModelId` # @return [String] attr_accessor :android_model_id - # The id of the Android OS version to be used. + # Required. The id of the Android OS version to be used. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `androidVersionId` # @return [String] attr_accessor :android_version_id - # The locale the test device used for testing. + # Required. The locale the test device used for testing. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `locale` # @return [String] attr_accessor :locale - # How the device is oriented during the test. + # Required. How the device is oriented during the test. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `orientation` # @return [String] attr_accessor :orientation @@ -97,7 +93,6 @@ module Google include Google::Apis::Core::Hashable # The set of supported Android device models. - # @OutputOnly # Corresponds to the JSON property `models` # @return [Array] attr_accessor :models @@ -108,7 +103,6 @@ module Google attr_accessor :runtime_configuration # The set of supported Android OS versions. - # @OutputOnly # Corresponds to the JSON property `versions` # @return [Array] attr_accessor :versions @@ -129,8 +123,7 @@ module Google class AndroidDeviceList include Google::Apis::Core::Hashable - # A list of Android devices - # Required + # Required. A list of Android devices. # Corresponds to the JSON property `androidDevices` # @return [Array] attr_accessor :android_devices @@ -170,7 +163,7 @@ module Google attr_accessor :app_bundle # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. + # The default value is determined by examining the application's manifest. # Corresponds to the JSON property `appPackageId` # @return [String] attr_accessor :app_package_id @@ -187,7 +180,7 @@ module Google # # for more information about Android Test Orchestrator. - # Optional. If not set, the test will be run without the orchestrator. + # If not set, the test will be run without the orchestrator. # Corresponds to the JSON property `orchestratorOption` # @return [String] attr_accessor :orchestrator_option @@ -198,13 +191,13 @@ module Google attr_accessor :test_apk # The java package for the test to be executed. - # Optional, default is determined by examining the application's manifest. + # The default value is determined by examining the application's manifest. # Corresponds to the JSON property `testPackageId` # @return [String] attr_accessor :test_package_id # The InstrumentationTestRunner class. - # Optional, default is determined by examining the application's manifest. + # The default value is determined by examining the application's manifest. # Corresponds to the JSON property `testRunnerClass` # @return [String] attr_accessor :test_runner_class @@ -214,7 +207,7 @@ module Google # - "package package_name" # - "class package_name.class_name" # - "class package_name.class_name#method_name" - # Optional, if empty, all targets in the module will be run. + # If empty, all targets in the module will be run. # Corresponds to the JSON property `testTargets` # @return [Array] attr_accessor :test_targets @@ -237,37 +230,33 @@ module Google end # A set of Android device configuration permutations is defined by the - # the cross-product of the given axes. Internally, the given AndroidMatrix + # the cross-product of the given axes. Internally, the given AndroidMatrix # will be expanded into a set of AndroidDevices. # Only supported permutations will be instantiated. Invalid permutations # (e.g., incompatible models/versions) are ignored. class AndroidMatrix include Google::Apis::Core::Hashable - # The ids of the set of Android device to be used. + # Required. The ids of the set of Android device to be used. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `androidModelIds` # @return [Array] attr_accessor :android_model_ids - # The ids of the set of Android OS version to be used. + # Required. The ids of the set of Android OS version to be used. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `androidVersionIds` # @return [Array] attr_accessor :android_version_ids - # The set of locales the test device will enable for testing. + # Required. The set of locales the test device will enable for testing. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `locales` # @return [Array] attr_accessor :locales - # The set of orientations to test with. + # Required. The set of orientations to test with. # Use the EnvironmentDiscoveryService to get supported options. - # Required # Corresponds to the JSON property `orientations` # @return [Array] attr_accessor :orientations @@ -290,74 +279,63 @@ module Google include Google::Apis::Core::Hashable # The company that this device is branded with. - # Example: "Google", "Samsung" - # @OutputOnly + # Example: "Google", "Samsung". # Corresponds to the JSON property `brand` # @return [String] attr_accessor :brand # The name of the industrial design. - # This corresponds to android.os.Build.DEVICE - # @OutputOnly + # This corresponds to android.os.Build.DEVICE. # Corresponds to the JSON property `codename` # @return [String] attr_accessor :codename # Whether this device is virtual or physical. - # @OutputOnly # Corresponds to the JSON property `form` # @return [String] attr_accessor :form # Whether this device is a phone, tablet, wearable, etc. - # @OutputOnly # Corresponds to the JSON property `formFactor` # @return [String] attr_accessor :form_factor # The unique opaque id for this model. # Use this for invoking the TestExecutionService. - # @OutputOnly # Corresponds to the JSON property `id` # @return [String] attr_accessor :id # True if and only if tests with this model are recorded by stitching # together screenshots. See use_low_spec_video_recording in device config. - # @OutputOnly # Corresponds to the JSON property `lowFpsVideoRecording` # @return [Boolean] attr_accessor :low_fps_video_recording alias_method :low_fps_video_recording?, :low_fps_video_recording # The manufacturer of this device. - # @OutputOnly # Corresponds to the JSON property `manufacturer` # @return [String] attr_accessor :manufacturer # The human-readable marketing name for this device model. - # Examples: "Nexus 5", "Galaxy S5" - # @OutputOnly + # Examples: "Nexus 5", "Galaxy S5". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Screen density in DPI. # This corresponds to ro.sf.lcd_density - # @OutputOnly # Corresponds to the JSON property `screenDensity` # @return [Fixnum] attr_accessor :screen_density # Screen size in the horizontal (X) dimension measured in pixels. - # @OutputOnly # Corresponds to the JSON property `screenX` # @return [Fixnum] attr_accessor :screen_x # Screen size in the vertical (Y) dimension measured in pixels. - # @OutputOnly # Corresponds to the JSON property `screenY` # @return [Fixnum] attr_accessor :screen_y @@ -369,19 +347,17 @@ module Google # Elements are optionally prefixed by "version_id:" (where version_id is # the id of an AndroidVersion), denoting an ABI that is supported only on # a particular version. - # @OutputOnly # Corresponds to the JSON property `supportedAbis` # @return [Array] attr_accessor :supported_abis # The set of Android versions this device supports. - # @OutputOnly # Corresponds to the JSON property `supportedVersionIds` # @return [Array] attr_accessor :supported_version_ids # Tags for this dimension. - # Examples: "default", "preview", "deprecated" + # Examples: "default", "preview", "deprecated". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags @@ -428,13 +404,12 @@ module Google attr_accessor :app_bundle # The initial activity that should be used to start the app. - # Optional # Corresponds to the JSON property `appInitialActivity` # @return [String] attr_accessor :app_initial_activity # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. + # The default value is determined by examining the application's manifest. # Corresponds to the JSON property `appPackageId` # @return [String] attr_accessor :app_package_id @@ -442,14 +417,12 @@ module Google # The max depth of the traversal stack Robo can explore. Needs to be at least # 2 to make Robo explore the app beyond the first activity. # Default is 50. - # Optional # Corresponds to the JSON property `maxDepth` # @return [Fixnum] attr_accessor :max_depth # The max number of steps Robo can execute. # Default is no limit. - # Optional # Corresponds to the JSON property `maxSteps` # @return [Fixnum] attr_accessor :max_steps @@ -457,7 +430,6 @@ module Google # A set of directives Robo should apply during the crawl. # This allows users to customize the crawl. For example, the username and # password for a test account can be provided. - # Optional # Corresponds to the JSON property `roboDirectives` # @return [Array] attr_accessor :robo_directives @@ -498,13 +470,11 @@ module Google include Google::Apis::Core::Hashable # The set of available locales. - # @OutputOnly # Corresponds to the JSON property `locales` # @return [Array] attr_accessor :locales # The set of available orientations. - # @OutputOnly # Corresponds to the JSON property `orientations` # @return [Array] attr_accessor :orientations @@ -521,7 +491,7 @@ module Google end # A test of an Android Application with a Test Loop. - # The intent will be implicitly added, since Games is the only + # The intent \ will be implicitly added, since Games is the only # user of this api, for the time being. class AndroidTestLoop include Google::Apis::Core::Hashable @@ -540,7 +510,7 @@ module Google attr_accessor :app_bundle # The java package for the application under test. - # Optional, default is determined by examining the application's manifest. + # The default is determined by examining the application's manifest. # Corresponds to the JSON property `appPackageId` # @return [String] attr_accessor :app_package_id @@ -551,13 +521,13 @@ module Google # com.google.test.loops.player_experience add all of the loops labeled in the # manifest with the com.google.test.loops.player_experience name to the # execution. - # Optional. Scenarios can also be specified in the scenarios field. + # Scenarios can also be specified in the scenarios field. # Corresponds to the JSON property `scenarioLabels` # @return [Array] attr_accessor :scenario_labels # The list of scenarios that should be run during the test. - # Optional, default is all test loops, derived from the application's + # The default is all test loops, derived from the application's # manifest. # Corresponds to the JSON property `scenarios` # @return [Array] @@ -577,20 +547,18 @@ module Google end end - # A version of the Android OS + # A version of the Android OS. class AndroidVersion include Google::Apis::Core::Hashable # The API level for this Android version. - # Examples: 18, 19 - # @OutputOnly + # Examples: 18, 19. # Corresponds to the JSON property `apiLevel` # @return [Fixnum] attr_accessor :api_level # The code name for this Android version. - # Examples: "JellyBean", "KitKat" - # @OutputOnly + # Examples: "JellyBean", "KitKat". # Corresponds to the JSON property `codeName` # @return [String] attr_accessor :code_name @@ -603,7 +571,6 @@ module Google # An opaque id for this Android version. # Use this id to invoke the TestExecutionService. - # @OutputOnly # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -621,14 +588,13 @@ module Google attr_accessor :release_date # Tags for this dimension. - # Examples: "default", "preview", "deprecated" + # Examples: "default", "preview", "deprecated". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags # A string representing this version of the Android OS. - # Examples: "4.3", "4.4" - # @OutputOnly + # Examples: "4.3", "4.4". # Corresponds to the JSON property `versionString` # @return [String] attr_accessor :version_string @@ -659,7 +625,7 @@ module Google attr_accessor :location # The java package for the APK to be installed. - # Optional, value is determined by examining the application's manifest. + # Value is determined by examining the application's manifest. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name @@ -676,7 +642,7 @@ module Google end # Android application details based on application manifest and apk archive - # contents + # contents. class ApkDetail include Google::Apis::Core::Hashable @@ -793,8 +759,7 @@ module Google # @return [Array] attr_accessor :client_info_details - # Client name, such as gcloud. - # Required + # Required. Client name, such as gcloud. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -811,18 +776,16 @@ module Google end # Key-value pair of detailed information about the client which invoked the - # test. For example `'Version', '1.0'`, `'Release Track', 'BETA'` + # test. Examples: `'Version', '1.0'`, `'Release Track', 'BETA'`. class ClientInfoDetail include Google::Apis::Core::Hashable - # The key of detailed client information. - # Required + # Required. The key of detailed client information. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key - # The value of detailed client information. - # Required + # Required. The value of detailed client information. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -884,12 +847,12 @@ module Google class DeviceFile include Google::Apis::Core::Hashable - # An opaque binary blob file to install on the device before the test starts + # An opaque binary blob file to install on the device before the test starts. # Corresponds to the JSON property `obbFile` # @return [Google::Apis::TestingV1::ObbFile] attr_accessor :obb_file - # A file or directory to install on the device before the test starts + # A file or directory to install on the device before the test starts. # Corresponds to the JSON property `regularFile` # @return [Google::Apis::TestingV1::RegularFile] attr_accessor :regular_file @@ -910,14 +873,13 @@ module Google class Distribution include Google::Apis::Core::Hashable - # The estimated fraction (0-1) of the total market with this configuration. - # @OutputOnly + # Output only. The estimated fraction (0-1) of the total market with this + # configuration. # Corresponds to the JSON property `marketShare` # @return [Float] attr_accessor :market_share - # The time this distribution was measured. - # @OutputOnly + # Output only. The time this distribution was measured. # Corresponds to the JSON property `measurementTime` # @return [String] attr_accessor :measurement_time @@ -968,7 +930,7 @@ module Google attr_accessor :android_device_list # A set of Android device configuration permutations is defined by the - # the cross-product of the given axes. Internally, the given AndroidMatrix + # the cross-product of the given axes. Internally, the given AndroidMatrix # will be expanded into a set of AndroidDevices. # Only supported permutations will be instantiated. Invalid permutations # (e.g., incompatible models/versions) are ignored. @@ -993,16 +955,16 @@ module Google end end - # A key-value pair passed as an environment variable to the test + # A key-value pair passed as an environment variable to the test. class EnvironmentVariable include Google::Apis::Core::Hashable - # Key for the environment variable + # Key for the environment variable. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key - # Value for the environment variable + # Value for the environment variable. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -1043,7 +1005,7 @@ module Google include Google::Apis::Core::Hashable # Android application details based on application manifest and apk archive - # contents + # contents. # Corresponds to the JSON property `apkDetail` # @return [Google::Apis::TestingV1::ApkDetail] attr_accessor :apk_detail @@ -1081,11 +1043,10 @@ module Google class GoogleCloudStorage include Google::Apis::Core::Hashable - # The path to a directory in GCS that will + # Required. The path to a directory in GCS that will # eventually contain the results for this test. # The requesting user must have write access on the bucket in the supplied # path. - # Required # Corresponds to the JSON property `gcsPath` # @return [String] attr_accessor :gcs_path @@ -1105,17 +1066,17 @@ module Google class IntentFilter include Google::Apis::Core::Hashable - # The android:name value of the tag + # The android:name value of the tag. # Corresponds to the JSON property `actionNames` # @return [Array] attr_accessor :action_names - # The android:name value of the tag + # The android:name value of the tag. # Corresponds to the JSON property `categoryNames` # @return [Array] attr_accessor :category_names - # The android:mimeType value of the tag + # The android:mimeType value of the tag. # Corresponds to the JSON property `mimeType` # @return [String] attr_accessor :mime_type @@ -1177,7 +1138,7 @@ module Google class IosDeviceCatalog include Google::Apis::Core::Hashable - # Output only. The set of supported iOS device models. + # The set of supported iOS device models. # Corresponds to the JSON property `models` # @return [Array] attr_accessor :models @@ -1187,12 +1148,12 @@ module Google # @return [Google::Apis::TestingV1::IosRuntimeConfiguration] attr_accessor :runtime_configuration - # Output only. The set of supported iOS software versions. + # The set of supported iOS software versions. # Corresponds to the JSON property `versions` # @return [Array] attr_accessor :versions - # Output only. The set of supported Xcode versions. + # The set of supported Xcode versions. # Corresponds to the JSON property `xcodeVersions` # @return [Array] attr_accessor :xcode_versions @@ -1214,7 +1175,7 @@ module Google class IosDeviceList include Google::Apis::Core::Hashable - # Required. A list of iOS devices + # Required. A list of iOS devices. # Corresponds to the JSON property `iosDevices` # @return [Array] attr_accessor :ios_devices @@ -1233,7 +1194,7 @@ module Google class IosModel include Google::Apis::Core::Hashable - # Output only. Device capabilities. + # Device capabilities. # Copied from # https://developer.apple.com/library/archive/documentation/DeviceInformation/ # Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/ @@ -1243,30 +1204,29 @@ module Google attr_accessor :device_capabilities # Whether this device is a phone, tablet, wearable, etc. - # @OutputOnly # Corresponds to the JSON property `formFactor` # @return [String] attr_accessor :form_factor - # Output only. The unique opaque id for this model. + # The unique opaque id for this model. # Use this for invoking the TestExecutionService. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Output only. The human-readable name for this device model. - # Examples: "iPhone 4s", "iPad Mini 2" + # The human-readable name for this device model. + # Examples: "iPhone 4s", "iPad Mini 2". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Output only. The set of iOS major software versions this device supports. + # The set of iOS major software versions this device supports. # Corresponds to the JSON property `supportedVersionIds` # @return [Array] attr_accessor :supported_version_ids - # Output only. Tags for this dimension. - # Examples: "default", "preview", "deprecated" + # Tags for this dimension. + # Examples: "default", "preview", "deprecated". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags @@ -1290,12 +1250,12 @@ module Google class IosRuntimeConfiguration include Google::Apis::Core::Hashable - # Output only. The set of available locales. + # The set of available locales. # Corresponds to the JSON property `locales` # @return [Array] attr_accessor :locales - # Output only. The set of available orientations. + # The set of available orientations. # Corresponds to the JSON property `orientations` # @return [Array] attr_accessor :orientations @@ -1315,7 +1275,7 @@ module Google class IosTestSetup include Google::Apis::Core::Hashable - # Optional. The network traffic profile used for running the test. + # The network traffic profile used for running the test. # Available network profiles can be queried by using the # NETWORK_CONFIGURATION environment type when calling # TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog. @@ -1333,35 +1293,35 @@ module Google end end - # An iOS version + # An iOS version. class IosVersion include Google::Apis::Core::Hashable - # Output only. An opaque id for this iOS version. + # An opaque id for this iOS version. # Use this id to invoke the TestExecutionService. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Output only. An integer representing the major iOS version. - # Examples: "8", "9" + # An integer representing the major iOS version. + # Examples: "8", "9". # Corresponds to the JSON property `majorVersion` # @return [Fixnum] attr_accessor :major_version - # Output only. An integer representing the minor iOS version. - # Examples: "1", "2" + # An integer representing the minor iOS version. + # Examples: "1", "2". # Corresponds to the JSON property `minorVersion` # @return [Fixnum] attr_accessor :minor_version - # Output only. The available Xcode versions for this version. + # The available Xcode versions for this version. # Corresponds to the JSON property `supportedXcodeVersionIds` # @return [Array] attr_accessor :supported_xcode_version_ids - # Output only. Tags for this dimension. - # Examples: "default", "preview", "deprecated" + # Tags for this dimension. + # Examples: "default", "preview", "deprecated". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags @@ -1394,7 +1354,7 @@ module Google # @return [Google::Apis::TestingV1::FileReference] attr_accessor :tests_zip - # Optional. The Xcode version that should be used for the test. + # The Xcode version that should be used for the test. # Use the EnvironmentDiscoveryService to get supported options. # Defaults to the latest Xcode version Firebase Test Lab supports. # Corresponds to the JSON property `xcodeVersion` @@ -1436,29 +1396,25 @@ module Google include Google::Apis::Core::Hashable # The id for this locale. - # Example: "en_US" - # @OutputOnly + # Example: "en_US". # Corresponds to the JSON property `id` # @return [String] attr_accessor :id # A human-friendly name for this language/locale. - # Example: "English" - # @OutputOnly + # Example: "English". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A human-friendly string representing the region for this locale. - # Example: "United States" - # Not present for every locale. - # @OutputOnly + # A human-friendly string representing the region for this + # locale. Example: "United States". Not present for every locale. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region # Tags for this dimension. - # Examples: "default" + # Example: "default". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags @@ -1480,18 +1436,17 @@ module Google class NetworkConfiguration include Google::Apis::Core::Hashable - # Network emulation parameters + # Network emulation parameters. # Corresponds to the JSON property `downRule` # @return [Google::Apis::TestingV1::TrafficRule] attr_accessor :down_rule - # The unique opaque id for this network traffic configuration - # @OutputOnly + # The unique opaque id for this network traffic configuration. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Network emulation parameters + # Network emulation parameters. # Corresponds to the JSON property `upRule` # @return [Google::Apis::TestingV1::TrafficRule] attr_accessor :up_rule @@ -1527,7 +1482,7 @@ module Google end end - # An opaque binary blob file to install on the device before the test starts + # An opaque binary blob file to install on the device before the test starts. class ObbFile include Google::Apis::Core::Hashable @@ -1536,13 +1491,12 @@ module Google # @return [Google::Apis::TestingV1::FileReference] attr_accessor :obb - # OBB file name which must conform to the format as specified by + # Required. OBB file name which must conform to the format as specified by # Android # e.g. [main|patch].0300110.com.example.android.obb # which will be installed into - # /Android/obb// - # on the device - # Required + # \/Android/obb/\/ + # on the device. # Corresponds to the JSON property `obbFileName` # @return [String] attr_accessor :obb_file_name @@ -1563,21 +1517,19 @@ module Google include Google::Apis::Core::Hashable # The id for this orientation. - # Example: "portrait" - # @OutputOnly + # Example: "portrait". # Corresponds to the JSON property `id` # @return [String] attr_accessor :id # A human-friendly name for this orientation. - # Example: "portrait" - # @OutputOnly + # Example: "portrait". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Tags for this dimension. - # Examples: "default" + # Example: "default". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags @@ -1598,8 +1550,9 @@ module Google class ProvidedSoftwareCatalog include Google::Apis::Core::Hashable - # A string representing the current version of Android Test Orchestrator that - # is provided by TestExecutionService. Example: "1.0.2 beta" + # A string representing the current version of Android Test + # Orchestrator that is provided by TestExecutionService. + # Example: "1.0.2 beta". # Corresponds to the JSON property `orchestratorVersion` # @return [String] attr_accessor :orchestrator_version @@ -1614,7 +1567,7 @@ module Google end end - # A file or directory to install on the device before the test starts + # A file or directory to install on the device before the test starts. class RegularFile include Google::Apis::Core::Hashable @@ -1623,8 +1576,8 @@ module Google # @return [Google::Apis::TestingV1::FileReference] attr_accessor :content - # Where to put the content on the device. Must be an absolute, whitelisted - # path. If the file exists, it will be replaced. + # Required. Where to put the content on the device. Must be an absolute, + # whitelisted path. If the file exists, it will be replaced. # The following device-side directories and any of their subdirectories are # whitelisted: #

$`EXTERNAL_STORAGE`, or /sdcard

@@ -1638,7 +1591,6 @@ module Google # "http://developer.android.com/reference/android/os/Environment.html"> # Environment API in app and test code to access files on the device in a # portable way. - # Required # Corresponds to the JSON property `devicePath` # @return [String] attr_accessor :device_path @@ -1691,27 +1643,25 @@ module Google class RoboDirective include Google::Apis::Core::Hashable - # The type of action that Robo should perform on the specified element. - # Required. + # Required. The type of action that Robo should perform on the specified + # element. # Corresponds to the JSON property `actionType` # @return [String] attr_accessor :action_type # The text that Robo is directed to set. If left empty, the directive will be # treated as a CLICK on the element matching the resource_name. - # Optional # Corresponds to the JSON property `inputText` # @return [String] attr_accessor :input_text - # The android resource name of the target UI element + # Required. The android resource name of the target UI element. # For example, # in Java: R.string.foo # in xml: @string/foo - # Only the “foo” part is needed. + # Only the "foo" part is needed. # Reference doc: # https://developer.android.com/guide/topics/resources/accessing-resources.html - # Required # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name @@ -1728,7 +1678,7 @@ module Google end end - # Message for specifying the start activities to crawl + # Message for specifying the start activities to crawl. class RoboStartingIntent include Google::Apis::Core::Hashable @@ -1764,13 +1714,11 @@ module Google attr_accessor :action # Intent categories to set on the intent. - # Optional. # Corresponds to the JSON property `categories` # @return [Array] attr_accessor :categories # URI for the action. - # Optional. # Corresponds to the JSON property `uri` # @return [String] attr_accessor :uri @@ -1791,18 +1739,16 @@ module Google class TestDetails include Google::Apis::Core::Hashable - # If the TestState is ERROR, then this string will contain human-readable - # details about the error. - # @OutputOnly + # Output only. If the TestState is ERROR, then this string will contain + # human-readable details about the error. # Corresponds to the JSON property `errorMessage` # @return [String] attr_accessor :error_message - # Human-readable, detailed descriptions of the test's progress. + # Output only. Human-readable, detailed descriptions of the test's progress. # For example: "Provisioning a device", "Starting Test". # During the course of execution new data may be appended # to the end of progress_messages. - # @OutputOnly # Corresponds to the JSON property `progressMessages` # @return [Array] attr_accessor :progress_messages @@ -1832,7 +1778,7 @@ module Google # @return [Google::Apis::TestingV1::IosDeviceCatalog] attr_accessor :ios_device_catalog - # Supported network configurations + # Supported network configurations. # Corresponds to the JSON property `networkConfigurationCatalog` # @return [Google::Apis::TestingV1::NetworkConfigurationCatalog] attr_accessor :network_configuration_catalog @@ -1864,26 +1810,23 @@ module Google # @return [Google::Apis::TestingV1::Environment] attr_accessor :environment - # Unique id set by the backend. - # @OutputOnly + # Output only. Unique id set by the backend. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Id of the containing TestMatrix. - # @OutputOnly + # Output only. Id of the containing TestMatrix. # Corresponds to the JSON property `matrixId` # @return [String] attr_accessor :matrix_id - # The cloud project that owns the test execution. - # @OutputOnly + # Output only. The cloud project that owns the test execution. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id - # Indicates the current progress of the test execution (e.g., FINISHED). - # @OutputOnly + # Output only. Indicates the current progress of the test execution + # (e.g., FINISHED). # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -1898,8 +1841,7 @@ module Google # @return [Google::Apis::TestingV1::TestSpecification] attr_accessor :test_specification - # The time this test execution was initially created. - # @OutputOnly + # Output only. The time this test execution was initially created. # Corresponds to the JSON property `timestamp` # @return [String] attr_accessor :timestamp @@ -1943,15 +1885,13 @@ module Google # @return [Google::Apis::TestingV1::EnvironmentMatrix] attr_accessor :environment_matrix - # Describes why the matrix is considered invalid. + # Output only. Describes why the matrix is considered invalid. # Only useful for matrices in the INVALID state. - # @OutputOnly # Corresponds to the JSON property `invalidMatrixDetails` # @return [String] attr_accessor :invalid_matrix_details # The cloud project that owns the test matrix. - # @OutputOnly # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id @@ -1961,20 +1901,19 @@ module Google # @return [Google::Apis::TestingV1::ResultStorage] attr_accessor :result_storage - # Indicates the current progress of the test matrix (e.g., FINISHED) - # @OutputOnly + # Output only. Indicates the current progress of the test matrix + # (e.g., FINISHED). # Corresponds to the JSON property `state` # @return [String] attr_accessor :state - # The list of test executions that the service creates for this matrix. - # @OutputOnly + # Output only. The list of test executions that the service creates for + # this matrix. # Corresponds to the JSON property `testExecutions` # @return [Array] attr_accessor :test_executions - # Unique id set by the service. - # @OutputOnly + # Output only. Unique id set by the service. # Corresponds to the JSON property `testMatrixId` # @return [String] attr_accessor :test_matrix_id @@ -1984,8 +1923,7 @@ module Google # @return [Google::Apis::TestingV1::TestSpecification] attr_accessor :test_specification - # The time this test matrix was initially created. - # @OutputOnly + # Output only. The time this test matrix was initially created. # Corresponds to the JSON property `timestamp` # @return [String] attr_accessor :timestamp @@ -2013,14 +1951,13 @@ module Google class TestSetup include Google::Apis::Core::Hashable - # Identifies an account and how to log into it + # Identifies an account and how to log into it. # Corresponds to the JSON property `account` # @return [Google::Apis::TestingV1::Account] attr_accessor :account # APKs to install in addition to those being directly tested. # Currently capped at 100. - # Optional # Corresponds to the JSON property `additionalApks` # @return [Array] attr_accessor :additional_apks @@ -2032,7 +1969,6 @@ module Google # implicit path substitutions. E.g. if /sdcard on a particular device does # not map to external storage, the system will replace it with the external # storage path prefix for that device. - # Optional # Corresponds to the JSON property `directoriesToPull` # @return [Array] attr_accessor :directories_to_pull @@ -2044,12 +1980,11 @@ module Google attr_accessor :environment_variables # List of files to push to the device before starting the test. - # Optional # Corresponds to the JSON property `filesToPush` # @return [Array] attr_accessor :files_to_push - # Optional. The network traffic profile used for running the test. + # The network traffic profile used for running the test. # Available network profiles can be queried by using the # NETWORK_CONFIGURATION environment type when calling # TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog. @@ -2095,7 +2030,7 @@ module Google attr_accessor :android_robo_test # A test of an Android Application with a Test Loop. - # The intent will be implicitly added, since Games is the only + # The intent \ will be implicitly added, since Games is the only # user of this api, for the time being. # Corresponds to the JSON property `androidTestLoop` # @return [Google::Apis::TestingV1::AndroidTestLoop] @@ -2109,7 +2044,6 @@ module Google # present on the device. Logging into the device with these generated # accounts allows testing more functionalities. # Default is false. - # Optional # Corresponds to the JSON property `autoGoogleLogin` # @return [Boolean] attr_accessor :auto_google_login @@ -2149,7 +2083,7 @@ module Google # Max time a test execution is allowed to run before it is # automatically cancelled. - # Optional, default is 5 min. + # The default value is 5 min. # Corresponds to the JSON property `testTimeout` # @return [String] attr_accessor :test_timeout @@ -2178,20 +2112,17 @@ module Google class ToolResultsExecution include Google::Apis::Core::Hashable - # A tool results execution ID. - # @OutputOnly + # Output only. A tool results execution ID. # Corresponds to the JSON property `executionId` # @return [String] attr_accessor :execution_id - # A tool results history ID. - # @OutputOnly + # Output only. A tool results history ID. # Corresponds to the JSON property `historyId` # @return [String] attr_accessor :history_id - # The cloud project that owns the tool results execution. - # @OutputOnly + # Output only. The cloud project that owns the tool results execution. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id @@ -2212,14 +2143,12 @@ module Google class ToolResultsHistory include Google::Apis::Core::Hashable - # A tool results history ID. - # Required + # Required. A tool results history ID. # Corresponds to the JSON property `historyId` # @return [String] attr_accessor :history_id - # The cloud project that owns the tool results history. - # Required + # Required. The cloud project that owns the tool results history. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id @@ -2240,26 +2169,22 @@ module Google class ToolResultsStep include Google::Apis::Core::Hashable - # A tool results execution ID. - # @OutputOnly + # Output only. A tool results execution ID. # Corresponds to the JSON property `executionId` # @return [String] attr_accessor :execution_id - # A tool results history ID. - # @OutputOnly + # Output only. A tool results history ID. # Corresponds to the JSON property `historyId` # @return [String] attr_accessor :history_id - # The cloud project that owns the tool results step. - # @OutputOnly + # Output only. The cloud project that owns the tool results step. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id - # A tool results step ID. - # @OutputOnly + # Output only. A tool results step ID. # Corresponds to the JSON property `stepId` # @return [String] attr_accessor :step_id @@ -2277,31 +2202,31 @@ module Google end end - # Network emulation parameters + # Network emulation parameters. class TrafficRule include Google::Apis::Core::Hashable - # Bandwidth in kbits/second + # Bandwidth in kbits/second. # Corresponds to the JSON property `bandwidth` # @return [Float] attr_accessor :bandwidth - # Burst size in kbits + # Burst size in kbits. # Corresponds to the JSON property `burst` # @return [Float] attr_accessor :burst - # Packet delay, must be >= 0 + # Packet delay, must be >= 0. # Corresponds to the JSON property `delay` # @return [String] attr_accessor :delay - # Packet duplication ratio (0.0 - 1.0) + # Packet duplication ratio (0.0 - 1.0). # Corresponds to the JSON property `packetDuplicationRatio` # @return [Float] attr_accessor :packet_duplication_ratio - # Packet loss ratio (0.0 - 1.0) + # Packet loss ratio (0.0 - 1.0). # Corresponds to the JSON property `packetLossRatio` # @return [Float] attr_accessor :packet_loss_ratio @@ -2324,14 +2249,14 @@ module Google class XcodeVersion include Google::Apis::Core::Hashable - # Output only. Tags for this Xcode version. - # Examples: "default" + # Tags for this Xcode version. + # Example: "default". # Corresponds to the JSON property `tags` # @return [Array] attr_accessor :tags - # Output only. The id for this version. - # Example: "9.2" + # The id for this version. + # Example: "9.2". # Corresponds to the JSON property `version` # @return [String] attr_accessor :version diff --git a/generated/google/apis/testing_v1/service.rb b/generated/google/apis/testing_v1/service.rb index 5a24afb6f..dd5515804 100644 --- a/generated/google/apis/testing_v1/service.rb +++ b/generated/google/apis/testing_v1/service.rb @@ -48,7 +48,7 @@ module Google @batch_path = 'batch' end - # Request the details of an Android application APK. + # Gets the details of an Android application APK. # @param [Google::Apis::TestingV1::FileReference] file_reference_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -117,7 +117,7 @@ module Google execute_or_queue_command(command, &block) end - # Request to run a matrix of tests according to the given specifications. + # Creates and runs a matrix of tests according to the given specifications. # Unsupported environments will be returned in the state UNSUPPORTED. # Matrices are limited to at most 200 supported executions. # May return any of the following canonical error codes: @@ -163,7 +163,7 @@ module Google execute_or_queue_command(command, &block) end - # Check the status of a test matrix. + # Checks the status of a test matrix. # May return any of the following canonical error codes: # - PERMISSION_DENIED - if the user is not authorized to read project # - INVALID_ARGUMENT - if the request is malformed @@ -200,17 +200,15 @@ module Google execute_or_queue_command(command, &block) end - # Get the catalog of supported test environments. + # Gets the catalog of supported test environments. # May return any of the following canonical error codes: # - INVALID_ARGUMENT - if the request is malformed # - NOT_FOUND - if the environment type does not exist # - INTERNAL - if an internal error occurred # @param [String] environment_type - # The type of environment that should be listed. - # Required + # Required. The type of environment that should be listed. # @param [String] project_id # For authorization, the cloud project requesting the TestEnvironmentCatalog. - # Optional # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user