Class: Google::Apis::ApphubV1alpha::Application

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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.



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

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

Instance Attribute Details

#attributesGoogle::Apis::ApphubV1alpha::Attributes

Consumer provided attributes. Corresponds to the JSON property attributes



34
35
36
# File 'lib/google/apis/apphub_v1alpha/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_v1alpha/classes.rb', line 39

def create_time
  @create_time
end

#descriptionString

Optional. User-defined description of an Application. Corresponds to the JSON property description

Returns:

  • (String)


44
45
46
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 44

def description
  @description
end

#display_nameString

Optional. User-defined name for the Application. Corresponds to the JSON property displayName

Returns:

  • (String)


49
50
51
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 49

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)


55
56
57
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 55

def name
  @name
end

#scopeGoogle::Apis::ApphubV1alpha::Scope

Scope of an application. Corresponds to the JSON property scope



60
61
62
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 60

def scope
  @scope
end

#stateString

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

Returns:

  • (String)


65
66
67
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 65

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)


71
72
73
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 71

def uid
  @uid
end

#update_timeString

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

Returns:

  • (String)


76
77
78
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 76

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



83
84
85
86
87
88
89
90
91
92
93
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 83

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