diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index 0a3b099a5..8fada08a3 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20200117' + REVISION = '20200210' # 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.rb b/generated/google/apis/compute_alpha.rb index 4bf6c9f25..fd92c6013 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 = '20200106' + REVISION = '20200114' # 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 7e23a5f4c..f8a4e7d56 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -9849,7 +9849,7 @@ module Google # @return [Google::Apis::ComputeAlpha::Int64RangeMatch] attr_accessor :range_match - # The value of the header must match the regualar expression specified in + # The value of the header must match the regular expression specified in # regexMatch. For regular expression grammar, please see: en.cppreference.com/w/ # cpp/regex/ecmascript # For matching against a port specified in the HTTP request, use a headerMatch @@ -9857,6 +9857,8 @@ module Google # RFC2616 Host header's port specifier. # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or # rangeMatch must be set. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -10180,6 +10182,8 @@ module Google # regular expression specified by regexMatch. For the regular expression grammar, # please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of presentMatch, exactMatch or regexMatch must be set. + # Note that regexMatch only applies when the loadBalancingScheme is set to + # INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -10557,6 +10561,8 @@ module Google # parameters and anchor supplied with the original URL. For regular expression # grammar please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -11419,6 +11425,12 @@ module Google # @return [Fixnum] attr_accessor :preserved_state_size_gb + # The private IPv6 google access type for the VM. If not specified, use + # INHERIT_FROM_SUBNETWORK as default. + # Corresponds to the JSON property `privateIpv6GoogleAccess` + # @return [String] + attr_accessor :private_ipv6_google_access + # Specifies the reservations that this instance can consume from. # Corresponds to the JSON property `reservationAffinity` # @return [Google::Apis::ComputeAlpha::ReservationAffinity] @@ -11509,6 +11521,11 @@ module Google # @return [Google::Apis::ComputeAlpha::Tags] attr_accessor :tags + # Upcoming Maintenance notification information. + # Corresponds to the JSON property `upcomingMaintenance` + # @return [Google::Apis::ComputeAlpha::UpcomingMaintenance] + attr_accessor :upcoming_maintenance + # [Output Only] URL of the zone where the instance resides. You must specify # this field as part of the HTTP request URL. It is not settable as a field in # the request body. @@ -11546,6 +11563,7 @@ module Google @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces) @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type) @preserved_state_size_gb = args[:preserved_state_size_gb] if args.key?(:preserved_state_size_gb) + @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access) @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity) @resource_policies = args[:resource_policies] if args.key?(:resource_policies) @scheduling = args[:scheduling] if args.key?(:scheduling) @@ -11562,6 +11580,7 @@ module Google @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) @tags = args[:tags] if args.key?(:tags) + @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance) @zone = args[:zone] if args.key?(:zone) end end @@ -14170,6 +14189,12 @@ module Google # @return [String] attr_accessor :post_key_revocation_action_type + # The private IPv6 google access type for the VM. If not specified, use + # INHERIT_FROM_SUBNETWORK as default. + # Corresponds to the JSON property `privateIpv6GoogleAccess` + # @return [String] + attr_accessor :private_ipv6_google_access + # Specifies the reservations that this instance can consume from. # Corresponds to the JSON property `reservationAffinity` # @return [Google::Apis::ComputeAlpha::ReservationAffinity] @@ -14226,6 +14251,7 @@ module Google @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces) @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type) + @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access) @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity) @resource_policies = args[:resource_policies] if args.key?(:resource_policies) @scheduling = args[:scheduling] if args.key?(:scheduling) @@ -23567,8 +23593,7 @@ module Google # The list of HTTP route rules. Use this list instead of pathRules when advanced # route matching and routing actions are desired. routeRules are evaluated in # order of priority, from the lowest to highest number. - # Within a given pathMatcher, only one of pathRules or routeRules must be set. - # routeRules are not supported in UrlMaps intended for External Load balancers. + # Within a given pathMatcher, you can set only one of pathRules or routeRules. # Corresponds to the JSON property `routeRules` # @return [Array] attr_accessor :route_rules @@ -36296,6 +36321,39 @@ module Google end end + # Upcoming Maintenance notification information. + class UpcomingMaintenance + include Google::Apis::Core::Hashable + + # [Output Only] The date when the maintenance will take place. This value is in + # RFC3339 text format. + # Corresponds to the JSON property `date` + # @return [String] + attr_accessor :date + + # [Output Only] The time when the maintenance will take place. This value is in + # RFC3339 text format. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # Defines the type of maintenance. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date = args[:date] if args.key?(:date) + @time = args[:time] if args.key?(:time) + @type = args[:type] if args.key?(:type) + end + end + # Represents a URL Map resource. # Google Compute Engine has two URL Map resources: # * [Global](/compute/docs/reference/rest/latest/urlMaps) * [Regional](/compute/ diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index e2162e5d6..4635cb289 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -4888,6 +4888,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UpcomingMaintenance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7898,6 +7904,7 @@ module Google property :post_key_revocation_action_type, as: 'postKeyRevocationActionType' property :preserved_state_size_gb, :numeric_string => true, as: 'preservedStateSizeGb' + property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess' property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation collection :resource_policies, as: 'resourcePolicies' @@ -7923,6 +7930,8 @@ module Google property :status_message, as: 'statusMessage' property :tags, as: 'tags', class: Google::Apis::ComputeAlpha::Tags, decorator: Google::Apis::ComputeAlpha::Tags::Representation + property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeAlpha::UpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenance::Representation + property :zone, as: 'zone' end end @@ -8618,6 +8627,7 @@ module Google collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation property :post_key_revocation_action_type, as: 'postKeyRevocationActionType' + property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess' property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeAlpha::ReservationAffinity, decorator: Google::Apis::ComputeAlpha::ReservationAffinity::Representation collection :resource_policies, as: 'resourcePolicies' @@ -14273,6 +14283,15 @@ module Google end end + class UpcomingMaintenance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date' + property :time, as: 'time' + property :type, as: 'type' + end + end + class UrlMap # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 3a0b8242e..49a495c05 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 = '20200104' + REVISION = '20200114' # 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 02ed1fa4d..e0ec23eb1 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -3194,6 +3194,11 @@ module Google class BackendServiceGroupHealth include Google::Apis::Core::Hashable + # Metadata defined as annotations on the network endpoint group. + # Corresponds to the JSON property `annotations` + # @return [Hash] + attr_accessor :annotations + # Health state of the backend instances or endpoints in requested instance or # network endpoint group, determined based on configured health checks. # Corresponds to the JSON property `healthStatus` @@ -3212,6 +3217,7 @@ module Google # Update properties of this object def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) @health_status = args[:health_status] if args.key?(:health_status) @kind = args[:kind] if args.key?(:kind) end @@ -8204,6 +8210,12 @@ module Google # @return [String] attr_accessor :kind + # Configuration of logging on a health check. If logging is enabled, logs will + # be exported to Stackdriver. + # Corresponds to the JSON property `logConfig` + # @return [Google::Apis::ComputeBeta::HealthCheckLogConfig] + attr_accessor :log_config + # Name of the resource. Provided by the client when the resource is created. The # name must be 1-63 characters long, and comply with RFC1035. Specifically, the # name must be 1-63 characters long and match the regular expression `[a-z]([-a- @@ -8270,6 +8282,7 @@ module Google @https_health_check = args[:https_health_check] if args.key?(:https_health_check) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @log_config = args[:log_config] if args.key?(:log_config) @name = args[:name] if args.key?(:name) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @@ -8398,6 +8411,28 @@ module Google end end + # Configuration of logging on a health check. If logging is enabled, logs will + # be exported to Stackdriver. + class HealthCheckLogConfig + include Google::Apis::Core::Hashable + + # Indicates whether or not to export logs. This is false by default, which means + # no health check logging will be done. + # Corresponds to the JSON property `enable` + # @return [Boolean] + attr_accessor :enable + alias_method :enable?, :enable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable = args[:enable] if args.key?(:enable) + end + end + # A full or valid partial URL to a health check. For example, the following are # valid URLs: # - https://www.googleapis.com/compute/beta/projects/project-id/global/ @@ -8422,6 +8457,258 @@ module Google end end + # A HealthCheckService defines a set of backends on which to perform periodic + # health checks and an endpoint to which to send notification of changes in the + # health status of the backends. + class HealthCheckService + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Fingerprint of this resource. A hash of the contents stored in this object. + # This field is used in optimistic locking. This field will be ignored when + # inserting a HealthCheckService. An up-to-date fingerprint must be provided in + # order to patch/update the HealthCheckService; Otherwise, the request will fail + # with error 412 conditionNotMet. To see the latest fingerprint, make a get() + # request to retrieve the HealthCheckService. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + + # List of URLs to the HealthCheck resources. Must have at least one HealthCheck, + # and not more than 10. HealthCheck resources must have portSpecification= + # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be + # regional and in the same region. For global HealthCheckService, HealthCheck + # must be global. Mix of regional and global HealthChecks is not supported. + # Multiple regional HealthChecks must belong to the same region. Regional + # HealthChecks] + attr_accessor :health_checks + + # Optional. Policy for how the results from multiple health checks for the same + # endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. + # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in + # the health check service. + # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the + # HealthState of the entire health check service. If all backend's are healthy, + # the HealthState of the health check service is HEALTHY. . + # Corresponds to the JSON property `healthStatusAggregationPolicy` + # @return [String] + attr_accessor :health_status_aggregation_policy + + # Policy for how the results from multiple health checks for the same endpoint + # are aggregated. + # - NO_AGGREGATION. An EndpointHealth message is returned for each backend in + # the health check service. + # - AND. If any backend's health check reports UNHEALTHY, then UNHEALTHY is the + # HealthState of the entire health check service. If all backend's are healthy, + # the HealthState of the health check service is HEALTHY. . + # Corresponds to the JSON property `healthStatusAggregationStrategy` + # @return [Object] + attr_accessor :health_status_aggregation_strategy + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output only] Type of the resource. Always compute#healthCheckServicefor + # health check services. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the resource. The name must be 1-63 characters long, and comply with + # RFC1035. Specifically, the name must be 1-63 characters long and match the + # regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first + # character must be a lowercase letter, and all following characters must be a + # dash, lowercase letter, or digit, except the last character, which cannot be a + # dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # List of URLs to the NetworkEndpointGroup resources. Must not have more than + # 100. For regional HealthCheckService, NEGs must be in zones in the region of + # the HealthCheckService. + # Corresponds to the JSON property `networkEndpointGroups` + # @return [Array] + attr_accessor :network_endpoint_groups + + # List of URLs to the NotificationEndpoint resources. Must not have more than 10. + # A list of endpoints for receiving notifications of change in health status. + # For regional HealthCheckService, NotificationEndpoint must be regional and in + # the same region. For global HealthCheckService, NotificationEndpoint must be + # global. + # Corresponds to the JSON property `notificationEndpoints` + # @return [Array] + attr_accessor :notification_endpoints + + # [Output Only] URL of the region where the health check service resides. This + # field is not applicable to global health check services. You must specify this + # field as part of the HTTP request URL. It is not settable as a field in the + # request body. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @health_checks = args[:health_checks] if args.key?(:health_checks) + @health_status_aggregation_policy = args[:health_status_aggregation_policy] if args.key?(:health_status_aggregation_policy) + @health_status_aggregation_strategy = args[:health_status_aggregation_strategy] if args.key?(:health_status_aggregation_strategy) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups) + @notification_endpoints = args[:notification_endpoints] if args.key?(:notification_endpoints) + @region = args[:region] if args.key?(:region) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class HealthCheckServicesList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of HealthCheckService resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of the resource. Always compute#healthCheckServicesList for + # lists of HealthCheckServices. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::HealthCheckServicesList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class HealthChecksAggregatedList include Google::Apis::Core::Hashable @@ -8634,6 +8921,11 @@ module Google class HealthStatus include Google::Apis::Core::Hashable + # Metadata defined as annotations for network endpoint. + # Corresponds to the JSON property `annotations` + # @return [Hash] + attr_accessor :annotations + # Health state of the instance. # Corresponds to the JSON property `healthState` # @return [String] @@ -8660,6 +8952,7 @@ module Google # Update properties of this object def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) @health_state = args[:health_state] if args.key?(:health_state) @instance = args[:instance] if args.key?(:instance) @ip_address = args[:ip_address] if args.key?(:ip_address) @@ -8929,7 +9222,7 @@ module Google # @return [Google::Apis::ComputeBeta::Int64RangeMatch] attr_accessor :range_match - # The value of the header must match the regualar expression specified in + # The value of the header must match the regular expression specified in # regexMatch. For regular expression grammar, please see: en.cppreference.com/w/ # cpp/regex/ecmascript # For matching against a port specified in the HTTP request, use a headerMatch @@ -8937,6 +9230,8 @@ module Google # RFC2616 Host header's port specifier. # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or # rangeMatch must be set. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -9254,6 +9549,8 @@ module Google # regular expression specified by regexMatch. For the regular expression grammar, # please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of presentMatch, exactMatch or regexMatch must be set. + # Note that regexMatch only applies when the loadBalancingScheme is set to + # INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -9631,6 +9928,8 @@ module Google # parameters and anchor supplied with the original URL. For regular expression # grammar please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -11629,6 +11928,12 @@ module Google class InstanceGroupManagerStatus include Google::Apis::Core::Hashable + # [Output Only] The URL of the Autoscaler that targets this instance group + # manager. + # Corresponds to the JSON property `autoscaler` + # @return [String] + attr_accessor :autoscaler + # [Output Only] A bit indicating whether the managed instance group is in a # stable state. A stable state means that: none of the instances in the managed # instance group is currently undergoing any type of change (for example, @@ -11657,6 +11962,7 @@ module Google # Update properties of this object def update!(**args) + @autoscaler = args[:autoscaler] if args.key?(:autoscaler) @is_stable = args[:is_stable] if args.key?(:is_stable) @stateful = args[:stateful] if args.key?(:stateful) @version_target = args[:version_target] if args.key?(:version_target) @@ -16911,6 +17217,11 @@ module Google class NetworkEndpoint include Google::Apis::Core::Hashable + # Metadata defined as annotations on the network endpoint. + # Corresponds to the JSON property `annotations` + # @return [Hash] + attr_accessor :annotations + # Optional fully qualified domain name of network endpoint. This can only be # specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. # Corresponds to the JSON property `fqdn` @@ -16947,6 +17258,7 @@ module Google # Update properties of this object def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) @fqdn = args[:fqdn] if args.key?(:fqdn) @instance = args[:instance] if args.key?(:instance) @ip_address = args[:ip_address] if args.key?(:ip_address) @@ -16960,6 +17272,11 @@ module Google class NetworkEndpointGroup include Google::Apis::Core::Hashable + # Metadata defined as annotations on the network endpoint group. + # Corresponds to the JSON property `annotations` + # @return [Hash] + attr_accessor :annotations + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -17043,6 +17360,7 @@ module Google # Update properties of this object def update!(**args) + @annotations = args[:annotations] if args.key?(:annotations) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @default_port = args[:default_port] if args.key?(:default_port) @description = args[:description] if args.key?(:description) @@ -19615,6 +19933,251 @@ module Google end end + # A notification endpoint resource defines an endpoint to receive notifications + # when there are status changes detected by the associated health check service. + class NotificationEndpoint + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Represents a gRPC setting that describes one gRPC notification endpoint and + # the retry duration attempting to send notification to this endpoint. + # Corresponds to the JSON property `grpcSettings` + # @return [Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings] + attr_accessor :grpc_settings + + # [Output Only] A unique identifier for this resource type. The server generates + # this identifier. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # [Output Only] Type of the resource. Always compute#notificationEndpoint for + # notification endpoints. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of the resource. Provided by the client when the resource is created. The + # name must be 1-63 characters long, and comply with RFC1035. Specifically, the + # name must be 1-63 characters long and match the regular expression `[a-z]([-a- + # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, + # and all following characters must be a dash, lowercase letter, or digit, + # except the last character, which cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] URL of the region where the notification endpoint resides. This + # field applies only to the regional resource. You must specify this field as + # part of the HTTP request URL. It is not settable as a field in the request + # body. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @grpc_settings = args[:grpc_settings] if args.key?(:grpc_settings) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @region = args[:region] if args.key?(:region) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Represents a gRPC setting that describes one gRPC notification endpoint and + # the retry duration attempting to send notification to this endpoint. + class NotificationEndpointGrpcSettings + include Google::Apis::Core::Hashable + + # Optional. If specified, this field is used to set the authority header by the + # sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2. + # 3 + # Corresponds to the JSON property `authority` + # @return [String] + attr_accessor :authority + + # Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS + # name. + # Corresponds to the JSON property `endpoint` + # @return [String] + attr_accessor :endpoint + + # Optional. If specified, this field is used to populate the "name" field in + # gRPC requests. + # Corresponds to the JSON property `payloadName` + # @return [String] + attr_accessor :payload_name + + # A Duration represents a fixed-length span of time represented as a count of + # seconds and fractions of seconds at nanosecond resolution. It is independent + # of any calendar and concepts like "day" or "month". Range is approximately 10, + # 000 years. + # Corresponds to the JSON property `resendInterval` + # @return [Google::Apis::ComputeBeta::Duration] + attr_accessor :resend_interval + + # How much time (in seconds) is spent attempting notification retries until a + # successful response is received. Default is 30s. Limit is 20m (1200s). Must be + # a positive number. + # Corresponds to the JSON property `retryDurationSec` + # @return [Fixnum] + attr_accessor :retry_duration_sec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @authority = args[:authority] if args.key?(:authority) + @endpoint = args[:endpoint] if args.key?(:endpoint) + @payload_name = args[:payload_name] if args.key?(:payload_name) + @resend_interval = args[:resend_interval] if args.key?(:resend_interval) + @retry_duration_sec = args[:retry_duration_sec] if args.key?(:retry_duration_sec) + end + end + + # + class NotificationEndpointList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of NotificationEndpoint resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of the resource. Always compute#notificationEndpoint for + # notification endpoints. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Informational warning message. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::NotificationEndpointList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning message. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # Represents an Operation resource. # Google Compute Engine has three Operation resources: # * [Global](/compute/docs/reference/rest/latest/globalOperations) * [Regional](/ @@ -21088,8 +21651,7 @@ module Google # The list of HTTP route rules. Use this list instead of pathRules when advanced # route matching and routing actions are desired. routeRules are evaluated in # order of priority, from the lowest to highest number. - # Within a given pathMatcher, only one of pathRules or routeRules must be set. - # routeRules are not supported in UrlMaps intended for External Load balancers. + # Within a given pathMatcher, you can set only one of pathRules or routeRules. # Corresponds to the JSON property `routeRules` # @return [Array] attr_accessor :route_rules diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 0bea742e3..a082d466e 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -1030,12 +1030,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HealthCheckLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HealthCheckReference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class HealthCheckService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HealthCheckServicesList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class HealthChecksAggregatedList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2548,6 +2578,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NotificationEndpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NotificationEndpointGrpcSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NotificationEndpointList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5456,6 +5516,7 @@ module Google class BackendServiceGroupHealth # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :annotations, as: 'annotations' collection :health_status, as: 'healthStatus', class: Google::Apis::ComputeBeta::HealthStatus, decorator: Google::Apis::ComputeBeta::HealthStatus::Representation property :kind, as: 'kind' @@ -6624,6 +6685,8 @@ module Google property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' + property :log_config, as: 'logConfig', class: Google::Apis::ComputeBeta::HealthCheckLogConfig, decorator: Google::Apis::ComputeBeta::HealthCheckLogConfig::Representation + property :name, as: 'name' property :region, as: 'region' property :self_link, as: 'selfLink' @@ -6669,6 +6732,13 @@ module Google end end + class HealthCheckLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable, as: 'enable' + end + end + class HealthCheckReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6676,6 +6746,57 @@ module Google end end + class HealthCheckService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :fingerprint, :base64 => true, as: 'fingerprint' + collection :health_checks, as: 'healthChecks' + property :health_status_aggregation_policy, as: 'healthStatusAggregationPolicy' + property :health_status_aggregation_strategy, as: 'healthStatusAggregationStrategy' + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + collection :network_endpoint_groups, as: 'networkEndpointGroups' + collection :notification_endpoints, as: 'notificationEndpoints' + property :region, as: 'region' + property :self_link, as: 'selfLink' + end + end + + class HealthCheckServicesList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::HealthCheckService, decorator: Google::Apis::ComputeBeta::HealthCheckService::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning, decorator: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum, decorator: Google::Apis::ComputeBeta::HealthCheckServicesList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class HealthChecksAggregatedList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -6739,6 +6860,7 @@ module Google class HealthStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :annotations, as: 'annotations' property :health_state, as: 'healthState' property :instance, as: 'instance' property :ip_address, as: 'ipAddress' @@ -7412,6 +7534,7 @@ module Google class InstanceGroupManagerStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + property :autoscaler, as: 'autoscaler' property :is_stable, as: 'isStable' property :stateful, as: 'stateful', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatusStateful::Representation @@ -8783,6 +8906,7 @@ module Google class NetworkEndpoint # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :annotations, as: 'annotations' property :fqdn, as: 'fqdn' property :instance, as: 'instance' property :ip_address, as: 'ipAddress' @@ -8793,6 +8917,7 @@ module Google class NetworkEndpointGroup # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :annotations, as: 'annotations' property :creation_timestamp, as: 'creationTimestamp' property :default_port, as: 'defaultPort' property :description, as: 'description' @@ -9492,6 +9617,65 @@ module Google end end + class NotificationEndpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :grpc_settings, as: 'grpcSettings', class: Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings, decorator: Google::Apis::ComputeBeta::NotificationEndpointGrpcSettings::Representation + + property :id, :numeric_string => true, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :region, as: 'region' + property :self_link, as: 'selfLink' + end + end + + class NotificationEndpointGrpcSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :authority, as: 'authority' + property :endpoint, as: 'endpoint' + property :payload_name, as: 'payloadName' + property :resend_interval, as: 'resendInterval', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation + + property :retry_duration_sec, as: 'retryDurationSec' + end + end + + class NotificationEndpointList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::NotificationEndpoint, decorator: Google::Apis::ComputeBeta::NotificationEndpoint::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NotificationEndpointList::Warning, decorator: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NotificationEndpointList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index aad23dc34..a2fbc954f 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -71,6 +71,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -107,12 +114,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -255,6 +263,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -291,12 +306,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -639,6 +655,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -675,12 +698,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_autoscalers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -1548,6 +1572,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -1584,12 +1615,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -2118,6 +2150,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -2154,12 +2193,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_disk_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -2358,6 +2398,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -2394,12 +2441,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_disk(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -3637,6 +3685,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -3673,12 +3728,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -5194,6 +5250,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -5230,12 +5293,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_global_operation(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -5454,6 +5518,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -5490,12 +5561,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_health_check_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -7099,6 +7171,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -7135,12 +7214,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -8544,6 +8624,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -8580,12 +8667,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instance_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -9457,6 +9545,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -9493,12 +9588,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instances(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -11629,6 +11725,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -11665,12 +11768,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_interconnect_attachment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -13210,6 +13314,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -13246,12 +13357,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_machine_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeBeta::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -13395,6 +13507,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -13431,12 +13550,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_network_endpoint_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -14566,6 +14686,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -14602,12 +14729,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_group_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -15226,6 +15354,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -15262,12 +15397,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_template_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -15642,6 +15778,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -15678,12 +15821,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_node_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -15827,6 +15971,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -15863,12 +16014,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_packet_mirroring_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -17645,6 +17797,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -17681,12 +17840,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_region_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/commitments', options) command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -18652,6 +18812,282 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified regional HealthCheckService. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] health_check_service + # Name of the HealthCheckService to delete. The name must be 1-63 characters + # long, and comply with RFC1035. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['healthCheckService'] = health_check_service unless health_check_service.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified regional HealthCheckService resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] health_check_service + # Name of the HealthCheckService to update. The name must be 1-63 characters + # long, and comply with RFC1035. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::HealthCheckService] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::HealthCheckService] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command.response_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation + command.response_class = Google::Apis::ComputeBeta::HealthCheckService + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['healthCheckService'] = health_check_service unless health_check_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a regional HealthCheckService resource in the specified project and + # region using the data included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeBeta::HealthCheckService] health_check_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices', options) + command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation + command.request_object = health_check_service_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the HealthCheckService resources that have been configured for the + # specified project in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::HealthCheckServicesList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::HealthCheckServicesList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices', options) + command.response_representation = Google::Apis::ComputeBeta::HealthCheckServicesList::Representation + command.response_class = Google::Apis::ComputeBeta::HealthCheckServicesList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified regional HealthCheckService resource with the data + # included in the request. This method supports PATCH semantics and uses the + # JSON merge patch format and processing rules. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] health_check_service + # Name of the HealthCheckService to update. The name must be 1-63 characters + # long, and comply with RFC1035. + # @param [Google::Apis::ComputeBeta::HealthCheckService] health_check_service_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation + command.request_object = health_check_service_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['healthCheckService'] = health_check_service unless health_check_service.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified HealthCheck resource. # @param [String] project # Project ID for this request. @@ -20564,6 +21000,222 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified NotificationEndpoint in the given region + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] notification_endpoint + # Name of the NotificationEndpoint resource to delete. + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified NotificationEndpoint resource in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] notification_endpoint + # Name of the NotificationEndpoint resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::NotificationEndpoint] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::NotificationEndpoint] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command.response_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation + command.response_class = Google::Apis::ComputeBeta::NotificationEndpoint + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['notificationEndpoint'] = notification_endpoint unless notification_endpoint.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Create a NotificationEndpoint in the specified project in the given region + # using the parameters that are included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeBeta::NotificationEndpoint] notification_endpoint_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints', options) + command.request_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation + command.request_object = notification_endpoint_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the NotificationEndpoints for a project in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] filter + # A filter expression that filters resources listed in the response. The + # expression must specify the field name, a comparison operator, and the value + # that you want to use for filtering. The value must be a string, a number, or a + # boolean. The comparison operator must be either =, !=, >, or <. + # For example, if you are filtering Compute Engine instances, you can exclude + # instances named example-instance by specifying name != example-instance. + # You can also filter nested fields. For example, you could specify scheduling. + # automaticRestart = false to include instances only if they are not scheduled + # for automatic restarts. You can use filtering on nested fields to filter based + # on resource labels. + # To filter on multiple expressions, provide each separate expression within + # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = " + # Intel Skylake"). By default, each expression is an AND expression. However, + # you can include AND and OR expressions explicitly. For example, (cpuPlatform = + # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. + # automaticRestart = true). + # @param [Fixnum] max_results + # The maximum number of results per page that should be returned. If the number + # of available results is larger than maxResults, Compute Engine returns a + # nextPageToken that can be used to get the next page of results in subsequent + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # Sorts list results by a certain order. By default, results are returned in + # alphanumerical order based on the resource name. + # You can also sort results in descending order based on the creation timestamp + # using orderBy="creationTimestamp desc". This sorts results based on the + # creationTimestamp field in reverse chronological order (newest result first). + # Use this to sort resources like operations so that the newest operation is + # returned first. + # Currently, only sorting by name or creationTimestamp desc is supported. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::NotificationEndpointList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::NotificationEndpointList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints', options) + command.response_representation = Google::Apis::ComputeBeta::NotificationEndpointList::Representation + command.response_class = Google::Apis::ComputeBeta::NotificationEndpointList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified region-specific Operations resource. # @param [String] project # Project ID for this request. @@ -22088,6 +22740,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -22124,12 +22783,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_reservation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/reservations', options) command.response_representation = Google::Apis::ComputeBeta::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ReservationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -22559,6 +23219,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -22595,12 +23262,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_resource_policy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -22974,6 +23642,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -23010,12 +23685,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_routers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_routers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -24721,6 +25397,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -24757,12 +25440,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_ssl_certificate_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -25407,6 +26091,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -25443,12 +26134,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_subnetworks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeBeta::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -26072,6 +26764,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -26108,12 +26807,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_http_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -26440,6 +27140,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -26476,12 +27183,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_target_https_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -26965,6 +27673,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -27001,12 +27716,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_instance(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -27404,6 +28120,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -27440,12 +28163,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_pools(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeBeta::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -28703,6 +29427,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -28739,12 +29470,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -29090,6 +29822,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -29126,12 +29865,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_url_map_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -29601,6 +30341,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -29637,12 +30384,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_vpn_gateway_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -29983,6 +30731,13 @@ module Google # you can include AND and OR expressions explicitly. For example, (cpuPlatform = # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling. # automaticRestart = true). + # @param [Boolean] include_all_scopes + # Indicates whether every visible scope for each scope type (zone, region, + # global) should be included in the response. For new resource types added after + # this field, the flag has no effect as new resource types will always include + # every visible scope for each scope type in response. For resource types which + # predate this field, if this flag is omitted or false, only scopes of the scope + # types where the resource type is expected to be found will be included. # @param [Fixnum] max_results # The maximum number of results per page that should be returned. If the number # of available results is larger than maxResults, Compute Engine returns a @@ -30019,12 +30774,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? + command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 546c12d4d..3e76df331 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 = '20200104' + REVISION = '20200114' # 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 25a5fcc26..cf5379f27 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -8246,7 +8246,7 @@ module Google # @return [Google::Apis::ComputeV1::Int64RangeMatch] attr_accessor :range_match - # The value of the header must match the regualar expression specified in + # The value of the header must match the regular expression specified in # regexMatch. For regular expression grammar, please see: en.cppreference.com/w/ # cpp/regex/ecmascript # For matching against a port specified in the HTTP request, use a headerMatch @@ -8254,6 +8254,8 @@ module Google # RFC2616 Host header's port specifier. # Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or # rangeMatch must be set. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -8571,6 +8573,8 @@ module Google # regular expression specified by regexMatch. For the regular expression grammar, # please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of presentMatch, exactMatch or regexMatch must be set. + # Note that regexMatch only applies when the loadBalancingScheme is set to + # INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -8948,6 +8952,8 @@ module Google # parameters and anchor supplied with the original URL. For regular expression # grammar please see en.cppreference.com/w/cpp/regex/ecmascript # Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + # Note that regexMatch only applies to Loadbalancers that have their + # loadBalancingScheme set to INTERNAL_SELF_MANAGED. # Corresponds to the JSON property `regexMatch` # @return [String] attr_accessor :regex_match @@ -10987,6 +10993,53 @@ module Google end end + # InstanceGroupManagers.applyUpdatesToInstances + class InstanceGroupManagersApplyUpdatesRequest + include Google::Apis::Core::Hashable + + # The list of URLs of one or more instances for which you want to apply updates. + # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[ + # INSTANCE_NAME]. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # The minimal action that you want to perform on each instance during the update: + # + # - REPLACE: At minimum, delete the instance and create it again. + # - RESTART: Stop the instance and start it again. + # - REFRESH: Do not stop the instance. + # - NONE: Do not disrupt the instance at all. By default, the minimum action is + # NONE. If your update requires a more disruptive action than you set with this + # flag, the necessary action is performed to execute the update. + # Corresponds to the JSON property `minimalAction` + # @return [String] + attr_accessor :minimal_action + + # The most disruptive action that you want to perform on each instance during + # the update: + # - REPLACE: Delete the instance and create it again. + # - RESTART: Stop the instance and start it again. + # - REFRESH: Do not stop the instance. + # - NONE: Do not disrupt the instance at all. By default, the most disruptive + # allowed action is REPLACE. If your update requires a more disruptive action + # than you set with this flag, the update request will fail. + # Corresponds to the JSON property `mostDisruptiveAllowedAction` + # @return [String] + attr_accessor :most_disruptive_allowed_action + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + @minimal_action = args[:minimal_action] if args.key?(:minimal_action) + @most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action) + end + end + # InstanceGroupManagers.createInstances class InstanceGroupManagersCreateInstancesRequest include Google::Apis::Core::Hashable @@ -19367,8 +19420,7 @@ module Google # The list of HTTP route rules. Use this list instead of pathRules when advanced # route matching and routing actions are desired. routeRules are evaluated in # order of priority, from the lowest to highest number. - # Within a given pathMatcher, only one of pathRules or routeRules must be set. - # routeRules are not supported in UrlMaps intended for External Load balancers. + # Within a given pathMatcher, you can set only one of pathRules or routeRules. # Corresponds to the JSON property `routeRules` # @return [Array] attr_accessor :route_rules @@ -20506,6 +20558,53 @@ module Google end end + # InstanceGroupManagers.applyUpdatesToInstances + class RegionInstanceGroupManagersApplyUpdatesRequest + include Google::Apis::Core::Hashable + + # The list of URLs of one or more instances for which you want to apply updates. + # Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[ + # INSTANCE_NAME]. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + # The minimal action that you want to perform on each instance during the update: + # + # - REPLACE: At minimum, delete the instance and create it again. + # - RESTART: Stop the instance and start it again. + # - REFRESH: Do not stop the instance. + # - NONE: Do not disrupt the instance at all. By default, the minimum action is + # NONE. If your update requires a more disruptive action than you set with this + # flag, the necessary action is performed to execute the update. + # Corresponds to the JSON property `minimalAction` + # @return [String] + attr_accessor :minimal_action + + # The most disruptive action that you want to perform on each instance during + # the update: + # - REPLACE: Delete the instance and create it again. + # - RESTART: Stop the instance and start it again. + # - REFRESH: Do not stop the instance. + # - NONE: Do not disrupt the instance at all. By default, the most disruptive + # allowed action is REPLACE. If your update requires a more disruptive action + # than you set with this flag, the update request will fail. + # Corresponds to the JSON property `mostDisruptiveAllowedAction` + # @return [String] + attr_accessor :most_disruptive_allowed_action + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + @minimal_action = args[:minimal_action] if args.key?(:minimal_action) + @most_disruptive_allowed_action = args[:most_disruptive_allowed_action] if args.key?(:most_disruptive_allowed_action) + end + end + # RegionInstanceGroupManagers.createInstances class RegionInstanceGroupManagersCreateInstancesRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index d057192fa..a2891b6ed 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -1336,6 +1336,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstanceGroupManagersApplyUpdatesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstanceGroupManagersCreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2728,6 +2734,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RegionInstanceGroupManagersApplyUpdatesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RegionInstanceGroupManagersCreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -6918,6 +6930,15 @@ module Google end end + class InstanceGroupManagersApplyUpdatesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances' + property :minimal_action, as: 'minimalAction' + property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction' + end + end + class InstanceGroupManagersCreateInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9385,6 +9406,15 @@ module Google end end + class RegionInstanceGroupManagersApplyUpdatesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances' + property :minimal_action, as: 'minimalAction' + property :most_disruptive_allowed_action, as: 'mostDisruptiveAllowedAction' + end + end + class RegionInstanceGroupManagersCreateInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index f443fe41b..af53d2046 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -6168,6 +6168,50 @@ module Google execute_or_queue_command(command, &block) end + # Apply changes to selected instances on the managed instance group. This method + # can be used to apply new overrides and/or new versions. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where the managed instance group is located. Should + # conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group, should conform to RFC1035. + # @param [Google::Apis::ComputeV1::InstanceGroupManagersApplyUpdatesRequest] instance_group_managers_apply_updates_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command.request_representation = Google::Apis::ComputeV1::InstanceGroupManagersApplyUpdatesRequest::Representation + command.request_object = instance_group_managers_apply_updates_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates instances with per-instance configs in this managed instance group. # Instances are created using the current instance template. The create # instances operation is marked DONE if the createInstances request is @@ -16405,6 +16449,48 @@ module Google execute_or_queue_command(command, &block) end + # Apply updates to selected instances the managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request, should conform to RFC1035. + # @param [String] instance_group_manager + # The name of the managed instance group, should conform to RFC1035. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersApplyUpdatesRequest::Representation + command.request_object = region_instance_group_managers_apply_updates_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates instances with per-instance configs in this regional managed instance # group. Instances are created using the current instance template. The create # instances operation is marked DONE if the createInstances request is diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index dfaee8d8d..69d598098 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,11 +25,23 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20200110' + REVISION = '20200203' # Read, compose, send, and permanently delete all your email from Gmail AUTH_SCOPE = 'https://mail.google.com/' + # Manage drafts and send emails when you interact with the add-on + AUTH_GMAIL_ADDONS_CURRENT_ACTION_COMPOSE = 'https://www.googleapis.com/auth/gmail.addons.current.action.compose' + + # View your email messages when you interact with the add-on + AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_ACTION = 'https://www.googleapis.com/auth/gmail.addons.current.message.action' + + # View your email message metadata when the add-on is running + AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_METADATA = 'https://www.googleapis.com/auth/gmail.addons.current.message.metadata' + + # View your email messages when the add-on is running + AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_READONLY = 'https://www.googleapis.com/auth/gmail.addons.current.message.readonly' + # Manage drafts and send emails AUTH_GMAIL_COMPOSE = 'https://www.googleapis.com/auth/gmail.compose' diff --git a/generated/google/apis/tasks_v1.rb b/generated/google/apis/tasks_v1.rb index 38a8dc878..c90011f3f 100644 --- a/generated/google/apis/tasks_v1.rb +++ b/generated/google/apis/tasks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/tasks/firstapp module TasksV1 VERSION = 'V1' - REVISION = '20190628' + REVISION = '20200129' # Create, edit, organize, and delete all your tasks AUTH_TASKS = 'https://www.googleapis.com/auth/tasks' diff --git a/generated/google/apis/tasks_v1/service.rb b/generated/google/apis/tasks_v1/service.rb index bcce310c4..ffd440020 100644 --- a/generated/google/apis/tasks_v1/service.rb +++ b/generated/google/apis/tasks_v1/service.rb @@ -116,6 +116,8 @@ module Google end # Creates a new task list and adds it to the authenticated user's task lists. + # Fails with HTTP code 403 or 429 after reaching the storage limit of 2,000 + # lists. # @param [Google::Apis::TasksV1::TaskList] task_list_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -361,7 +363,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new task on the specified task list. + # Creates a new task on the specified task list. Fails with HTTP code 403 or 429 + # after reaching the storage limit of 100,000 tasks per account. # @param [String] tasklist # Task list identifier. # @param [Google::Apis::TasksV1::Task] task_object