Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGithubSettings.



4190
4191
4192
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4190

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

Instance Attribute Details

#access_tokenString

Corresponds to the JSON property accessToken

Returns:

  • (String)


4168
4169
4170
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4168

def access_token
  @access_token
end

#branchesArray<String>

Corresponds to the JSON property branches

Returns:

  • (Array<String>)


4173
4174
4175
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4173

def branches
  @branches
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


4178
4179
4180
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4178

def display_name
  @display_name
end

#repository_uriString

Corresponds to the JSON property repositoryUri

Returns:

  • (String)


4183
4184
4185
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4183

def repository_uri
  @repository_uri
end

#tracking_branchString

Corresponds to the JSON property trackingBranch

Returns:

  • (String)


4188
4189
4190
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4188

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4195
4196
4197
4198
4199
4200
4201
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4195

def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @branches = args[:branches] if args.key?(:branches)
  @display_name = args[:display_name] if args.key?(:display_name)
  @repository_uri = args[:repository_uri] if args.key?(:repository_uri)
  @tracking_branch = args[:tracking_branch] if args.key?(:tracking_branch)
end