Autogenerated update (2018-10-05)

Update:
- appengine_v1
- appengine_v1beta
- compute_alpha
- compute_beta
- compute_v1
- jobs_v2
- jobs_v3
- monitoring_v3
This commit is contained in:
Google APIs 2018-10-05 00:36:22 +00:00
parent 4693389a88
commit 5638f179c7
21 changed files with 235 additions and 165 deletions

View File

@ -8156,6 +8156,7 @@
"/appengine:v1/Empty": empty "/appengine:v1/Empty": empty
"/appengine:v1/EndpointsApiService": endpoints_api_service "/appengine:v1/EndpointsApiService": endpoints_api_service
"/appengine:v1/EndpointsApiService/configId": config_id "/appengine:v1/EndpointsApiService/configId": config_id
"/appengine:v1/EndpointsApiService/disableTraceSampling": disable_trace_sampling
"/appengine:v1/EndpointsApiService/name": name "/appengine:v1/EndpointsApiService/name": name
"/appengine:v1/EndpointsApiService/rolloutStrategy": rollout_strategy "/appengine:v1/EndpointsApiService/rolloutStrategy": rollout_strategy
"/appengine:v1/Entrypoint": entrypoint "/appengine:v1/Entrypoint": entrypoint
@ -19447,7 +19448,10 @@
"/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name "/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name
"/compute:alpha/InstanceGroupManagerStatus": instance_group_manager_status "/compute:alpha/InstanceGroupManagerStatus": instance_group_manager_status
"/compute:alpha/InstanceGroupManagerStatus/isStable": is_stable "/compute:alpha/InstanceGroupManagerStatus/isStable": is_stable
"/compute:alpha/InstanceGroupManagerStatus/versionTarget": version_target
"/compute:alpha/InstanceGroupManagerStatus/versionTargetReached": version_target_reached "/compute:alpha/InstanceGroupManagerStatus/versionTargetReached": version_target_reached
"/compute:alpha/InstanceGroupManagerStatusVersionTarget": instance_group_manager_status_version_target
"/compute:alpha/InstanceGroupManagerStatusVersionTarget/isReached": is_reached
"/compute:alpha/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy "/compute:alpha/InstanceGroupManagerUpdatePolicy": instance_group_manager_update_policy
"/compute:alpha/InstanceGroupManagerUpdatePolicy/instanceRedistributionType": instance_redistribution_type "/compute:alpha/InstanceGroupManagerUpdatePolicy/instanceRedistributionType": instance_redistribution_type
"/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge "/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge
@ -19585,6 +19589,7 @@
"/compute:alpha/InstanceMoveRequest/destinationZone": destination_zone "/compute:alpha/InstanceMoveRequest/destinationZone": destination_zone
"/compute:alpha/InstanceMoveRequest/targetInstance": target_instance "/compute:alpha/InstanceMoveRequest/targetInstance": target_instance
"/compute:alpha/InstanceProperties": instance_properties "/compute:alpha/InstanceProperties": instance_properties
"/compute:alpha/InstanceProperties/allocationAffinity": allocation_affinity
"/compute:alpha/InstanceProperties/canIpForward": can_ip_forward "/compute:alpha/InstanceProperties/canIpForward": can_ip_forward
"/compute:alpha/InstanceProperties/description": description "/compute:alpha/InstanceProperties/description": description
"/compute:alpha/InstanceProperties/disks": disks "/compute:alpha/InstanceProperties/disks": disks
@ -70886,6 +70891,7 @@
"/monitoring:v3/InternalChecker/checkerId": checker_id "/monitoring:v3/InternalChecker/checkerId": checker_id
"/monitoring:v3/InternalChecker/displayName": display_name "/monitoring:v3/InternalChecker/displayName": display_name
"/monitoring:v3/InternalChecker/gcpZone": gcp_zone "/monitoring:v3/InternalChecker/gcpZone": gcp_zone
"/monitoring:v3/InternalChecker/name": name
"/monitoring:v3/InternalChecker/network": network "/monitoring:v3/InternalChecker/network": network
"/monitoring:v3/InternalChecker/projectId": project_id "/monitoring:v3/InternalChecker/projectId": project_id
"/monitoring:v3/LabelDescriptor": label_descriptor "/monitoring:v3/LabelDescriptor": label_descriptor

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/ # @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1 module AppengineV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180910' REVISION = '20181001'
# View and manage your applications deployed on Google App Engine # View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -122,7 +122,7 @@ module Google
# HTTP path dispatch rules for requests to the application that do not # HTTP path dispatch rules for requests to the application that do not
# explicitly target a service or version. Rules are order-dependent. Up to 20 # explicitly target a service or version. Rules are order-dependent. Up to 20
# dispatch rules can be supported.@OutputOnly # dispatch rules can be supported.
# Corresponds to the JSON property `dispatchRules` # Corresponds to the JSON property `dispatchRules`
# @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>] # @return [Array<Google::Apis::AppengineV1::UrlDispatchRule>]
attr_accessor :dispatch_rules attr_accessor :dispatch_rules
@ -832,6 +832,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :config_id attr_accessor :config_id
# Enable or disable trace sampling. By default, this is set to false for enabled.
# Corresponds to the JSON property `disableTraceSampling`
# @return [Boolean]
attr_accessor :disable_trace_sampling
alias_method :disable_trace_sampling?, :disable_trace_sampling
# Endpoints service name which is the name of the "service" resource in the # Endpoints service name which is the name of the "service" resource in the
# Service Management API. For example "myapi.endpoints.myproject.cloud.goog" # Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
@ -851,6 +857,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@config_id = args[:config_id] if args.key?(:config_id) @config_id = args[:config_id] if args.key?(:config_id)
@disable_trace_sampling = args[:disable_trace_sampling] if args.key?(:disable_trace_sampling)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy) @rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy)
end end

