generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.43.0 vs generated/google/apis/servicenetworking_v1/classes.rb in google-api-client-0.44.0

- old
+ new

@@ -1012,10 +1012,24 @@ @kind = args[:kind] if args.key?(:kind) @path = args[:path] if args.key?(:path) end end + # Metadata provided through GetOperation request for the LRO generated by + # DeletePeeredDnsDomain API. + class DeletePeeredDnsDomainMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request to disable VPC service controls. class DisableVpcServiceControlsRequest include Google::Apis::Core::Hashable # Required. The network that the consumer is using to connect with services. @@ -1864,10 +1878,29 @@ @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) end end + # Response to list peered DNS domains for a given connection. + class ListPeeredDnsDomainsResponse + include Google::Apis::Core::Hashable + + # The list of peered DNS domains. + # Corresponds to the JSON property `peeredDnsDomains` + # @return [Array<Google::Apis::ServicenetworkingV1::PeeredDnsDomain>] + attr_accessor :peered_dns_domains + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @peered_dns_domains = args[:peered_dns_domains] if args.key?(:peered_dns_domains) + end + end + # A description of a log type. Example in YAML format: - name: library. # googleapis.com/activity_history description: The history of borrowing and # returning library items. display_name: Activity labels: - key: /customer_id # description: Identifier of a library customer class LogDescriptor @@ -2037,17 +2070,11 @@ end end # Defines a metric type and its schema. Once a metric descriptor is created, # deleting or altering it stops data collection and makes the metric type's - # existing data unusable. The following are specific rules for service defined - # Monitoring metric descriptors: * `type`, `metric_kind`, `value_type` and ` - # description` fields are all required. The `unit` field must be specified if - # the `value_type` is any of DOUBLE, INT64, DISTRIBUTION. * Maximum of default - # 500 metric descriptors per service is allowed. * Maximum of default 10 labels - # per metric descriptor is allowed. The default maximum limit can be overridden. - # Please follow https://cloud.google.com/monitoring/quotas + # existing data unusable. class MetricDescriptor include Google::Apis::Core::Hashable # A detailed description of the metric, which can be used in documentation. # Corresponds to the JSON property `description` @@ -2061,16 +2088,14 @@ # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name # The set of labels that can be used to describe a specific instance of this - # metric type. The label key name must follow: * Only upper and lower-case - # letters, digits and underscores (_) are allowed. * Label name must start with - # a letter or digit. * The maximum length of a label name is 100 characters. For - # example, the `appengine.googleapis.com/http/server/response_latencies` metric - # type has a label for the HTTP response code, `response_code`, so you can look - # at latencies for successful responses or just for responses that failed. + # metric type. For example, the `appengine.googleapis.com/http/server/ + # response_latencies` metric type has a label for the HTTP response code, ` + # response_code`, so you can look at latencies for successful responses or just + # for responses that failed. # Corresponds to the JSON property `labels` # @return [Array<Google::Apis::ServicenetworkingV1::LabelDescriptor>] attr_accessor :labels # Optional. The launch stage of the metric definition. @@ -2101,20 +2126,15 @@ # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # The metric type, including its DNS name prefix. The type is not URL-encoded. - # All service defined metrics must be prefixed with the service name, in the - # format of ``service name`/`relative metric name``, such as `cloudsql. - # googleapis.com/database/cpu/utilization`. The relative metric name must follow: - # * Only upper and lower-case letters, digits, '/' and underscores '_' are - # allowed. * The maximum number of characters allowed for the - # relative_metric_name is 100. All user-defined metric types have the DNS name ` - # custom.googleapis.com`, `external.googleapis.com`, or `logging.googleapis.com/ - # user/`. Metric types should use a natural hierarchical grouping. For example: " - # custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/ - # up" "appengine.googleapis.com/http/server/response_latencies" + # All user-defined metric types have the DNS name `custom.googleapis.com` or ` + # external.googleapis.com`. Metric types should use a natural hierarchical + # grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external. + # googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/ + # response_latencies" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type # The units in which the metric value is reported. It is only applicable if the ` @@ -2276,11 +2296,11 @@ # api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration: # apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1. # AccessControl The mixin construct implies that all methods in `AccessControl` # are also declared with same name and request/response types in `Storage`. A # documentation generator or annotation processor will see the effective ` - # Storage.GetAcl` method after inherting documentation and annotations as + # Storage.GetAcl` method after inheriting documentation and annotations as # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl( # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=** # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1` # to `v2`. If the `root` field in the mixin is specified, it should be a # relative path under which inherited HTTP paths are placed. Example: apis: - @@ -2314,20 +2334,13 @@ # An object that describes the schema of a MonitoredResource object using a type # name and a set of labels. For example, the monitored resource descriptor for # Google Compute Engine VM instances has a type of `"gce_instance"` and # specifies the use of the labels `"instance_id"` and `"zone"` to identify - # particular VM instances. Different services can support different monitored - # resource types. The following are specific rules to service defined monitored - # resources for Monitoring and Logging: * The `type`, `display_name`, ` - # description`, `labels` and `launch_stage` fields are all required. * The first - # label of the monitored resource descriptor must be `resource_container`. There - # are legacy monitored resource descritptors start with `project_id`. * It must - # include a `location` label. * Maximum of default 5 service defined monitored - # resource descriptors is allowed per service. * Maximum of default 10 labels - # per monitored resource is allowed. The default maximum limit can be overridden. - # Please follow https://cloud.google.com/monitoring/quotas + # particular VM instances. Different APIs can support different monitored + # resource types. APIs generally provide a `list` method that returns the + # monitored resource descriptors used by the API. class MonitoredResourceDescriptor include Google::Apis::Core::Hashable # Optional. A detailed description of the monitored resource type that might be # used in documentation. @@ -2341,15 +2354,12 @@ # Corresponds to the JSON property `displayName` # @return [String] attr_accessor :display_name # Required. A set of labels used to describe instances of this monitored - # resource type. The label key name must follow: * Only upper and lower-case - # letters, digits and underscores (_) are allowed. * Label name must start with - # a letter or digit. * The maximum length of a label name is 100 characters. For - # example, an individual Google Cloud SQL database is identified by values for - # the labels `database_id` and `location`. + # resource type. For example, an individual Google Cloud SQL database is + # identified by values for the labels `"database_id"` and `"zone"`. # Corresponds to the JSON property `labels` # @return [Array<Google::Apis::ServicenetworkingV1::LabelDescriptor>] attr_accessor :labels # Optional. The launch stage of the monitored resource definition. @@ -2365,19 +2375,12 @@ # type`"`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Required. The monitored resource type. For example, the type ` - # cloudsql_database` represents databases in Google Cloud SQL. All service - # defined monitored resource types must be prefixed with the service name, in - # the format of ``service name`/`relative resource name``. The relative resource - # name must follow: * Only upper and lower-case letters and digits are allowed. * - # It must start with upper case character and is recommended to use Upper Camel - # Case style. * The maximum number of characters allowed for the - # relative_resource_name is 100. Note there are legacy service monitored - # resources not following this rule. + # Required. The monitored resource type. For example, the type `" + # cloudsql_database"` represents databases in Google Cloud SQL. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type def initialize(**args) @@ -2642,9 +2645,51 @@ # Update properties of this object def update!(**args) @content = args[:content] if args.key?(:content) @name = args[:name] if args.key?(:name) @subpages = args[:subpages] if args.key?(:subpages) + end + end + + # DNS domain suffix for which requests originating in the producer VPC network + # are resolved in the associated consumer VPC network. + class PeeredDnsDomain + include Google::Apis::Core::Hashable + + # The DNS domain name suffix e.g. `example.com.`. + # Corresponds to the JSON property `dnsSuffix` + # @return [String] + attr_accessor :dns_suffix + + # User assigned name for this resource. Must be unique within the consumer + # network. The name must be 1-63 characters long, must begin with a letter, end + # with a letter or digit, and only contain lowercase letters, digits or dashes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix) + @name = args[:name] if args.key?(:name) + end + end + + # Metadata provided through GetOperation request for the LRO generated by + # CreatePeeredDnsDomain API. + class PeeredDnsDomainMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) end end # Grouping of IAM role and IAM member. class PolicyBinding