Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

The data store defines the connection to export data repository (Cloud Storage, BigQuery), including the credentials used to access the data repository.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1Datastore

Returns a new instance of GoogleCloudApigeeV1Datastore.



2080
2081
2082
# File 'lib/google/apis/apigee_v1/classes.rb', line 2080

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeFixnum

Output only. Datastore create time, in milliseconds since the epoch of 1970-01- 01T00:00:00Z Corresponds to the JSON property createTime

Returns:

  • (Fixnum)


2046
2047
2048
# File 'lib/google/apis/apigee_v1/classes.rb', line 2046

def create_time
  @create_time
end

#datastore_configGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig

Configuration detail for datastore Corresponds to the JSON property datastoreConfig



2051
2052
2053
# File 'lib/google/apis/apigee_v1/classes.rb', line 2051

def datastore_config
  @datastore_config
end

#display_nameString

Required. Display name in UI Corresponds to the JSON property displayName

Returns:

  • (String)


2056
2057
2058
# File 'lib/google/apis/apigee_v1/classes.rb', line 2056

def display_name
  @display_name
end

#last_update_timeFixnum

Output only. Datastore last update time, in milliseconds since the epoch of 1970-01-01T00:00:00Z Corresponds to the JSON property lastUpdateTime

Returns:

  • (Fixnum)


2062
2063
2064
# File 'lib/google/apis/apigee_v1/classes.rb', line 2062

def last_update_time
  @last_update_time
end

#orgString

Output only. Organization that the datastore belongs to Corresponds to the JSON property org

Returns:

  • (String)


2067
2068
2069
# File 'lib/google/apis/apigee_v1/classes.rb', line 2067

def org
  @org
end

#selfString

Output only. Resource link of Datastore. Example: /organizations/org/ analytics/datastores/uuid` Corresponds to the JSON propertyself`

Returns:

  • (String)


2073
2074
2075
# File 'lib/google/apis/apigee_v1/classes.rb', line 2073

def self
  @self
end

#target_typeString

Destination storage type. Supported types gcs or bigquery. Corresponds to the JSON property targetType

Returns:

  • (String)


2078
2079
2080
# File 'lib/google/apis/apigee_v1/classes.rb', line 2078

def target_type
  @target_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2085
2086
2087
2088
2089
2090
2091
2092
2093
# File 'lib/google/apis/apigee_v1/classes.rb', line 2085

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @datastore_config = args[:datastore_config] if args.key?(:datastore_config)
  @display_name = args[:display_name] if args.key?(:display_name)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @org = args[:org] if args.key?(:org)
  @self = args[:self] if args.key?(:self)
  @target_type = args[:target_type] if args.key?(:target_type)
end