Autogenerated update (2018-05-19)

Update:
- bigquery_v2
- compute_v1
- monitoring_v3
- partners_v2
- redis_v1beta1
This commit is contained in:
Google APIs 2018-05-19 00:37:10 +00:00
parent 4fdd65eba8
commit 947e6fc0f6
12 changed files with 47 additions and 35 deletions

View File

@ -63621,6 +63621,7 @@
"/partners:v2/Company/additionalWebsites/additional_website": additional_website
"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains
"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain
"/partners:v2/Company/badgeAuthorityInAwn": badge_authority_in_awn
"/partners:v2/Company/badgeTier": badge_tier
"/partners:v2/Company/certificationStatuses": certification_statuses
"/partners:v2/Company/certificationStatuses/certification_status": certification_status

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigqueryV2
VERSION = 'V2'
REVISION = '20180422'
REVISION = '20180510'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -1977,7 +1977,8 @@ module Google
attr_accessor :job_id
# [Experimental] The geographic location of the job. Required except for US and
# EU.
# EU. See details at https://cloud.google.com/bigquery/docs/dataset-locations#
# specifying_your_location.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
@ -3457,16 +3458,18 @@ module Google
class TimePartitioning
include Google::Apis::Core::Hashable
# [Optional] Number of milliseconds for which to keep the storage for a
# partition.
# [Optional] Number of milliseconds for which to keep the storage for partitions
# in the table. The storage in a partition will have an expiration time of its
# partition time plus this value.
# Corresponds to the JSON property `expirationMs`
# @return [Fixnum]
attr_accessor :expiration_ms
# [Experimental] [Optional] If not set, the table is partitioned by pseudo
# column '_PARTITIONTIME'; if set, the table is partitioned by this field. The
# field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE
# or REQUIRED.
# column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '
# _PARTITIONDATE' as DATE type. If field is specified, the table is instead
# partitioned by this field. The field must be a top-level TIMESTAMP or DATE
# field. Its mode must be NULLABLE or REQUIRED.
# Corresponds to the JSON property `field`
# @return [String]
attr_accessor :field

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20180428'
REVISION = '20180516'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20180303'
REVISION = '20180514'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1740,13 +1740,13 @@ module Google
# The amount of time that a time series must violate the threshold to be
# considered failing. Currently, only values that are a multiple of a minute--e.
# g. 60, 120, or 300 seconds--are supported. If an invalid value is given, an
# error will be returned. The Duration.nanos field is ignored. When choosing a
# duration, it is useful to keep in mind the frequency of the underlying time
# series data (which may also be affected by any alignments specified in the
# aggregation field); a good duration is long enough so that a single outlier
# does not generate spurious alerts, but short enough that unhealthy states are
# detected and alerted on quickly.
# g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given,
# an error will be returned. When choosing a duration, it is useful to keep in
# mind the frequency of the underlying time series data (which may also be
# affected by any alignments specified in the aggregations field); a good
# duration is long enough so that a single outlier does not generate spurious
# alerts, but short enough that unhealthy states are detected and alerted on
# quickly.
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/partners/
module PartnersV2
VERSION = 'V2'
REVISION = '20180403'
REVISION = '20180517'
end
end
end

View File

@ -363,6 +363,12 @@ module Google
# @return [Array<String>]
attr_accessor :auto_approval_email_domains
# Whether the company's badge authority is in AWN
# Corresponds to the JSON property `badgeAuthorityInAwn`
# @return [Boolean]
attr_accessor :badge_authority_in_awn
alias_method :badge_authority_in_awn?, :badge_authority_in_awn
# Partner badge tier
# Corresponds to the JSON property `badgeTier`
# @return [String]
@ -473,6 +479,7 @@ module Google
def update!(**args)
@additional_websites = args[:additional_websites] if args.key?(:additional_websites)
@auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
@badge_authority_in_awn = args[:badge_authority_in_awn] if args.key?(:badge_authority_in_awn)
@badge_tier = args[:badge_tier] if args.key?(:badge_tier)
@certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
@company_types = args[:company_types] if args.key?(:company_types)

View File

@ -405,6 +405,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
collection :additional_websites, as: 'additionalWebsites'
collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
property :badge_authority_in_awn, as: 'badgeAuthorityInAwn'
property :badge_tier, as: 'badgeTier'
collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/memorystore/docs/redis/
module RedisV1beta1
VERSION = 'V1beta1'
REVISION = '20180423'
REVISION = '20180518'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -144,11 +144,11 @@ module Google
# @return [String]
attr_accessor :create_time
# Output only. The current zone where the Redis endpoint is placed. In
# single zone deployments, this will always be the same as [location_id]
# provided by the user at creation time. In cross-zone instances (only
# applicable in STANDARD_HA tier), this can be either [location_id] or
# [alternative_location_id] and can change on a failover event.
# Output only. The current zone where the Redis endpoint is placed. For Basic
# Tier instances, this will always be the same as the [location_id]
# provided by the user at creation time. For Standard Tier instances,
# this can be either [location_id] or [alternative_location_id] and can
# change after a failover event.
# Corresponds to the JSON property `currentLocationId`
# @return [String]
attr_accessor :current_location_id
@ -172,13 +172,13 @@ module Google
# Optional. The zone where the instance will be provisioned. If not provided,
# the service will choose a zone for the instance. For STANDARD_HA tier,
# instances will be created across two zones for protection against zonal
# failures. if [alternative_location_id] is also provided, it must be
# failures. If [alternative_location_id] is also provided, it must be
# different from [location_id].
# Corresponds to the JSON property `locationId`
# @return [String]
attr_accessor :location_id
# Required. Redis memory size in GB, up to 200GB.
# Required. Redis memory size in GiB.
# Corresponds to the JSON property `memorySizeGb`
# @return [Fixnum]
attr_accessor :memory_size_gb
@ -187,7 +187,7 @@ module Google
# location using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users get to choose which
# location_id here refers to a GCP region; however, users may choose which
# specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and
# [alternative_location_id] fields for more details.
@ -220,7 +220,7 @@ module Google
# Optional. The CIDR range of internal addresses that are reserved for this
# instance. If not provided, the service will choose an unused /29 block,
# for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique
# and non-overlapping with existing subnets in a network.
# and non-overlapping with existing subnets in an authorized network.
# Corresponds to the JSON property `reservedIpRange`
# @return [String]
attr_accessor :reserved_ip_range

View File

@ -118,7 +118,7 @@ module Google
end
# Creates a Redis instance based on the specified tier and memory size.
# By default, the instance is peered to the project's
# By default, the instance is accessible from the project's
# [default network](/compute/docs/networks-and-firewalls#networks).
# The creation is executed asynchronously and callers may check the returned
# operation to track its progress. Once the operation is completed the Redis
@ -292,7 +292,7 @@ module Google
# location using the form:
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
# Note: Redis instances are managed and addressed at regional level so
# location_id here refers to a GCP region; however, users get to choose which
# location_id here refers to a GCP region; however, users may choose which
# specific zone (or collection of zones for cross-zone instances) an instance
# should be provisioned in. Refer to [location_id] and
# [alternative_location_id] fields for more details.
@ -301,10 +301,10 @@ module Google
# Required. Mask of fields to update. At least one path must be supplied in
# this field. The elements of the repeated paths field may only include these
# fields from Instance:
# * `display_name`
# * `displayName`
# * `labels`
# * `redis_config`
# * `redis_version`
# * `memorySizeGb`
# * `redisConfig`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user