Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings

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

Overview

Integration settings for a Git service hosted on Cloud Run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsGitConnectionSettings



4800
4801
4802
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4800

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

Instance Attribute Details

#access_token_secretString

The name of the SecretManager secret version resource storing the git access token. Format: projects/project/secrets/secret/versions/version` Corresponds to the JSON propertyaccessTokenSecret`



4778
4779
4780
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4778

def access_token_secret
  @access_token_secret
end

#branchesArray<String>

Optional. List of branches configured for the repository. Corresponds to the JSON property branches



4783
4784
4785
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4783

def branches
  @branches
end

#display_nameString

Required. Display name for the repository Corresponds to the JSON property displayName



4788
4789
4790
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4788

def display_name
  @display_name
end

#repository_uriString

Required. Git server reporitory URI. Corresponds to the JSON property repositoryUri



4793
4794
4795
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4793

def repository_uri
  @repository_uri
end

#tracking_branchString

Required. Default branch of the repository. Corresponds to the JSON property trackingBranch



4798
4799
4800
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4798

def tracking_branch
  @tracking_branch
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4805
4806
4807
4808
4809
4810
4811
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4805

def update!(**args)
  @access_token_secret = args[:access_token_secret] if args.key?(:access_token_secret)
  @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