Regenerate apis, add datastore_v1beta3

This commit is contained in:
Steve Bazyl committed 2016-06-23 12:42:56 -07:00
1 parent 3714da7a3f
commit d9a91c83ee
70 files changed
+4763 -356

No files matched your search

@@ -1494,18 +1494,19 @@ module Google
# @return [String]
attr_accessor :availability
# For VMEngines instances, the name of GCE VM where the instance lives. @
# OutputOnly
# For VMEngines instances, the name of the Compute Engine VM where the instance
# lives. @OutputOnly
# Corresponds to the JSON property `vmName`
# @return [String]
attr_accessor :vm_name
# For VMEngines instances, the zone where the GCE VM is located. @OutputOnly
# For VMEngines instances, the zone where the Compute Engine VM is located. @
# OutputOnly
# Corresponds to the JSON property `vmZoneName`
# @return [String]
attr_accessor :vm_zone_name
# For VMEngines instances, the GCE VM ID of the instance. @OutputOnly
# For VMEngines instances, the Compute Engine VM ID of the instance. @OutputOnly
# Corresponds to the JSON property `vmId`
# @return [String]
attr_accessor :vm_id
@@ -1540,8 +1541,8 @@ module Google
# @return [String]
attr_accessor :memory_usage
# For VMEngines instances, the status of GCE VM where the instance lives. @
# OutputOnly
# For VMEngines instances, the status of the Compute Engine VM where the
# instance lives. @OutputOnly
# Corresponds to the JSON property `vmStatus`
# @return [String]
attr_accessor :vm_status
@@ -1674,6 +1675,65 @@ module Google
@target = args[:target] if args.key?(:target)
end
end
# Metadata for the given google.longrunning.Operation.
class OperationMetadataV1
include Google::Apis::Core::Hashable
# API method name that initiated the operation. Example: "google.appengine.v1.
# Version.CreateVersion". @OutputOnly
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :method_prop
# Timestamp that this operation was received. @OutputOnly
# Corresponds to the JSON property `insertTime`
# @return [String]
attr_accessor :insert_time
# Timestamp that this operation was completed. (Not present if the operation is
# still in progress.) @OutputOnly
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The user who requested this operation. @OutputOnly
# Corresponds to the JSON property `user`
# @return [String]
attr_accessor :user
# Resource that this operation is acting on. Example: "apps/myapp/services/
# default". @OutputOnly
# Corresponds to the JSON property `target`
# @return [String]
attr_accessor :target
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@method_prop = args[:method_prop] if args.key?(:method_prop)
@insert_time = args[:insert_time] if args.key?(:insert_time)
@end_time = args[:end_time] if args.key?(:end_time)
@user = args[:user] if args.key?(:user)
@target = args[:target] if args.key?(:target)
end
end
# Metadata for the given google.cloud.location.Location.
class LocationMetadata
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
end
end
end
@@ -232,6 +232,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadataV1
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LocationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -631,6 +643,23 @@ module Google
property :target, as: 'target'
end
end
class OperationMetadataV1
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :method_prop, as: 'method'
property :insert_time, as: 'insertTime'
property :end_time, as: 'endTime'
property :user, as: 'user'
property :target, as: 'target'
end
end
class LocationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
end
end
end
@@ -465,7 +465,21 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing version. Note: UNIMPLEMENTED.
# Updates the specified Version resource. You can specify the following fields
# depending on the App Engine environment and type of scaling that the version
# resource uses: * [`serving_status`](/appengine/docs/admin-api/reference/rest/
# v1beta5/apps.services.versions#Version.FIELDS.serving_status): For Version
# resources that use basic scaling, manual scaling, or run in the App Engine
# flexible environment. * [`instance_class`](/appengine/docs/admin-api/reference/
# rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): For
# Version resources that run in the App Engine standard environment. * [`
# automatic_scaling.min_idle_instances`](/appengine/docs/admin-api/reference/
# rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For
# Version resources that use automatic scaling and run in the App Engine
# standard environment. * [`automatic_scaling.max_idle_instances`](/appengine/
# docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
# automatic_scaling): For Version resources that use automatic scaling and run
# in the App Engine standard environment.
# @param [String] apps_id
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
# services/default/versions/1".