View File

@ -660,6 +660,7 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :config_id, as: 'configId' property :config_id, as: 'configId'
property :disable_trace_sampling, as: 'disableTraceSampling'
property :name, as: 'name' property :name, as: 'name'
property :rollout_strategy, as: 'rolloutStrategy' property :rollout_strategy, as: 'rolloutStrategy'
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/appengine/docs/admin-api/ # @see https://cloud.google.com/appengine/docs/admin-api/
module AppengineV1beta module AppengineV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20180910' REVISION = '20181001'
# View and manage your applications deployed on Google App Engine # View and manage your applications deployed on Google App Engine
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'

View File

@ -122,7 +122,7 @@ module Google
# HTTP path dispatch rules for requests to the application that do not # HTTP path dispatch rules for requests to the application that do not
# explicitly target a service or version. Rules are order-dependent. Up to 20 # explicitly target a service or version. Rules are order-dependent. Up to 20
# dispatch rules can be supported.@OutputOnly # dispatch rules can be supported.
# Corresponds to the JSON property `dispatchRules` # Corresponds to the JSON property `dispatchRules`
# @return [Array<Google::Apis::AppengineV1beta::UrlDispatchRule>] # @return [Array<Google::Apis::AppengineV1beta::UrlDispatchRule>]
attr_accessor :dispatch_rules attr_accessor :dispatch_rules

View File

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

View File

