Class: Google::Cloud::Connectors::V1::RoleGrant::Resource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/connectors/v1/common.rb

Overview

Resource definition

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#path_template::String

Returns Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.

Returns:

  • (::String)

    Template to uniquely represent a GCP resource in a format IAM expects This is a template that can have references to other values provided in the config variable template.



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'proto_docs/google/cloud/connectors/v1/common.rb', line 209

class Resource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource Type definition.
  module Type
    # Value type is not specified.
    TYPE_UNSPECIFIED = 0

    # GCP Project Resource.
    GCP_PROJECT = 1

    # Any GCP Resource which is identified uniquely by IAM.
    GCP_RESOURCE = 2

    # GCP Secret Resource.
    GCP_SECRETMANAGER_SECRET = 3

    # GCP Secret Version Resource.
    GCP_SECRETMANAGER_SECRET_VERSION = 4
  end
end

#type::Google::Cloud::Connectors::V1::RoleGrant::Resource::Type

Returns Different types of resource supported.

Returns:



209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'proto_docs/google/cloud/connectors/v1/common.rb', line 209

class Resource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Resource Type definition.
  module Type
    # Value type is not specified.
    TYPE_UNSPECIFIED = 0

    # GCP Project Resource.
    GCP_PROJECT = 1

    # Any GCP Resource which is identified uniquely by IAM.
    GCP_RESOURCE = 2

    # GCP Secret Resource.
    GCP_SECRETMANAGER_SECRET = 3

    # GCP Secret Version Resource.
    GCP_SECRETMANAGER_SECRET_VERSION = 4
  end
end