Autogenerated update (2018-12-22)

Update:
- accesscontextmanager_v1beta
- appengine_v1
- appengine_v1beta
- appengine_v1beta4
- appengine_v1beta5
- bigquery_v2
- datastore_v1
- servicenetworking_v1beta
This commit is contained in:
Google APIs committed 2018-12-22 00:36:15 +00:00
1 parent 6a38288a33
commit c29245f049
24 files changed
+120 -20

No files matched your search

@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20181013'
REVISION = '20181219'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -24,8 +24,6 @@ module Google
# An `AccessLevel` is a label that can be applied to requests to GCP services,
# along with a list of requirements necessary for the label to be applied.
# `AccessLevels` can be referenced in `AccessZones` and in the `Cloud Org
# Policy` API.
class AccessLevel
include Google::Apis::Core::Hashable
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1
VERSION = 'V1'
REVISION = '20181113'
REVISION = '20181218'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -2923,6 +2923,11 @@ module Google
# @return [String]
attr_accessor :runtime_channel
# The path or name of the app's main executable.
# Corresponds to the JSON property `runtimeMainExecutablePath`
# @return [String]
attr_accessor :runtime_main_executable_path
# Current serving status of this version. Only the versions with a SERVING
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
# invalid value. Defaults to SERVING.
@@ -2990,6 +2995,7 @@ module Google
@runtime = args[:runtime] if args.key?(:runtime)
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
@runtime_channel = args[:runtime_channel] if args.key?(:runtime_channel)
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
@serving_status = args[:serving_status] if args.key?(:serving_status)
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@version_url = args[:version_url] if args.key?(:version_url)
@@ -1176,6 +1176,7 @@ module Google
property :runtime, as: 'runtime'
property :runtime_api_version, as: 'runtimeApiVersion'
property :runtime_channel, as: 'runtimeChannel'
property :runtime_main_executable_path, as: 'runtimeMainExecutablePath'
property :serving_status, as: 'servingStatus'
property :threadsafe, as: 'threadsafe'
property :version_url, as: 'versionUrl'
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta
VERSION = 'V1beta'
REVISION = '20181120'
REVISION = '20181218'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -3054,6 +3054,11 @@ module Google
# @return [String]
attr_accessor :runtime_channel
# The path or name of the app's main executable.
# Corresponds to the JSON property `runtimeMainExecutablePath`
# @return [String]
attr_accessor :runtime_main_executable_path
# Current serving status of this version. Only the versions with a SERVING
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
# invalid value. Defaults to SERVING.
@@ -3126,6 +3131,7 @@ module Google
@runtime = args[:runtime] if args.key?(:runtime)
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
@runtime_channel = args[:runtime_channel] if args.key?(:runtime_channel)
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
@serving_status = args[:serving_status] if args.key?(:serving_status)
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@version_url = args[:version_url] if args.key?(:version_url)
@@ -1235,6 +1235,7 @@ module Google
property :runtime, as: 'runtime'
property :runtime_api_version, as: 'runtimeApiVersion'
property :runtime_channel, as: 'runtimeChannel'
property :runtime_main_executable_path, as: 'runtimeMainExecutablePath'
property :serving_status, as: 'servingStatus'
property :threadsafe, as: 'threadsafe'
property :version_url, as: 'versionUrl'
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta4
VERSION = 'V1beta4'
REVISION = '20181020'
REVISION = '20181218'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -2187,6 +2187,11 @@ module Google
# @return [String]
attr_accessor :runtime_api_version
# The path or name of the app's main executable.
# Corresponds to the JSON property `runtimeMainExecutablePath`
# @return [String]
attr_accessor :runtime_main_executable_path
# Current serving status of this version. Only the versions with a SERVING
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
# invalid value. Defaults to SERVING.
@@ -2237,6 +2242,7 @@ module Google
@resources = args[:resources] if args.key?(:resources)
@runtime = args[:runtime] if args.key?(:runtime)
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
@serving_status = args[:serving_status] if args.key?(:serving_status)
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@vm = args[:vm] if args.key?(:vm)
@@ -852,6 +852,7 @@ module Google
property :runtime, as: 'runtime'
property :runtime_api_version, as: 'runtimeApiVersion'
property :runtime_main_executable_path, as: 'runtimeMainExecutablePath'
property :serving_status, as: 'servingStatus'
property :threadsafe, as: 'threadsafe'
property :vm, as: 'vm'
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta5
VERSION = 'V1beta5'
REVISION = '20181020'
REVISION = '20181218'
# View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -2143,6 +2143,11 @@ module Google
# @return [String]
attr_accessor :runtime_api_version
# The path or name of the app's main executable.
# Corresponds to the JSON property `runtimeMainExecutablePath`
# @return [String]
attr_accessor :runtime_main_executable_path
# Current serving status of this version. Only the versions with a SERVING
# status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
# invalid value. Defaults to SERVING.
@@ -2194,6 +2199,7 @@ module Google
@resources = args[:resources] if args.key?(:resources)
@runtime = args[:runtime] if args.key?(:runtime)
@runtime_api_version = args[:runtime_api_version] if args.key?(:runtime_api_version)
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
@serving_status = args[:serving_status] if args.key?(:serving_status)
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@vm = args[:vm] if args.key?(:vm)
@@ -834,6 +834,7 @@ module Google
property :runtime, as: 'runtime'
property :runtime_api_version, as: 'runtimeApiVersion'
property :runtime_main_executable_path, as: 'runtimeMainExecutablePath'
property :serving_status, as: 'servingStatus'
property :threadsafe, as: 'threadsafe'
property :vm, as: 'vm'
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20181202'
REVISION = '20181216'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
+44 -6
View File
@@ -2170,6 +2170,11 @@ module Google
# @return [Array<String>]
attr_accessor :quota_deferments
# [Output-only] Job resource usage breakdown by reservation.
# Corresponds to the JSON property `reservationUsage`
# @return [Array<Google::Apis::BigqueryV2::JobStatistics::ReservationUsage>]
attr_accessor :reservation_usage
# [Output-only] Start time of this job, in milliseconds since the epoch. This
# field will be present when the job transitions from the PENDING state to
# either RUNNING or DONE.
@@ -2183,6 +2188,11 @@ module Google
# @return [Fixnum]
attr_accessor :total_bytes_processed
# [Output-only] Slot-milliseconds for the job.
# Corresponds to the JSON property `totalSlotMs`
# @return [Fixnum]
attr_accessor :total_slot_ms
def initialize(**args)
update!(**args)
end
@@ -2196,8 +2206,35 @@ module Google
@load = args[:load] if args.key?(:load)
@query = args[:query] if args.key?(:query)
@quota_deferments = args[:quota_deferments] if args.key?(:quota_deferments)
@reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
@start_time = args[:start_time] if args.key?(:start_time)
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
end
#
class ReservationUsage
include Google::Apis::Core::Hashable
# [Output-only] Reservation name or "unreserved" for on-demand resources usage.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# [Output-only] Slot-milliseconds the job spent in the given reservation.
# Corresponds to the JSON property `slotMs`
# @return [Fixnum]
attr_accessor :slot_ms
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@slot_ms = args[:slot_ms] if args.key?(:slot_ms)
end
end
end
@@ -2283,15 +2320,16 @@ module Google
# The type of query statement, if valid. Possible values (new values might be
# added in the future): "SELECT": SELECT query. "INSERT": INSERT query; see
# https://cloud.google.com/bigquery/docs/reference/standard-sql/data-
# manipulation-language "UPDATE": UPDATE query; see https://cloud.google.com/
# bigquery/docs/reference/standard-sql/data-manipulation-language "DELETE":
# manipulation-language. "UPDATE": UPDATE query; see https://cloud.google.com/
# bigquery/docs/reference/standard-sql/data-manipulation-language. "DELETE":
# DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-
# sql/data-manipulation-language "MERGE": MERGE query; see https://cloud.google.
# com/bigquery/docs/reference/standard-sql/data-manipulation-language "
# sql/data-manipulation-language. "MERGE": MERGE query; see https://cloud.google.
# com/bigquery/docs/reference/standard-sql/data-manipulation-language. "
# CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. "
# CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... "
# CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... . "
# DROP_TABLE": DROP TABLE query. "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS
# SELECT ... "DROP_VIEW": DROP VIEW query.
# SELECT ... . "DROP_VIEW": DROP VIEW query. "ALTER_TABLE": ALTER TABLE query. "
# ALTER_VIEW": ALTER VIEW query.
# Corresponds to the JSON property `statementType`
# @return [String]
attr_accessor :statement_type
@@ -210,6 +210,12 @@ module Google
class JobStatistics
class Representation < Google::Apis::Core::JsonRepresentation; end
class ReservationUsage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
@@ -925,8 +931,19 @@ module Google
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
collection :quota_deferments, as: 'quotaDeferments'
collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation
property :start_time, :numeric_string => true, as: 'startTime'
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
end
class ReservationUsage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :slot_ms, :numeric_string => true, as: 'slotMs'
end
end
end
+1 -1
View File
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/
module DatastoreV1
VERSION = 'V1'
REVISION = '20180919'
REVISION = '20181207'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -689,7 +689,6 @@ module Google
end
# A minimal index definition.
# Next tag: 8
class GoogleDatastoreAdminV1Index
include Google::Apis::Core::Hashable
@@ -775,7 +774,7 @@ module Google
end
end
# Next tag: 3
# A property of an index.
class GoogleDatastoreAdminV1IndexedProperty
include Google::Apis::Core::Hashable
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta
VERSION = 'V1beta'
REVISION = '20181217'
REVISION = '20181220'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -3220,7 +3220,8 @@ module Google
end
end
# Represents a subnet that was created by a peered service.
# Represents a subnet that was created or discovered by a private access
# management service.
class Subnetwork
include Google::Apis::Core::Hashable
@@ -3242,6 +3243,13 @@ module Google
# @return [String]
attr_accessor :network
# This is a discovered subnet that is not within the current consumer
# allocated ranges.
# Corresponds to the JSON property `outsideAllocation`
# @return [Boolean]
attr_accessor :outside_allocation
alias_method :outside_allocation?, :outside_allocation
def initialize(**args)
update!(**args)
end
@@ -3251,6 +3259,7 @@ module Google
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@outside_allocation = args[:outside_allocation] if args.key?(:outside_allocation)
end
end
@@ -943,6 +943,7 @@ module Google
property :ip_cidr_range, as: 'ipCidrRange'
property :name, as: 'name'
property :network, as: 'network'
property :outside_allocation, as: 'outsideAllocation'
end
end
@@ -85,7 +85,7 @@ module Google
# requested size that's expressed as a CIDR range (number of leading bits of
# ipV4 network mask). The method checks against the assigned allocated ranges
# to find a non-conflicting IP address range. The method will reuse a subnet
# if subsequent calls contain the same subnet name, region, prefix length.
# if subsequent calls contain the same subnet name, region, and prefix length.
# This method will make producer's tenant project to be a shared VPC service
# project as needed.
# The response from the `get` operation will be of type `Subnetwork` if the