diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 9c3f4d763..1dbaaf364 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20200501' + REVISION = '20200528' # 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/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index 74454d3ba..4b3a6b9fb 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -175,11 +175,12 @@ module Google # @return [String] attr_accessor :graceful_decommission_timeout - # Required. Fraction of average pending memory in the last cooldown period for - # which to remove workers. A scale-down factor of 1 will result in scaling down - # so that there is no available memory remaining after the update (more + # Required. Fraction of average YARN pending memory in the last cooldown period + # for which to remove workers. A scale-down factor of 1 will result in scaling + # down so that there is no available memory remaining after the update (more # aggressive scaling). A scale-down factor of 0 disables removing workers, which - # can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0. + # can be beneficial for autoscaling a single job. See How autoscaling works for + # more information.Bounds: 0.0, 1.0. # Corresponds to the JSON property `scaleDownFactor` # @return [Float] attr_accessor :scale_down_factor @@ -193,11 +194,12 @@ module Google # @return [Float] attr_accessor :scale_down_min_worker_fraction - # Required. Fraction of average pending memory in the last cooldown period for - # which to add workers. A scale-up factor of 1.0 will result in scaling up so - # that there is no pending memory remaining after the update (more aggressive + # Required. Fraction of average YARN pending memory in the last cooldown period + # for which to add workers. A scale-up factor of 1.0 will result in scaling up + # so that there is no pending memory remaining after the update (more aggressive # scaling). A scale-up factor closer to 0 will result in a smaller magnitude of - # scaling up (less aggressive scaling).Bounds: 0.0, 1.0. + # scaling up (less aggressive scaling). See How autoscaling works for more + # information.Bounds: 0.0, 1.0. # Corresponds to the JSON property `scaleUpFactor` # @return [Float] attr_accessor :scale_up_factor @@ -2528,8 +2530,8 @@ module Google class PySparkJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of . - # jar, .tar, .tar.gz, .tgz, and .zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -2541,8 +2543,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of Python - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris @@ -2825,9 +2827,8 @@ module Google class SparkJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of - # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . - # zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -2839,8 +2840,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of Spark - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris @@ -2897,9 +2898,8 @@ module Google class SparkRJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of - # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . - # zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -2911,8 +2911,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of R - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris diff --git a/generated/google/apis/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index 45b581fb6..6ecfa37cb 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1beta2 VERSION = 'V1beta2' - REVISION = '20200511' + REVISION = '20200528' # 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/dataproc_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index 848e07611..676b366e3 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -175,11 +175,12 @@ module Google # @return [String] attr_accessor :graceful_decommission_timeout - # Required. Fraction of average pending memory in the last cooldown period for - # which to remove workers. A scale-down factor of 1 will result in scaling down - # so that there is no available memory remaining after the update (more + # Required. Fraction of average YARN pending memory in the last cooldown period + # for which to remove workers. A scale-down factor of 1 will result in scaling + # down so that there is no available memory remaining after the update (more # aggressive scaling). A scale-down factor of 0 disables removing workers, which - # can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0. + # can be beneficial for autoscaling a single job. See How autoscaling works for + # more information.Bounds: 0.0, 1.0. # Corresponds to the JSON property `scaleDownFactor` # @return [Float] attr_accessor :scale_down_factor @@ -193,11 +194,12 @@ module Google # @return [Float] attr_accessor :scale_down_min_worker_fraction - # Required. Fraction of average pending memory in the last cooldown period for - # which to add workers. A scale-up factor of 1.0 will result in scaling up so - # that there is no pending memory remaining after the update (more aggressive + # Required. Fraction of average YARN pending memory in the last cooldown period + # for which to add workers. A scale-up factor of 1.0 will result in scaling up + # so that there is no pending memory remaining after the update (more aggressive # scaling). A scale-up factor closer to 0 will result in a smaller magnitude of - # scaling up (less aggressive scaling).Bounds: 0.0, 1.0. + # scaling up (less aggressive scaling). See How autoscaling works for more + # information.Bounds: 0.0, 1.0. # Corresponds to the JSON property `scaleUpFactor` # @return [Float] attr_accessor :scale_up_factor @@ -2632,8 +2634,8 @@ module Google class PySparkJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of . - # jar, .tar, .tar.gz, .tgz, and .zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -2645,8 +2647,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of Python - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris @@ -2932,9 +2934,8 @@ module Google class SparkJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of - # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . - # zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -2946,8 +2947,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of Spark - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris @@ -3004,9 +3005,8 @@ module Google class SparkRJob include Google::Apis::Core::Hashable - # Optional. HCFS URIs of archives to be extracted in the working directory of - # Spark drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, and . - # zip. + # Optional. HCFS URIs of archives to be extracted into the working directory of + # each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. # Corresponds to the JSON property `archiveUris` # @return [Array] attr_accessor :archive_uris @@ -3018,8 +3018,8 @@ module Google # @return [Array] attr_accessor :args - # Optional. HCFS URIs of files to be copied to the working directory of R - # drivers and distributed tasks. Useful for naively parallel tasks. + # Optional. HCFS URIs of files to be placed in the working directory of each + # executor. Useful for naively parallel tasks. # Corresponds to the JSON property `fileUris` # @return [Array] attr_accessor :file_uris @@ -3528,7 +3528,7 @@ module Google end end - # A Dataproc workflow template resource. + # A Dataproc workflow template resource. Next ID: 11 class WorkflowTemplate include Google::Apis::Core::Hashable diff --git a/generated/google/apis/file_v1.rb b/generated/google/apis/file_v1.rb index a1aa15d92..d4a3136e0 100644 --- a/generated/google/apis/file_v1.rb +++ b/generated/google/apis/file_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1 VERSION = 'V1' - REVISION = '20200520' + REVISION = '20200602' # 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/file_v1/classes.rb b/generated/google/apis/file_v1/classes.rb index 10aecf6ea..13eb24f58 100644 --- a/generated/google/apis/file_v1/classes.rb +++ b/generated/google/apis/file_v1/classes.rb @@ -22,94 +22,6 @@ module Google module Apis module FileV1 - # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. - class AttributeValue - include Google::Apis::Core::Hashable - - # A Boolean value represented by `true` or `false`. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # A 64-bit signed integer. - # Corresponds to the JSON property `intValue` - # @return [Fixnum] - attr_accessor :int_value - - # Represents a string that might be shortened to a specified length. - # Corresponds to the JSON property `stringValue` - # @return [Google::Apis::FileV1::TruncatableString] - attr_accessor :string_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @int_value = args[:int_value] if args.key?(:int_value) - @string_value = args[:string_value] if args.key?(:string_value) - end - end - - # A set of attributes, each in the format `[KEY]:[VALUE]`. - class Attributes - include Google::Apis::Core::Hashable - - # The set of attributes. Each attribute's key can be up to 128 bytes - # long. The value can be a string up to 256 bytes, a signed 64-bit integer, - # or the Boolean values `true` and `false`. For example: - # "/instance_id": "my-instance" - # "/http/user_agent": "" - # "/http/request_bytes": 300 - # "abc.com/myattribute": true - # Corresponds to the JSON property `attributeMap` - # @return [Hash] - attr_accessor :attribute_map - - # The number of attributes that were discarded. Attributes can be discarded - # because their keys are too long or because there are too many attributes. - # If this value is 0 then all attributes are valid. - # Corresponds to the JSON property `droppedAttributesCount` - # @return [Fixnum] - attr_accessor :dropped_attributes_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attribute_map = args[:attribute_map] if args.key?(:attribute_map) - @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) - end - end - - # Message for reporting billing requests through Eventstream. - class BillingView - include Google::Apis::Core::Hashable - - # Billing requests to be reported for an [Eventstream - # resource](http://google3/cloud/eventstream/v2/resource_event.proto). - # Each request contains billing operations to be reported under a service - # name. See go/billing-view-construction for documentation on constructing - # billing view report requests. - # Corresponds to the JSON property `reportRequests` - # @return [Array] - attr_accessor :report_requests - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @report_requests = args[:report_requests] if args.key?(:report_requests) - end - end - # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable @@ -123,97 +35,6 @@ module Google end end - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - class Distribution - include Google::Apis::Core::Hashable - - # The number of samples in each histogram bucket. `bucket_counts` are - # optional. If present, they must sum to the `count` value. - # The buckets are defined below in `bucket_option`. There are N buckets. - # `bucket_counts[0]` is the number of samples in the underflow bucket. - # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - # in each of the finite buckets. And `bucket_counts[N] is the number - # of samples in the overflow bucket. See the comments of `bucket_option` - # below for more details. - # Any suffix of trailing zeros may be omitted. - # Corresponds to the JSON property `bucketCounts` - # @return [Array] - attr_accessor :bucket_counts - - # The total number of samples in the distribution. Must be >= 0. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # Example points. Must be in increasing order of `value` field. - # Corresponds to the JSON property `exemplars` - # @return [Array] - attr_accessor :exemplars - - # Describing buckets with arbitrary user-provided width. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::FileV1::ExplicitBuckets] - attr_accessor :explicit_buckets - - # Describing buckets with exponentially growing width. - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::FileV1::ExponentialBuckets] - attr_accessor :exponential_buckets - - # Describing buckets with constant width. - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::FileV1::LinearBuckets] - attr_accessor :linear_buckets - - # The maximum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `maximum` - # @return [Float] - attr_accessor :maximum - - # The arithmetic mean of the samples in the distribution. If `count` is - # zero then this field must be zero. - # Corresponds to the JSON property `mean` - # @return [Float] - attr_accessor :mean - - # The minimum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `minimum` - # @return [Float] - attr_accessor :minimum - - # The sum of squared deviations from the mean: - # Sum[i=1..count]((x_i - mean)^2) - # where each x_i is a sample values. If `count` is zero then this field - # must be zero, otherwise validation of the request fails. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) - @count = args[:count] if args.key?(:count) - @exemplars = args[:exemplars] if args.key?(:exemplars) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) - @maximum = args[:maximum] if args.key?(:maximum) - @mean = args[:mean] if args.key?(:mean) - @minimum = args[:minimum] if args.key?(:minimum) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - end - end - # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -233,118 +54,6 @@ module Google end end - # Exemplars are example points that may be used to annotate aggregated - # distribution values. They are metadata that gives information about a - # particular value added to a Distribution bucket, such as a trace ID that - # was active when a value was added. They may contain further information, - # such as a example values and timestamps, origin, etc. - class Exemplar - include Google::Apis::Core::Hashable - - # Contextual information about the example value. Examples are: - # Trace: type.googleapis.com/google.monitoring.v3.SpanContext - # Literal string: type.googleapis.com/google.protobuf.StringValue - # Labels dropped during aggregation: - # type.googleapis.com/google.monitoring.v3.DroppedLabels - # There may be only a single attachment of any given message type in a - # single exemplar, and this is enforced by the system. - # Corresponds to the JSON property `attachments` - # @return [Array>] - attr_accessor :attachments - - # The observation (sampling) time of the above value. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Value of the exemplar point. This value determines to which bucket the - # exemplar belongs. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attachments = args[:attachments] if args.key?(:attachments) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @value = args[:value] if args.key?(:value) - end - end - - # Describing buckets with arbitrary user-provided width. - class ExplicitBuckets - include Google::Apis::Core::Hashable - - # 'bound' is a list of strictly increasing boundaries between - # buckets. Note that a list of length N-1 defines N buckets because - # of fenceposting. See comments on `bucket_options` for details. - # The i'th finite bucket covers the interval - # [bound[i-1], bound[i]) - # where i ranges from 1 to bound_size() - 1. Note that there are no - # finite buckets at all if 'bound' only contains a single element; in - # that special case the single bound defines the boundary between the - # underflow and overflow buckets. - # bucket number lower bound upper bound - # i == 0 (underflow) -inf bound[i] - # 0 < i < bound_size() bound[i-1] bound[i] - # i == bound_size() (overflow) bound[i-1] +inf - # Corresponds to the JSON property `bounds` - # @return [Array] - attr_accessor :bounds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bounds = args[:bounds] if args.key?(:bounds) - end - end - - # Describing buckets with exponentially growing width. - class ExponentialBuckets - include Google::Apis::Core::Hashable - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be larger than 1.0. - # Corresponds to the JSON property `growthFactor` - # @return [Float] - attr_accessor :growth_factor - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be > 0. - # Corresponds to the JSON property `scale` - # @return [Float] - attr_accessor :scale - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @growth_factor = args[:growth_factor] if args.key?(:growth_factor) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @scale = args[:scale] if args.key?(:scale) - end - end - # File share configuration for the instance. class FileShareConfig include Google::Apis::Core::Hashable @@ -371,143 +80,6 @@ module Google end end - # Represents information regarding an operation. - class GoogleApiServicecontrolV1Operation - include Google::Apis::Core::Hashable - - # Identity of the consumer who is using the service. - # This field should be filled in for the operations initiated by a - # consumer, but not for service-initiated operations that are - # not related to a specific consumer. - # - This can be in one of the following formats: - # - project:PROJECT_ID, - # - project`_`number:PROJECT_NUMBER, - # - projects/PROJECT_ID or PROJECT_NUMBER, - # - folders/FOLDER_NUMBER, - # - organizations/ORGANIZATION_NUMBER, - # - api`_`key:API_KEY. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - # End time of the operation. - # Required when the operation is used in ServiceController.Report, - # but optional when the operation is used in ServiceController.Check. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # DO NOT USE. This is an experimental field. - # Corresponds to the JSON property `importance` - # @return [String] - attr_accessor :importance - - # Labels describing the operation. Only the following labels are allowed: - # - Labels describing monitored resources as defined in - # the service configuration. - # - Default labels of metric values. When specified, labels defined in the - # metric value override these default. - # - The following labels defined by Google Cloud Platform: - # - `cloud.googleapis.com/location` describing the location where the - # operation happened, - # - `servicecontrol.googleapis.com/user_agent` describing the user agent - # of the API request, - # - `servicecontrol.googleapis.com/service_agent` describing the service - # used to handle the API request (e.g. ESP), - # - `servicecontrol.googleapis.com/platform` describing the platform - # where the API is served, such as App Engine, Compute Engine, or - # Kubernetes Engine. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Represents information to be logged. - # Corresponds to the JSON property `logEntries` - # @return [Array] - attr_accessor :log_entries - - # Represents information about this operation. Each MetricValueSet - # corresponds to a metric defined in the service configuration. - # The data type used in the MetricValueSet must agree with - # the data type specified in the metric definition. - # Within a single operation, it is not allowed to have more than one - # MetricValue instances that have the same metric names and identical - # label value combinations. If a request has such duplicated MetricValue - # instances, the entire request is rejected with - # an invalid argument error. - # Corresponds to the JSON property `metricValueSets` - # @return [Array] - attr_accessor :metric_value_sets - - # Identity of the operation. This must be unique within the scope of the - # service that generated the operation. If the service calls - # Check() and Report() on the same operation, the two calls should carry - # the same id. - # UUID version 4 is recommended, though not required. - # In scenarios where an operation is computed from existing information - # and an idempotent id is desirable for deduplication purpose, UUID version 5 - # is recommended. See RFC 4122 for details. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - # Fully qualified name of the operation. Reserved for future use. - # Corresponds to the JSON property `operationName` - # @return [String] - attr_accessor :operation_name - - # Represents the properties needed for quota operations. - # Corresponds to the JSON property `quotaProperties` - # @return [Google::Apis::FileV1::QuotaProperties] - attr_accessor :quota_properties - - # The resources that are involved in the operation. - # The maximum supported number of entries in this field is 100. - # Corresponds to the JSON property `resources` - # @return [Array] - attr_accessor :resources - - # Required. Start time of the operation. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Unimplemented. A list of Cloud Trace spans. The span names shall contain - # the id of the destination project which can be either the produce or the - # consumer project. - # Corresponds to the JSON property `traceSpans` - # @return [Array] - attr_accessor :trace_spans - - # User defined labels for the resource that this operation is associated - # with. Only a combination of 1000 user labels per consumer project are - # allowed. - # Corresponds to the JSON property `userLabels` - # @return [Hash] - attr_accessor :user_labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - @end_time = args[:end_time] if args.key?(:end_time) - @importance = args[:importance] if args.key?(:importance) - @labels = args[:labels] if args.key?(:labels) - @log_entries = args[:log_entries] if args.key?(:log_entries) - @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @operation_name = args[:operation_name] if args.key?(:operation_name) - @quota_properties = args[:quota_properties] if args.key?(:quota_properties) - @resources = args[:resources] if args.key?(:resources) - @start_time = args[:start_time] if args.key?(:start_time) - @trace_spans = args[:trace_spans] if args.key?(:trace_spans) - @user_labels = args[:user_labels] if args.key?(:user_labels) - end - end - # class GoogleCloudSaasacceleratorManagementProvidersV1Instance include Google::Apis::Core::Hashable @@ -905,130 +477,6 @@ module Google end end - # A common proto for logging HTTP requests. Only contains semantics - # defined by the HTTP specification. Product-specific logging - # information MUST be defined in a separate message. - class HttpRequest - include Google::Apis::Core::Hashable - - # The number of HTTP response bytes inserted into cache. Set only when a - # cache fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` - # @return [Fixnum] - attr_accessor :cache_fill_bytes - - # Whether or not an entity was served from cache - # (with or without validation). - # Corresponds to the JSON property `cacheHit` - # @return [Boolean] - attr_accessor :cache_hit - alias_method :cache_hit?, :cache_hit - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` - # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup - - # Whether or not the response was validated with the origin server before - # being served from cache. This field is only meaningful if `cache_hit` is - # True. - # Corresponds to the JSON property `cacheValidatedWithOriginServer` - # @return [Boolean] - attr_accessor :cache_validated_with_origin_server - alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server - - # The request processing latency on the server, from the time the request was - # received until the response was sent. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - # Corresponds to the JSON property `protocol` - # @return [String] - attr_accessor :protocol - - # The referer URL of the request, as defined in - # [HTTP/1.1 Header Field - # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - # Corresponds to the JSON property `referer` - # @return [String] - attr_accessor :referer - - # The IP address (IPv4 or IPv6) of the client that issued the HTTP - # request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. - # Corresponds to the JSON property `requestMethod` - # @return [String] - attr_accessor :request_method - - # The size of the HTTP request message in bytes, including the request - # headers and the request body. - # Corresponds to the JSON property `requestSize` - # @return [Fixnum] - attr_accessor :request_size - - # The scheme (http, https), the host name, the path, and the query - # portion of the URL that was requested. - # Example: `"http://example.com/some/info?color=red"`. - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` - # @return [Fixnum] - attr_accessor :response_size - - # The IP address (IPv4 or IPv6) of the origin server that the request was - # sent to. - # Corresponds to the JSON property `serverIp` - # @return [String] - attr_accessor :server_ip - - # The response code indicating the status of the response. - # Examples: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # The user agent sent by the client. Example: - # `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - # CLR 1.0.3705)"`. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @latency = args[:latency] if args.key?(:latency) - @protocol = args[:protocol] if args.key?(:protocol) - @referer = args[:referer] if args.key?(:referer) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @request_method = args[:request_method] if args.key?(:request_method) - @request_size = args[:request_size] if args.key?(:request_size) - @request_url = args[:request_url] if args.key?(:request_url) - @response_size = args[:response_size] if args.key?(:response_size) - @server_ip = args[:server_ip] if args.key?(:server_ip) - @status = args[:status] if args.key?(:status) - @user_agent = args[:user_agent] if args.key?(:user_agent) - end - end - # A Cloud Filestore instance. class Instance include Google::Apis::Core::Hashable @@ -1106,44 +554,6 @@ module Google end end - # Describing buckets with constant width. - class LinearBuckets - include Google::Apis::Core::Hashable - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Corresponds to the JSON property `offset` - # @return [Float] - attr_accessor :offset - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Must be strictly positive. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @offset = args[:offset] if args.key?(:offset) - @width = args[:width] if args.key?(:width) - end - end - # ListInstancesResponse is the result of ListInstancesRequest. class ListInstancesResponse include Google::Apis::Core::Hashable @@ -1277,333 +687,6 @@ module Google end end - # An individual log entry. - class LogEntry - include Google::Apis::Core::Hashable - - # A common proto for logging HTTP requests. Only contains semantics - # defined by the HTTP specification. Product-specific logging - # information MUST be defined in a separate message. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::FileV1::HttpRequest] - attr_accessor :http_request - - # A unique ID for the log entry used for deduplication. If omitted, - # the implementation will generate one based on operation_id. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Required. The log to which this log entry belongs. Examples: `"syslog"`, - # `"book_log"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Additional information about a potentially long-running operation with which - # a log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::FileV1::LogEntryOperation] - attr_accessor :operation - - # The log entry payload, represented as a protocol buffer that is - # expressed as a JSON object. The only accepted type currently is - # AuditLog. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # The severity of the log entry. The default value is - # `LogSeverity.DEFAULT`. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Additional information about the source code location that produced the log - # entry. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::FileV1::LogEntrySourceLocation] - attr_accessor :source_location - - # The log entry payload, represented as a structure that - # is expressed as a JSON object. - # Corresponds to the JSON property `structPayload` - # @return [Hash] - attr_accessor :struct_payload - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The time the event described by the log entry occurred. If - # omitted, defaults to operation start time. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Optional. Resource name of the trace associated with the log entry, if any. - # If this field contains a relative resource name, you can assume the name is - # relative to `//tracing.googleapis.com`. Example: - # `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - # Corresponds to the JSON property `trace` - # @return [String] - attr_accessor :trace - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @http_request = args[:http_request] if args.key?(:http_request) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @operation = args[:operation] if args.key?(:operation) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @severity = args[:severity] if args.key?(:severity) - @source_location = args[:source_location] if args.key?(:source_location) - @struct_payload = args[:struct_payload] if args.key?(:struct_payload) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @trace = args[:trace] if args.key?(:trace) - end - end - - # Additional information about a potentially long-running operation with which - # a log entry is associated. - class LogEntryOperation - include Google::Apis::Core::Hashable - - # Optional. Set this to True if this is the first log entry in the operation. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # Optional. An arbitrary operation identifier. Log entries with the - # same identifier are assumed to be part of the same operation. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Optional. Set this to True if this is the last log entry in the operation. - # Corresponds to the JSON property `last` - # @return [Boolean] - attr_accessor :last - alias_method :last?, :last - - # Optional. An arbitrary producer identifier. The combination of - # `id` and `producer` must be globally unique. Examples for `producer`: - # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - # Corresponds to the JSON property `producer` - # @return [String] - attr_accessor :producer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @first = args[:first] if args.key?(:first) - @id = args[:id] if args.key?(:id) - @last = args[:last] if args.key?(:last) - @producer = args[:producer] if args.key?(:producer) - end - end - - # Additional information about the source code location that produced the log - # entry. - class LogEntrySourceLocation - include Google::Apis::Core::Hashable - - # Optional. Source file name. Depending on the runtime environment, this - # might be a simple name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - - # Optional. Human-readable name of the function or method being invoked, with - # optional context such as the class or package name. This information may be - # used in contexts such as the logs viewer, where a file and line number are - # less meaningful. The format can vary by language. For example: - # `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - # (Python). - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # Optional. Line within the source file. 1-based; 0 indicates no line number - # available. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file = args[:file] if args.key?(:file) - @function = args[:function] if args.key?(:function) - @line = args[:line] if args.key?(:line) - end - end - - # Represents a single metric value. - class MetricValue - include Google::Apis::Core::Hashable - - # A boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::FileV1::Distribution] - attr_accessor :distribution_value - - # A double precision floating point value. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # The end of the time period over which this metric value's measurement - # applies. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # A signed 64-bit integer value. - # Corresponds to the JSON property `int64Value` - # @return [Fixnum] - attr_accessor :int64_value - - # The labels describing the metric value. - # See comments on google.api.servicecontrol.v1.Operation.labels for - # the overriding relationship. - # Note that this map must not contain monitored resource labels. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `moneyValue` - # @return [Google::Apis::FileV1::Money] - attr_accessor :money_value - - # The start of the time period over which this metric value's measurement - # applies. The time period has different semantics for different metric - # types (cumulative, delta, and gauge). See the metric definition - # documentation in the service configuration for details. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # A text string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) - @double_value = args[:double_value] if args.key?(:double_value) - @end_time = args[:end_time] if args.key?(:end_time) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @labels = args[:labels] if args.key?(:labels) - @money_value = args[:money_value] if args.key?(:money_value) - @start_time = args[:start_time] if args.key?(:start_time) - @string_value = args[:string_value] if args.key?(:string_value) - end - end - - # Represents a set of metric values in the same metric. - # Each metric value in the set should have a unique combination of start time, - # end time, and label values. - class MetricValueSet - include Google::Apis::Core::Hashable - - # The metric name defined in the service configuration. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - # The values in this metric. - # Corresponds to the JSON property `metricValues` - # @return [Array] - attr_accessor :metric_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_name = args[:metric_name] if args.key?(:metric_name) - @metric_values = args[:metric_values] if args.key?(:metric_values) - end - end - - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [Fixnum] - attr_accessor :units - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @currency_code = args[:currency_code] if args.key?(:currency_code) - @nanos = args[:nanos] if args.key?(:nanos) - @units = args[:units] if args.key?(:units) - end - end - # Network configuration for the instance. class NetworkConfig include Google::Apis::Core::Hashable @@ -1776,108 +859,6 @@ module Google end end - # Represents the properties needed for quota operations. - class QuotaProperties - include Google::Apis::Core::Hashable - - # Quota mode for this operation. - # Corresponds to the JSON property `quotaMode` - # @return [String] - attr_accessor :quota_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @quota_mode = args[:quota_mode] if args.key?(:quota_mode) - end - end - - # Request message for the Report method. - class ReportRequest - include Google::Apis::Core::Hashable - - # Operations to be reported. - # Typically the service should report one operation per request. - # Putting multiple operations into a single request is allowed, but should - # be used only when multiple operations are natually available at the time - # of the report. - # There is no limit on the number of operations in the same ReportRequest, - # however the ReportRequest size should be no larger than 1MB. See - # ReportResponse.report_errors for partial failure behavior. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # Specifies which version of service config should be used to process the - # request. - # If unspecified or no matching version can be found, the - # latest one will be used. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - # The service name as specified in its service configuration. For example, - # `"pubsub.googleapis.com"`. - # See - # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ - # google.api#google.api.Service) - # for the definition of a service name. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operations = args[:operations] if args.key?(:operations) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @service_name = args[:service_name] if args.key?(:service_name) - end - end - - # Describes a resource associated with this operation. - class ResourceInfo - include Google::Apis::Core::Hashable - - # The identifier of the parent of this resource instance. - # Must be in one of the following formats: - # - “projects/” - # - “folders/” - # - “organizations/” - # Corresponds to the JSON property `resourceContainer` - # @return [String] - attr_accessor :resource_container - - # The location of the resource. If not empty, the resource will be checked - # against location policy. The value must be a valid zone, region or - # multiregion. For example: "europe-west4" or "northamerica-northeast1-a" - # Corresponds to the JSON property `resourceLocation` - # @return [String] - attr_accessor :resource_location - - # Name of the resource. This is used for auditing purposes. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_container = args[:resource_container] if args.key?(:resource_container) - @resource_location = args[:resource_location] if args.key?(:resource_location) - @resource_name = args[:resource_name] if args.key?(:resource_name) - end - end - # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is # used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -1916,143 +897,6 @@ module Google @message = args[:message] if args.key?(:message) end end - - # A span represents a single operation within a trace. Spans can be - # nested to form a trace tree. Often, a trace contains a root span - # that describes the end-to-end latency, and one or more subspans for - # its sub-operations. A trace can also contain multiple root spans, - # or none at all. Spans do not need to be contiguous—there may be - # gaps or overlaps between spans in a trace. - class TraceSpan - include Google::Apis::Core::Hashable - - # A set of attributes, each in the format `[KEY]:[VALUE]`. - # Corresponds to the JSON property `attributes` - # @return [Google::Apis::FileV1::Attributes] - attr_accessor :attributes - - # An optional number of child spans that were generated while this span - # was active. If set, allows implementation to detect missing child spans. - # Corresponds to the JSON property `childSpanCount` - # @return [Fixnum] - attr_accessor :child_span_count - - # Represents a string that might be shortened to a specified length. - # Corresponds to the JSON property `displayName` - # @return [Google::Apis::FileV1::TruncatableString] - attr_accessor :display_name - - # The end time of the span. On the client side, this is the time kept by - # the local machine where the span execution ends. On the server side, this - # is the time when the server application handler stops running. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The resource name of the span in the following format: - # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique - # identifier for a trace within a project; - # it is a 32-character hexadecimal encoding of a 16-byte array. - # [SPAN_ID] is a unique identifier for a span within a trace; it - # is a 16-character hexadecimal encoding of an 8-byte array. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The [SPAN_ID] of this span's parent span. If this is a root span, - # then this field must be empty. - # Corresponds to the JSON property `parentSpanId` - # @return [String] - attr_accessor :parent_span_id - - # (Optional) Set this parameter to indicate whether this span is in - # the same process as its parent. If you do not set this parameter, - # Stackdriver Trace is unable to take advantage of this helpful - # information. - # Corresponds to the JSON property `sameProcessAsParentSpan` - # @return [Boolean] - attr_accessor :same_process_as_parent_span - alias_method :same_process_as_parent_span?, :same_process_as_parent_span - - # The [SPAN_ID] portion of the span's resource name. - # Corresponds to the JSON property `spanId` - # @return [String] - attr_accessor :span_id - - # Distinguishes between spans generated in a particular context. For example, - # two spans with the same name may be distinguished using `CLIENT` (caller) - # and `SERVER` (callee) to identify an RPC call. - # Corresponds to the JSON property `spanKind` - # @return [String] - attr_accessor :span_kind - - # The start time of the span. On the client side, this is the time kept by - # the local machine where the span execution starts. On the server side, this - # is the time when the server's application handler starts running. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). - # Corresponds to the JSON property `status` - # @return [Google::Apis::FileV1::Status] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attributes = args[:attributes] if args.key?(:attributes) - @child_span_count = args[:child_span_count] if args.key?(:child_span_count) - @display_name = args[:display_name] if args.key?(:display_name) - @end_time = args[:end_time] if args.key?(:end_time) - @name = args[:name] if args.key?(:name) - @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) - @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) - @span_id = args[:span_id] if args.key?(:span_id) - @span_kind = args[:span_kind] if args.key?(:span_kind) - @start_time = args[:start_time] if args.key?(:start_time) - @status = args[:status] if args.key?(:status) - end - end - - # Represents a string that might be shortened to a specified length. - class TruncatableString - include Google::Apis::Core::Hashable - - # The number of bytes removed from the original string. If this - # value is 0, then the string was not shortened. - # Corresponds to the JSON property `truncatedByteCount` - # @return [Fixnum] - attr_accessor :truncated_byte_count - - # The shortened string. For example, if the original string is 500 - # bytes long and the limit of the string is 128 bytes, then - # `value` contains the first 128 bytes of the 500-byte string. - # Truncation always happens on a UTF8 character boundary. If there - # are multi-byte characters in the string, then the length of the - # shortened string might be less than the size limit. - # 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) - @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) - @value = args[:value] if args.key?(:value) - end - end end end end diff --git a/generated/google/apis/file_v1/representations.rb b/generated/google/apis/file_v1/representations.rb index 9a4e7a371..07b86e06b 100644 --- a/generated/google/apis/file_v1/representations.rb +++ b/generated/google/apis/file_v1/representations.rb @@ -22,72 +22,24 @@ module Google module Apis module FileV1 - class AttributeValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attributes - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BillingView - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Distribution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Exemplar - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExplicitBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExponentialBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class FileShareConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleApiServicecontrolV1Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudSaasacceleratorManagementProvidersV1Instance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,24 +88,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HttpRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LinearBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,42 +118,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LogEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntryOperation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntrySourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValueSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Money - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,126 +136,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class QuotaProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TraceSpan - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TruncatableString - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AttributeValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :int_value, :numeric_string => true, as: 'intValue' - property :string_value, as: 'stringValue', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation - - end - end - - class Attributes - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1::AttributeValue, decorator: Google::Apis::FileV1::AttributeValue::Representation - - property :dropped_attributes_count, as: 'droppedAttributesCount' - end - end - - class BillingView - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1::ReportRequest, decorator: Google::Apis::FileV1::ReportRequest::Representation - - end - end - class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class Distribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bucket_counts, as: 'bucketCounts' - property :count, :numeric_string => true, as: 'count' - collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1::Exemplar, decorator: Google::Apis::FileV1::Exemplar::Representation - - property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1::ExplicitBuckets, decorator: Google::Apis::FileV1::ExplicitBuckets::Representation - - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1::ExponentialBuckets, decorator: Google::Apis::FileV1::ExponentialBuckets::Representation - - property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1::LinearBuckets, decorator: Google::Apis::FileV1::LinearBuckets::Representation - - property :maximum, as: 'maximum' - property :mean, as: 'mean' - property :minimum, as: 'minimum' - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' - end - end - class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class Exemplar - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :attachments, as: 'attachments' - property :timestamp, as: 'timestamp' - property :value, as: 'value' - end - end - - class ExplicitBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bounds, as: 'bounds' - end - end - - class ExponentialBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :growth_factor, as: 'growthFactor' - property :num_finite_buckets, as: 'numFiniteBuckets' - property :scale, as: 'scale' - end - end - class FileShareConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -360,30 +162,6 @@ module Google end end - class GoogleApiServicecontrolV1Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :consumer_id, as: 'consumerId' - property :end_time, as: 'endTime' - property :importance, as: 'importance' - hash :labels, as: 'labels' - collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1::LogEntry, decorator: Google::Apis::FileV1::LogEntry::Representation - - collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1::MetricValueSet, decorator: Google::Apis::FileV1::MetricValueSet::Representation - - property :operation_id, as: 'operationId' - property :operation_name, as: 'operationName' - property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1::QuotaProperties, decorator: Google::Apis::FileV1::QuotaProperties::Representation - - collection :resources, as: 'resources', class: Google::Apis::FileV1::ResourceInfo, decorator: Google::Apis::FileV1::ResourceInfo::Representation - - property :start_time, as: 'startTime' - collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1::TraceSpan, decorator: Google::Apis::FileV1::TraceSpan::Representation - - hash :user_labels, as: 'userLabels' - end - end - class GoogleCloudSaasacceleratorManagementProvidersV1Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -475,27 +253,6 @@ module Google end end - class HttpRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' - property :cache_hit, as: 'cacheHit' - property :cache_lookup, as: 'cacheLookup' - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :latency, as: 'latency' - property :protocol, as: 'protocol' - property :referer, as: 'referer' - property :remote_ip, as: 'remoteIp' - property :request_method, as: 'requestMethod' - property :request_size, :numeric_string => true, as: 'requestSize' - property :request_url, as: 'requestUrl' - property :response_size, :numeric_string => true, as: 'responseSize' - property :server_ip, as: 'serverIp' - property :status, as: 'status' - property :user_agent, as: 'userAgent' - end - end - class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -514,15 +271,6 @@ module Google end end - class LinearBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_finite_buckets, as: 'numFiniteBuckets' - property :offset, as: 'offset' - property :width, as: 'width' - end - end - class ListInstancesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -562,81 +310,6 @@ module Google end end - class LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :http_request, as: 'httpRequest', class: Google::Apis::FileV1::HttpRequest, decorator: Google::Apis::FileV1::HttpRequest::Representation - - property :insert_id, as: 'insertId' - hash :labels, as: 'labels' - property :name, as: 'name' - property :operation, as: 'operation', class: Google::Apis::FileV1::LogEntryOperation, decorator: Google::Apis::FileV1::LogEntryOperation::Representation - - hash :proto_payload, as: 'protoPayload' - property :severity, as: 'severity' - property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1::LogEntrySourceLocation, decorator: Google::Apis::FileV1::LogEntrySourceLocation::Representation - - hash :struct_payload, as: 'structPayload' - property :text_payload, as: 'textPayload' - property :timestamp, as: 'timestamp' - property :trace, as: 'trace' - end - end - - class LogEntryOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :first, as: 'first' - property :id, as: 'id' - property :last, as: 'last' - property :producer, as: 'producer' - end - end - - class LogEntrySourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' - property :function, as: 'function' - property :line, :numeric_string => true, as: 'line' - end - end - - class MetricValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1::Distribution, decorator: Google::Apis::FileV1::Distribution::Representation - - property :double_value, as: 'doubleValue' - property :end_time, as: 'endTime' - property :int64_value, :numeric_string => true, as: 'int64Value' - hash :labels, as: 'labels' - property :money_value, as: 'moneyValue', class: Google::Apis::FileV1::Money, decorator: Google::Apis::FileV1::Money::Representation - - property :start_time, as: 'startTime' - property :string_value, as: 'stringValue' - end - end - - class MetricValueSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_name, as: 'metricName' - collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1::MetricValue, decorator: Google::Apis::FileV1::MetricValue::Representation - - end - end - - class Money - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :currency_code, as: 'currencyCode' - property :nanos, as: 'nanos' - property :units, :numeric_string => true, as: 'units' - end - end - class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -672,32 +345,6 @@ module Google end end - class QuotaProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :quota_mode, as: 'quotaMode' - end - end - - class ReportRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation::Representation - - property :service_config_id, as: 'serviceConfigId' - property :service_name, as: 'serviceName' - end - end - - class ResourceInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource_container, as: 'resourceContainer' - property :resource_location, as: 'resourceLocation' - property :resource_name, as: 'resourceName' - end - end - class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -706,34 +353,6 @@ module Google property :message, as: 'message' end end - - class TraceSpan - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :attributes, as: 'attributes', class: Google::Apis::FileV1::Attributes, decorator: Google::Apis::FileV1::Attributes::Representation - - property :child_span_count, as: 'childSpanCount' - property :display_name, as: 'displayName', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation - - property :end_time, as: 'endTime' - property :name, as: 'name' - property :parent_span_id, as: 'parentSpanId' - property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' - property :span_id, as: 'spanId' - property :span_kind, as: 'spanKind' - property :start_time, as: 'startTime' - property :status, as: 'status', class: Google::Apis::FileV1::Status, decorator: Google::Apis::FileV1::Status::Representation - - end - end - - class TruncatableString - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :truncated_byte_count, as: 'truncatedByteCount' - property :value, as: 'value' - end - end end end end diff --git a/generated/google/apis/file_v1beta1.rb b/generated/google/apis/file_v1beta1.rb index ea123484c..d8790cb2f 100644 --- a/generated/google/apis/file_v1beta1.rb +++ b/generated/google/apis/file_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1beta1 VERSION = 'V1beta1' - REVISION = '20200520' + REVISION = '20200602' # 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/file_v1beta1/classes.rb b/generated/google/apis/file_v1beta1/classes.rb index 3ef6d52e1..6ce86d4d4 100644 --- a/generated/google/apis/file_v1beta1/classes.rb +++ b/generated/google/apis/file_v1beta1/classes.rb @@ -22,94 +22,6 @@ module Google module Apis module FileV1beta1 - # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. - class AttributeValue - include Google::Apis::Core::Hashable - - # A Boolean value represented by `true` or `false`. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # A 64-bit signed integer. - # Corresponds to the JSON property `intValue` - # @return [Fixnum] - attr_accessor :int_value - - # Represents a string that might be shortened to a specified length. - # Corresponds to the JSON property `stringValue` - # @return [Google::Apis::FileV1beta1::TruncatableString] - attr_accessor :string_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @int_value = args[:int_value] if args.key?(:int_value) - @string_value = args[:string_value] if args.key?(:string_value) - end - end - - # A set of attributes, each in the format `[KEY]:[VALUE]`. - class Attributes - include Google::Apis::Core::Hashable - - # The set of attributes. Each attribute's key can be up to 128 bytes - # long. The value can be a string up to 256 bytes, a signed 64-bit integer, - # or the Boolean values `true` and `false`. For example: - # "/instance_id": "my-instance" - # "/http/user_agent": "" - # "/http/request_bytes": 300 - # "abc.com/myattribute": true - # Corresponds to the JSON property `attributeMap` - # @return [Hash] - attr_accessor :attribute_map - - # The number of attributes that were discarded. Attributes can be discarded - # because their keys are too long or because there are too many attributes. - # If this value is 0 then all attributes are valid. - # Corresponds to the JSON property `droppedAttributesCount` - # @return [Fixnum] - attr_accessor :dropped_attributes_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attribute_map = args[:attribute_map] if args.key?(:attribute_map) - @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) - end - end - - # Message for reporting billing requests through Eventstream. - class BillingView - include Google::Apis::Core::Hashable - - # Billing requests to be reported for an [Eventstream - # resource](http://google3/cloud/eventstream/v2/resource_event.proto). - # Each request contains billing operations to be reported under a service - # name. See go/billing-view-construction for documentation on constructing - # billing view report requests. - # Corresponds to the JSON property `reportRequests` - # @return [Array] - attr_accessor :report_requests - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @report_requests = args[:report_requests] if args.key?(:report_requests) - end - end - # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable @@ -123,97 +35,6 @@ module Google end end - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - class Distribution - include Google::Apis::Core::Hashable - - # The number of samples in each histogram bucket. `bucket_counts` are - # optional. If present, they must sum to the `count` value. - # The buckets are defined below in `bucket_option`. There are N buckets. - # `bucket_counts[0]` is the number of samples in the underflow bucket. - # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - # in each of the finite buckets. And `bucket_counts[N] is the number - # of samples in the overflow bucket. See the comments of `bucket_option` - # below for more details. - # Any suffix of trailing zeros may be omitted. - # Corresponds to the JSON property `bucketCounts` - # @return [Array] - attr_accessor :bucket_counts - - # The total number of samples in the distribution. Must be >= 0. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # Example points. Must be in increasing order of `value` field. - # Corresponds to the JSON property `exemplars` - # @return [Array] - attr_accessor :exemplars - - # Describing buckets with arbitrary user-provided width. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::FileV1beta1::ExplicitBuckets] - attr_accessor :explicit_buckets - - # Describing buckets with exponentially growing width. - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::FileV1beta1::ExponentialBuckets] - attr_accessor :exponential_buckets - - # Describing buckets with constant width. - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::FileV1beta1::LinearBuckets] - attr_accessor :linear_buckets - - # The maximum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `maximum` - # @return [Float] - attr_accessor :maximum - - # The arithmetic mean of the samples in the distribution. If `count` is - # zero then this field must be zero. - # Corresponds to the JSON property `mean` - # @return [Float] - attr_accessor :mean - - # The minimum of the population of values. Ignored if `count` is zero. - # Corresponds to the JSON property `minimum` - # @return [Float] - attr_accessor :minimum - - # The sum of squared deviations from the mean: - # Sum[i=1..count]((x_i - mean)^2) - # where each x_i is a sample values. If `count` is zero then this field - # must be zero, otherwise validation of the request fails. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) - @count = args[:count] if args.key?(:count) - @exemplars = args[:exemplars] if args.key?(:exemplars) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) - @maximum = args[:maximum] if args.key?(:maximum) - @mean = args[:mean] if args.key?(:mean) - @minimum = args[:minimum] if args.key?(:minimum) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - end - end - # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -233,118 +54,6 @@ module Google end end - # Exemplars are example points that may be used to annotate aggregated - # distribution values. They are metadata that gives information about a - # particular value added to a Distribution bucket, such as a trace ID that - # was active when a value was added. They may contain further information, - # such as a example values and timestamps, origin, etc. - class Exemplar - include Google::Apis::Core::Hashable - - # Contextual information about the example value. Examples are: - # Trace: type.googleapis.com/google.monitoring.v3.SpanContext - # Literal string: type.googleapis.com/google.protobuf.StringValue - # Labels dropped during aggregation: - # type.googleapis.com/google.monitoring.v3.DroppedLabels - # There may be only a single attachment of any given message type in a - # single exemplar, and this is enforced by the system. - # Corresponds to the JSON property `attachments` - # @return [Array>] - attr_accessor :attachments - - # The observation (sampling) time of the above value. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Value of the exemplar point. This value determines to which bucket the - # exemplar belongs. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attachments = args[:attachments] if args.key?(:attachments) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @value = args[:value] if args.key?(:value) - end - end - - # Describing buckets with arbitrary user-provided width. - class ExplicitBuckets - include Google::Apis::Core::Hashable - - # 'bound' is a list of strictly increasing boundaries between - # buckets. Note that a list of length N-1 defines N buckets because - # of fenceposting. See comments on `bucket_options` for details. - # The i'th finite bucket covers the interval - # [bound[i-1], bound[i]) - # where i ranges from 1 to bound_size() - 1. Note that there are no - # finite buckets at all if 'bound' only contains a single element; in - # that special case the single bound defines the boundary between the - # underflow and overflow buckets. - # bucket number lower bound upper bound - # i == 0 (underflow) -inf bound[i] - # 0 < i < bound_size() bound[i-1] bound[i] - # i == bound_size() (overflow) bound[i-1] +inf - # Corresponds to the JSON property `bounds` - # @return [Array] - attr_accessor :bounds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bounds = args[:bounds] if args.key?(:bounds) - end - end - - # Describing buckets with exponentially growing width. - class ExponentialBuckets - include Google::Apis::Core::Hashable - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be larger than 1.0. - # Corresponds to the JSON property `growthFactor` - # @return [Float] - attr_accessor :growth_factor - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # The i'th exponential bucket covers the interval - # [scale * growth_factor^(i-1), scale * growth_factor^i) - # where i ranges from 1 to num_finite_buckets inclusive. - # Must be > 0. - # Corresponds to the JSON property `scale` - # @return [Float] - attr_accessor :scale - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @growth_factor = args[:growth_factor] if args.key?(:growth_factor) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @scale = args[:scale] if args.key?(:scale) - end - end - # File share configuration for the instance. class FileShareConfig include Google::Apis::Core::Hashable @@ -360,6 +69,12 @@ module Google # @return [String] attr_accessor :name + # Nfs Export Options. + # There is a limit of 10 export options per file share. + # Corresponds to the JSON property `nfsExportOptions` + # @return [Array] + attr_accessor :nfs_export_options + def initialize(**args) update!(**args) end @@ -368,143 +83,7 @@ module Google def update!(**args) @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb) @name = args[:name] if args.key?(:name) - end - end - - # Represents information regarding an operation. - class GoogleApiServicecontrolV1Operation - include Google::Apis::Core::Hashable - - # Identity of the consumer who is using the service. - # This field should be filled in for the operations initiated by a - # consumer, but not for service-initiated operations that are - # not related to a specific consumer. - # - This can be in one of the following formats: - # - project:PROJECT_ID, - # - project`_`number:PROJECT_NUMBER, - # - projects/PROJECT_ID or PROJECT_NUMBER, - # - folders/FOLDER_NUMBER, - # - organizations/ORGANIZATION_NUMBER, - # - api`_`key:API_KEY. - # Corresponds to the JSON property `consumerId` - # @return [String] - attr_accessor :consumer_id - - # End time of the operation. - # Required when the operation is used in ServiceController.Report, - # but optional when the operation is used in ServiceController.Check. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # DO NOT USE. This is an experimental field. - # Corresponds to the JSON property `importance` - # @return [String] - attr_accessor :importance - - # Labels describing the operation. Only the following labels are allowed: - # - Labels describing monitored resources as defined in - # the service configuration. - # - Default labels of metric values. When specified, labels defined in the - # metric value override these default. - # - The following labels defined by Google Cloud Platform: - # - `cloud.googleapis.com/location` describing the location where the - # operation happened, - # - `servicecontrol.googleapis.com/user_agent` describing the user agent - # of the API request, - # - `servicecontrol.googleapis.com/service_agent` describing the service - # used to handle the API request (e.g. ESP), - # - `servicecontrol.googleapis.com/platform` describing the platform - # where the API is served, such as App Engine, Compute Engine, or - # Kubernetes Engine. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Represents information to be logged. - # Corresponds to the JSON property `logEntries` - # @return [Array] - attr_accessor :log_entries - - # Represents information about this operation. Each MetricValueSet - # corresponds to a metric defined in the service configuration. - # The data type used in the MetricValueSet must agree with - # the data type specified in the metric definition. - # Within a single operation, it is not allowed to have more than one - # MetricValue instances that have the same metric names and identical - # label value combinations. If a request has such duplicated MetricValue - # instances, the entire request is rejected with - # an invalid argument error. - # Corresponds to the JSON property `metricValueSets` - # @return [Array] - attr_accessor :metric_value_sets - - # Identity of the operation. This must be unique within the scope of the - # service that generated the operation. If the service calls - # Check() and Report() on the same operation, the two calls should carry - # the same id. - # UUID version 4 is recommended, though not required. - # In scenarios where an operation is computed from existing information - # and an idempotent id is desirable for deduplication purpose, UUID version 5 - # is recommended. See RFC 4122 for details. - # Corresponds to the JSON property `operationId` - # @return [String] - attr_accessor :operation_id - - # Fully qualified name of the operation. Reserved for future use. - # Corresponds to the JSON property `operationName` - # @return [String] - attr_accessor :operation_name - - # Represents the properties needed for quota operations. - # Corresponds to the JSON property `quotaProperties` - # @return [Google::Apis::FileV1beta1::QuotaProperties] - attr_accessor :quota_properties - - # The resources that are involved in the operation. - # The maximum supported number of entries in this field is 100. - # Corresponds to the JSON property `resources` - # @return [Array] - attr_accessor :resources - - # Required. Start time of the operation. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Unimplemented. A list of Cloud Trace spans. The span names shall contain - # the id of the destination project which can be either the produce or the - # consumer project. - # Corresponds to the JSON property `traceSpans` - # @return [Array] - attr_accessor :trace_spans - - # User defined labels for the resource that this operation is associated - # with. Only a combination of 1000 user labels per consumer project are - # allowed. - # Corresponds to the JSON property `userLabels` - # @return [Hash] - attr_accessor :user_labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @consumer_id = args[:consumer_id] if args.key?(:consumer_id) - @end_time = args[:end_time] if args.key?(:end_time) - @importance = args[:importance] if args.key?(:importance) - @labels = args[:labels] if args.key?(:labels) - @log_entries = args[:log_entries] if args.key?(:log_entries) - @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) - @operation_id = args[:operation_id] if args.key?(:operation_id) - @operation_name = args[:operation_name] if args.key?(:operation_name) - @quota_properties = args[:quota_properties] if args.key?(:quota_properties) - @resources = args[:resources] if args.key?(:resources) - @start_time = args[:start_time] if args.key?(:start_time) - @trace_spans = args[:trace_spans] if args.key?(:trace_spans) - @user_labels = args[:user_labels] if args.key?(:user_labels) + @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options) end end @@ -905,130 +484,6 @@ module Google end end - # A common proto for logging HTTP requests. Only contains semantics - # defined by the HTTP specification. Product-specific logging - # information MUST be defined in a separate message. - class HttpRequest - include Google::Apis::Core::Hashable - - # The number of HTTP response bytes inserted into cache. Set only when a - # cache fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` - # @return [Fixnum] - attr_accessor :cache_fill_bytes - - # Whether or not an entity was served from cache - # (with or without validation). - # Corresponds to the JSON property `cacheHit` - # @return [Boolean] - attr_accessor :cache_hit - alias_method :cache_hit?, :cache_hit - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` - # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup - - # Whether or not the response was validated with the origin server before - # being served from cache. This field is only meaningful if `cache_hit` is - # True. - # Corresponds to the JSON property `cacheValidatedWithOriginServer` - # @return [Boolean] - attr_accessor :cache_validated_with_origin_server - alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server - - # The request processing latency on the server, from the time the request was - # received until the response was sent. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" - # Corresponds to the JSON property `protocol` - # @return [String] - attr_accessor :protocol - - # The referer URL of the request, as defined in - # [HTTP/1.1 Header Field - # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - # Corresponds to the JSON property `referer` - # @return [String] - attr_accessor :referer - - # The IP address (IPv4 or IPv6) of the client that issued the HTTP - # request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip - - # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. - # Corresponds to the JSON property `requestMethod` - # @return [String] - attr_accessor :request_method - - # The size of the HTTP request message in bytes, including the request - # headers and the request body. - # Corresponds to the JSON property `requestSize` - # @return [Fixnum] - attr_accessor :request_size - - # The scheme (http, https), the host name, the path, and the query - # portion of the URL that was requested. - # Example: `"http://example.com/some/info?color=red"`. - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` - # @return [Fixnum] - attr_accessor :response_size - - # The IP address (IPv4 or IPv6) of the origin server that the request was - # sent to. - # Corresponds to the JSON property `serverIp` - # @return [String] - attr_accessor :server_ip - - # The response code indicating the status of the response. - # Examples: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # The user agent sent by the client. Example: - # `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - # CLR 1.0.3705)"`. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @latency = args[:latency] if args.key?(:latency) - @protocol = args[:protocol] if args.key?(:protocol) - @referer = args[:referer] if args.key?(:referer) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @request_method = args[:request_method] if args.key?(:request_method) - @request_size = args[:request_size] if args.key?(:request_size) - @request_url = args[:request_url] if args.key?(:request_url) - @response_size = args[:response_size] if args.key?(:response_size) - @server_ip = args[:server_ip] if args.key?(:server_ip) - @status = args[:status] if args.key?(:status) - @user_agent = args[:user_agent] if args.key?(:user_agent) - end - end - # A Cloud Filestore instance. class Instance include Google::Apis::Core::Hashable @@ -1106,44 +561,6 @@ module Google end end - # Describing buckets with constant width. - class LinearBuckets - include Google::Apis::Core::Hashable - - # The number of finite buckets. With the underflow and overflow buckets, - # the total number of buckets is `num_finite_buckets` + 2. - # See comments on `bucket_options` for details. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Corresponds to the JSON property `offset` - # @return [Float] - attr_accessor :offset - - # The i'th linear bucket covers the interval - # [offset + (i-1) * width, offset + i * width) - # where i ranges from 1 to num_finite_buckets, inclusive. - # Must be strictly positive. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - @offset = args[:offset] if args.key?(:offset) - @width = args[:width] if args.key?(:width) - end - end - # ListInstancesResponse is the result of ListInstancesRequest. class ListInstancesResponse include Google::Apis::Core::Hashable @@ -1277,333 +694,6 @@ module Google end end - # An individual log entry. - class LogEntry - include Google::Apis::Core::Hashable - - # A common proto for logging HTTP requests. Only contains semantics - # defined by the HTTP specification. Product-specific logging - # information MUST be defined in a separate message. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::FileV1beta1::HttpRequest] - attr_accessor :http_request - - # A unique ID for the log entry used for deduplication. If omitted, - # the implementation will generate one based on operation_id. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Required. The log to which this log entry belongs. Examples: `"syslog"`, - # `"book_log"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Additional information about a potentially long-running operation with which - # a log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::FileV1beta1::LogEntryOperation] - attr_accessor :operation - - # The log entry payload, represented as a protocol buffer that is - # expressed as a JSON object. The only accepted type currently is - # AuditLog. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # The severity of the log entry. The default value is - # `LogSeverity.DEFAULT`. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Additional information about the source code location that produced the log - # entry. - # Corresponds to the JSON property `sourceLocation` - # @return [Google::Apis::FileV1beta1::LogEntrySourceLocation] - attr_accessor :source_location - - # The log entry payload, represented as a structure that - # is expressed as a JSON object. - # Corresponds to the JSON property `structPayload` - # @return [Hash] - attr_accessor :struct_payload - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The time the event described by the log entry occurred. If - # omitted, defaults to operation start time. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Optional. Resource name of the trace associated with the log entry, if any. - # If this field contains a relative resource name, you can assume the name is - # relative to `//tracing.googleapis.com`. Example: - # `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - # Corresponds to the JSON property `trace` - # @return [String] - attr_accessor :trace - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @http_request = args[:http_request] if args.key?(:http_request) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @operation = args[:operation] if args.key?(:operation) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @severity = args[:severity] if args.key?(:severity) - @source_location = args[:source_location] if args.key?(:source_location) - @struct_payload = args[:struct_payload] if args.key?(:struct_payload) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @trace = args[:trace] if args.key?(:trace) - end - end - - # Additional information about a potentially long-running operation with which - # a log entry is associated. - class LogEntryOperation - include Google::Apis::Core::Hashable - - # Optional. Set this to True if this is the first log entry in the operation. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # Optional. An arbitrary operation identifier. Log entries with the - # same identifier are assumed to be part of the same operation. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Optional. Set this to True if this is the last log entry in the operation. - # Corresponds to the JSON property `last` - # @return [Boolean] - attr_accessor :last - alias_method :last?, :last - - # Optional. An arbitrary producer identifier. The combination of - # `id` and `producer` must be globally unique. Examples for `producer`: - # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - # Corresponds to the JSON property `producer` - # @return [String] - attr_accessor :producer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @first = args[:first] if args.key?(:first) - @id = args[:id] if args.key?(:id) - @last = args[:last] if args.key?(:last) - @producer = args[:producer] if args.key?(:producer) - end - end - - # Additional information about the source code location that produced the log - # entry. - class LogEntrySourceLocation - include Google::Apis::Core::Hashable - - # Optional. Source file name. Depending on the runtime environment, this - # might be a simple name or a fully-qualified name. - # Corresponds to the JSON property `file` - # @return [String] - attr_accessor :file - - # Optional. Human-readable name of the function or method being invoked, with - # optional context such as the class or package name. This information may be - # used in contexts such as the logs viewer, where a file and line number are - # less meaningful. The format can vary by language. For example: - # `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - # (Python). - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # Optional. Line within the source file. 1-based; 0 indicates no line number - # available. - # Corresponds to the JSON property `line` - # @return [Fixnum] - attr_accessor :line - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file = args[:file] if args.key?(:file) - @function = args[:function] if args.key?(:function) - @line = args[:line] if args.key?(:line) - end - end - - # Represents a single metric value. - class MetricValue - include Google::Apis::Core::Hashable - - # A boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # Distribution represents a frequency distribution of double-valued sample - # points. It contains the size of the population of sample points plus - # additional optional information: - # - the arithmetic mean of the samples - # - the minimum and maximum of the samples - # - the sum-squared-deviation of the samples, used to compute variance - # - a histogram of the values of the sample points - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::FileV1beta1::Distribution] - attr_accessor :distribution_value - - # A double precision floating point value. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # The end of the time period over which this metric value's measurement - # applies. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # A signed 64-bit integer value. - # Corresponds to the JSON property `int64Value` - # @return [Fixnum] - attr_accessor :int64_value - - # The labels describing the metric value. - # See comments on google.api.servicecontrol.v1.Operation.labels for - # the overriding relationship. - # Note that this map must not contain monitored resource labels. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `moneyValue` - # @return [Google::Apis::FileV1beta1::Money] - attr_accessor :money_value - - # The start of the time period over which this metric value's measurement - # applies. The time period has different semantics for different metric - # types (cumulative, delta, and gauge). See the metric definition - # documentation in the service configuration for details. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # A text string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) - @double_value = args[:double_value] if args.key?(:double_value) - @end_time = args[:end_time] if args.key?(:end_time) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @labels = args[:labels] if args.key?(:labels) - @money_value = args[:money_value] if args.key?(:money_value) - @start_time = args[:start_time] if args.key?(:start_time) - @string_value = args[:string_value] if args.key?(:string_value) - end - end - - # Represents a set of metric values in the same metric. - # Each metric value in the set should have a unique combination of start time, - # end time, and label values. - class MetricValueSet - include Google::Apis::Core::Hashable - - # The metric name defined in the service configuration. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - # The values in this metric. - # Corresponds to the JSON property `metricValues` - # @return [Array] - attr_accessor :metric_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_name = args[:metric_name] if args.key?(:metric_name) - @metric_values = args[:metric_values] if args.key?(:metric_values) - end - end - - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - # Number of nano (10^-9) units of the amount. - # The value must be between -999,999,999 and +999,999,999 inclusive. - # If `units` is positive, `nanos` must be positive or zero. - # If `units` is zero, `nanos` can be positive, zero, or negative. - # If `units` is negative, `nanos` must be negative or zero. - # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # The whole units of the amount. - # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [Fixnum] - attr_accessor :units - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @currency_code = args[:currency_code] if args.key?(:currency_code) - @nanos = args[:nanos] if args.key?(:nanos) - @units = args[:units] if args.key?(:units) - end - end - # Network configuration for the instance. class NetworkConfig include Google::Apis::Core::Hashable @@ -1653,6 +743,66 @@ module Google end end + # NFS export options specifications. + class NfsExportOptions + include Google::Apis::Core::Hashable + + # Either READ_ONLY, for allowing only read requests on the exported + # directory, or READ_WRITE, for allowing both read and write requests. + # The default is READ_WRITE. + # Corresponds to the JSON property `accessMode` + # @return [String] + attr_accessor :access_mode + + # An integer representing the anonymous group id with a default value of + # 65534. + # Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be + # returned if this field is specified for other squash_mode settings. + # Corresponds to the JSON property `anonGid` + # @return [Fixnum] + attr_accessor :anon_gid + + # An integer representing the anonymous user id with a default value of + # 65534. + # Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be + # returned if this field is specified for other squash_mode settings. + # Corresponds to the JSON property `anonUid` + # @return [Fixnum] + attr_accessor :anon_uid + + # List of either an IPv4 addresses in the format + # `octet 1`.`octet 2`.`octet 3`.`octet 4` or CIDR ranges in the format + # `octet 1`.`octet 2`.`octet 3`.`octet 4`/`mask size` which may mount the + # file share. + # Overlapping IP ranges are not allowed, both within and across + # NfsExportOptions. An error will be returned. + # The limit is 64 IP ranges/addresses for each FileShareConfig among all + # NfsExportOptions. + # Corresponds to the JSON property `ipRanges` + # @return [Array] + attr_accessor :ip_ranges + + # Either NO_ROOT_SQUASH, for allowing root access on the exported directory, + # or ROOT_SQUASH, for not allowing root access. The default is + # NO_ROOT_SQUASH. + # Corresponds to the JSON property `squashMode` + # @return [String] + attr_accessor :squash_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_mode = args[:access_mode] if args.key?(:access_mode) + @anon_gid = args[:anon_gid] if args.key?(:anon_gid) + @anon_uid = args[:anon_uid] if args.key?(:anon_uid) + @ip_ranges = args[:ip_ranges] if args.key?(:ip_ranges) + @squash_mode = args[:squash_mode] if args.key?(:squash_mode) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -1776,108 +926,6 @@ module Google end end - # Represents the properties needed for quota operations. - class QuotaProperties - include Google::Apis::Core::Hashable - - # Quota mode for this operation. - # Corresponds to the JSON property `quotaMode` - # @return [String] - attr_accessor :quota_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @quota_mode = args[:quota_mode] if args.key?(:quota_mode) - end - end - - # Request message for the Report method. - class ReportRequest - include Google::Apis::Core::Hashable - - # Operations to be reported. - # Typically the service should report one operation per request. - # Putting multiple operations into a single request is allowed, but should - # be used only when multiple operations are natually available at the time - # of the report. - # There is no limit on the number of operations in the same ReportRequest, - # however the ReportRequest size should be no larger than 1MB. See - # ReportResponse.report_errors for partial failure behavior. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # Specifies which version of service config should be used to process the - # request. - # If unspecified or no matching version can be found, the - # latest one will be used. - # Corresponds to the JSON property `serviceConfigId` - # @return [String] - attr_accessor :service_config_id - - # The service name as specified in its service configuration. For example, - # `"pubsub.googleapis.com"`. - # See - # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ - # google.api#google.api.Service) - # for the definition of a service name. - # Corresponds to the JSON property `serviceName` - # @return [String] - attr_accessor :service_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operations = args[:operations] if args.key?(:operations) - @service_config_id = args[:service_config_id] if args.key?(:service_config_id) - @service_name = args[:service_name] if args.key?(:service_name) - end - end - - # Describes a resource associated with this operation. - class ResourceInfo - include Google::Apis::Core::Hashable - - # The identifier of the parent of this resource instance. - # Must be in one of the following formats: - # - “projects/” - # - “folders/” - # - “organizations/” - # Corresponds to the JSON property `resourceContainer` - # @return [String] - attr_accessor :resource_container - - # The location of the resource. If not empty, the resource will be checked - # against location policy. The value must be a valid zone, region or - # multiregion. For example: "europe-west4" or "northamerica-northeast1-a" - # Corresponds to the JSON property `resourceLocation` - # @return [String] - attr_accessor :resource_location - - # Name of the resource. This is used for auditing purposes. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_container = args[:resource_container] if args.key?(:resource_container) - @resource_location = args[:resource_location] if args.key?(:resource_location) - @resource_name = args[:resource_name] if args.key?(:resource_name) - end - end - # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is # used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -1916,143 +964,6 @@ module Google @message = args[:message] if args.key?(:message) end end - - # A span represents a single operation within a trace. Spans can be - # nested to form a trace tree. Often, a trace contains a root span - # that describes the end-to-end latency, and one or more subspans for - # its sub-operations. A trace can also contain multiple root spans, - # or none at all. Spans do not need to be contiguous—there may be - # gaps or overlaps between spans in a trace. - class TraceSpan - include Google::Apis::Core::Hashable - - # A set of attributes, each in the format `[KEY]:[VALUE]`. - # Corresponds to the JSON property `attributes` - # @return [Google::Apis::FileV1beta1::Attributes] - attr_accessor :attributes - - # An optional number of child spans that were generated while this span - # was active. If set, allows implementation to detect missing child spans. - # Corresponds to the JSON property `childSpanCount` - # @return [Fixnum] - attr_accessor :child_span_count - - # Represents a string that might be shortened to a specified length. - # Corresponds to the JSON property `displayName` - # @return [Google::Apis::FileV1beta1::TruncatableString] - attr_accessor :display_name - - # The end time of the span. On the client side, this is the time kept by - # the local machine where the span execution ends. On the server side, this - # is the time when the server application handler stops running. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The resource name of the span in the following format: - # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique - # identifier for a trace within a project; - # it is a 32-character hexadecimal encoding of a 16-byte array. - # [SPAN_ID] is a unique identifier for a span within a trace; it - # is a 16-character hexadecimal encoding of an 8-byte array. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The [SPAN_ID] of this span's parent span. If this is a root span, - # then this field must be empty. - # Corresponds to the JSON property `parentSpanId` - # @return [String] - attr_accessor :parent_span_id - - # (Optional) Set this parameter to indicate whether this span is in - # the same process as its parent. If you do not set this parameter, - # Stackdriver Trace is unable to take advantage of this helpful - # information. - # Corresponds to the JSON property `sameProcessAsParentSpan` - # @return [Boolean] - attr_accessor :same_process_as_parent_span - alias_method :same_process_as_parent_span?, :same_process_as_parent_span - - # The [SPAN_ID] portion of the span's resource name. - # Corresponds to the JSON property `spanId` - # @return [String] - attr_accessor :span_id - - # Distinguishes between spans generated in a particular context. For example, - # two spans with the same name may be distinguished using `CLIENT` (caller) - # and `SERVER` (callee) to identify an RPC call. - # Corresponds to the JSON property `spanKind` - # @return [String] - attr_accessor :span_kind - - # The start time of the span. On the client side, this is the time kept by - # the local machine where the span execution starts. On the server side, this - # is the time when the server's application handler starts running. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The `Status` type defines a logical error model that is suitable for - # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). Each `Status` message contains - # three pieces of data: error code, error message, and error details. - # You can find out more about this error model and how to work with it in the - # [API Design Guide](https://cloud.google.com/apis/design/errors). - # Corresponds to the JSON property `status` - # @return [Google::Apis::FileV1beta1::Status] - attr_accessor :status - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attributes = args[:attributes] if args.key?(:attributes) - @child_span_count = args[:child_span_count] if args.key?(:child_span_count) - @display_name = args[:display_name] if args.key?(:display_name) - @end_time = args[:end_time] if args.key?(:end_time) - @name = args[:name] if args.key?(:name) - @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) - @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) - @span_id = args[:span_id] if args.key?(:span_id) - @span_kind = args[:span_kind] if args.key?(:span_kind) - @start_time = args[:start_time] if args.key?(:start_time) - @status = args[:status] if args.key?(:status) - end - end - - # Represents a string that might be shortened to a specified length. - class TruncatableString - include Google::Apis::Core::Hashable - - # The number of bytes removed from the original string. If this - # value is 0, then the string was not shortened. - # Corresponds to the JSON property `truncatedByteCount` - # @return [Fixnum] - attr_accessor :truncated_byte_count - - # The shortened string. For example, if the original string is 500 - # bytes long and the limit of the string is 128 bytes, then - # `value` contains the first 128 bytes of the 500-byte string. - # Truncation always happens on a UTF8 character boundary. If there - # are multi-byte characters in the string, then the length of the - # shortened string might be less than the size limit. - # 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) - @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) - @value = args[:value] if args.key?(:value) - end - end end end end diff --git a/generated/google/apis/file_v1beta1/representations.rb b/generated/google/apis/file_v1beta1/representations.rb index 769d82cf3..4c603aca3 100644 --- a/generated/google/apis/file_v1beta1/representations.rb +++ b/generated/google/apis/file_v1beta1/representations.rb @@ -22,72 +22,24 @@ module Google module Apis module FileV1beta1 - class AttributeValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attributes - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BillingView - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Distribution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Exemplar - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExplicitBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExponentialBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class FileShareConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GoogleApiServicecontrolV1Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleCloudSaasacceleratorManagementProvidersV1Instance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,24 +88,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class HttpRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LinearBuckets - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,48 +118,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LogEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntryOperation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntrySourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricValueSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Money - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class NfsExportOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -232,155 +142,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class QuotaProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TraceSpan - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TruncatableString - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AttributeValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :int_value, :numeric_string => true, as: 'intValue' - property :string_value, as: 'stringValue', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation - - end - end - - class Attributes - # @private - class Representation < Google::Apis::Core::JsonRepresentation - hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1beta1::AttributeValue, decorator: Google::Apis::FileV1beta1::AttributeValue::Representation - - property :dropped_attributes_count, as: 'droppedAttributesCount' - end - end - - class BillingView - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1beta1::ReportRequest, decorator: Google::Apis::FileV1beta1::ReportRequest::Representation - - end - end - class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class Distribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bucket_counts, as: 'bucketCounts' - property :count, :numeric_string => true, as: 'count' - collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1beta1::Exemplar, decorator: Google::Apis::FileV1beta1::Exemplar::Representation - - property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1beta1::ExplicitBuckets, decorator: Google::Apis::FileV1beta1::ExplicitBuckets::Representation - - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1beta1::ExponentialBuckets, decorator: Google::Apis::FileV1beta1::ExponentialBuckets::Representation - - property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1beta1::LinearBuckets, decorator: Google::Apis::FileV1beta1::LinearBuckets::Representation - - property :maximum, as: 'maximum' - property :mean, as: 'mean' - property :minimum, as: 'minimum' - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' - end - end - class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class Exemplar - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :attachments, as: 'attachments' - property :timestamp, as: 'timestamp' - property :value, as: 'value' - end - end - - class ExplicitBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bounds, as: 'bounds' - end - end - - class ExponentialBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :growth_factor, as: 'growthFactor' - property :num_finite_buckets, as: 'numFiniteBuckets' - property :scale, as: 'scale' - end - end - class FileShareConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :capacity_gb, :numeric_string => true, as: 'capacityGb' property :name, as: 'name' - end - end + collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation - class GoogleApiServicecontrolV1Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :consumer_id, as: 'consumerId' - property :end_time, as: 'endTime' - property :importance, as: 'importance' - hash :labels, as: 'labels' - collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1beta1::LogEntry, decorator: Google::Apis::FileV1beta1::LogEntry::Representation - - collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1beta1::MetricValueSet, decorator: Google::Apis::FileV1beta1::MetricValueSet::Representation - - property :operation_id, as: 'operationId' - property :operation_name, as: 'operationName' - property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1beta1::QuotaProperties, decorator: Google::Apis::FileV1beta1::QuotaProperties::Representation - - collection :resources, as: 'resources', class: Google::Apis::FileV1beta1::ResourceInfo, decorator: Google::Apis::FileV1beta1::ResourceInfo::Representation - - property :start_time, as: 'startTime' - collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1beta1::TraceSpan, decorator: Google::Apis::FileV1beta1::TraceSpan::Representation - - hash :user_labels, as: 'userLabels' end end @@ -475,27 +261,6 @@ module Google end end - class HttpRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' - property :cache_hit, as: 'cacheHit' - property :cache_lookup, as: 'cacheLookup' - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :latency, as: 'latency' - property :protocol, as: 'protocol' - property :referer, as: 'referer' - property :remote_ip, as: 'remoteIp' - property :request_method, as: 'requestMethod' - property :request_size, :numeric_string => true, as: 'requestSize' - property :request_url, as: 'requestUrl' - property :response_size, :numeric_string => true, as: 'responseSize' - property :server_ip, as: 'serverIp' - property :status, as: 'status' - property :user_agent, as: 'userAgent' - end - end - class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -514,15 +279,6 @@ module Google end end - class LinearBuckets - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_finite_buckets, as: 'numFiniteBuckets' - property :offset, as: 'offset' - property :width, as: 'width' - end - end - class ListInstancesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -562,81 +318,6 @@ module Google end end - class LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :http_request, as: 'httpRequest', class: Google::Apis::FileV1beta1::HttpRequest, decorator: Google::Apis::FileV1beta1::HttpRequest::Representation - - property :insert_id, as: 'insertId' - hash :labels, as: 'labels' - property :name, as: 'name' - property :operation, as: 'operation', class: Google::Apis::FileV1beta1::LogEntryOperation, decorator: Google::Apis::FileV1beta1::LogEntryOperation::Representation - - hash :proto_payload, as: 'protoPayload' - property :severity, as: 'severity' - property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1beta1::LogEntrySourceLocation, decorator: Google::Apis::FileV1beta1::LogEntrySourceLocation::Representation - - hash :struct_payload, as: 'structPayload' - property :text_payload, as: 'textPayload' - property :timestamp, as: 'timestamp' - property :trace, as: 'trace' - end - end - - class LogEntryOperation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :first, as: 'first' - property :id, as: 'id' - property :last, as: 'last' - property :producer, as: 'producer' - end - end - - class LogEntrySourceLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' - property :function, as: 'function' - property :line, :numeric_string => true, as: 'line' - end - end - - class MetricValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1beta1::Distribution, decorator: Google::Apis::FileV1beta1::Distribution::Representation - - property :double_value, as: 'doubleValue' - property :end_time, as: 'endTime' - property :int64_value, :numeric_string => true, as: 'int64Value' - hash :labels, as: 'labels' - property :money_value, as: 'moneyValue', class: Google::Apis::FileV1beta1::Money, decorator: Google::Apis::FileV1beta1::Money::Representation - - property :start_time, as: 'startTime' - property :string_value, as: 'stringValue' - end - end - - class MetricValueSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_name, as: 'metricName' - collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1beta1::MetricValue, decorator: Google::Apis::FileV1beta1::MetricValue::Representation - - end - end - - class Money - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :currency_code, as: 'currencyCode' - property :nanos, as: 'nanos' - property :units, :numeric_string => true, as: 'units' - end - end - class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -647,6 +328,17 @@ module Google end end + class NfsExportOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_mode, as: 'accessMode' + property :anon_gid, :numeric_string => true, as: 'anonGid' + property :anon_uid, :numeric_string => true, as: 'anonUid' + collection :ip_ranges, as: 'ipRanges' + property :squash_mode, as: 'squashMode' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -672,32 +364,6 @@ module Google end end - class QuotaProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :quota_mode, as: 'quotaMode' - end - end - - class ReportRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation::Representation - - property :service_config_id, as: 'serviceConfigId' - property :service_name, as: 'serviceName' - end - end - - class ResourceInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource_container, as: 'resourceContainer' - property :resource_location, as: 'resourceLocation' - property :resource_name, as: 'resourceName' - end - end - class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -706,34 +372,6 @@ module Google property :message, as: 'message' end end - - class TraceSpan - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :attributes, as: 'attributes', class: Google::Apis::FileV1beta1::Attributes, decorator: Google::Apis::FileV1beta1::Attributes::Representation - - property :child_span_count, as: 'childSpanCount' - property :display_name, as: 'displayName', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation - - property :end_time, as: 'endTime' - property :name, as: 'name' - property :parent_span_id, as: 'parentSpanId' - property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' - property :span_id, as: 'spanId' - property :span_kind, as: 'spanKind' - property :start_time, as: 'startTime' - property :status, as: 'status', class: Google::Apis::FileV1beta1::Status, decorator: Google::Apis::FileV1beta1::Status::Representation - - end - end - - class TruncatableString - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :truncated_byte_count, as: 'truncatedByteCount' - property :value, as: 'value' - end - end end end end diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index d5c9e8db2..aa222059d 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20200511' + REVISION = '20200601' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 1c5e5d701..469afb763 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -342,10 +342,10 @@ module Google # the audience (`aud`) claim within a JWT. The audience # value(s) depends on the `issuer`, but typically include one or more of # the following pieces of information: - # * The services intended to receive the credential such as - # ["pubsub.googleapis.com", "storage.googleapis.com"] + # * The services intended to receive the credential. For example, + # ["https://pubsub.googleapis.com/", "https://storage.googleapis.com/"]. # * A set of service-based scopes. For example, - # ["https://www.googleapis.com/auth/cloud-platform"] + # ["https://www.googleapis.com/auth/cloud-platform"]. # * The client id of an app, such as the Firebase project id for JWTs # from Firebase Auth. # Consult the documentation for the credential issuer to determine the