@ -10113,14 +10113,11 @@ module Google
attr_accessor :is_stable attr_accessor :is_stable
alias_method :is_stable?, :is_stable alias_method :is_stable?, :is_stable
# [Output Only] A bit indicating whether version target has been reached in this # [Output Only] A status of consistency of Instances' versions with their target
# managed instance group, i.e. all instances are in their target version. # version specified by version field on Instance Group Manager.
# Instances' target version are specified by version field on Instance Group # Corresponds to the JSON property `versionTarget`
# Manager. # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget]
# Corresponds to the JSON property `versionTargetReached` attr_accessor :version_target
# @return [Boolean]
attr_accessor :version_target_reached
alias_method :version_target_reached?, :version_target_reached
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
@ -10129,7 +10126,30 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@is_stable = args[:is_stable] if args.key?(:is_stable) @is_stable = args[:is_stable] if args.key?(:is_stable)
@version_target_reached = args[:version_target_reached] if args.key?(:version_target_reached) @version_target = args[:version_target] if args.key?(:version_target)
end
end
#
class InstanceGroupManagerStatusVersionTarget
include Google::Apis::Core::Hashable
# [Output Only] A bit indicating whether version target has been reached in this
# managed instance group, i.e. all instances are in their target version.
# Instances' target version are specified by version field on Instance Group
# Manager.
# Corresponds to the JSON property `isReached`
# @return [Boolean]
attr_accessor :is_reached
alias_method :is_reached?, :is_reached
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@is_reached = args[:is_reached] if args.key?(:is_reached)
end end
end end
@ -11271,6 +11291,12 @@ module Google
class InstanceProperties class InstanceProperties
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# AllocationAffinity is the configuration of desired allocation which this
# instance could take capacity from.
# Corresponds to the JSON property `allocationAffinity`
# @return [Google::Apis::ComputeAlpha::AllocationAffinity]
attr_accessor :allocation_affinity
# Enables instances created based on this template to send packets with source # Enables instances created based on this template to send packets with source
# IP addresses other than their own and receive packets with destination IP # IP addresses other than their own and receive packets with destination IP
# addresses other than their own. If these instances will be used as an IP # addresses other than their own. If these instances will be used as an IP
@ -11357,6 +11383,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@allocation_affinity = args[:allocation_affinity] if args.key?(:allocation_affinity)
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@disks = args[:disks] if args.key?(:disks) @disks = args[:disks] if args.key?(:disks)
@ -14051,15 +14078,16 @@ module Google
# metric names will have "/iam/policy" prepended. # metric names will have "/iam/policy" prepended.
# Field names correspond to IAM request parameters and field values are their # Field names correspond to IAM request parameters and field values are their
# respective values. # respective values.
# At present the only supported field names are - "iam_principal", corresponding # Supported field names: - "authority", which is "[token]" if IAMContext.token
# to IAMContext.principal; - "" (empty string), resulting in one aggretated # is present, otherwise the value of IAMContext.authority_selector if present,
# counter with no field. # and otherwise a representation of IAMContext.principal; or - "iam_principal",
# a representation of IAMContext.principal even if a token or authority selector
# is present; or - "" (empty string), resulting in a counter with no fields.
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==> # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
# of IAMContext.principal]` # of IAMContext.principal]`
# At this time we do not support: * multiple field names (though this may be # At this time we do not support multiple field names (though this may be
# supported in the future) * decrementing the counter * incrementing it by # supported in the future).
# anything other than 1
# Corresponds to the JSON property `counter` # Corresponds to the JSON property `counter`
# @return [Google::Apis::ComputeAlpha::LogConfigCounterOptions] # @return [Google::Apis::ComputeAlpha::LogConfigCounterOptions]
attr_accessor :counter attr_accessor :counter
@ -14112,15 +14140,16 @@ module Google
# metric names will have "/iam/policy" prepended. # metric names will have "/iam/policy" prepended.
# Field names correspond to IAM request parameters and field values are their # Field names correspond to IAM request parameters and field values are their
# respective values. # respective values.
# At present the only supported field names are - "iam_principal", corresponding # Supported field names: - "authority", which is "[token]" if IAMContext.token
# to IAMContext.principal; - "" (empty string), resulting in one aggretated # is present, otherwise the value of IAMContext.authority_selector if present,
# counter with no field. # and otherwise a representation of IAMContext.principal; or - "iam_principal",
# a representation of IAMContext.principal even if a token or authority selector
# is present; or - "" (empty string), resulting in a counter with no fields.
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==> # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
# of IAMContext.principal]` # of IAMContext.principal]`
# At this time we do not support: * multiple field names (though this may be # At this time we do not support multiple field names (though this may be
# supported in the future) * decrementing the counter * incrementing it by # supported in the future).
# anything other than 1
class LogConfigCounterOptions class LogConfigCounterOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -15183,9 +15212,9 @@ module Google
end end
end end
# Represents a Network resource. Read Networks and Firewalls for more # Represents a Network resource. Read Virtual Private Cloud (VPC) Network
# information. (== resource_for v1.networks ==) (== resource_for beta.networks == # Overview for more information. (== resource_for v1.networks ==) (==
# ) # resource_for beta.networks ==)
class Network class Network
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -15196,10 +15225,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :i_pv4_range attr_accessor :i_pv4_range
# When set to true, the network is created in "auto subnet mode". When set to # When set to true, the VPC network is created in "auto" mode. When set to false,
# false, the network is in "custom subnet mode". # the VPC network is created in "custom" mode.
# In "auto subnet mode", a newly created network is assigned the default CIDR of # An auto mode VPC network starts with one subnet per region. Each subnet has a
# 10.128.0.0/9 and it automatically creates one subnetwork per region. # predetermined range as described in Auto mode VPC network IP ranges.
# Corresponds to the JSON property `autoCreateSubnetworks` # Corresponds to the JSON property `autoCreateSubnetworks`
# @return [Boolean] # @return [Boolean]
attr_accessor :auto_create_subnetworks attr_accessor :auto_create_subnetworks
@ -15221,9 +15250,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# A gateway address for default routing to other networks. This value is read # [Output Only] The gateway address for default routing out of the network. This
# only and is selected by the Google Compute Engine, typically as the first # value is read only and is selected by GCP.
# usable address in the IPv4Range.
# Corresponds to the JSON property `gatewayIPv4` # Corresponds to the JSON property `gatewayIPv4`
# @return [String] # @return [String]
attr_accessor :gateway_i_pv4 attr_accessor :gateway_i_pv4
@ -15272,7 +15300,7 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
# network. # VPC network.
# Corresponds to the JSON property `subnetworks` # Corresponds to the JSON property `subnetworks`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :subnetworks attr_accessor :subnetworks
@ -16302,9 +16330,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The network-wide routing mode to use. If set to REGIONAL, this network's cloud # The network-wide routing mode to use. If set to REGIONAL, this network's cloud
# routers will only advertise routes with subnetworks of this network in the # routers will only advertise routes with subnets of this network in the same
# same region as the router. If set to GLOBAL, this network's cloud routers will # region as the router. If set to GLOBAL, this network's cloud routers will
# advertise routes with all subnetworks of this network, across regions. # advertise routes with all subnets of this network, across regions.
# Corresponds to the JSON property `routingMode` # Corresponds to the JSON property `routingMode`
# @return [String] # @return [String]
attr_accessor :routing_mode attr_accessor :routing_mode
@ -23779,7 +23807,8 @@ module Google
attr_accessor :can_ip_forward attr_accessor :can_ip_forward
alias_method :can_ip_forward?, :can_ip_forward alias_method :can_ip_forward?, :can_ip_forward
# Whether the resource should be protected against deletion. # Whether the instance created from the machine image should be protected
# against deletion.
# Corresponds to the JSON property `deletionProtection` # Corresponds to the JSON property `deletionProtection`
# @return [Boolean] # @return [Boolean]
attr_accessor :deletion_protection attr_accessor :deletion_protection

