Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1AppGroup

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

AppGroup contains the request/response fields representing the logical grouping of apps. Note that appgroup_id, create_time and update_time cannot be changed by the user, and gets updated by the system. The name and the organization once provided cannot be edited subsequently.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1AppGroup

Returns a new instance of GoogleCloudApigeeV1AppGroup.



1199
1200
1201
# File 'lib/google/apis/apigee_v1/classes.rb', line 1199

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

Instance Attribute Details

#app_group_idString

Output only. Internal identifier that cannot be edited Corresponds to the JSON property appGroupId

Returns:

  • (String)


1149
1150
1151
# File 'lib/google/apis/apigee_v1/classes.rb', line 1149

def app_group_id
  @app_group_id
end

#attributesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Attribute>

A list of attributes Corresponds to the JSON property attributes



1154
1155
1156
# File 'lib/google/apis/apigee_v1/classes.rb', line 1154

def attributes
  @attributes
end

#channel_idString

channel identifier identifies the owner maintaing this grouping. Corresponds to the JSON property channelId

Returns:

  • (String)


1159
1160
1161
# File 'lib/google/apis/apigee_v1/classes.rb', line 1159

def channel_id
  @channel_id
end

#channel_uriString

A reference to the associated storefront/marketplace. Corresponds to the JSON property channelUri

Returns:

  • (String)


1164
1165
1166
# File 'lib/google/apis/apigee_v1/classes.rb', line 1164

def channel_uri
  @channel_uri
end

#created_atFixnum

Output only. Created time as milliseconds since epoch. Corresponds to the JSON property createdAt

Returns:

  • (Fixnum)


1169
1170
1171
# File 'lib/google/apis/apigee_v1/classes.rb', line 1169

def created_at
  @created_at
end

#display_nameString

app group name displayed in the UI Corresponds to the JSON property displayName

Returns:

  • (String)


1174
1175
1176
# File 'lib/google/apis/apigee_v1/classes.rb', line 1174

def display_name
  @display_name
end

#last_modified_atFixnum

Output only. Modified time as milliseconds since epoch. Corresponds to the JSON property lastModifiedAt

Returns:

  • (Fixnum)


1179
1180
1181
# File 'lib/google/apis/apigee_v1/classes.rb', line 1179

def last_modified_at
  @last_modified_at
end

#nameString

Immutable. Name of the AppGroup. Characters you can use in the name are restricted to: A-Z0-9._-$ %. Corresponds to the JSON property name

Returns:

  • (String)


1185
1186
1187
# File 'lib/google/apis/apigee_v1/classes.rb', line 1185

def name
  @name
end

#organizationString

Immutable. the org the app group is created Corresponds to the JSON property organization

Returns:

  • (String)


1190
1191
1192
# File 'lib/google/apis/apigee_v1/classes.rb', line 1190

def organization
  @organization
end

#statusString

Valid values are active or inactive. Note that the status of the AppGroup should be updated via UpdateAppGroupRequest by setting the action as active or inactive. Corresponds to the JSON property status

Returns:

  • (String)


1197
1198
1199
# File 'lib/google/apis/apigee_v1/classes.rb', line 1197

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
# File 'lib/google/apis/apigee_v1/classes.rb', line 1204

def update!(**args)
  @app_group_id = args[:app_group_id] if args.key?(:app_group_id)
  @attributes = args[:attributes] if args.key?(:attributes)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @channel_uri = args[:channel_uri] if args.key?(:channel_uri)
  @created_at = args[:created_at] if args.key?(:created_at)
  @display_name = args[:display_name] if args.key?(:display_name)
  @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
  @name = args[:name] if args.key?(:name)
  @organization = args[:organization] if args.key?(:organization)
  @status = args[:status] if args.key?(:status)
end