From 5638f179c790f89b045b66eb8acd32bedf76ab0f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 5 Oct 2018 00:36:22 +0000 Subject: [PATCH] Autogenerated update (2018-10-05) Update: - appengine_v1 - appengine_v1beta - compute_alpha - compute_beta - compute_v1 - jobs_v2 - jobs_v3 - monitoring_v3 --- api_names_out.yaml | 6 ++ generated/google/apis/appengine_v1.rb | 2 +- generated/google/apis/appengine_v1/classes.rb | 9 +- .../apis/appengine_v1/representations.rb | 1 + generated/google/apis/appengine_v1beta.rb | 2 +- .../google/apis/appengine_v1beta/classes.rb | 2 +- generated/google/apis/compute_alpha.rb | 2 +- .../google/apis/compute_alpha/classes.rb | 101 +++++++++++------- .../apis/compute_alpha/representations.rb | 18 +++- .../google/apis/compute_alpha/service.rb | 10 +- generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 53 ++++----- generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 27 +++-- generated/google/apis/jobs_v2.rb | 2 +- generated/google/apis/jobs_v2/classes.rb | 82 +++++++------- generated/google/apis/jobs_v3.rb | 2 +- generated/google/apis/jobs_v3/classes.rb | 39 +++---- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 33 +++--- .../apis/monitoring_v3/representations.rb | 3 +- 21 files changed, 235 insertions(+), 165 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index db3a98297..35345f530 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8156,6 +8156,7 @@ "/appengine:v1/Empty": empty "/appengine:v1/EndpointsApiService": endpoints_api_service "/appengine:v1/EndpointsApiService/configId": config_id +"/appengine:v1/EndpointsApiService/disableTraceSampling": disable_trace_sampling "/appengine:v1/EndpointsApiService/name": name "/appengine:v1/EndpointsApiService/rolloutStrategy": rollout_strategy "/appengine:v1/Entrypoint": entrypoint @@ -19447,7 +19448,10 @@ "/compute:alpha/InstanceGroupManagerStatefulPolicyDiskPolicy/deviceName": device_name "/compute:alpha/InstanceGroupManagerStatus": instance_group_manager_status "/compute:alpha/InstanceGroupManagerStatus/isStable": is_stable +"/compute:alpha/InstanceGroupManagerStatus/versionTarget": version_target "/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/instanceRedistributionType": instance_redistribution_type "/compute:alpha/InstanceGroupManagerUpdatePolicy/maxSurge": max_surge @@ -19585,6 +19589,7 @@ "/compute:alpha/InstanceMoveRequest/destinationZone": destination_zone "/compute:alpha/InstanceMoveRequest/targetInstance": target_instance "/compute:alpha/InstanceProperties": instance_properties +"/compute:alpha/InstanceProperties/allocationAffinity": allocation_affinity "/compute:alpha/InstanceProperties/canIpForward": can_ip_forward "/compute:alpha/InstanceProperties/description": description "/compute:alpha/InstanceProperties/disks": disks @@ -70886,6 +70891,7 @@ "/monitoring:v3/InternalChecker/checkerId": checker_id "/monitoring:v3/InternalChecker/displayName": display_name "/monitoring:v3/InternalChecker/gcpZone": gcp_zone +"/monitoring:v3/InternalChecker/name": name "/monitoring:v3/InternalChecker/network": network "/monitoring:v3/InternalChecker/projectId": project_id "/monitoring:v3/LabelDescriptor": label_descriptor diff --git a/generated/google/apis/appengine_v1.rb b/generated/google/apis/appengine_v1.rb index a24f90e04..24d189ba6 100644 --- a/generated/google/apis/appengine_v1.rb +++ b/generated/google/apis/appengine_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1 VERSION = 'V1' - REVISION = '20180910' + REVISION = '20181001' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1/classes.rb b/generated/google/apis/appengine_v1/classes.rb index 09a06a7f4..1126a8acf 100644 --- a/generated/google/apis/appengine_v1/classes.rb +++ b/generated/google/apis/appengine_v1/classes.rb @@ -122,7 +122,7 @@ module Google # 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 - # dispatch rules can be supported.@OutputOnly + # dispatch rules can be supported. # Corresponds to the JSON property `dispatchRules` # @return [Array] attr_accessor :dispatch_rules @@ -832,6 +832,12 @@ module Google # @return [String] 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 # Service Management API. For example "myapi.endpoints.myproject.cloud.goog" # Corresponds to the JSON property `name` @@ -851,6 +857,7 @@ module Google # Update properties of this object def update!(**args) @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) @rollout_strategy = args[:rollout_strategy] if args.key?(:rollout_strategy) end diff --git a/generated/google/apis/appengine_v1/representations.rb b/generated/google/apis/appengine_v1/representations.rb index a45b40a17..0d521a895 100644 --- a/generated/google/apis/appengine_v1/representations.rb +++ b/generated/google/apis/appengine_v1/representations.rb @@ -660,6 +660,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :config_id, as: 'configId' + property :disable_trace_sampling, as: 'disableTraceSampling' property :name, as: 'name' property :rollout_strategy, as: 'rolloutStrategy' end diff --git a/generated/google/apis/appengine_v1beta.rb b/generated/google/apis/appengine_v1beta.rb index 7e3fdcf78..1847c9cb2 100644 --- a/generated/google/apis/appengine_v1beta.rb +++ b/generated/google/apis/appengine_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta VERSION = 'V1beta' - REVISION = '20180910' + REVISION = '20181001' # View and manage your applications deployed on Google App Engine AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' diff --git a/generated/google/apis/appengine_v1beta/classes.rb b/generated/google/apis/appengine_v1beta/classes.rb index ccb80f447..9c1ee897b 100644 --- a/generated/google/apis/appengine_v1beta/classes.rb +++ b/generated/google/apis/appengine_v1beta/classes.rb @@ -122,7 +122,7 @@ module Google # 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 - # dispatch rules can be supported.@OutputOnly + # dispatch rules can be supported. # Corresponds to the JSON property `dispatchRules` # @return [Array] attr_accessor :dispatch_rules diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index dd927b30f..99f056435 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20180906' + REVISION = '20180916' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index eeb411c3f..67a7f342b 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -10113,14 +10113,11 @@ module Google attr_accessor :is_stable alias_method :is_stable?, :is_stable - # [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 `versionTargetReached` - # @return [Boolean] - attr_accessor :version_target_reached - alias_method :version_target_reached?, :version_target_reached + # [Output Only] A status of consistency of Instances' versions with their target + # version specified by version field on Instance Group Manager. + # Corresponds to the JSON property `versionTarget` + # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusVersionTarget] + attr_accessor :version_target def initialize(**args) update!(**args) @@ -10129,7 +10126,30 @@ module Google # Update properties of this object def update!(**args) @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 @@ -11271,6 +11291,12 @@ module Google class InstanceProperties 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 # 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 @@ -11357,6 +11383,7 @@ module Google # Update properties of this object 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) @description = args[:description] if args.key?(:description) @disks = args[:disks] if args.key?(:disks) @@ -14051,15 +14078,16 @@ module Google # metric names will have "/iam/policy" prepended. # Field names correspond to IAM request parameters and field values are their # respective values. - # At present the only supported field names are - "iam_principal", corresponding - # to IAMContext.principal; - "" (empty string), resulting in one aggretated - # counter with no field. + # Supported field names: - "authority", which is "[token]" if IAMContext.token + # is present, otherwise the value of IAMContext.authority_selector if present, + # 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" ` ==> # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # of IAMContext.principal]` - # At this time we do not support: * multiple field names (though this may be - # supported in the future) * decrementing the counter * incrementing it by - # anything other than 1 + # At this time we do not support multiple field names (though this may be + # supported in the future). # Corresponds to the JSON property `counter` # @return [Google::Apis::ComputeAlpha::LogConfigCounterOptions] attr_accessor :counter @@ -14112,15 +14140,16 @@ module Google # metric names will have "/iam/policy" prepended. # Field names correspond to IAM request parameters and field values are their # respective values. - # At present the only supported field names are - "iam_principal", corresponding - # to IAMContext.principal; - "" (empty string), resulting in one aggretated - # counter with no field. + # Supported field names: - "authority", which is "[token]" if IAMContext.token + # is present, otherwise the value of IAMContext.authority_selector if present, + # 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" ` ==> # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # of IAMContext.principal]` - # At this time we do not support: * multiple field names (though this may be - # supported in the future) * decrementing the counter * incrementing it by - # anything other than 1 + # At this time we do not support multiple field names (though this may be + # supported in the future). class LogConfigCounterOptions include Google::Apis::Core::Hashable @@ -15183,9 +15212,9 @@ module Google end end - # Represents a Network resource. Read Networks and Firewalls for more - # information. (== resource_for v1.networks ==) (== resource_for beta.networks == - # ) + # Represents a Network resource. Read Virtual Private Cloud (VPC) Network + # Overview for more information. (== resource_for v1.networks ==) (== + # resource_for beta.networks ==) class Network include Google::Apis::Core::Hashable @@ -15196,10 +15225,10 @@ module Google # @return [String] attr_accessor :i_pv4_range - # When set to true, the network is created in "auto subnet mode". When set to - # false, the network is in "custom subnet mode". - # In "auto subnet mode", a newly created network is assigned the default CIDR of - # 10.128.0.0/9 and it automatically creates one subnetwork per region. + # When set to true, the VPC network is created in "auto" mode. When set to false, + # the VPC network is created in "custom" mode. + # An auto mode VPC network starts with one subnet per region. Each subnet has a + # predetermined range as described in Auto mode VPC network IP ranges. # Corresponds to the JSON property `autoCreateSubnetworks` # @return [Boolean] attr_accessor :auto_create_subnetworks @@ -15221,9 +15250,8 @@ module Google # @return [String] attr_accessor :description - # A gateway address for default routing to other networks. This value is read - # only and is selected by the Google Compute Engine, typically as the first - # usable address in the IPv4Range. + # [Output Only] The gateway address for default routing out of the network. This + # value is read only and is selected by GCP. # Corresponds to the JSON property `gatewayIPv4` # @return [String] attr_accessor :gateway_i_pv4 @@ -15272,7 +15300,7 @@ module Google attr_accessor :self_link # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this - # network. + # VPC network. # Corresponds to the JSON property `subnetworks` # @return [Array] attr_accessor :subnetworks @@ -16302,9 +16330,9 @@ module Google include Google::Apis::Core::Hashable # 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 - # same region as the router. If set to GLOBAL, this network's cloud routers will - # advertise routes with all subnetworks of this network, across regions. + # routers will only advertise routes with subnets of this network in the same + # region as the router. If set to GLOBAL, this network's cloud routers will + # advertise routes with all subnets of this network, across regions. # Corresponds to the JSON property `routingMode` # @return [String] attr_accessor :routing_mode @@ -23779,7 +23807,8 @@ module Google attr_accessor :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` # @return [Boolean] attr_accessor :deletion_protection diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index c2205d32b..3dfde2714 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -1258,6 +1258,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagerStatusVersionTarget + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagerUpdatePolicy class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6744,7 +6750,15 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation 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 @@ -7082,6 +7096,8 @@ module Google class InstanceProperties # @private 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 :description, as: 'description' collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index 69a32a270..53732606b 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -12748,8 +12748,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the specified machine image. Deleting an machine image is permanent - # and cannot be undone. + # Deletes the specified machine image. Deleting a machine image is permanent and + # cannot be undone. # @param [String] project # Project ID for this request. # @param [String] machine_image @@ -12871,9 +12871,9 @@ module Google execute_or_queue_command(command, &block) 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 - # 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. # @param [String] project # 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 # supported (00000000-0000-0000-0000-000000000000). # @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 # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 2b78e5d69..2fb1904dc 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20180906' + REVISION = '20180916' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 2e08deca8..0e2128ef1 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -12240,15 +12240,16 @@ module Google # metric names will have "/iam/policy" prepended. # Field names correspond to IAM request parameters and field values are their # respective values. - # At present the only supported field names are - "iam_principal", corresponding - # to IAMContext.principal; - "" (empty string), resulting in one aggretated - # counter with no field. + # Supported field names: - "authority", which is "[token]" if IAMContext.token + # is present, otherwise the value of IAMContext.authority_selector if present, + # 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" ` ==> # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # of IAMContext.principal]` - # At this time we do not support: * multiple field names (though this may be - # supported in the future) * decrementing the counter * incrementing it by - # anything other than 1 + # At this time we do not support multiple field names (though this may be + # supported in the future). # Corresponds to the JSON property `counter` # @return [Google::Apis::ComputeBeta::LogConfigCounterOptions] attr_accessor :counter @@ -12301,15 +12302,16 @@ module Google # metric names will have "/iam/policy" prepended. # Field names correspond to IAM request parameters and field values are their # respective values. - # At present the only supported field names are - "iam_principal", corresponding - # to IAMContext.principal; - "" (empty string), resulting in one aggretated - # counter with no field. + # Supported field names: - "authority", which is "[token]" if IAMContext.token + # is present, otherwise the value of IAMContext.authority_selector if present, + # 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" ` ==> # increment counter /iam/policy/backend_debug_access_count `iam_principal=[value # of IAMContext.principal]` - # At this time we do not support: * multiple field names (though this may be - # supported in the future) * decrementing the counter * incrementing it by - # anything other than 1 + # At this time we do not support multiple field names (though this may be + # supported in the future). class LogConfigCounterOptions include Google::Apis::Core::Hashable @@ -13044,9 +13046,9 @@ module Google end end - # Represents a Network resource. Read Networks and Firewalls for more - # information. (== resource_for v1.networks ==) (== resource_for beta.networks == - # ) + # Represents a Network resource. Read Virtual Private Cloud (VPC) Network + # Overview for more information. (== resource_for v1.networks ==) (== + # resource_for beta.networks ==) class Network include Google::Apis::Core::Hashable @@ -13057,10 +13059,10 @@ module Google # @return [String] attr_accessor :i_pv4_range - # When set to true, the network is created in "auto subnet mode". When set to - # false, the network is in "custom subnet mode". - # In "auto subnet mode", a newly created network is assigned the default CIDR of - # 10.128.0.0/9 and it automatically creates one subnetwork per region. + # When set to true, the VPC network is created in "auto" mode. When set to false, + # the VPC network is created in "custom" mode. + # An auto mode VPC network starts with one subnet per region. Each subnet has a + # predetermined range as described in Auto mode VPC network IP ranges. # Corresponds to the JSON property `autoCreateSubnetworks` # @return [Boolean] attr_accessor :auto_create_subnetworks @@ -13077,9 +13079,8 @@ module Google # @return [String] attr_accessor :description - # A gateway address for default routing to other networks. This value is read - # only and is selected by the Google Compute Engine, typically as the first - # usable address in the IPv4Range. + # [Output Only] The gateway address for default routing out of the network. This + # value is read only and is selected by GCP. # Corresponds to the JSON property `gatewayIPv4` # @return [String] attr_accessor :gateway_i_pv4 @@ -13123,7 +13124,7 @@ module Google attr_accessor :self_link # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this - # network. + # VPC network. # Corresponds to the JSON property `subnetworks` # @return [Array] attr_accessor :subnetworks @@ -14130,9 +14131,9 @@ module Google include Google::Apis::Core::Hashable # 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 - # same region as the router. If set to GLOBAL, this network's cloud routers will - # advertise routes with all subnetworks of this network, across regions. + # routers will only advertise routes with subnets of this network in the same + # region as the router. If set to GLOBAL, this network's cloud routers will + # advertise routes with all subnets of this network, across regions. # Corresponds to the JSON property `routingMode` # @return [String] attr_accessor :routing_mode diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 077e8662e..15efacd53 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20180906' + REVISION = '20180916' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 791f184a5..5a02d2928 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -11494,9 +11494,9 @@ module Google end end - # Represents a Network resource. Read Networks and Firewalls for more - # information. (== resource_for v1.networks ==) (== resource_for beta.networks == - # ) + # Represents a Network resource. Read Virtual Private Cloud (VPC) Network + # Overview for more information. (== resource_for v1.networks ==) (== + # resource_for beta.networks ==) class Network include Google::Apis::Core::Hashable @@ -11507,10 +11507,10 @@ module Google # @return [String] attr_accessor :i_pv4_range - # When set to true, the network is created in "auto subnet mode". When set to - # false, the network is in "custom subnet mode". - # In "auto subnet mode", a newly created network is assigned the default CIDR of - # 10.128.0.0/9 and it automatically creates one subnetwork per region. + # When set to true, the VPC network is created in "auto" mode. When set to false, + # the VPC network is created in "custom" mode. + # An auto mode VPC network starts with one subnet per region. Each subnet has a + # predetermined range as described in Auto mode VPC network IP ranges. # Corresponds to the JSON property `autoCreateSubnetworks` # @return [Boolean] attr_accessor :auto_create_subnetworks @@ -11527,9 +11527,8 @@ module Google # @return [String] attr_accessor :description - # A gateway address for default routing to other networks. This value is read - # only and is selected by the Google Compute Engine, typically as the first - # usable address in the IPv4Range. + # [Output Only] The gateway address for default routing out of the network. This + # value is read only and is selected by GCP. # Corresponds to the JSON property `gatewayIPv4` # @return [String] attr_accessor :gateway_i_pv4 @@ -11573,7 +11572,7 @@ module Google attr_accessor :self_link # [Output Only] Server-defined fully-qualified URLs for all subnetworks in this - # network. + # VPC network. # Corresponds to the JSON property `subnetworks` # @return [Array] attr_accessor :subnetworks @@ -11871,9 +11870,9 @@ module Google include Google::Apis::Core::Hashable # 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 - # same region as the router. If set to GLOBAL, this network's cloud routers will - # advertise routes with all subnetworks of this network, across regions. + # routers will only advertise routes with subnets of this network in the same + # region as the router. If set to GLOBAL, this network's cloud routers will + # advertise routes with all subnets of this network, across regions. # Corresponds to the JSON property `routingMode` # @return [String] attr_accessor :routing_mode diff --git a/generated/google/apis/jobs_v2.rb b/generated/google/apis/jobs_v2.rb index e972ded66..bd1d4c974 100644 --- a/generated/google/apis/jobs_v2.rb +++ b/generated/google/apis/jobs_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV2 VERSION = 'V2' - REVISION = '20180917' + REVISION = '20180927' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v2/classes.rb b/generated/google/apis/jobs_v2/classes.rb index 24c4d3c79..02c607d08 100644 --- a/generated/google/apis/jobs_v2/classes.rb +++ b/generated/google/apis/jobs_v2/classes.rb @@ -945,24 +945,26 @@ module Google 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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 include Google::Apis::Core::Hashable # 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` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a date without a - # month. + # Month of year. Must be from 1 to 12, or 0 if specifying a year without a + # month and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month @@ -1686,13 +1688,14 @@ module Google # @return [Array] 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::JobsV2::Date] attr_accessor :end_date @@ -1736,13 +1739,14 @@ module Google # @return [String] 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::JobsV2::Date] attr_accessor :expiry_date @@ -1796,9 +1800,11 @@ module Google # 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". # For more information, see - # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: class=" - # external" target="_blank" `. - # The default value is `en-US`. + # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: + # class="external" target="_blank" `. + # 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` # @return [String] attr_accessor :language_code @@ -1845,13 +1851,14 @@ module Google # @return [Fixnum] 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::JobsV2::Date] attr_accessor :publish_date @@ -1906,13 +1913,14 @@ module Google # @return [String] 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 - # is relative to the Proleptic Gregorian Calendar. The day can be 0 to - # represent a year and month where the day is not significant, for example - # credit card expiration date. The year can be 0 to represent a month and day - # independent of year, for example anniversary date. Related types are - # google.type.TimeOfDay and `google.protobuf.Timestamp`. + # is relative to the Proleptic Gregorian Calendar. This can represent: + # * A full date, with non-zero year, month and day values + # * A month and day value, with a zero year, e.g. an anniversary + # * A year on its own, with zero month and day values + # * 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` # @return [Google::Apis::JobsV2::Date] attr_accessor :start_date @@ -2053,7 +2061,7 @@ module Google # 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 # 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: # (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100 # Corresponds to the JSON property `customAttributeFilter` diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb index c159d4104..24915d6f3 100644 --- a/generated/google/apis/jobs_v3.rb +++ b/generated/google/apis/jobs_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3 VERSION = 'V3' - REVISION = '20180917' + REVISION = '20180927' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/jobs_v3/classes.rb b/generated/google/apis/jobs_v3/classes.rb index 16a12f4d3..14ad6ee4a 100644 --- a/generated/google/apis/jobs_v3/classes.rb +++ b/generated/google/apis/jobs_v3/classes.rb @@ -1145,7 +1145,9 @@ module Google # For more information, see # [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: # 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` # @return [String] attr_accessor :language_code @@ -1398,20 +1400,21 @@ module Google # Optional. # This filter specifies a structured syntax to match against the # Job.custom_attributes marked as `filterable`. - # The syntax for this expression is a subset of Google SQL syntax. - # Supported operators are: =, !=, <, <=, >, >= where the left of the operator - # is a custom field key and the right of the operator is a number or string - # (surrounded by quotes) value. - # Supported functions are LOWER() to - # perform case insensitive match and EMPTY() to filter on the + # The syntax for this expression is a subset of SQL syntax. + # Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the + # left of the operator is a custom field key and the right of the operator + # is a number or a quoted string. You must escape backslash (\\) and + # quote (\") characters. + # Supported functions are `LOWER([field_name])` to + # perform a case insensitive match and `EMPTY([field_name])` to filter on the # existence of a key. # 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 - # comparisons/functions are allowed in the expression. The expression - # must be < 2000 characters in length. + # comparisons or functions are allowed in the expression. The expression + # must be < 3000 characters in length. # Sample Query: - # (LOWER(driving_license)="class a" OR EMPTY(driving_license)) AND - # driving_years > 10 + # `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND + # driving_years > 10` # Corresponds to the JSON property `customAttributeFilter` # @return [String] attr_accessor :custom_attribute_filter @@ -2249,23 +2252,23 @@ module Google # * "relevance desc": By relevance descending, as determined by the API # algorithms. Relevance thresholding of query results is only available # with this ordering. - # * "posting_publish_time desc": By Job.posting_publish_time descending. - # * "posting_update_time desc": By Job.posting_update_time descending. + # * "posting`_`publish`_`time desc": By Job.posting_publish_time descending. + # * "posting`_`update`_`time desc": By Job.posting_update_time descending. # * "title": By Job.title ascending. # * "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 # whose annualized base compensation is unspecified are put at the end of # search results. - # * "annualized_base_compensation desc": By job's + # * "annualized`_`base`_`compensation desc": By job's # CompensationInfo.annualized_base_compensation_range descending. Jobs # whose annualized base compensation is unspecified are put at the end of # search results. - # * "annualized_total_compensation": By job's + # * "annualized`_`total`_`compensation": By job's # CompensationInfo.annualized_total_compensation_range ascending. Jobs # whose annualized base compensation is unspecified are put at the end of # search results. - # * "annualized_total_compensation desc": By job's + # * "annualized`_`total`_`compensation desc": By job's # CompensationInfo.annualized_total_compensation_range descending. Jobs # whose annualized base compensation is unspecified are put at the end of # search results. @@ -2400,7 +2403,7 @@ module Google # The precise result count, which is available only if the client set # 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` # @return [Fixnum] attr_accessor :total_size diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index d0d036e76..05b2204ca 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20180922' + REVISION = '20180929' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index a79f1519a..386fd3bbc 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -1200,16 +1200,14 @@ module Google 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 include Google::Apis::Core::Hashable - # The checker ID. - # Corresponds to the JSON property `checkerId` - # @return [String] - attr_accessor :checker_id - - # The checker's human-readable name. + # The checker's human-readable name. The display name should be unique within a + # Stackdriver Workspace in order to make it easier to identify; however, + # uniqueness is not enforced. # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name @@ -1220,27 +1218,30 @@ module Google # @return [String] 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` # @return [String] 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) update!(**args) end # Update properties of this object def update!(**args) - @checker_id = args[:checker_id] if args.key?(:checker_id) @display_name = args[:display_name] if args.key?(:display_name) @gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone) + @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) - @project_id = args[:project_id] if args.key?(:project_id) end end @@ -2796,7 +2797,7 @@ module Google attr_accessor :content_matchers # 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. # Corresponds to the JSON property `displayName` # @return [String] diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index a42e82f2d..67d5b172c 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -681,11 +681,10 @@ module Google class InternalChecker # @private class Representation < Google::Apis::Core::JsonRepresentation - property :checker_id, as: 'checkerId' property :display_name, as: 'displayName' property :gcp_zone, as: 'gcpZone' + property :name, as: 'name' property :network, as: 'network' - property :project_id, as: 'projectId' end end