View File

@ -1258,6 +1258,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class InstanceGroupManagerStatusVersionTarget
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstanceGroupManagerUpdatePolicy class InstanceGroupManagerUpdatePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -6744,7 +6750,15 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :is_stable, as: 'isStable' property :is_stable, as: 'isStable'
property :version_target_reached, as: 'versionTargetReached' property :version_target, as: 'versionTarget', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget::Representation
end
end
class InstanceGroupManagerStatusVersionTarget
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_reached, as: 'isReached'
end end
end end
@ -7082,6 +7096,8 @@ module Google
class InstanceProperties class InstanceProperties
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::ComputeAlpha::AllocationAffinity, decorator: Google::Apis::ComputeAlpha::AllocationAffinity::Representation
property :can_ip_forward, as: 'canIpForward' property :can_ip_forward, as: 'canIpForward'
property :description, as: 'description' property :description, as: 'description'
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation

View File

@ -12748,8 +12748,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes the specified machine image. Deleting an machine image is permanent # Deletes the specified machine image. Deleting a machine image is permanent and
# and cannot be undone. # cannot be undone.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
# @param [String] machine_image # @param [String] machine_image
@ -12871,9 +12871,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an machine image in the specified project using the data that is # Creates a machine image in the specified project using the data that is
# included in the request. If you are creating a new machine image to update an # included in the request. If you are creating a new machine image to update an
# existing instance, your new machine image must use the same network or, if # existing instance, your new machine image should use the same network or, if
# applicable, the same subnetwork as the original instance. # applicable, the same subnetwork as the original instance.
# @param [String] project # @param [String] project
# Project ID for this request. # Project ID for this request.
@ -12890,7 +12890,7 @@ module Google
# The request ID must be a valid UUID with the exception that zero UUID is not # The request ID must be a valid UUID with the exception that zero UUID is not
# supported (00000000-0000-0000-0000-000000000000). # supported (00000000-0000-0000-0000-000000000000).
# @param [String] source_instance # @param [String] source_instance
# Optional. Source image to restore onto a disk. # Required. Source instance that is used to create the machine image from.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

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

View File

