Autogenerated update (2017-10-27)
Update: - appengine_v1 - appengine_v1alpha - appengine_v1beta - appengine_v1beta4 - appengine_v1beta5 - cloudbuild_v1 - cloudtasks_v2beta2 - genomics_v1alpha2 - toolresults_v1beta3
This commit is contained in:
1 parent
f4fbd885bb
commit
15cd814e85
27 files changed
+128
-331
No files matched your search
@@ -87,7 +87,7 @@ module Google
|
||||
end
|
||||
|
||||
# An Application resource contains the top-level configuration of an App Engine
|
||||
# application. Next tag: 20
|
||||
# application.
|
||||
class Application
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -737,7 +737,10 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Endpoints service configuration id as specified by the Service Management API.
|
||||
# For example "2016-09-19r1"
|
||||
# For example "2016-09-19r1"By default, the Endpoints service configuration id
|
||||
# is fixed and config_id must be specified. To keep the Endpoints service
|
||||
# configuration id updated with each rollout, specify RolloutStrategy.MANAGED
|
||||
# and omit config_id.
|
||||
# Corresponds to the JSON property `configId`
|
||||
# @return [String]
|
||||
attr_accessor :config_id
|
||||
@@ -1779,51 +1782,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata for the given google.longrunning.Operation.
|
||||
class OperationMetadataExperimental
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time that this operation completed.@OutputOnly
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Time that this operation was created.@OutputOnly
|
||||
# Corresponds to the JSON property `insertTime`
|
||||
# @return [String]
|
||||
attr_accessor :insert_time
|
||||
|
||||
# API method that initiated this operation. Example: google.appengine.
|
||||
# experimental.CustomDomains.CreateCustomDomain.@OutputOnly
|
||||
# Corresponds to the JSON property `method`
|
||||
# @return [String]
|
||||
attr_accessor :method_prop
|
||||
|
||||
# Name of the resource that this operation is acting on. Example: apps/myapp/
|
||||
# customDomains/example.com.@OutputOnly
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
|
||||
# User who requested this operation.@OutputOnly
|
||||
# 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)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
||||
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@user = args[:user] if args.key?(:user)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata for the given google.longrunning.Operation.
|
||||
class OperationMetadataV1
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -292,12 +292,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OperationMetadataExperimental
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OperationMetadataV1
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -883,17 +877,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadataExperimental
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time, as: 'endTime'
|
||||
property :insert_time, as: 'insertTime'
|
||||
property :method_prop, as: 'method'
|
||||
property :target, as: 'target'
|
||||
property :user, as: 'user'
|
||||
end
|
||||
end
|
||||
|
||||
class OperationMetadataV1
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -420,6 +420,9 @@ module Google
|
||||
# @param [String] apps_id
|
||||
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
# @param [Google::Apis::AppengineV1beta::DomainMapping] domain_mapping_object
|
||||
# @param [String] override_strategy
|
||||
# Whether the domain creation should override any existing mappings for this
|
||||
# domain. By default, overrides are rejected.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -437,13 +440,14 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def create_app_domain_mapping(apps_id, domain_mapping_object = nil, override_strategy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta/apps/{appsId}/domainMappings', options)
|
||||
command.request_representation = Google::Apis::AppengineV1beta::DomainMapping::Representation
|
||||
command.request_object = domain_mapping_object
|
||||
command.response_representation = Google::Apis::AppengineV1beta::Operation::Representation
|
||||
command.response_class = Google::Apis::AppengineV1beta::Operation
|
||||
command.params['appsId'] = apps_id unless apps_id.nil?
|
||||
command.query['overrideStrategy'] = override_strategy unless override_strategy.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
||||
Reference in new issue
Block a user