Class: Google::Apis::ApphubV1::Application

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

Overview

Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application.



80
81
82
# File 'lib/google/apis/apphub_v1/classes.rb', line 80

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

Instance Attribute Details

#attributesGoogle::Apis::ApphubV1::Attributes

Consumer provided attributes. Corresponds to the JSON property attributes



34
35
36
# File 'lib/google/apis/apphub_v1/classes.rb', line 34

def attributes
  @attributes
end

#create_timeString

Output only. Create time. Corresponds to the JSON property createTime

Returns:

  • (String)


39
40
41
# File 'lib/google/apis/apphub_v1/classes.rb', line 39

def create_time
  @create_time
end

#descriptionString

Optional. User-defined description of an Application. Can have a maximum length of 2048 characters. Corresponds to the JSON property description

Returns:

  • (String)


45
46
47
# File 'lib/google/apis/apphub_v1/classes.rb', line 45

def description
  @description
end

#display_nameString

Optional. User-defined name for the Application. Can have a maximum length of 63 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


51
52
53
# File 'lib/google/apis/apphub_v1/classes.rb', line 51

def display_name
  @display_name
end

#nameString

Identifier. The resource name of an Application. Format: "projects/host- project-id/locations/location/applications/application-id" Corresponds to the JSON property name

Returns:

  • (String)


57
58
59
# File 'lib/google/apis/apphub_v1/classes.rb', line 57

def name
  @name
end

#scopeGoogle::Apis::ApphubV1::Scope

Scope of an application. Corresponds to the JSON property scope



62
63
64
# File 'lib/google/apis/apphub_v1/classes.rb', line 62

def scope
  @scope
end

#stateString

Output only. Application state. Corresponds to the JSON property state

Returns:

  • (String)


67
68
69
# File 'lib/google/apis/apphub_v1/classes.rb', line 67

def state
  @state
end

#uidString

Output only. A universally unique identifier (in UUID4 format) for the Application. Corresponds to the JSON property uid

Returns:

  • (String)


73
74
75
# File 'lib/google/apis/apphub_v1/classes.rb', line 73

def uid
  @uid
end

#update_timeString

Output only. Update time. Corresponds to the JSON property updateTime

Returns:

  • (String)


78
79
80
# File 'lib/google/apis/apphub_v1/classes.rb', line 78

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



85
86
87
88
89
90
91
92
93
94
95
# File 'lib/google/apis/apphub_v1/classes.rb', line 85

def update!(**args)
  @attributes = args[:attributes] if args.key?(:attributes)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @scope = args[:scope] if args.key?(:scope)
  @state = args[:state] if args.key?(:state)
  @uid = args[:uid] if args.key?(:uid)
  @update_time = args[:update_time] if args.key?(:update_time)
end