@ -12240,15 +12240,16 @@ module Google
# metric names will have "/iam/policy" prepended. # metric names will have "/iam/policy" prepended.
# Field names correspond to IAM request parameters and field values are their # Field names correspond to IAM request parameters and field values are their
# respective values. # respective values.
# At present the only supported field names are - "iam_principal", corresponding # Supported field names: - "authority", which is "[token]" if IAMContext.token
# to IAMContext.principal; - "" (empty string), resulting in one aggretated # is present, otherwise the value of IAMContext.authority_selector if present,
# counter with no field. # and otherwise a representation of IAMContext.principal; or - "iam_principal",
# a representation of IAMContext.principal even if a token or authority selector
# is present; or - "" (empty string), resulting in a counter with no fields.
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==> # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
# of IAMContext.principal]` # of IAMContext.principal]`
# At this time we do not support: * multiple field names (though this may be # At this time we do not support multiple field names (though this may be
# supported in the future) * decrementing the counter * incrementing it by # supported in the future).
# anything other than 1
# Corresponds to the JSON property `counter` # Corresponds to the JSON property `counter`
# @return [Google::Apis::ComputeBeta::LogConfigCounterOptions] # @return [Google::Apis::ComputeBeta::LogConfigCounterOptions]
attr_accessor :counter attr_accessor :counter
@ -12301,15 +12302,16 @@ module Google
# metric names will have "/iam/policy" prepended. # metric names will have "/iam/policy" prepended.
# Field names correspond to IAM request parameters and field values are their # Field names correspond to IAM request parameters and field values are their
# respective values. # respective values.
# At present the only supported field names are - "iam_principal", corresponding # Supported field names: - "authority", which is "[token]" if IAMContext.token
# to IAMContext.principal; - "" (empty string), resulting in one aggretated # is present, otherwise the value of IAMContext.authority_selector if present,
# counter with no field. # and otherwise a representation of IAMContext.principal; or - "iam_principal",
# a representation of IAMContext.principal even if a token or authority selector
# is present; or - "" (empty string), resulting in a counter with no fields.
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==> # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
# of IAMContext.principal]` # of IAMContext.principal]`
# At this time we do not support: * multiple field names (though this may be # At this time we do not support multiple field names (though this may be
# supported in the future) * decrementing the counter * incrementing it by # supported in the future).
# anything other than 1
class LogConfigCounterOptions class LogConfigCounterOptions
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -13044,9 +13046,9 @@ module Google
end end
end end
# Represents a Network resource. Read Networks and Firewalls for more # Represents a Network resource. Read Virtual Private Cloud (VPC) Network
# information. (== resource_for v1.networks ==) (== resource_for beta.networks == # Overview for more information. (== resource_for v1.networks ==) (==
# ) # resource_for beta.networks ==)
class Network class Network
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -13057,10 +13059,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :i_pv4_range attr_accessor :i_pv4_range
# When set to true, the network is created in "auto subnet mode". When set to # When set to true, the VPC network is created in "auto" mode. When set to false,
# false, the network is in "custom subnet mode". # the VPC network is created in "custom" mode.
# In "auto subnet mode", a newly created network is assigned the default CIDR of # An auto mode VPC network starts with one subnet per region. Each subnet has a
# 10.128.0.0/9 and it automatically creates one subnetwork per region. # predetermined range as described in Auto mode VPC network IP ranges.
# Corresponds to the JSON property `autoCreateSubnetworks` # Corresponds to the JSON property `autoCreateSubnetworks`
# @return [Boolean] # @return [Boolean]
attr_accessor :auto_create_subnetworks attr_accessor :auto_create_subnetworks
@ -13077,9 +13079,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# A gateway address for default routing to other networks. This value is read # [Output Only] The gateway address for default routing out of the network. This
# only and is selected by the Google Compute Engine, typically as the first # value is read only and is selected by GCP.
# usable address in the IPv4Range.
# Corresponds to the JSON property `gatewayIPv4` # Corresponds to the JSON property `gatewayIPv4`
# @return [String] # @return [String]
attr_accessor :gateway_i_pv4 attr_accessor :gateway_i_pv4
@ -13123,7 +13124,7 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
# network. # VPC network.
# Corresponds to the JSON property `subnetworks` # Corresponds to the JSON property `subnetworks`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :subnetworks attr_accessor :subnetworks
@ -14130,9 +14131,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The network-wide routing mode to use. If set to REGIONAL, this network's cloud # The network-wide routing mode to use. If set to REGIONAL, this network's cloud
# routers will only advertise routes with subnetworks of this network in the # routers will only advertise routes with subnets of this network in the same
# same region as the router. If set to GLOBAL, this network's cloud routers will # region as the router. If set to GLOBAL, this network's cloud routers will
# advertise routes with all subnetworks of this network, across regions. # advertise routes with all subnets of this network, across regions.
# Corresponds to the JSON property `routingMode` # Corresponds to the JSON property `routingMode`
# @return [String] # @return [String]
attr_accessor :routing_mode attr_accessor :routing_mode

View File

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

View File

