proto_docs/google/api/resource.rb in google-cloud-automl-v1beta1-0.1.0 vs proto_docs/google/api/resource.rb in google-cloud-automl-v1beta1-0.1.1

- old
+ new

@@ -126,11 +126,11 @@ # - pattern: "shelves/{shelf}" # parent_type: "cloudresourcemanager.googleapis.com/Project" # - pattern: "shelves/{shelf}" # parent_type: "cloudresourcemanager.googleapis.com/Folder" # @!attribute [rw] type - # @return [String] + # @return [::String] # The resource type. It must be in the format of # \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be # singular and must not include version numbers. # # Example: `storage.googleapis.com/Bucket` @@ -138,11 +138,11 @@ # The value of the resource_type_kind must follow the regular expression # /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and # should use PascalCase (UpperCamelCase). The maximum number of # characters allowed for the `resource_type_kind` is 100. # @!attribute [rw] pattern - # @return [Array<String>] + # @return [::Array<::String>] # Optional. The relative resource name pattern associated with this resource # type. The DNS prefix of the full resource name shouldn't be specified here. # # The path pattern must follow the syntax, which aligns with HTTP binding # syntax: @@ -159,15 +159,15 @@ # The components in braces correspond to the IDs for each resource in the # hierarchy. It is expected that, if multiple patterns are provided, # the same component name (e.g. "project") refers to IDs of the same # type of resource. # @!attribute [rw] name_field - # @return [String] + # @return [::String] # Optional. The field on the resource that designates the resource name # field. If omitted, this is assumed to be "name". # @!attribute [rw] history - # @return [Google::Api::ResourceDescriptor::History] + # @return [::Google::Api::ResourceDescriptor::History] # Optional. The historical or future-looking state of the resource pattern. # # Example: # # // The InspectTemplate message originally only supported resource @@ -180,23 +180,23 @@ # pattern: "projects/{project}/inspectTemplates/{inspect_template}" # history: ORIGINALLY_SINGLE_PATTERN # }; # } # @!attribute [rw] plural - # @return [String] + # @return [::String] # The plural name used in the resource name, such as 'projects' for # the name of 'projects/\\{project}'. It is the same concept of the `plural` # field in k8s CRD spec # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ # @!attribute [rw] singular - # @return [String] + # @return [::String] # The same concept of the `singular` field in k8s CRD spec # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ # Such as "project" for the `resourcemanager.googleapis.com/Project` type. class ResourceDescriptor - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # A description of the historical or future-looking state of the # resource pattern. module History # The "unset" value. @@ -214,22 +214,22 @@ end # Defines a proto annotation that describes a string field that refers to # an API resource. # @!attribute [rw] type - # @return [String] + # @return [::String] # The resource type that the annotated field references. # # Example: # # message Subscription { # string topic = 2 [(google.api.resource_reference) = { # type: "pubsub.googleapis.com/Topic" # }]; # } # @!attribute [rw] child_type - # @return [String] + # @return [::String] # The resource type of a child collection that the annotated field # references. This is useful for annotating the `parent` field that # doesn't have a fixed resource type. # # Example: @@ -238,10 +238,10 @@ # string parent = 1 [(google.api.resource_reference) = { # child_type: "logging.googleapis.com/LogEntry" # }; # } class ResourceReference - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end end