@ -11494,9 +11494,9 @@ module Google
end end
end end
# Represents a Network resource. Read Networks and Firewalls for more # Represents a Network resource. Read Virtual Private Cloud (VPC) Network
# information. (== resource_for v1.networks ==) (== resource_for beta.networks == # Overview for more information. (== resource_for v1.networks ==) (==
# ) # resource_for beta.networks ==)
class Network class Network
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -11507,10 +11507,10 @@ module Google
# @return [String] # @return [String]
attr_accessor :i_pv4_range attr_accessor :i_pv4_range
# When set to true, the network is created in "auto subnet mode". When set to # When set to true, the VPC network is created in "auto" mode. When set to false,
# false, the network is in "custom subnet mode". # the VPC network is created in "custom" mode.
# In "auto subnet mode", a newly created network is assigned the default CIDR of # An auto mode VPC network starts with one subnet per region. Each subnet has a
# 10.128.0.0/9 and it automatically creates one subnetwork per region. # predetermined range as described in Auto mode VPC network IP ranges.
# Corresponds to the JSON property `autoCreateSubnetworks` # Corresponds to the JSON property `autoCreateSubnetworks`
# @return [Boolean] # @return [Boolean]
attr_accessor :auto_create_subnetworks attr_accessor :auto_create_subnetworks
@ -11527,9 +11527,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :description attr_accessor :description
# A gateway address for default routing to other networks. This value is read # [Output Only] The gateway address for default routing out of the network. This
# only and is selected by the Google Compute Engine, typically as the first # value is read only and is selected by GCP.
# usable address in the IPv4Range.
# Corresponds to the JSON property `gatewayIPv4` # Corresponds to the JSON property `gatewayIPv4`
# @return [String] # @return [String]
attr_accessor :gateway_i_pv4 attr_accessor :gateway_i_pv4
@ -11573,7 +11572,7 @@ module Google
attr_accessor :self_link attr_accessor :self_link
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
# network. # VPC network.
# Corresponds to the JSON property `subnetworks` # Corresponds to the JSON property `subnetworks`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :subnetworks attr_accessor :subnetworks
@ -11871,9 +11870,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The network-wide routing mode to use. If set to REGIONAL, this network's cloud # The network-wide routing mode to use. If set to REGIONAL, this network's cloud
# routers will only advertise routes with subnetworks of this network in the # routers will only advertise routes with subnets of this network in the same
# same region as the router. If set to GLOBAL, this network's cloud routers will # region as the router. If set to GLOBAL, this network's cloud routers will
# advertise routes with all subnetworks of this network, across regions. # advertise routes with all subnets of this network, across regions.
# Corresponds to the JSON property `routingMode` # Corresponds to the JSON property `routingMode`
# @return [String] # @return [String]
attr_accessor :routing_mode attr_accessor :routing_mode

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV2 module JobsV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20180917' REVISION = '20180927'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -945,24 +945,26 @@ module Google
end end
end end
# Represents a whole calendar date, for example date of birth. The time of day # Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date # and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to # is relative to the Proleptic Gregorian Calendar. This can represent:
# represent a year and month where the day is not significant, for example # * A full date, with non-zero year, month and day values
# credit card expiration date. The year can be 0 to represent a month and day # * A month and day value, with a zero year, e.g. an anniversary
# independent of year, for example anniversary date. Related types are # * A year on its own, with zero month and day values
# google.type.TimeOfDay and `google.protobuf.Timestamp`. # * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
class Date class Date
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
# if specifying a year/month where the day is not significant. # if specifying a year by itself or a year and month where the day is not
# significant.
# Corresponds to the JSON property `day` # Corresponds to the JSON property `day`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :day attr_accessor :day
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
# month. # month and day.
# Corresponds to the JSON property `month` # Corresponds to the JSON property `month`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :month attr_accessor :month
@ -1686,13 +1688,14 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :employment_types attr_accessor :employment_types
# Represents a whole calendar date, for example date of birth. The time of day # Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date # and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to # is relative to the Proleptic Gregorian Calendar. This can represent:
# represent a year and month where the day is not significant, for example # * A full date, with non-zero year, month and day values
# credit card expiration date. The year can be 0 to represent a month and day # * A month and day value, with a zero year, e.g. an anniversary
# independent of year, for example anniversary date. Related types are # * A year on its own, with zero month and day values
# google.type.TimeOfDay and `google.protobuf.Timestamp`. # * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `endDate` # Corresponds to the JSON property `endDate`
# @return [Google::Apis::JobsV2::Date] # @return [Google::Apis::JobsV2::Date]
attr_accessor :end_date attr_accessor :end_date
@ -1736,13 +1739,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :expire_time attr_accessor :expire_time
# Represents a whole calendar date, for example date of birth. The time of day # Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date # and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to # is relative to the Proleptic Gregorian Calendar. This can represent:
# represent a year and month where the day is not significant, for example # * A full date, with non-zero year, month and day values
# credit card expiration date. The year can be 0 to represent a month and day # * A month and day value, with a zero year, e.g. an anniversary
# independent of year, for example anniversary date. Related types are # * A year on its own, with zero month and day values
# google.type.TimeOfDay and `google.protobuf.Timestamp`. # * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `expiryDate` # Corresponds to the JSON property `expiryDate`
# @return [Google::Apis::JobsV2::Date] # @return [Google::Apis::JobsV2::Date]
attr_accessor :expiry_date attr_accessor :expiry_date
@ -1796,9 +1800,11 @@ module Google
# any requirements for fluency that are associated with the job. # any requirements for fluency that are associated with the job.
# Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn". # Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
# For more information, see # For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: class=" # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`:
# external" target="_blank" `. # class="external" target="_blank" `.
# The default value is `en-US`. # If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
# Corresponds to the JSON property `languageCode` # Corresponds to the JSON property `languageCode`
# @return [String] # @return [String]
attr_accessor :language_code attr_accessor :language_code
@ -1845,13 +1851,14 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :promotion_value attr_accessor :promotion_value
# Represents a whole calendar date, for example date of birth. The time of day # Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date # and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to # is relative to the Proleptic Gregorian Calendar. This can represent:
# represent a year and month where the day is not significant, for example # * A full date, with non-zero year, month and day values
# credit card expiration date. The year can be 0 to represent a month and day # * A month and day value, with a zero year, e.g. an anniversary
# independent of year, for example anniversary date. Related types are # * A year on its own, with zero month and day values
# google.type.TimeOfDay and `google.protobuf.Timestamp`. # * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `publishDate` # Corresponds to the JSON property `publishDate`
# @return [Google::Apis::JobsV2::Date] # @return [Google::Apis::JobsV2::Date]
attr_accessor :publish_date attr_accessor :publish_date
@ -1906,13 +1913,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :responsibilities attr_accessor :responsibilities
# Represents a whole calendar date, for example date of birth. The time of day # Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date # and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. The day can be 0 to # is relative to the Proleptic Gregorian Calendar. This can represent:
# represent a year and month where the day is not significant, for example # * A full date, with non-zero year, month and day values
# credit card expiration date. The year can be 0 to represent a month and day # * A month and day value, with a zero year, e.g. an anniversary
# independent of year, for example anniversary date. Related types are # * A year on its own, with zero month and day values
# google.type.TimeOfDay and `google.protobuf.Timestamp`. # * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `startDate` # Corresponds to the JSON property `startDate`
# @return [Google::Apis::JobsV2::Date] # @return [Google::Apis::JobsV2::Date]
attr_accessor :start_date attr_accessor :start_date
@ -2053,7 +2061,7 @@ module Google
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
# nesting (For example, "((A AND B AND C) OR NOT D) AND E"), and there can # nesting (For example, "((A AND B AND C) OR NOT D) AND E"), and there can
# be a maximum of 50 comparisons/functions in the expression. The expression # be a maximum of 50 comparisons/functions in the expression. The expression
# must be < 2000 characters in length. # must be < 3000 characters in length.
# Sample Query: # Sample Query:
# (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100 # (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100
# Corresponds to the JSON property `customAttributeFilter` # Corresponds to the JSON property `customAttributeFilter`

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/ # @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3 module JobsV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20180917' REVISION = '20180927'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1145,7 +1145,9 @@ module Google
# For more information, see # For more information, see
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`:
# class="external" target="_blank" `. # class="external" target="_blank" `.
# The default value is `en-US`. # If this field is unspecified and Job.description is present, detected
# language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
# Corresponds to the JSON property `languageCode` # Corresponds to the JSON property `languageCode`
# @return [String] # @return [String]
attr_accessor :language_code attr_accessor :language_code
@ -1398,20 +1400,21 @@ module Google
# Optional. # Optional.
# This filter specifies a structured syntax to match against the # This filter specifies a structured syntax to match against the
# Job.custom_attributes marked as `filterable`. # Job.custom_attributes marked as `filterable`.
# The syntax for this expression is a subset of Google SQL syntax. # The syntax for this expression is a subset of SQL syntax.
# Supported operators are: =, !=, <, <=, >, >= where the left of the operator # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
# is a custom field key and the right of the operator is a number or string # left of the operator is a custom field key and the right of the operator
# (surrounded by quotes) value. # is a number or a quoted string. You must escape backslash (\\) and
# Supported functions are LOWER(<field_name>) to # quote (\") characters.
# perform case insensitive match and EMPTY(<field_name>) to filter on the # Supported functions are `LOWER([field_name])` to
# perform a case insensitive match and `EMPTY([field_name])` to filter on the
# existence of a key. # existence of a key.
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of # Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 50 # nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 50
# comparisons/functions are allowed in the expression. The expression # comparisons or functions are allowed in the expression. The expression
# must be < 2000 characters in length. # must be < 3000 characters in length.
# Sample Query: # Sample Query:
# (LOWER(driving_license)="class a" OR EMPTY(driving_license)) AND # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
# driving_years > 10 # driving_years > 10`
# Corresponds to the JSON property `customAttributeFilter` # Corresponds to the JSON property `customAttributeFilter`
# @return [String] # @return [String]
attr_accessor :custom_attribute_filter attr_accessor :custom_attribute_filter
@ -2249,23 +2252,23 @@ module Google
# * "relevance desc": By relevance descending, as determined by the API # * "relevance desc": By relevance descending, as determined by the API
# algorithms. Relevance thresholding of query results is only available # algorithms. Relevance thresholding of query results is only available
# with this ordering. # with this ordering.
# * "posting_publish_time desc": By Job.posting_publish_time descending. # * "posting`_`publish`_`time desc": By Job.posting_publish_time descending.
# * "posting_update_time desc": By Job.posting_update_time descending. # * "posting`_`update`_`time desc": By Job.posting_update_time descending.
# * "title": By Job.title ascending. # * "title": By Job.title ascending.
# * "title desc": By Job.title descending. # * "title desc": By Job.title descending.
# * "annualized_base_compensation": By job's # * "annualized`_`base`_`compensation": By job's
# CompensationInfo.annualized_base_compensation_range ascending. Jobs # CompensationInfo.annualized_base_compensation_range ascending. Jobs
# whose annualized base compensation is unspecified are put at the end of # whose annualized base compensation is unspecified are put at the end of
# search results. # search results.
# * "annualized_base_compensation desc": By job's # * "annualized`_`base`_`compensation desc": By job's
# CompensationInfo.annualized_base_compensation_range descending. Jobs # CompensationInfo.annualized_base_compensation_range descending. Jobs
# whose annualized base compensation is unspecified are put at the end of # whose annualized base compensation is unspecified are put at the end of
# search results. # search results.
# * "annualized_total_compensation": By job's # * "annualized`_`total`_`compensation": By job's
# CompensationInfo.annualized_total_compensation_range ascending. Jobs # CompensationInfo.annualized_total_compensation_range ascending. Jobs
# whose annualized base compensation is unspecified are put at the end of # whose annualized base compensation is unspecified are put at the end of
# search results. # search results.
# * "annualized_total_compensation desc": By job's # * "annualized`_`total`_`compensation desc": By job's
# CompensationInfo.annualized_total_compensation_range descending. Jobs # CompensationInfo.annualized_total_compensation_range descending. Jobs
# whose annualized base compensation is unspecified are put at the end of # whose annualized base compensation is unspecified are put at the end of
# search results. # search results.
@ -2400,7 +2403,7 @@ module Google
# The precise result count, which is available only if the client set # The precise result count, which is available only if the client set
# enable_precise_result_size to `true` or if the response # enable_precise_result_size to `true` or if the response
# is the last page of results. Otherwise, the value will be `-1`. # is the last page of results. Otherwise, the value is `-1`.
# Corresponds to the JSON property `totalSize` # Corresponds to the JSON property `totalSize`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :total_size attr_accessor :total_size

View File

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

View File

@ -1200,16 +1200,14 @@ module Google
end end
end end
# Nimbus InternalCheckers. # Nimbus InternalCheckers. The API currently only allows reading of internal
# checkers, creation of internal checkers is a manual process.
class InternalChecker class InternalChecker
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The checker ID. # The checker's human-readable name. The display name should be unique within a
# Corresponds to the JSON property `checkerId` # Stackdriver Workspace in order to make it easier to identify; however,
# @return [String] # uniqueness is not enforced.
attr_accessor :checker_id
# The checker's human-readable name.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
@ -1220,27 +1218,30 @@ module Google
# @return [String] # @return [String]
attr_accessor :gcp_zone attr_accessor :gcp_zone
# The internal network to perform this uptime check on. # A unique resource name for this InternalChecker. The format is:projects/[
# PROJECT_ID]/internalCheckers/[CHECKER_ID].PROJECT_ID is the GCP project ID
# where the internal resource lives. Not necessarily the same as the project_id
# for the config.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal
# resource lives (ex: "default").
# Corresponds to the JSON property `network` # Corresponds to the JSON property `network`
# @return [String] # @return [String]
attr_accessor :network attr_accessor :network
# The GCP project ID. Not necessarily the same as the project_id for the config.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@checker_id = args[:checker_id] if args.key?(:checker_id)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone) @gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network) @network = args[:network] if args.key?(:network)
@project_id = args[:project_id] if args.key?(:project_id)
end end
end end
@ -2796,7 +2797,7 @@ module Google
attr_accessor :content_matchers attr_accessor :content_matchers
# A human-friendly name for the uptime check configuration. The display name # A human-friendly name for the uptime check configuration. The display name
# should be unique within a Stackdriver Account in order to make it easier to # should be unique within a Stackdriver Workspace in order to make it easier to
# identify; however, uniqueness is not enforced. Required. # identify; however, uniqueness is not enforced. Required.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]

View File

@ -681,11 +681,10 @@ module Google
class InternalChecker class InternalChecker
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :checker_id, as: 'checkerId'
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :gcp_zone, as: 'gcpZone' property :gcp_zone, as: 'gcpZone'
property :name, as: 'name'
property :network, as: 'network' property :network, as: 'network'
property :project_id, as: 'projectId'
end end
end end